Skip to content

Api Gateway  >  Operations  >  get_vpc_link

get_vpc_link

Operation

get_vpc_link(input: GetVpcLinkInput, plugins: list[Plugin] | None = None) -> GetVpcLinkOutput

Gets a specified VPC link under the caller's account in a region.

Parameters:

Name Type Description Default
input GetVpcLinkInput

An instance of GetVpcLinkInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetVpcLinkOutput

An instance of GetVpcLinkOutput.

Input

GetVpcLinkInput dataclass

Gets a specified VPC link under the caller's account in a region.

Attributes

vpc_link_id: str | None = None

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

Output

GetVpcLinkOutput dataclass

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

Attributes

description class-attribute instance-attribute
description: str | None = None

The description of the VPC link.

id class-attribute instance-attribute
id: str | None = None

The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

name class-attribute instance-attribute
name: str | None = None

The name used to label and identify the VPC link.

status class-attribute instance-attribute
status: VpcLinkStatus | None = None

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.

status_message class-attribute instance-attribute
status_message: str | None = None

A description about the VPC link status.

tags class-attribute instance-attribute
tags: dict[str, str] | None = None

The collection of tags. Each tag element is associated with a given resource.

target_arns class-attribute instance-attribute
target_arns: list[str] | None = None

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.