aws s3api get-object-attributes
Retrieves all of the metadata from an object without returning the object itself. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--bucketThe name of the bucket that contains the object.--expected-bucket-ownerThe account ID of the expected bucket owner.--keyThe object key.--max-partsSets the maximum number of parts to return.--object-attributesSpecifies the fields at the root level that you want returned in the response.--part-number-markerSpecifies the part after which listing should begin.--request-payerConfirms that the requester knows that they will be charged for the request.--sse-customer-algorithmSpecifies the algorithm to use when encrypting the object (for example, AES256).--sse-customer-key-md5Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321.--sse-customer-keySpecifies the customer-provided encryption key for Amazon S3 to use in encrypting data.--version-idThe version ID used to reference a specific version of the object.