OpsWorks / Waiter / AppExists

AppExists#

class OpsWorks.Waiter.AppExists#
waiter = client.get_waiter('app_exists')
wait(**kwargs)#

Polls OpsWorks.Client.describe_apps() every 1 seconds until a successful state is reached. An error is raised after 40 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    StackId='string',
    AppIds=[
        'string',
    ],
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • StackId (string) – The app stack ID. If you use this parameter, DescribeApps returns a description of the apps in the specified stack.

  • AppIds (list) –

    An array of app IDs for the apps to be described. If you use this parameter, DescribeApps returns a description of the specified apps. Otherwise, it returns a description of every app.

    • (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: 1

    • MaxAttempts (integer) –

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

Returns:

None