CmdID

CmdID / aws / aws s3api

aws s3api rename-object

Renames an existing object in a directory bucket that uses the S3 Express One Zone storage class. AWS CLI reference

12 options Its page in the AWS CLI reference

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

Options

12 in the AWS CLI reference
--bucketThe bucket name of the directory bucket containing the object.
--client-tokenA unique string with a max of 64 ASCII characters in the ASCII range of 33 - 126.
--destination-if-matchRenames the object only if the ETag (entity tag) value provided during the operation matches the ETag of the object in S3.
--destination-if-modified-sinceRenames the object if the destination exists and if it has been modified since the specified time.
--destination-if-none-matchRenames the object only if the destination does not already exist in the specified directory bucket.
--destination-if-unmodified-sinceRenames the object if it hasn't been modified since the specified time.
--keyKey name of the object to rename.
--rename-sourceSpecifies the source for the rename operation.
--source-if-matchRenames the object if the source exists and if its entity tag (ETag) matches the specified ETag.
--source-if-modified-sinceRenames the object if the source exists and if it has been modified since the specified time.
--source-if-none-matchRenames the object if the source exists and if its entity tag (ETag) is different than the specified ETag.
--source-if-unmodified-sinceRenames the object if the source exists and hasn't been modified since the specified time.