Bucket / Waiter / wait_until_exists

wait_until_exists#

S3.Bucket.wait_until_exists(**kwargs)#

Waits until this Bucket is exists. This method calls S3.Waiter.bucket_exists.wait() which polls S3.Client.head_bucket() every 5 seconds until a successful state is reached. An error is raised after 20 failed checks.

See also: AWS API Documentation

Request Syntax

bucket.wait_until_exists(
    ExpectedBucketOwner='string'
)
Parameters:

ExpectedBucketOwner (string) – The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

Returns:

None