Kafka / Client / delete_vpc_connection

delete_vpc_connection#

Kafka.Client.delete_vpc_connection(**kwargs)#

Deletes a MSK VPC connection.

See also: AWS API Documentation

Request Syntax

response = client.delete_vpc_connection(
    Arn='string'
)
Parameters:

Arn (string) –

[REQUIRED]

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

Return type:

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

  • Kafka.Client.exceptions.NotFoundException

  • Kafka.Client.exceptions.BadRequestException

  • Kafka.Client.exceptions.InternalServerErrorException

  • Kafka.Client.exceptions.ForbiddenException