CmdID

CmdID / aws / aws s3api

aws s3api get-object

Retrieves an object from Amazon S3. AWS CLI reference

21 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

21 in the AWS CLI reference
--bucketThe bucket name containing the object.
--checksum-modeTo retrieve the checksum, this mode must be enabled.
--expected-bucket-ownerThe account ID of the expected bucket owner.
--if-matchReturn the object only if its entity tag (ETag) is the same as the one specified in this header; otherwise, return a 412 Precondition Failed error.
--if-modified-sinceReturn the object only if it has been modified since the specified time; otherwise, return a 304 Not Modified error.
--if-none-matchReturn the object only if its entity tag (ETag) is different from the one specified in this header; otherwise, return a 304 Not Modified error.
--if-unmodified-sinceReturn the object only if it has not been modified since the specified time; otherwise, return a 412 Precondition Failed error.
--keyKey of the object to get.
--part-numberPart number of the object being read.
--rangeDownloads the specified byte range of an object.
--request-payerConfirms that the requester knows that they will be charged for the request.
--response-cache-controlSets the Cache-Control header of the response.
--response-content-dispositionSets the Content-Disposition header of the response.
--response-content-encodingSets the Content-Encoding header of the response.
--response-content-languageSets the Content-Language header of the response.
--response-content-typeSets the Content-Type header of the response.
--response-expiresSets the Expires header of the response.
--sse-customer-algorithmSpecifies the algorithm to use when decrypting the object (for example, AES256).
--sse-customer-key-md5Specifies the 128-bit MD5 digest of the customer-provided encryption key according to RFC 1321.
--sse-customer-keySpecifies the customer-provided encryption key that you originally provided for Amazon S3 to encrypt the data before storing it.
--version-idVersion ID used to reference a specific version of the object.