class Aws::S3::Types::GetObjectRequest
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRequest AWS API Documentation
@return [Integer]
object.
for the part specified. Useful for downloading just a part of an
between 1 and 10,000. Effectively performs a ‘ranged’ GET request
Part number of the object being read. This is a positive integer
@!attribute [rw] part_number
@return [String]
buckets can be found at
requests. Documentation on downloading objects from requester pays
the request. Bucket owners need not specify this parameter in their
Confirms that the requester knows that she or he will be charged for
@!attribute [rw] request_payer
@return [String]
to ensure 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.
must be appropriate for use with the algorithm specified in the
it is discarded; Amazon does not store the encryption key. The key
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]
AES256).
Specifies the algorithm to use to when encrypting the object (e.g.,
@!attribute [rw] sse_customer_algorithm
@return [String]
VersionId used to reference a specific version of the object.
@!attribute [rw] version_id
@return [Time]
Sets the Expires header of the response.
@!attribute [rw] response_expires
@return [String]
Sets the Content-Type header of the response.
@!attribute [rw] response_content_type
@return [String]
Sets the Content-Language header of the response.
@!attribute [rw] response_content_language
@return [String]
Sets the Content-Encoding header of the response.
@!attribute [rw] response_content_encoding
@return [String]
Sets the Content-Disposition header of the response
@!attribute [rw] response_content_disposition
@return [String]
Sets the Cache-Control header of the response.
@!attribute [rw] response_cache_control
@return [String]
.
information about the HTTP Range header, go to
Downloads the specified range bytes of an object. For more
@!attribute [rw] range
@return [String]
@!attribute [rw] key
@return [Time]
specified time, otherwise return a 412 (precondition failed).
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).
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).
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).
Return the object only if its entity tag (ETag) is the same as the
@!attribute [rw] if_match
@return [String]
@!attribute [rw] bucket
}
part_number: 1,
request_payer: “requester”, # accepts requester
sse_customer_key_md5: “SSECustomerKeyMD5”,
sse_customer_key: “SSECustomerKey”,
sse_customer_algorithm: “SSECustomerAlgorithm”,
version_id: “ObjectVersionId”,
response_expires: Time.now,
response_content_type: “ResponseContentType”,
response_content_language: “ResponseContentLanguage”,
response_content_encoding: “ResponseContentEncoding”,
response_content_disposition: “ResponseContentDisposition”,
response_cache_control: “ResponseCacheControl”,
range: “Range”,
key: “ObjectKey”, # required
if_unmodified_since: Time.now,
if_none_match: “IfNoneMatch”,
if_modified_since: Time.now,
if_match: “IfMatch”,
bucket: “BucketName”, # required
{
data as a hash:
@note When making an API call, you may pass GetObjectRequest