Bucket / Waiter / wait_until_not_exists

wait_until_not_exists#

S3.Bucket.wait_until_not_exists(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

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

ExpectedBucketOwner (string) – The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden (access denied).

Returns:

None