ElasticBeanstalk.Waiter.
EnvironmentTerminated
¶waiter = client.get_waiter('environment_terminated')
wait
(**kwargs)¶Polls ElasticBeanstalk.Client.describe_environments()
every 20 seconds until a successful state is reached. An error is returned after 20 failed checks.
See also: AWS API Documentation
Request Syntax
waiter.wait(
ApplicationName='string',
VersionLabel='string',
EnvironmentIds=[
'string',
],
EnvironmentNames=[
'string',
],
IncludeDeleted=True|False,
IncludedDeletedBackTo=datetime(2015, 1, 1),
MaxRecords=123,
NextToken='string',
WaiterConfig={
'Delay': 123,
'MaxAttempts': 123
}
)
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
Indicates whether to include deleted environments:
true
: Environments that have been deleted afterIncludedDeletedBackTo
are displayed.
false
: Do not include deleted environments.
IncludeDeleted
is set to true
, then environments deleted after this date are displayed.For a paginated request. Specify a maximum number of environments to include in each response.
If no MaxRecords
is specified, all available environments are retrieved in a single response.
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken
is specified, the first page is retrieved.
A dictionary that provides parameters to control waiting behavior.
The amount of time in seconds to wait between attempts. Default: 20
The maximum number of attempts to be made. Default: 20
None