OpsWorks / Waiter / DeploymentSuccessful
DeploymentSuccessful#
- class 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 } )
- Parameters:
StackId (string) – The stack ID. If you include this parameter, the command returns a description of the commands associated with the specified stack.
AppId (string) – The app ID. If you include this parameter, the command returns a description of the commands associated with the specified app.
DeploymentIds (list) –
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.
(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: 15
MaxAttempts (integer) –
The maximum number of attempts to be made. Default: 40
- Returns:
None