APIGateway / Client / get_vpc_link
get_vpc_link#
- APIGateway.Client.get_vpc_link(**kwargs)#
Gets a specified VPC link under the caller’s account in a region.
See also: AWS API Documentation
Request Syntax
response = client.get_vpc_link( vpcLinkId='string' )
- Parameters:
vpcLinkId (string) –
[REQUIRED]
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'name': 'string', 'description': 'string', 'targetArns': [ 'string', ], 'status': 'AVAILABLE'|'PENDING'|'DELETING'|'FAILED', 'statusMessage': 'string', 'tags': { 'string': 'string' } }
Response Structure
(dict) –
An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).
id (string) –
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
name (string) –
The name used to label and identify the VPC link.
description (string) –
The description of the VPC link.
targetArns (list) –
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
(string) –
status (string) –
The status of the VPC link. The valid values are
AVAILABLE
,PENDING
,DELETING
, orFAILED
. Deploying an API will wait if the status isPENDING
and will fail if the status isDELETING
.statusMessage (string) –
A description about the VPC link status.
tags (dict) –
The collection of tags. Each tag element is associated with a given resource.
(string) –
(string) –
Exceptions
APIGateway.Client.exceptions.BadRequestException
APIGateway.Client.exceptions.NotFoundException
APIGateway.Client.exceptions.UnauthorizedException
APIGateway.Client.exceptions.TooManyRequestsException