CloudFront / Waiter / InvalidationForDistributionTenantCompleted

InvalidationForDistributionTenantCompleted

class CloudFront.Waiter.InvalidationForDistributionTenantCompleted
waiter = client.get_waiter('invalidation_for_distribution_tenant_completed')
wait(**kwargs)

Polls CloudFront.Client.get_invalidation_for_distribution_tenant() every 20 seconds until a successful state is reached. An error is raised after 30 failed checks.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID of the distribution tenant.

  • Id (string) –

    [REQUIRED]

    The ID of the invalidation to retrieve.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None