OpsWorks.Waiter.
DeploymentSuccessful
¶waiter = client.get_waiter('deployment_successful')
wait
(**kwargs)¶Polls OpsWorks.Client.describe_deployments()
every 15 seconds until a successful state is reached. An error is returned after 40 failed checks.
See also: AWS API Documentation
Request Syntax
waiter.wait(
StackId='string',
AppId='string',
DeploymentIds=[
'string',
],
WaiterConfig={
'Delay': 123,
'MaxAttempts': 123
}
)
An array of deployment IDs to be described. If you include this parameter, the command returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
A dictionary that provides parameters to control waiting behavior.
The amount of time in seconds to wait between attempts. Default: 15
The maximum number of attempts to be made. Default: 40
None