delete_connector

delete_connector(**kwargs)

Deletes the specified connector.

See also: AWS API Documentation

Request Syntax

response = client.delete_connector(
    connectorArn='string',
    currentVersion='string'
)
Parameters
  • connectorArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the connector that you want to delete.

  • currentVersion (string) -- The current version of the connector that you want to delete.
Return type

dict

Returns

Response Syntax

{
    'connectorArn': 'string',
    'connectorState': 'RUNNING'|'CREATING'|'UPDATING'|'DELETING'|'FAILED'
}

Response Structure

  • (dict) --

    • connectorArn (string) --

      The Amazon Resource Name (ARN) of the connector that you requested to delete.

    • connectorState (string) --

      The state of the connector that you requested to delete.

Exceptions

  • KafkaConnect.Client.exceptions.NotFoundException
  • KafkaConnect.Client.exceptions.BadRequestException
  • KafkaConnect.Client.exceptions.ForbiddenException
  • KafkaConnect.Client.exceptions.ServiceUnavailableException
  • KafkaConnect.Client.exceptions.TooManyRequestsException
  • KafkaConnect.Client.exceptions.UnauthorizedException
  • KafkaConnect.Client.exceptions.InternalServerErrorException