CodeDeploy / Waiter / DeploymentSuccessful

DeploymentSuccessful#

class CodeDeploy.Waiter.DeploymentSuccessful#
waiter = client.get_waiter('deployment_successful')
wait(**kwargs)#

Polls CodeDeploy.Client.get_deployment() every 15 seconds until a successful state is reached. An error is returned after 120 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    deploymentId='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • deploymentId (string) –

    [REQUIRED]

    The unique ID of a deployment associated with the user or Amazon Web Services account.

  • 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: 120

Returns:

None