CloudControlApi / Waiter / ResourceRequestSuccess

ResourceRequestSuccess#

class CloudControlApi.Waiter.ResourceRequestSuccess#
waiter = client.get_waiter('resource_request_success')
wait(**kwargs)#

Polls CloudControlApi.Client.get_resource_request_status() every 5 seconds until a successful state is reached. An error is raised after 24 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    A unique token used to track the progress of the resource operation request.

    Request tokens are included in the ProgressEvent type returned by a resource operation request.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None