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 pollsS3.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_exists( ExpectedBucketOwner='string' )
- Parameters:
ExpectedBucketOwner (string) – Ignored by COS if present.
- Returns:
None