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

********************
delete_custom_plugin
********************



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

  

  Deletes a custom plugin.

  

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


  **Request Syntax**
  ::

    response = client.delete_custom_plugin(
        customPluginArn='string'
    )
    
  :type customPluginArn: string
  :param customPluginArn: **[REQUIRED]** 

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

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'customPluginArn': 'string',
          'customPluginState': 'CREATING'|'CREATE_FAILED'|'ACTIVE'|'UPDATING'|'UPDATE_FAILED'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **customPluginArn** *(string) --* 

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

        
      

      - **customPluginState** *(string) --* 

        The state of the custom plugin.

        
  
  **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`

  