DirectConnect.Client.
describe_virtual_gateways
()¶Lists the virtual private gateways owned by the Amazon Web Services account.
You can create one or more Direct Connect private virtual interfaces linked to a virtual private gateway.
See also: AWS API Documentation
Request Syntax
response = client.describe_virtual_gateways()
{
'virtualGateways': [
{
'virtualGatewayId': 'string',
'virtualGatewayState': 'string'
},
]
}
Response Structure
The virtual private gateways.
Information about a virtual private gateway for a private virtual interface.
The ID of the virtual private gateway.
The state of the virtual private gateway. The following are the possible values:
pending
: Initial state after creating the virtual private gateway.available
: Ready for use by a private virtual interface.deleting
: Initial state after deleting the virtual private gateway.deleted
: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.Exceptions
DirectConnect.Client.exceptions.DirectConnectServerException
DirectConnect.Client.exceptions.DirectConnectClientException