// ResumeConnector resumes a paused connector or do nothing if the connector is not paused.
// This call asynchronous and the tasks will not transition to RUNNING state at the same time.
ResumeConnector resumes a paused connector or do nothing if the connector is not paused.
This call asynchronous and the tasks will not transition to RUNNING state at the same time.
// ResumeConnector resumes a paused connector or do nothing if the connector is not paused . // This call asynchronous and the tasks will not transition to RUNNING state at the same time .
func (c *Client) ResumeConnector(clusterName, name string) error {
	if clusterName == "" {
		return errRequired("clusterName")
	}
	if name == "" {
		return errRequired("name")
	}
	path := fmt.Sprintf(connectorPath+"/resume", clusterName, name)
	resp, err := c.Do(http.MethodPut, path, "", nil)
	if err != nil {
		return err
	}
	return resp.Body.Close()
}
func ( c * Client ) ResumeConnector ( clusterName , name string ) error { if clusterName == " " { return errRequired ( " " ) } if name == " " { return errRequired ( " " ) } path := fmt . Sprintf ( connectorPath + " " , clusterName , name ) resp , err := c . Do ( http . MethodPut , path , " " , nil ) if err != nil { return err } return resp . Body . Close ( ) }
ResumeConnector resumes a paused connector or do nothing if the connector is not paused.
ResumeConnector resumes a paused connector or do nothing if the connector is not paused .
// # Resume a paused connector // PUT /api/proxy-connect/(string: clusterName)/connectors/(string: name)/resume