computing / Waiter / VpnGatewayStopped
VpnGatewayStopped
- class computing.Waiter.VpnGatewayStopped
waiter = client.get_waiter('vpn_gateway_stopped')
- wait(**kwargs)
Polls
computing.Client.describe_vpn_gateways()
every 20 seconds until a successful state is reached. An error is returned after 40 failed checks.See also: AWS API Documentation
Request Syntax
waiter.wait( Filter=[ { 'ListOfRequestValue': [ 'string', ], 'Name': 'attachment.state'|'attachment.vpc-id'|'availability-zone'|'state'|'type'|'vpn-gateway-id'|'nifty-vpn-gateway-name'|'nifty-vpn-gateway-type'|'nifty-vpn-gateway-description'|'nifty-vpn-gateway-accountingType'|'ip-address'|'latest-version-information'|'version' }, ], NiftyVpnGatewayName=[ 'string', ], VpnGatewayId=[ 'string', ], WaiterConfig={ 'Delay': 123, 'MaxAttempts': 123 } )
- Parameters:
Filter (list) –
(dict) –
ListOfRequestValue (list) –
(string) –
Name (string) –
NiftyVpnGatewayName (list) –
(string) –
VpnGatewayId (list) –
(string) –
WaiterConfig (dict) –
A dictionary that provides parameters to control waiting behavior.
Delay (integer) –
The amount of time in seconds to wait between attempts. Default: 20
MaxAttempts (integer) –
The maximum number of attempts to be made. Default: 40
- Returns:
None