storageClass
If the x-amz-storage-class header is not used, the copied object will be stored in the STANDARD Storage Class by default. The STANDARD storage class provides high durability and high availability. Depending on performance needs, you can specify a different Storage Class.
**Directory buckets ** - Directory buckets only support
EXPRESS_ONEZONE(the S3 Express One Zone storage class) in Availability Zones andONEZONE_IA(the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones. Unsupported storage class values won't write a destination object and will respond with the HTTP status code400 Bad Request.**Amazon S3 on Outposts ** - S3 on Outposts only uses the
OUTPOSTSStorage Class. You can use theCopyObjectaction to change the storage class of an object that is already stored in Amazon S3 by using thex-amz-storage-classheader. For more information, see Storage Classes in the Amazon S3 User Guide.
Before using an object as a source object for the copy operation, you must restore a copy of it if it meets any of the following conditions:
The storage class of the source object is
GLACIERorDEEP_ARCHIVE.The storage class of the source object is
INTELLIGENT_TIERINGand it's S3 Intelligent-Tiering access tier isArchive AccessorDeep Archive Access.
For more information, see RestoreObject and Copying Objects in the Amazon S3 User Guide.