ElasticBeanstalk / Waiter / EnvironmentTerminated
EnvironmentTerminated#
- class 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 } )
- Parameters:
ApplicationName (string) – If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
VersionLabel (string) – If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
EnvironmentIds (list) –
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
(string) –
EnvironmentNames (list) –
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
(string) –
IncludeDeleted (boolean) –
Indicates whether to include deleted environments:
true
: Environments that have been deleted afterIncludedDeletedBackTo
are displayed.false
: Do not include deleted environments.IncludedDeletedBackTo (datetime) – If specified when
IncludeDeleted
is set totrue
, then environments deleted after this date are displayed.MaxRecords (integer) –
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.NextToken (string) –
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.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: 20
- Returns:
None