RenameObjectRequest
Types
Properties
A unique string with a max of 64 ASCII characters in the ASCII range of 33 - 126.
Renames the object only if the ETag (entity tag) value provided during the operation matches the ETag of the object in S3. The If-Match
header field makes the request method conditional on ETags. If the ETag values do not match, the operation returns a 412 Precondition Failed
error.
Renames the object if the destination exists and if it has been modified since the specified time.
Renames the object only if the destination does not already exist in the specified directory bucket. If the object does exist when you send a request with If-None-Match:*
, the S3 API will return a 412 Precondition Failed
error, preventing an overwrite. The If-None-Match
header prevents overwrites of existing data by validating that there's not an object with the same key name already in your directory bucket.
Renames the object if it hasn't been modified since the specified time.
Specifies the source for the rename operation. The value must be URL encoded.
Renames the object if the source exists and if its entity tag (ETag) matches the specified ETag.
Renames the object if the source exists and if it has been modified since the specified time.
Renames the object if the source exists and if its entity tag (ETag) is different than the specified ETag. If an asterisk (*
) character is provided, the operation will fail and return a 412 Precondition Failed
error.
Renames the object if the source exists and hasn't been modified since the specified time.