class Aws::S3::Types::HeadObjectRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest AWS API Documentation
@return [String]
action for the request to succeed.
Web Services KMS), you must have permission to use the ‘kms:Decrypt`
encrypted with Amazon Web Services Key Management Service (Amazon
In addition, if you enable `ChecksumMode` and the object is
To retrieve the checksum, this parameter must be enabled.
@!attribute [rw] checksum_mode
@return [String]
`403 Forbidden` (access denied).
by a different account, the request fails with the HTTP status code
The account ID of the expected bucket owner. If the bucket is owned
@!attribute [rw] expected_bucket_owner
@return [Integer]
and the number of parts in this object.
for the part specified. Useful querying about the size of the part
between 1 and 10,000. Effectively performs a ’ranged’ HEAD request
Part number of the object being read. This is a positive integer
@!attribute [rw] part_number
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html<br><br><br><br>in the *Amazon S3 User Guide*.
Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
requests. For information about downloading objects from Requester
request. Bucket owners need not specify this parameter in their
Confirms that the requester knows that they will be charged for the
@!attribute [rw] request_payer
@return [String]
to ensure that the encryption key was transmitted without error.
RFC 1321. Amazon S3 uses this header for a message integrity check
Specifies the 128-bit MD5 digest of the encryption key according to
@!attribute [rw] sse_customer_key_md5
@return [String]
‘x-amz-server-side-encryption-customer-algorithm` header.
key must be appropriate for use with the algorithm specified in the
it is discarded; Amazon S3 does not store the encryption key. The
in encrypting data. This value is used to store the object and then
Specifies the customer-provided encryption key for Amazon S3 to use
@!attribute [rw] sse_customer_key
@return [String]
example, AES256).
Specifies the algorithm to use to when encrypting the object (for
@!attribute [rw] sse_customer_algorithm
@return [String]
VersionId used to reference a specific version of the object.
@!attribute [rw] version_id
@return [String]
Not Satisfiable` error.
If the Range is not satisfiable, S3 returns a `416 - Requested Range
satisfiable, only the `ContentLength` is affected in the response.
HeadObject returns only the metadata for an object. If the Range is
@!attribute [rw] range
@return [String]
The object key.
@!attribute [rw] key
@return [Time]
specified time; otherwise, return a 412 (precondition failed) error.
Return the object only if it has not been modified since the
@!attribute [rw] if_unmodified_since
@return [String]
the one specified; otherwise, return a 304 (not modified) error.
Return the object only if its entity tag (ETag) is different from
@!attribute [rw] if_none_match
@return [Time]
time; otherwise, return a 304 (not modified) error.
Return the object only if it has been modified since the specified
@!attribute [rw] if_modified_since
@return [String]
one specified; otherwise, return a 412 (precondition failed) error.
Return the object only if its entity tag (ETag) is the same as the
@!attribute [rw] if_match
@return [String]<br>: docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html<br>[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html<br><br><br><br>[What is S3 on Outposts] in the *Amazon S3 User Guide*.
the bucket name. For more information about S3 on Outposts ARNs, see
Services SDKs, you provide the Outposts access point ARN in place of
When you use this action with S3 on Outposts through the Amazon Web
AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
takes the form `
requests to the S3 on Outposts hostname. The S3 on Outposts hostname
When you use this action with Amazon S3 on Outposts, you must direct
[Using access points] in the *Amazon S3 User Guide*.
bucket name. For more information about access point ARNs, see
Services SDKs, you provide the access point ARN in place of the
When using this action with an access point through the Amazon Web
AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com.
takes the form
requests to the access point hostname. The access point hostname
When using this action with an access point, you must direct
The name of the bucket containing the object.
@!attribute [rw] bucket