ApiGatewayV2 / Client / get_vpc_link
get_vpc_link#
- ApiGatewayV2.Client.get_vpc_link(**kwargs)#
Gets a VPC link.
See also: AWS API Documentation
Request Syntax
response = client.get_vpc_link( VpcLinkId='string' )
- Parameters:
VpcLinkId (string) –
[REQUIRED]
The ID of the VPC link.
- Return type:
dict
- Returns:
Response Syntax
{ 'CreatedDate': datetime(2015, 1, 1), 'Name': 'string', 'SecurityGroupIds': [ 'string', ], 'SubnetIds': [ 'string', ], 'Tags': { 'string': 'string' }, 'VpcLinkId': 'string', 'VpcLinkStatus': 'PENDING'|'AVAILABLE'|'DELETING'|'FAILED'|'INACTIVE', 'VpcLinkStatusMessage': 'string', 'VpcLinkVersion': 'V2' }
Response Structure
(dict) –
Success
CreatedDate (datetime) –
The timestamp when the VPC link was created.
Name (string) –
The name of the VPC link.
SecurityGroupIds (list) –
A list of security group IDs for the VPC link.
(string) –
SubnetIds (list) –
A list of subnet IDs to include in the VPC link.
(string) –
Tags (dict) –
Tags for the VPC link.
(string) –
(string) –
A string with a length between [0-1600].
VpcLinkId (string) –
The ID of the VPC link.
VpcLinkStatus (string) –
The status of the VPC link.
VpcLinkStatusMessage (string) –
A message summarizing the cause of the status of the VPC link.
VpcLinkVersion (string) –
The version of the VPC link.
Exceptions
ApiGatewayV2.Client.exceptions.NotFoundException
ApiGatewayV2.Client.exceptions.TooManyRequestsException