Kafka / Client / list_vpc_connections
list_vpc_connections#
- Kafka.Client.list_vpc_connections(**kwargs)#
Returns a list of all the VPC connections in this Region.
See also: AWS API Documentation
Request Syntax
response = client.list_vpc_connections( MaxResults=123, NextToken='string' )
- Parameters:
MaxResults (integer) – The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
NextToken (string) – The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
- Return type:
dict
- Returns:
Response Syntax
{ 'VpcConnections': [ { 'VpcConnectionArn': 'string', 'TargetClusterArn': 'string', 'CreationTime': datetime(2015, 1, 1), 'Authentication': 'string', 'VpcId': 'string', 'State': 'CREATING'|'AVAILABLE'|'INACTIVE'|'DEACTIVATING'|'DELETING'|'FAILED'|'REJECTED'|'REJECTING' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
200 response
VpcConnections (list) –
List of VPC connections.
(dict) –
The VPC connection object.
VpcConnectionArn (string) –
The ARN that identifies the Vpc Connection.
TargetClusterArn (string) –
The ARN that identifies the Cluster which the Vpc Connection belongs to.
CreationTime (datetime) –
Creation time of the Vpc Connection.
Authentication (string) –
Information about the auth scheme of Vpc Connection.
VpcId (string) –
The vpcId that belongs to the Vpc Connection.
State (string) –
State of the Vpc Connection.
NextToken (string) –
The paginated results marker. When the result of a ListClientVpcConnections operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
Exceptions
Kafka.Client.exceptions.ServiceUnavailableException
Kafka.Client.exceptions.BadRequestException
Kafka.Client.exceptions.UnauthorizedException
Kafka.Client.exceptions.InternalServerErrorException
Kafka.Client.exceptions.ForbiddenException