CloudFront / Waiter / DistributionDeployed

DistributionDeployed#

class CloudFront.Waiter.DistributionDeployed#
waiter = client.get_waiter('distribution_deployed')
wait(**kwargs)#

Polls CloudFront.Client.get_distribution() every 60 seconds until a successful state is reached. An error is raised after 35 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The distribution’s ID. If the ID is empty, an empty distribution configuration is returned.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None