describe_local_gateway_virtual_interfaces
async
¶
describe_local_gateway_virtual_interfaces(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
local_gateway_virtual_interface_ids: Optional[
LocalGatewayVirtualInterfaceIdSet
] = None,
filters: Optional[FilterList] = None,
max_results: Optional[LocalGatewayMaxResults] = None,
next_token: Optional[String] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeLocalGatewayVirtualInterfacesResult
Describes the specified local gateway virtual interfaces.
Parameters:
-
local_gateway_virtual_interface_ids(Optional[LocalGatewayVirtualInterfaceIdSet], default:None) –The IDs of the virtual interfaces.
-
filters(Optional[FilterList], default:None) –One or more filters.
-
local-address- The local address. -
local-bgp-asn- The Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the local gateway. -
local-gateway-id- The ID of the local gateway. -
local-gateway-virtual-interface-id- The ID of the virtual interface. -
owner-id- The ID of the Amazon Web Services account that owns the local gateway virtual interface. -
peer-address- The peer address. -
peer-bgp-asn- The peer BGP ASN. -
vlan- The ID of the VLAN.
-
-
max_results(Optional[LocalGatewayMaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue. -
next_token(Optional[String], default:None) –The token for the next page of results.
-
dry_run(Optional[Boolean], default: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 isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
29833 29834 29835 29836 29837 29838 29839 29840 29841 29842 29843 29844 29845 29846 29847 29848 29849 29850 29851 29852 29853 29854 29855 29856 29857 29858 29859 29860 29861 29862 29863 29864 29865 29866 29867 29868 29869 29870 29871 29872 29873 29874 29875 29876 29877 29878 29879 29880 29881 29882 29883 29884 29885 29886 29887 29888 29889 29890 29891 29892 29893 29894 29895 29896 29897 29898 | |