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'
)
[REQUIRED]
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
{
'id': 'string',
'name': 'string',
'description': 'string',
'targetArns': [
'string',
],
'status': 'AVAILABLE'|'PENDING'|'DELETING'|'FAILED',
'statusMessage': 'string',
'tags': {
'string': 'string'
}
}
Response Structure
An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
The name used to label and identify the VPC link.
The description of the VPC link.
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 AWS account of the API owner.
The status of the VPC link. The valid values are AVAILABLE
, PENDING
, DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
A description about the VPC link status.
The collection of tags. Each tag element is associated with a given resource.
Exceptions
APIGateway.Client.exceptions.BadRequestException
APIGateway.Client.exceptions.NotFoundException
APIGateway.Client.exceptions.UnauthorizedException
APIGateway.Client.exceptions.TooManyRequestsException