describe_vpn_gateways¶
Operation¶
describe_vpn_gateways
async
¶
describe_vpn_gateways(request: DescribeVpnGatewaysInput | DescribeVpnGatewaysInputDict, /, *, plugins: list[Plugin] | None = None) -> DescribeVpnGatewaysOutput
describe_vpn_gateways(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeVpnGatewaysInputDict]) -> DescribeVpnGatewaysOutput
Describes one or more of your virtual private gateways.
For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
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 |
|---|---|
DescribeVpnGatewaysOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DescribeVpnGatewaysInput
dataclass
¶
Bases: _SerdeShape
Contains the parameters for DescribeVpnGateways.
Attributes¶
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | None = ...
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
filters
class-attribute
instance-attribute
¶
One or more filters.
-
amazon-side-asn- The Autonomous System Number (ASN) for the Amazon side of the gateway. -
attachment.state- The current state of the attachment between the gateway and the VPC (attaching|attached|detaching|detached). -
attachment.vpc-id- The ID of an attached VPC. -
availability-zone- The Availability Zone for the virtual private gateway (if applicable). -
state- The state of the virtual private gateway (pending|available|deleting|deleted). -
tag:<key>- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
type- The type of virtual private gateway. Currently the only supported type isipsec.1. -
vpn-gateway-id- The ID of the virtual private gateway.
Dictionaries¶
DescribeVpnGatewaysInputDict
¶
Bases: TypedDict
Dictionary form of DescribeVpnGatewaysInput.
Attributes¶
dry_run
instance-attribute
¶
dry_run: bool | None
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation.
Otherwise, it is UnauthorizedOperation.
filters
instance-attribute
¶
filters: Sequence[Filter | FilterDict] | None
One or more filters.
-
amazon-side-asn- The Autonomous System Number (ASN) for the Amazon side of the gateway. -
attachment.state- The current state of the attachment between the gateway and the VPC (attaching|attached|detaching|detached). -
attachment.vpc-id- The ID of an attached VPC. -
availability-zone- The Availability Zone for the virtual private gateway (if applicable). -
state- The state of the virtual private gateway (pending|available|deleting|deleted). -
tag:<key>- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the keyOwnerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value. -
type- The type of virtual private gateway. Currently the only supported type isipsec.1. -
vpn-gateway-id- The ID of the virtual private gateway.
Output¶
DescribeVpnGatewaysOutput
dataclass
¶
Bases: _SerdeShape
Contains the output of DescribeVpnGateways.
Attributes¶
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
vpn_gateways
class-attribute
instance-attribute
¶
vpn_gateways: list[VpnGateway] | None = ...
Information about one or more virtual private gateways.