AppConfig / Waiter / DeploymentComplete

DeploymentComplete

class AppConfig.Waiter.DeploymentComplete
waiter = client.get_waiter('deployment_complete')
wait(**kwargs)

Polls AppConfig.Client.get_deployment() every 30 seconds until a successful state is reached. An error is raised after 999 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the application that includes the deployment you want to get.

  • EnvironmentId (string) –

    [REQUIRED]

    The ID of the environment that includes the deployment you want to get.

  • DeploymentNumber (integer) –

    [REQUIRED]

    The sequence number of the deployment.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

      The amount of time in seconds to wait between attempts. Default: 30

    • MaxAttempts (integer) –

      The maximum number of attempts to be made. Default: 999

Returns:

None