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

***************************
delete_worker_configuration
***************************



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

  

  Deletes the specified worker configuration.

  

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


  **Request Syntax**
  ::

    response = client.delete_worker_configuration(
        workerConfigurationArn='string'
    )
    
  :type workerConfigurationArn: string
  :param workerConfigurationArn: **[REQUIRED]** 

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

    

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

    
    ::

      {
          'workerConfigurationArn': 'string',
          'workerConfigurationState': 'ACTIVE'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **workerConfigurationArn** *(string) --* 

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

        
      

      - **workerConfigurationState** *(string) --* 

        The state of the worker configuration.

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

  