:doc:`Kafka <../../kafka>` / Client / delete_vpc_connection

*********************
delete_vpc_connection
*********************



.. py:method:: Kafka.Client.delete_vpc_connection(**kwargs)

  

  Deletes a MSK VPC connection.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteVpcConnection>`_  


  **Request Syntax**
  ::

    response = client.delete_vpc_connection(
        Arn='string'
    )
    
  :type Arn: string
  :param Arn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection.

    

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

    
    ::

      {
          'VpcConnectionArn': 'string',
          'State': 'CREATING'|'AVAILABLE'|'INACTIVE'|'DEACTIVATING'|'DELETING'|'FAILED'|'REJECTED'|'REJECTING'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Successful response.

      
      

      - **VpcConnectionArn** *(string) --* 

        The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection.

        
      

      - **State** *(string) --* 

        The state of the VPC connection.

        
  
  **Exceptions**
  
  *   :py:class:`Kafka.Client.exceptions.NotFoundException`

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

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

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

  