LambdaWeb / Waiter / WebFunctionRevisionActive

WebFunctionRevisionActive

class LambdaWeb.Waiter.WebFunctionRevisionActive
waiter = client.get_waiter('web_function_revision_active')
wait(**kwargs)

Polls LambdaWeb.Client.get_web_function_revision() every 1 seconds until a successful state is reached. An error is raised after 300 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the web function. You can specify the function name or the function ARN. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

  • revisionId (string) –

    [REQUIRED]

    The identifier of the revision to retrieve. You can specify the revision identifier or the revision ARN. The length constraint applies only to the full ARN.

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

Returns:

None