wait_until_exists
(**kwargs)¶Waits until this ObjectSummary is exists. This method calls S3.Waiter.object_exists.wait()
which polls. S3.Client.head_object()
every 5 seconds until a successful state is reached. An error is returned after 20 failed checks.
See also: AWS API Documentation
Request Syntax
object_summary.wait_until_exists(
IfMatch='string',
IfModifiedSince=datetime(2015, 1, 1),
IfNoneMatch='string',
IfUnmodifiedSince=datetime(2015, 1, 1),
Range='string',
VersionId='string',
SSECustomerAlgorithm='string',
SSECustomerKey='string',
RequestPayer='requester',
PartNumber=123,
ExpectedBucketOwner='string',
ChecksumMode='ENABLED'
)
HeadObject
returns only the metadata for an object, this parameter has no effect.x-amz-server-side-encryption-customer-algorithm
header.Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
Please note that this parameter is automatically populated if it is not provided. Including this parameter is not required
403 Forbidden
(access denied).To retrieve the checksum, this parameter must be enabled.
In addition, if you enable ChecksumMode
and the object is encrypted with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must have permission to use the kms:Decrypt
action for the request to succeed.
None