:doc:`KafkaConnect <../../kafkaconnect>` / Client / delete_connector

****************
delete_connector
****************



.. py:method:: KafkaConnect.Client.delete_connector(**kwargs)

  

  Deletes the specified connector.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnector>`_  


  **Request Syntax**
  ::

    response = client.delete_connector(
        connectorArn='string',
        currentVersion='string'
    )
    
  :type connectorArn: string
  :param connectorArn: **[REQUIRED]** 

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

    

  
  :type currentVersion: string
  :param currentVersion: 

    The current version of the connector that you want to delete.

    

  
  
  :rtype: 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**
  
  *   :py:class:`KafkaConnect.Client.exceptions.NotFoundException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.BadRequestException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.ForbiddenException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`KafkaConnect.Client.exceptions.InternalServerErrorException`

  