diff --git a/clients/client-s3/src/S3.ts b/clients/client-s3/src/S3.ts index 351c94cf2e69a..52af7133d17c9 100644 --- a/clients/client-s3/src/S3.ts +++ b/clients/client-s3/src/S3.ts @@ -448,8 +448,8 @@ export class S3 extends S3Client { *
To verify that all parts have been removed, so you don't get charged for the part * storage, you should call the ListParts action and ensure that * the parts list is empty.
- *For information about permissions required to use the multipart upload, see Multipart Upload and - * Permissions.
+ *For information about permissions required to use the multipart upload, see Multipart Upload + * and Permissions.
*The following operations are related to AbortMultipartUpload
:
Completes a multipart upload by assembling previously uploaded parts.
*You first initiate the multipart upload and then upload all parts using the UploadPart
* operation. After successfully uploading all relevant parts of an upload, you call this
- * action to complete the upload. Upon receiving this request, Amazon S3 concatenates all
- * the parts in ascending order by part number to create a new object. In the Complete
- * Multipart Upload request, you must provide the parts list. You must ensure that the parts
- * list is complete. This action concatenates the parts that you provide in the list. For
- * each part in the list, you must provide the part number and the ETag
value,
- * returned after that part was uploaded.
ETag
value, returned after
+ * that part was uploaded.
* Processing of a Complete Multipart Upload request could take several minutes to * complete. After Amazon S3 begins processing the request, it sends an HTTP response header that * specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white - * space characters to keep the connection from timing out. Because a request could fail after - * the initial 200 OK response has been sent, it is important that you check the response body - * to determine whether the request succeeded.
+ * space characters to keep the connection from timing out. A request could fail after the + * initial 200 OK response has been sent. This means that a200 OK
response can
+ * contain either a success or an error. If you call the S3 API directly, make sure to design
+ * your application to parse the contents of the response and handle it appropriately. If you
+ * use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply
+ * error handling per your configuration settings (including automatically retrying the
+ * request as appropriate). If the condition persists, the SDKs throws an exception (or, for
+ * the SDKs that don't use exceptions, they return the error).
* Note that if CompleteMultipartUpload
fails, applications should be prepared
- * to retry the failed requests. For more information, see Amazon S3 Error Best Practices.
You cannot use Content-Type: application/x-www-form-urlencoded
with Complete
- * Multipart Upload requests. Also, if you do not provide a Content-Type
header, CompleteMultipartUpload
returns a 200 OK response.
You cannot use Content-Type: application/x-www-form-urlencoded
with
+ * Complete Multipart Upload requests. Also, if you do not provide a
+ * Content-Type
header, CompleteMultipartUpload
returns a 200
+ * OK response.
For more information about multipart uploads, see Uploading Objects Using Multipart * Upload.
- *For information about permissions required to use the multipart upload API, see Multipart Upload and - * Permissions.
+ *For information about permissions required to use the multipart upload API, see Multipart Upload + * and Permissions.
*
* CompleteMultipartUpload
has the following special errors:
All copy requests must be authenticated. Additionally, you must have * read access to the source object and write - * access to the destination bucket. For more information, see REST Authentication. Both the Region - * that you want to copy the object from and the Region that you want to copy the object to - * must be enabled for your account.
+ * access to the destination bucket. For more information, see REST Authentication. Both the + * Region that you want to copy the object from and the Region that you want to copy the + * object to must be enabled for your account. *A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
* is copying the files. If the error occurs before the copy action starts, you receive a
* standard Amazon S3 error. If the error occurs during the copy operation, the error response is
* embedded in the 200 OK
response. This means that a 200 OK
- * response can contain either a success or an error. Design your application to parse the
- * contents of the response and handle it appropriately.
If the copy is successful, you receive a response with information about the copied * object.
*Amazon S3 transfer acceleration does not support cross-Region copies. If you request a
* cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad
- * Request
error. For more information, see Transfer Acceleration.
* Metadata @@ -701,6 +715,11 @@ export class S3 extends S3Client { * Policy in the Amazon S3 User Guide. For a complete list of * Amazon S3-specific condition keys, see Actions, Resources, and Condition Keys for * Amazon S3.
+ *
+ * x-amz-website-redirect-location
is unique to each object and must be
+ * specified in the request headers to copy the value.
* x-amz-copy-source-if Headers *
@@ -765,14 +784,27 @@ export class S3 extends S3Client { ** Server-side encryption *
- *When you perform a CopyObject operation, you can optionally use the appropriate encryption-related - * headers to encrypt the object using server-side encryption with Amazon Web Services managed encryption keys - * (SSE-S3 or SSE-KMS) or a customer-provided encryption key. With server-side encryption, Amazon S3 - * encrypts your data as it writes it to disks in its data centers and decrypts the data when - * you access it. For more information about server-side encryption, see Using - * Server-Side Encryption.
- *If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object. For more - * information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
+ *Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When + * copying an object, if you don't specify encryption information in your copy request, the + * encryption setting of the target object is set to the default encryption configuration of + * the destination bucket. By default, all buckets have a base level of encryption + * configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the + * destination bucket has a default encryption configuration that uses server-side encryption + * with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C), + * Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the target + * object copy. When you perform a CopyObject operation, if you want to use a different type + * of encryption setting for the target object, you can use other appropriate + * encryption-related headers to encrypt the target object with a KMS key, an Amazon S3 managed + * key, or a customer-provided key. With server-side encryption, Amazon S3 encrypts your data as it + * writes it to disks in its data centers and decrypts the data when you access it. If the + * encryption setting in your request is different from the default encryption configuration + * of the destination bucket, the encryption setting in your request takes precedence. If the + * source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary + * encryption information in your request so that Amazon S3 can decrypt the object for copying. For + * more information about server-side encryption, see Using Server-Side + * Encryption.
+ *If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object. For + * more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
** Access Control List (ACL)-Specific Request * Headers @@ -784,29 +816,29 @@ export class S3 extends S3Client { * information, see Access Control List (ACL) Overview and Managing ACLs Using the REST * API.
*If the bucket that you're copying objects to uses the bucket owner enforced setting for
- * S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that
- * use this setting only accept PUT requests that don't specify an ACL or PUT requests that
- * specify bucket owner full control ACLs, such as the bucket-owner-full-control
canned
- * ACL or an equivalent form of this ACL expressed in the XML format.
bucket-owner-full-control
+ * canned ACL or an equivalent form of this ACL expressed in the XML format.
* For more information, see Controlling ownership of - * objects and disabling ACLs in the Amazon S3 User Guide.
+ * objects and disabling ACLs in the Amazon S3 User Guide. *If your bucket uses the bucket owner enforced setting for Object Ownership, - * all objects written to the bucket by any account will be owned by the bucket owner.
+ *If your bucket uses the bucket owner enforced setting for Object Ownership, all + * objects written to the bucket by any account will be owned by the bucket owner.
** Checksums *
- *When copying an object, if it has a checksum, that checksum will be copied to the new object
- * by default. When you copy the object over, you may optionally specify a different checksum
- * algorithm to use with the x-amz-checksum-algorithm
header.
When copying an object, if it has a checksum, that checksum will be copied to the new
+ * object by default. When you copy the object over, you may optionally specify a different
+ * checksum algorithm to use with the x-amz-checksum-algorithm
header.
* Storage Class Options *
- *You can use the CopyObject
action to change the storage class of an
- * object that is already stored in Amazon S3 using the StorageClass
parameter. For
- * more information, see Storage
- * Classes in the Amazon S3 User Guide.
You can use the CopyObject
action to change the storage class of an object
+ * that is already stored in Amazon S3 using the StorageClass
parameter. For more
+ * information, see Storage Classes in the
+ * Amazon S3 User Guide.
* Versioning *
@@ -835,8 +867,7 @@ export class S3 extends S3Client { * *For more information, see Copying - * Objects.
+ *For more information, see Copying Objects.
*/ public copyObject(args: CopyObjectCommandInput, options?: __HttpHandlerOptions): PromiseNot every string is an acceptable bucket name. For information about bucket naming - * restrictions, see Bucket naming rules.
+ * restrictions, see Bucket naming + * rules. *If you want to create an Amazon S3 on Outposts bucket, see Create Bucket.
*By default, the bucket is created in the US East (N. Virginia) Region. You can * optionally specify a Region in the request body. You might choose a Region to optimize * latency, minimize costs, or address regulatory requirements. For example, if you reside in * Europe, you will probably find it advantageous to create buckets in the Europe (Ireland) * Region. For more information, see Accessing a - * bucket.
+ * bucket. *If you send your create bucket request to the s3.amazonaws.com
endpoint,
* the request goes to the us-east-1 Region. Accordingly, the signature calculations in
* Signature Version 4 must use us-east-1 as the Region, even if the location constraint in
* the request specifies another Region where the bucket is to be created. If you create a
* bucket in a Region other than US East (N. Virginia), your application must be able to
- * handle 307 redirect. For more information, see Virtual hosting of buckets.
* Access control lists (ACLs) *
- *When creating a bucket using this operation, you can optionally configure the bucket ACL to specify the accounts or - * groups that should be granted specific permissions on the bucket.
+ *When creating a bucket using this operation, you can optionally configure the bucket ACL + * to specify the accounts or groups that should be granted specific permissions on the + * bucket.
*If your CreateBucket request sets bucket owner enforced for S3 Object Ownership and * specifies a bucket ACL that provides access to an external Amazon Web Services account, your request @@ -896,7 +930,8 @@ export class S3 extends S3Client { * see Controlling object * ownership in the Amazon S3 User Guide.
*There are two ways to grant the appropriate permissions using the request headers.
+ *There are two ways to grant the appropriate permissions using the request + * headers.
*Specify a canned ACL using the x-amz-acl
request header. Amazon S3
@@ -909,14 +944,15 @@ export class S3 extends S3Client {
* x-amz-grant-write
, x-amz-grant-read-acp
,
* x-amz-grant-write-acp
, and x-amz-grant-full-control
* headers. These headers map to the set of permissions Amazon S3 supports in an ACL. For
- * more information, see Access control list
- * (ACL) overview.
You specify each grantee as a type=value pair, where the type is one of the * following:
*
- * id
– if the value specified is the canonical user ID of an Amazon Web Services account
id
– if the value specified is the canonical user ID of an
+ * Amazon Web Services account
* @@ -972,14 +1008,17 @@ export class S3 extends S3Client { *
* Permissions *
- *In addition to s3:CreateBucket
, the following permissions are required when your CreateBucket includes specific headers:
In addition to s3:CreateBucket
, the following permissions are required when
+ * your CreateBucket includes specific headers:
- * ACLs - If your CreateBucket
request specifies ACL permissions and the ACL is public-read, public-read-write,
- * authenticated-read, or if you specify access permissions explicitly through any other ACL, both
- * s3:CreateBucket
and s3:PutBucketAcl
permissions are needed. If the ACL the
- * CreateBucket
request is private or doesn't specify any ACLs, only s3:CreateBucket
permission is needed.
CreateBucket
request
+ * specifies ACL permissions and the ACL is public-read, public-read-write,
+ * authenticated-read, or if you specify access permissions explicitly through any other
+ * ACL, both s3:CreateBucket
and s3:PutBucketAcl
permissions
+ * are needed. If the ACL the CreateBucket
request is private or doesn't
+ * specify any ACLs, only s3:CreateBucket
permission is needed.
* @@ -1047,39 +1086,56 @@ export class S3 extends S3Client { *
If you have configured a lifecycle rule to abort incomplete multipart uploads, the * upload must complete within the number of days specified in the bucket lifecycle * configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort - * action and Amazon S3 aborts the multipart upload. For more information, see Aborting - * Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.
+ * action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy. *For information about the permissions required to use the multipart upload API, see - * Multipart Upload and - * Permissions.
+ * Multipart + * Upload and Permissions. *For request signing, multipart upload is just a series of regular requests. You initiate * a multipart upload, send one or more requests to upload parts, and then complete the * multipart upload process. You sign each request individually. There is nothing special - * about signing multipart upload requests. For more information about signing, see Authenticating - * Requests (Amazon Web Services Signature Version 4).
+ * about signing multipart upload requests. For more information about signing, see Authenticating Requests (Amazon Web Services Signature Version 4). *After you initiate a multipart upload and upload one or more parts, to stop being + *
After you initiate a multipart upload and upload one or more parts, to stop being * charged for storing the uploaded parts, you must either complete or abort the multipart * upload. Amazon S3 frees up the space used to store the parts and stop charging you for * storing them only after you either complete or abort a multipart upload.
*You can optionally request server-side encryption. For server-side encryption, Amazon S3
- * encrypts your data as it writes it to disks in its data centers and decrypts it when you
- * access it. You can provide your own encryption key, or use Amazon Web Services KMS keys or Amazon S3-managed encryption keys. If you choose to provide
- * your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the request to
- * initiate the upload by using CreateMultipartUpload
.
To perform a multipart upload with encryption using an Amazon Web Services KMS key, the requester must
- * have permission to the kms:Decrypt
and kms:GenerateDataKey*
+ *
Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it
+ * writes it to disks in its data centers and decrypts it when you access it. Amazon S3
+ * automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a
+ * multipart upload, if you don't specify encryption information in your request, the
+ * encryption setting of the uploaded parts is set to the default encryption configuration of
+ * the destination bucket. By default, all buckets have a base level of encryption
+ * configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the
+ * destination bucket has a default encryption configuration that uses server-side encryption
+ * with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),
+ * Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded
+ * parts. When you perform a CreateMultipartUpload operation, if you want to use a different
+ * type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the
+ * object with a KMS key, an Amazon S3 managed key, or a customer-provided key. If the encryption
+ * setting in your request is different from the default encryption configuration of the
+ * destination bucket, the encryption setting in your request takes precedence. If you choose
+ * to provide your own encryption key, the request headers you provide in UploadPart
+ * and UploadPartCopy requests must
+ * match the headers you used in the request to initiate the upload by using
+ * CreateMultipartUpload
. you can request that Amazon S3
+ * save the uploaded parts encrypted with server-side encryption with an Amazon S3 managed key
+ * (SSE-S3), an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key
+ * (SSE-C).
To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester
+ * must have permission to the kms:Decrypt
and kms:GenerateDataKey*
* actions on the key. These permissions are required because Amazon S3 must decrypt and read data
* from the encrypted file parts before it completes the multipart upload. For more
* information, see Multipart upload API
- * and permissions in the Amazon S3 User Guide.
If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account - * as the KMS key, then you must have these permissions on the key policy. If your IAM - * user or role belongs to a different account than the key, then you must have the - * permissions on both the key policy and your IAM user or role.
- *For more information, see Protecting - * Data Using Server-Side Encryption.
+ * and permissions and Protecting data using + * server-side encryption with Amazon Web Services KMS in the + * Amazon S3 User Guide. + *If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key, + * then you must have these permissions on the key policy. If your IAM user or role belongs + * to a different account than the key, then you must have the permissions on both the key + * policy and your IAM user or role.
+ *For more information, see Protecting Data Using Server-Side + * Encryption.
*Specify a canned ACL with the x-amz-acl
request header. For
- * more information, see Canned ACL.
Specify access permissions explicitly with the
@@ -1097,8 +1154,7 @@ export class S3 extends S3Client {
* x-amz-grant-write-acp
, and
* x-amz-grant-full-control
headers. These parameters map to
* the set of permissions that Amazon S3 supports in an ACL. For more information,
- * see Access Control List (ACL)
- * Overview.
You can use either a canned ACL or specify access permissions explicitly. You @@ -1106,16 +1162,19 @@ export class S3 extends S3Client { *
You can optionally tell Amazon S3 to encrypt data at rest using server-side - * encryption. Server-side encryption is for data encryption at rest. Amazon S3 encrypts + *
Amazon S3 encrypts data + * by using server-side encryption with an Amazon S3 managed key (SSE-S3) by default. Server-side encryption is for data encryption at rest. Amazon S3 encrypts * your data as it writes it to disks in its data centers and decrypts it when you - * access it. The option you use depends on whether you want to use Amazon Web Services managed - * encryption keys or provide your own encryption key.
+ * access it. You can request that Amazon S3 encrypts + * data at rest by using server-side encryption with other key options. The option you use depends on + * whether you want to use KMS keys (SSE-KMS) or provide your own encryption keys + * (SSE-C). *Use encryption keys managed by Amazon S3 or customer managed key stored - * in Amazon Web Services Key Management Service (Amazon Web Services KMS) – If you want Amazon Web Services to manage the keys - * used to encrypt data, specify the following headers in the request.
+ *Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key
+ * (aws/s3
) and KMS customer managed keys stored in Key Management Service (KMS) – If you
+ * want Amazon Web Services to manage the keys used to encrypt data, specify the following
+ * headers in the request.
@@ -1136,18 +1195,22 @@ export class S3 extends S3Client {
* If you specify x-amz-server-side-encryption:aws:kms
, but
* don't provide x-amz-server-side-encryption-aws-kms-key-id
,
- * Amazon S3 uses the Amazon Web Services managed key in Amazon Web Services KMS to protect the data.aws/s3
key) in KMS to
+ * protect the data.
All GET and PUT requests for an object protected by Amazon Web Services KMS fail if - * you don't make them with SSL or by using SigV4.
+ *All GET
and PUT
requests for an object protected
+ * by KMS fail if you don't make them by using Secure Sockets Layer (SSL),
+ * Transport Layer Security (TLS), or Signature Version 4.
For more information about server-side encryption with KMS key (SSE-KMS), - * see Protecting Data Using Server-Side Encryption with KMS keys.
+ *For more information about server-side encryption with KMS keys + * (SSE-KMS), see Protecting Data + * Using Server-Side Encryption with KMS keys.
*Use customer-provided encryption keys – If you want to manage your own - * encryption keys, provide all the following headers in the request.
+ *Use customer-provided encryption keys (SSE-C) – If you want to manage + * your own encryption keys, provide all the following headers in the + * request.
*@@ -1165,8 +1228,10 @@ export class S3 extends S3Client { *
*For more information about server-side encryption with KMS keys (SSE-KMS), - * see Protecting Data Using Server-Side Encryption with KMS keys.
+ *For more information about server-side encryption with customer-provided + * encryption keys (SSE-C), see + * Protecting data using server-side encryption with customer-provided + * encryption keys (SSE-C).
*You also can use the following access control–related headers with this * operation. By default, all objects are private. Only the owner has full access - * control. When adding a new object, you can grant permissions to individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then added - * to the access control list (ACL) on the object. For more information, see Using ACLs. With this - * operation, you can grant access permissions using one of the following two - * methods:
+ * control. When adding a new object, you can grant permissions to individual + * Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then + * added to the access control list (ACL) on the object. For more information, see + * Using ACLs. With this operation, you can grant access permissions + * using one of the following two methods: *Specify a canned ACL (x-amz-acl
) — Amazon S3 supports a set of
@@ -1190,10 +1256,9 @@ export class S3 extends S3Client {
*
Specify access permissions explicitly — To explicitly grant access * permissions to specific Amazon Web Services accounts or groups, use the following headers. * Each header maps to specific permissions that Amazon S3 supports in an ACL. For - * more information, see Access - * Control List (ACL) Overview. In the header, you specify a list of - * grantees who get the specific permission. To grant permissions explicitly, - * use:
+ * more information, see Access Control List (ACL) + * Overview. In the header, you specify a list of grantees who get + * the specific permission. To grant permissions explicitly, use: *@@ -1389,8 +1454,8 @@ export class S3 extends S3Client { *
To use this operation, you must have permissions to perform the
* s3:PutAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class * Analysis.
*The following operations are related to @@ -1448,8 +1513,8 @@ export class S3 extends S3Client { *
To use this operation, you must have permission to perform the
* s3:PutBucketCORS
action. The bucket owner has this permission by default
* and can grant this permission to others.
For information about cors
, see Enabling
- * Cross-Origin Resource Sharing in the Amazon S3 User Guide.
For information about cors
, see Enabling Cross-Origin Resource Sharing in
+ * the Amazon S3 User Guide.
* Related Resources: *
@@ -1497,14 +1562,16 @@ export class S3 extends S3Client { /** * @public - *This implementation of the DELETE action removes default encryption from the bucket. - * For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the - * Amazon S3 User Guide.
+ *This implementation of the DELETE action resets the default encryption for the + * bucket as server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the + * bucket default encryption feature, see Amazon S3 Bucket Default Encryption + * in the Amazon S3 User Guide.
*To use this operation, you must have permissions to perform the
* s3:PutEncryptionConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3
- * Resources in the Amazon S3 User Guide.
* Related Resources *
@@ -1556,8 +1623,7 @@ export class S3 extends S3Client { *The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * DeleteBucketIntelligentTieringConfiguration
include:
Operations related to DeleteBucketIntelligentTieringConfiguration
include:
@@ -1614,8 +1680,8 @@ export class S3 extends S3Client { *
To use this operation, you must have permissions to perform the
* s3:PutInventoryConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
*Operations related to DeleteBucketInventoryConfiguration
include:
There is usually some time lag before lifecycle configuration deletion is fully * propagated to all the Amazon S3 systems.
- *For more information about the object expiration, see Elements to - * Describe Lifecycle Actions.
+ *For more information about the object expiration, see Elements to Describe Lifecycle Actions.
*Related actions include:
* To use this operation, you must have permissions to perform the
* s3:PutMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.
+ * permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with + * Amazon CloudWatch.
*The following operations are related to
* DeleteBucketMetricsConfiguration
:
- * Monitoring Metrics with Amazon - * CloudWatch + * Monitoring Metrics with Amazon CloudWatch *
*Removes OwnershipControls
for an Amazon S3 bucket. To use this operation, you
* must have the s3:PutBucketOwnershipControls
permission. For more information
- * about Amazon S3 permissions, see Specifying
- * Permissions in a Policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
*The following operations are related to
* DeleteBucketOwnershipControls
:
To use this operation, you must have permissions to perform the
* s3:PutReplicationConfiguration
action. The bucket owner has these
* permissions by default and can grant it to others. For more information about permissions,
- * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
It can take a while for the deletion of a replication configuration to fully * propagate.
*For information about replication configuration, see Replication in the Amazon S3 User Guide.
+ *For information about replication configuration, see Replication in the + * Amazon S3 User Guide.
*The following operations are related to DeleteBucketReplication
:
Removes the null version (if there is one) of an object and inserts a delete marker, * which becomes the latest version of the object. If there isn't a null version, Amazon S3 does * not remove any objects but will still respond that the command was successful.
- *To remove a specific version, you must be the bucket owner and you must use the version
- * Id subresource. Using this subresource permanently deletes the version. If the object
- * deleted is a delete marker, Amazon S3 sets the response header,
- * x-amz-delete-marker
, to true.
To remove a specific version, you must use the version Id subresource. Using this
+ * subresource permanently deletes the version. If the object deleted is a delete marker, Amazon S3
+ * sets the response header, x-amz-delete-marker
, to true.
If the object you want to delete is in a bucket where the bucket versioning
* configuration is MFA Delete enabled, you must include the x-amz-mfa
request
* header in the DELETE versionId
request. Requests that include
* x-amz-mfa
must use HTTPS.
For more information about MFA Delete, see Using MFA Delete. To see sample requests that use versioning, see Sample Request.
- *You can delete objects by explicitly calling DELETE Object or configure its
- * lifecycle (PutBucketLifecycle) to
- * enable Amazon S3 to remove them for you. If you want to block users or accounts from removing or
- * deleting objects from your bucket, you must deny them the s3:DeleteObject
,
- * s3:DeleteObjectVersion
, and s3:PutLifeCycleConfiguration
- * actions.
For more information about MFA Delete, see Using MFA Delete. To see sample + * requests that use versioning, see Sample + * Request.
+ *You can delete objects by explicitly calling DELETE Object or configure its lifecycle
+ * (PutBucketLifecycle) to enable Amazon S3 to remove them for you. If you want to block
+ * users or accounts from removing or deleting objects from your bucket, you must deny them
+ * the s3:DeleteObject
, s3:DeleteObjectVersion
, and
+ * s3:PutLifeCycleConfiguration
actions.
The following action is related to DeleteObject
:
This action enables you to delete multiple objects from a bucket using a single HTTP - * request. If you know the object keys that you want to delete, then this action provides - * a suitable alternative to sending individual delete requests, reducing per-request + * request. If you know the object keys that you want to delete, then this action provides a + * suitable alternative to sending individual delete requests, reducing per-request * overhead.
*The request contains a list of up to 1000 keys that you want to delete. In the XML, you * provide the object key names, and optionally, version IDs if you want to delete a specific * version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a - * delete action and returns the result of that delete, success, or failure, in the - * response. Note that if the object specified in the request is not found, Amazon S3 returns the - * result as deleted.
+ * delete action and returns the result of that delete, success, or failure, in the response. + * Note that if the object specified in the request is not found, Amazon S3 returns the result as + * deleted. *The action supports two modes for the response: verbose and quiet. By default, the - * action uses verbose mode in which the response includes the result of deletion of each - * key in your request. In quiet mode the response includes only keys where the delete - * action encountered an error. For a successful deletion, the action does not return - * any information about the delete in the response body.
- *When performing this action on an MFA Delete enabled bucket, that attempts to delete - * any versioned objects, you must include an MFA token. If you do not provide one, the entire + * action uses verbose mode in which the response includes the result of deletion of each key + * in your request. In quiet mode the response includes only keys where the delete action + * encountered an error. For a successful deletion, the action does not return any information + * about the delete in the response body.
+ *When performing this action on an MFA Delete enabled bucket, that attempts to delete any + * versioned objects, you must include an MFA token. If you do not provide one, the entire * request will fail, even if there are non-versioned objects you are trying to delete. If you * provide an invalid token, whether there are versioned keys in the request or not, the * entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA - * Delete.
- *Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon - * S3 uses the header value to ensure that your request body has not been altered in + * Delete.
+ *Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon S3 uses the header value to ensure that your request body has not been altered in * transit.
*The following operations are related to DeleteObjects
:
Removes the entire tag set from the specified object. For more information about - * managing object tags, see Object - * Tagging.
+ * managing object tags, see Object Tagging. *To use this operation, you must have permission to perform the
* s3:DeleteObjectTagging
action.
To delete tags of a specific object version, add the versionId
query
* parameter in the request. You will need permission for the
* s3:DeleteObjectVersionTagging
action.
The following operations are related to
- * DeleteBucketMetricsConfiguration
:
The following operations are related to DeleteObjectTagging
:
@@ -2258,8 +2321,8 @@ export class S3 extends S3Client { * @public *
Removes the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this
* operation, you must have the s3:PutBucketPublicAccessBlock
permission. For
- * more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
The following operations are related to DeletePublicAccessBlock
:
To use this operation, you must have permission to perform the
* s3:GetAccelerateConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3
- * Resources in the Amazon S3 User Guide.
You set the Transfer Acceleration state of an existing bucket to Enabled
or
* Suspended
by using the PutBucketAccelerateConfiguration operation.
A GET accelerate
request does not return a state value for a bucket that
* has no transfer acceleration state. A bucket has no Transfer Acceleration state if a state
* has never been set on the bucket.
For more information about transfer acceleration, see Transfer Acceleration in the - * Amazon S3 User Guide.
+ *For more information about transfer acceleration, see Transfer Acceleration in + * the Amazon S3 User Guide.
** Related Resources *
@@ -2374,17 +2438,19 @@ export class S3 extends S3Client { /** * @public - *This implementation of the GET
action uses the acl
- * subresource to return the access control list (ACL) of a bucket. To use GET
to
- * return the ACL of the bucket, you must have READ_ACP
access to the bucket. If
+ *
This implementation of the GET
action uses the acl
subresource
+ * to return the access control list (ACL) of a bucket. To use GET
to return the
+ * ACL of the bucket, you must have READ_ACP
access to the bucket. If
* READ_ACP
permission is granted to the anonymous user, you can return the
* ACL of the bucket without using an authorization header.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
*If your bucket uses the bucket owner enforced setting for S3 Object Ownership,
- * requests to read ACLs are still supported and return the bucket-owner-full-control
- * ACL with the owner being the account that created the bucket. For more information, see
- *
- * Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
bucket-owner-full-control
ACL with the owner being the account that
+ * created the bucket. For more information, see Controlling object
+ * ownership and disabling ACLs in the
+ * Amazon S3 User Guide.
* * Related Resources @@ -2425,13 +2491,14 @@ export class S3 extends S3Client { /** * @public - *
This implementation of the GET action returns an analytics configuration (identified - * by the analytics configuration ID) from the bucket.
+ *This implementation of the GET action returns an analytics configuration (identified by + * the analytics configuration ID) from the bucket.
*To use this operation, you must have permissions to perform the
* s3:GetAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class * Analysis in the Amazon S3 User Guide.
*@@ -2491,6 +2558,7 @@ export class S3 extends S3Client { *
To use this operation, you must have permission to perform the
* s3:GetBucketCORS
action. By default, the bucket owner has this permission
* and can grant it to others.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
*For more information about CORS, see Enabling Cross-Origin Resource * Sharing.
*The following operations are related to GetBucketCors
:
Returns the default encryption configuration for an Amazon S3 bucket. If the bucket does not
- * have a default encryption configuration, GetBucketEncryption returns
- * ServerSideEncryptionConfigurationNotFoundError
.
For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.
- *To use this operation, you must have permission to perform the + *
Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a default encryption configuration that + * uses server-side encryption with Amazon S3 managed keys (SSE-S3). For information + * about the bucket default encryption feature, see Amazon S3 Bucket + * Default Encryption in the Amazon S3 User Guide.
+ *To use this operation, you must have permission to perform the
* s3:GetEncryptionConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
The following operations are related to GetBucketEncryption
:
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * GetBucketIntelligentTieringConfiguration
include:
Operations related to GetBucketIntelligentTieringConfiguration
include:
@@ -2654,8 +2721,8 @@ export class S3 extends S3Client { *
To use this operation, you must have permissions to perform the
* s3:GetInventoryConfiguration
action. The bucket owner has this permission
* by default and can grant this permission to others. For more information about permissions,
- * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
*The following operations are related to
* GetBucketInventoryConfiguration
:
Returns the lifecycle configuration information set on the bucket. For information about - * lifecycle configuration, see Object - * Lifecycle Management.
+ * lifecycle configuration, see Object Lifecycle + * Management. *To use this operation, you must have permission to perform the
* s3:GetLifecycleConfiguration
action. The bucket owner has this permission,
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
* GetBucketLifecycleConfiguration
has the following special error:
To use this implementation of the operation, you must be the bucket owner.
*To use this API against an access point, provide the alias of the access point in place of the bucket name.
+ *For requests made using Amazon Web Services Signature Version 4 (SigV4), we recommend that you use + * HeadBucket to return the bucket Region instead of GetBucketLocation.
+ *The following operations are related to GetBucketLocation
:
Returns the logging status of a bucket and the permissions users have to view and modify - * that status. To use GET, you must be the bucket owner.
+ * that status. *The following operations are related to GetBucketLogging
:
To use this operation, you must have permissions to perform the
* s3:GetMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon - * CloudWatch.
+ * permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *For information about CloudWatch request metrics for Amazon S3, see Monitoring + * Metrics with Amazon CloudWatch.
*The following operations are related to
* GetBucketMetricsConfiguration
:
- * Monitoring Metrics with Amazon - * CloudWatch + * Monitoring Metrics with Amazon CloudWatch *
*s3:GetBucketNotification
* permission.
+ * To use this API against an access point, provide the alias of the access point in place of the bucket name.
*For more information about setting and reading the notification configuration on a - * bucket, see Setting Up Notification of - * Bucket Events. For more information about bucket policies, see Using Bucket Policies.
+ * bucket, see Setting Up Notification of Bucket Events. For more information about bucket + * policies, see Using Bucket Policies. *The following action is related to GetBucketNotification
:
Retrieves OwnershipControls
for an Amazon S3 bucket. To use this operation, you
* must have the s3:GetBucketOwnershipControls
permission. For more information
- * about Amazon S3 permissions, see Specifying
- * permissions in a policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
+ * about Amazon S3 permissions, see Specifying permissions in a + * policy. + *For information about Amazon S3 Object Ownership, see Using Object + * Ownership.
*The following operations are related to GetBucketOwnershipControls
:
To use this API against an access point, provide the alias of the access point in place of the bucket name.
*For more information about bucket policies, see Using Bucket Policies and User * Policies.
*The following action is related to GetBucketPolicy
:
Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.
* In order to use this operation, you must have the s3:GetBucketPolicyStatus
* permission. For more information about Amazon S3 permissions, see Specifying Permissions in a
- * Policy.
For more information about when Amazon S3 considers a bucket public, see The Meaning of "Public".
*The following operations are related to GetBucketPolicyStatus
:
Returns the request payment configuration of a bucket. To use this version of the - * operation, you must be the bucket owner. For more information, see Requester Pays Buckets.
+ * operation, you must be the bucket owner. For more information, see Requester Pays + * Buckets. *The following operations are related to GetBucketRequestPayment
:
Returns the website configuration for a bucket. To host website on Amazon S3, you can * configure a bucket as website by adding a website configuration. For more information about - * hosting websites, see Hosting Websites on - * Amazon S3.
+ * hosting websites, see Hosting Websites on Amazon S3. *This GET action requires the S3:GetBucketWebsite
permission. By default,
* only the bucket owner can read the bucket website configuration. However, bucket owners can
* allow other users to read the website configuration by writing a bucket policy granting
@@ -3461,18 +3534,19 @@ export class S3 extends S3Client {
* have the object photos/2006/February/sample.jpg
in the bucket named
* examplebucket
, specify the resource as
* /examplebucket/photos/2006/February/sample.jpg
. For more information about
- * request types, see HTTP Host Header Bucket Specification.
For more information about returning the ACL of an object, see GetObjectAcl.
*If the object you are retrieving is stored in the S3 Glacier or
* S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or
* S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you must first restore a
* copy using RestoreObject. Otherwise, this action returns an
- * InvalidObjectStateError
error. For information about restoring archived
- * objects, see Restoring Archived
- * Objects.
InvalidObjectState
error. For information about restoring archived objects,
+ * see Restoring
+ * Archived Objects.
* Encryption request headers, like x-amz-server-side-encryption
, should not
- * be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS)
- * or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your
+ * be sent for GET requests if your object uses server-side encryption with KMS keys
+ * (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your
* object does use these types of keys, you’ll get an HTTP 400 BadRequest error.
If you encrypt an object by using server-side encryption with customer-provided * encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object, @@ -3488,19 +3562,19 @@ export class S3 extends S3Client { *
x-amz-server-side-encryption-customer-key-MD5
*For more information about SSE-C, see Server-Side Encryption (Using - * Customer-Provided Encryption Keys).
- *Assuming you have the relevant permission to read object tags, the response also returns the
- * x-amz-tagging-count
header that provides the count of number of tags
+ *
For more information about SSE-C, see Server-Side Encryption + * (Using Customer-Provided Encryption Keys).
+ *Assuming you have the relevant permission to read object tags, the response also returns
+ * the x-amz-tagging-count
header that provides the count of number of tags
* associated with the object. You can use GetObjectTagging to retrieve
* the tag set associated with an object.
* Permissions *
*You need the relevant read object (or version) permission for this operation. For more
- * information, see Specifying Permissions
- * in a Policy. If the object you request does not exist, the error Amazon S3 returns
- * depends on whether you also have the s3:ListBucket
permission.
s3:ListBucket
permission.
* If you have the
- * If you supply a If you supply a If the current version of the object is a delete marker, Amazon S3 behaves as if the
@@ -3648,10 +3723,11 @@ export class S3 extends S3Client {
* return ACL information about a different version, use the versionId subresource. If your bucket uses the bucket owner enforced setting for S3 Object Ownership,
- * requests to read ACLs are still supported and return the s3:ListBucket
permission on the bucket, Amazon S3 will
@@ -3519,11 +3593,12 @@ export class S3 extends S3Client {
*
*
versionId
, you need the s3:GetObjectVersion
permission to
- * access a specific version of an object. If you request a specific version, you do not need to have
- * the s3:GetObject
permission.
- * versionId
, you need the
+ * s3:GetObjectVersion
permission to access a specific version of an
+ * object. If you request a specific version, you do not need to have the
+ * s3:GetObject
permission. If you request the current version
+ * without a specific version ID, only s3:GetObject
permission is
+ * required. s3:GetObjectVersion
permission won't be required.bucket-owner-full-control
- * ACL with the owner being the account that created the bucket. For more information, see
- *
- * Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.bucket-owner-full-control
ACL with the owner being the account that
+ * created the bucket. For more information, see Controlling object
+ * ownership and disabling ACLs in the
+ * Amazon S3 User Guide.
The following operations are related to GetObjectAcl
:
GetObjectAttributes
, you must have READ access to the object.
*
- * GetObjectAttributes
combines the functionality of
- * GetObjectAcl
, GetObjectLegalHold
,
- * GetObjectLockConfiguration
, GetObjectRetention
,
- * GetObjectTagging
, HeadObject
, and ListParts
. All
- * of the data returned with each of those individual calls can be returned with a single call
- * to GetObjectAttributes
.
GetObjectAttributes
combines the functionality of HeadObject
+ * and ListParts
. All of the data returned with each of those individual calls
+ * can be returned with a single call to GetObjectAttributes
.
* If you encrypt an object by using server-side encryption with customer-provided - * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the - * metadata from the object, you must use the following headers:
+ * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the + * metadata from the object, you must use the following headers: *
@@ -3741,25 +3814,24 @@ export class S3 extends S3Client {
* Encryption request headers, such as
- * Encryption request headers, such as
- * The last modified property in this case is the creation date of the object. The last modified property in this case is the creation date of the
+ * object.
*
* x-amz-server-side-encryption
, should not be sent for GET requests
- * if your object uses server-side encryption with Amazon Web Services KMS keys stored in Amazon Web Services Key
- * Management Service (SSE-KMS) or server-side encryption with Amazon S3 managed
- * encryption keys (SSE-S3). If your object does use these types of keys, you'll get
- * an HTTP 400 Bad Request
error.x-amz-server-side-encryption
,
+ * should not be sent for GET requests if your object uses server-side encryption
+ * with Amazon Web Services KMS keys stored in Amazon Web Services Key Management Service (SSE-KMS) or
+ * server-side encryption with Amazon S3 managed keys (SSE-S3). If your object does use
+ * these types of keys, you'll get an HTTP 400 Bad Request
error.
Consider the following when using request headers:
* If both of the If-Match
and If-Unmodified-Since
- * headers are present in the request as follows, then Amazon S3 returns the HTTP
- * status code 200 OK
and the data requested:
If both of the If-Match
and If-Unmodified-Since
headers
+ * are present in the request as follows, then Amazon S3 returns the HTTP status code
+ * 200 OK
and the data requested:
@@ -3768,24 +3840,23 @@ export class S3 extends S3Client { *
* If-Unmodified-Since
condition evaluates to
- * false
.
false
.
* If both of the If-None-Match
and If-Modified-Since
* headers are present in the request as follows, then Amazon S3 returns the HTTP status code
- * 304 Not Modified
:
304 Not Modified
:
*
- * If-None-Match
condition evaluates to
- * false
.
If-None-Match
condition evaluates to false
.
*
* If-Modified-Since
condition evaluates to
- * true
.
true
.
* s3:ListBucket
permission.
* If you have the s3:ListBucket
permission on the bucket, Amazon S3
- * returns an HTTP status code 404 Not Found
("no such key") error.
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns
+ * an HTTP status code 404 Not Found
("no such key") error.
If you don't have the s3:ListBucket
permission, Amazon S3 returns an
- * HTTP status code 403 Forbidden
("access denied") error.
If you don't have the s3:ListBucket
permission, Amazon S3 returns an HTTP
+ * status code 403 Forbidden
("access denied") error.
The following actions are related to GetObjectAttributes
:
Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock * configuration will be applied by default to every new object placed in the specified - * bucket. For more information, see Locking - * Objects.
+ * bucket. For more information, see Locking Objects. *The following action is related to GetObjectLockConfiguration
:
Retrieves an object's retention settings. For more information, see Locking Objects.
+ *Retrieves an object's retention settings. For more information, see Locking + * Objects.
*This action is not supported by Amazon S3 on Outposts.
*The following action is related to GetObjectRetention
:
Returns the tag-set of an object. You send the GET request against the tagging * subresource associated with the object.
*To use this operation, you must have permission to perform the
- * s3:GetObjectTagging
action. By default, the GET action returns
- * information about current version of an object. For a versioned bucket, you can have
- * multiple versions of an object in your bucket. To retrieve tags of any other version, use
- * the versionId query parameter. You also need permission for the
- * s3:GetObjectVersionTagging
action.
s3:GetObjectTagging
action. By default, the GET action returns information
+ * about current version of an object. For a versioned bucket, you can have multiple versions
+ * of an object in your bucket. To retrieve tags of any other version, use the versionId query
+ * parameter. You also need permission for the s3:GetObjectVersionTagging
+ * action.
* By default, the bucket owner has this permission and can grant this permission to * others.
*For information about the Amazon S3 object tagging feature, see Object Tagging.
@@ -4078,7 +4149,7 @@ export class S3 extends S3Client { /** * @public *Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're - * distributing large files. For more information about BitTorrent, see Using BitTorrent with Amazon S3.
+ * distributing large files. *You can get torrent only for objects that are less than 5 GB in size, and that are * not encrypted using server-side encryption with a customer-provided encryption @@ -4129,7 +4200,7 @@ export class S3 extends S3Client { *
Retrieves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use
* this operation, you must have the s3:GetBucketPublicAccessBlock
permission.
* For more information about Amazon S3 permissions, see Specifying Permissions in a
- * Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or
* an object, it checks the PublicAccessBlock
configuration for both the
@@ -4195,17 +4266,23 @@ export class S3 extends S3Client {
/**
* @public
- *
This action is useful to determine if a bucket exists and you have permission to
- * access it. The action returns a 200 OK
if the bucket exists and you have
- * permission to access it.
If the bucket does not exist or you do not have permission to access it, the HEAD
request
- * returns a generic 404 Not Found
or 403 Forbidden
code. A message body is not
- * included, so you cannot determine the exception beyond these error codes.
This action is useful to determine if a bucket exists and you have permission to access
+ * it. The action returns a 200 OK
if the bucket exists and you have permission
+ * to access it.
If the bucket does not exist or you do not have permission to access it, the
+ * HEAD
request returns a generic 400 Bad Request
, 403
+ * Forbidden
or 404 Not Found
code. A message body is not included, so
+ * you cannot determine the exception beyond these error codes.
To use this operation, you must have permissions to perform the
* s3:ListBucket
action. The bucket owner has this permission by default and
- * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
To use this API against an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the Amazon Web Services SDKs, you provide the ARN in place of the bucket name. For more information see, Using access points.
+ * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *To use this API against an access point, you must provide the alias of the access point in place of the + * bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to + * the access point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the Amazon Web Services SDKs, + * you provide the ARN in place of the bucket name. For more information see, Using + * access points.
*/ public headBucket(args: HeadBucketCommandInput, options?: __HttpHandlerOptions): PromiseThe HEAD action retrieves metadata from an object without returning the object - * itself. This action is useful if you're only interested in an object's metadata. To use - * HEAD, you must have READ access to the object.
+ *The HEAD action retrieves metadata from an object without returning the object itself. + * This action is useful if you're only interested in an object's metadata. To use HEAD, you + * must have READ access to the object.
*A HEAD
request has the same options as a GET
action on an
* object. The response is identical to the GET
response except that there is no
* response body. Because of this, if the HEAD
request generates an error, it
- * returns a generic 404 Not Found
or 403 Forbidden
code. It is not
- * possible to retrieve the exact exception beyond these error codes.
400 Bad Request
, 403 Forbidden
or 404 Not
+ * Found
code. It is not possible to retrieve the exact exception beyond these error
+ * codes.
* If you encrypt an object by using server-side encryption with customer-provided * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the * metadata from the object, you must use the following headers:
@@ -4254,25 +4332,25 @@ export class S3 extends S3Client { *x-amz-server-side-encryption-customer-key-MD5
*For more information about SSE-C, see Server-Side Encryption (Using - * Customer-Provided Encryption Keys).
+ *For more information about SSE-C, see Server-Side Encryption + * (Using Customer-Provided Encryption Keys).
*Encryption request headers, like x-amz-server-side-encryption
, should
- * not be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS)
- * or server-side encryption with Amazon S3–managed encryption keys
- * (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest
- * error.
Encryption request headers, like x-amz-server-side-encryption
,
+ * should not be sent for GET requests if your object uses server-side encryption
+ * with KMS keys (SSE-KMS) or server-side encryption with Amazon S3–managed encryption
+ * keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400
+ * BadRequest error.
- * The last modified property in this case is the creation date of the object.
+ *The last modified property in this case is the creation date of the + * object.
*Request headers are limited to 8 KB in size. For more information, see Common Request - * Headers.
+ *Request headers are limited to 8 KB in size. For more information, see Common + * Request Headers.
*Consider the following when using request headers:
*You need the relevant read object (or version) permission for this operation. For more - * information, see Specifying Permissions - * in a Policy. If the object you request does not exist, the error Amazon S3 returns - * depends on whether you also have the s3:ListBucket permission.
+ * information, see Specifying Permissions in a + * Policy. If the object you request does not exist, the error Amazon S3 returns depends + * on whether you also have the s3:ListBucket permission. *If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns
@@ -4370,8 +4448,8 @@ export class S3 extends S3Client {
* @public
*
Lists the analytics configurations for the bucket. You can have up to 1,000 analytics * configurations per bucket.
- *This action supports list pagination and does not return more than 100 configurations
- * at a time. You should always check the IsTruncated
element in the response. If
+ *
This action supports list pagination and does not return more than 100 configurations at
+ * a time. You should always check the IsTruncated
element in the response. If
* there are no more configurations to list, IsTruncated
is set to false. If
* there are more configurations to list, IsTruncated
is set to true, and there
* will be a value in NextContinuationToken
. You use the
@@ -4381,8 +4459,8 @@ export class S3 extends S3Client {
*
To use this operation, you must have permissions to perform the
* s3:GetAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class * Analysis.
*The following operations are related to @@ -4440,8 +4518,7 @@ export class S3 extends S3Client { *
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * ListBucketIntelligentTieringConfigurations
include:
Operations related to ListBucketIntelligentTieringConfigurations
include:
@@ -4495,9 +4572,9 @@ export class S3 extends S3Client { * @public *
Returns a list of inventory configurations for the bucket. You can have up to 1,000 * analytics configurations per bucket.
- *This action supports list pagination and does not return more than 100 configurations
- * at a time. Always check the IsTruncated
element in the response. If there are
- * no more configurations to list, IsTruncated
is set to false. If there are more
+ *
This action supports list pagination and does not return more than 100 configurations at
+ * a time. Always check the IsTruncated
element in the response. If there are no
+ * more configurations to list, IsTruncated
is set to false. If there are more
* configurations to list, IsTruncated
is set to true, and there is a value in
* NextContinuationToken
. You use the NextContinuationToken
value
* to continue the pagination of the list by passing the value in continuation-token in the
@@ -4505,8 +4582,8 @@ export class S3 extends S3Client {
*
To use this operation, you must have permissions to perform the
* s3:GetInventoryConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory *
*The following operations are related to @@ -4563,9 +4640,9 @@ export class S3 extends S3Client { *
Lists the metrics configurations for the bucket. The metrics configurations are only for * the request metrics of the bucket and do not provide information on daily storage metrics. * You can have up to 1,000 configurations per bucket.
- *This action supports list pagination and does not return more than 100 configurations
- * at a time. Always check the IsTruncated
element in the response. If there are
- * no more configurations to list, IsTruncated
is set to false. If there are more
+ *
This action supports list pagination and does not return more than 100 configurations at
+ * a time. Always check the IsTruncated
element in the response. If there are no
+ * more configurations to list, IsTruncated
is set to false. If there are more
* configurations to list, IsTruncated
is set to true, and there is a value in
* NextContinuationToken
. You use the NextContinuationToken
value
* to continue the pagination of the list by passing the value in
@@ -4573,11 +4650,10 @@ export class S3 extends S3Client {
*
To use this operation, you must have permissions to perform the
* s3:GetMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For more information about metrics configurations and CloudWatch request metrics, see - * Monitoring Metrics with Amazon - * CloudWatch.
+ * Monitoring Metrics with Amazon CloudWatch. *The following operations are related to
* ListBucketMetricsConfigurations
:
Returns a list of all buckets owned by the authenticated sender of the request. To use
- * this operation, you must have the s3:ListAllMyBuckets
permission.
s3:ListAllMyBuckets
permission.
+ * For information about Amazon S3 buckets, see Creating, configuring, and + * working with Amazon S3 buckets.
*/ public listBuckets(args: ListBucketsCommandInput, options?: __HttpHandlerOptions): PromiseFor more information on multipart uploads, see Uploading Objects Using Multipart * Upload.
- *For information on permissions required to use the multipart upload API, see Multipart Upload and - * Permissions.
+ *For information on permissions required to use the multipart upload API, see Multipart Upload + * and Permissions.
*The following operations are related to ListMultipartUploads
:
Returns some or all (up to 1,000) of the objects in a bucket with each request. You can use
- * the request parameters as selection criteria to return a subset of the objects in a bucket. A
- * 200 OK
response can contain valid or invalid XML. Make sure to design your
- * application to parse the contents of the response and handle it appropriately.
+ *
Returns some or all (up to 1,000) of the objects in a bucket with each request. You can
+ * use the request parameters as selection criteria to return a subset of the objects in a
+ * bucket. A 200 OK
response can contain valid or invalid XML. Make sure to
+ * design your application to parse the contents of the response and handle it appropriately.
* Objects are returned sorted in an ascending order of the respective key names in the list.
* For more information about listing objects, see Listing object keys
* programmatically
*
To use this operation, you must have READ access to the bucket.
- *To use this action in an Identity and Access Management (IAM) policy, you must
- * have permissions to perform the s3:ListBucket
action. The bucket owner has
- * this permission by default and can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
To use this action in an Identity and Access Management (IAM) policy, you must have permissions to perform
+ * the s3:ListBucket
action. The bucket owner has this permission by default and
+ * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing
+ * Access Permissions to Your Amazon S3 Resources.
This section describes the latest revision of this action. We recommend that you use this - * revised API for application development. For backward compatibility, Amazon S3 continues to - * support the prior version of this API, ListObjects.
+ *This section describes the latest revision of this action. We recommend that you use + * this revised API for application development. For backward compatibility, Amazon S3 continues + * to support the prior version of this API, ListObjects.
*To get a list of your buckets, see ListBuckets.
*The following operations are related to ListObjectsV2
:
- * To use this operation, you must have permissions to perform the
- * s3:ListBucketVersions
action. Be aware of the name difference.
- *
To use this operation, you must have permissions to perform the
+ * s3:ListBucketVersions
action. Be aware of the name difference.
A 200 OK response can contain valid or invalid XML. Make sure to design your @@ -4882,8 +4957,7 @@ export class S3 extends S3Client { *
To use this operation, you must have READ access to the bucket.
*This action is not supported by Amazon S3 on Outposts.
- *The following operations are related to
- * ListObjectVersions
:
The following operations are related to ListObjectVersions
:
@@ -4949,12 +5023,11 @@ export class S3 extends S3Client {
* requests you can include the part-number-marker query string parameter and set its value to
* the NextPartNumberMarker
field value from the previous response.
If the upload was created using a checksum algorithm, you will need to have permission
- * to the kms:Decrypt
action for the request to succeed.
- *
kms:Decrypt
action for the request to succeed.
* For more information on multipart uploads, see Uploading Objects Using Multipart * Upload.
- *For information on permissions required to use the multipart upload API, see Multipart Upload and - * Permissions.
+ *For information on permissions required to use the multipart upload API, see Multipart Upload + * and Permissions.
*The following operations are related to ListParts
:
Suspended – Disables accelerated data transfers to the bucket.
*The GetBucketAccelerateConfiguration action returns the transfer acceleration - * state of a bucket.
+ *The GetBucketAccelerateConfiguration action returns the transfer acceleration state + * of a bucket.
*After setting the Transfer Acceleration state of a bucket to Enabled, it might take up * to thirty minutes before the data transfer rates to the bucket increase.
*The name of the bucket used for Transfer Acceleration must be DNS-compliant and must * not contain periods (".").
- *For more information about transfer acceleration, see Transfer Acceleration.
+ *For more information about transfer acceleration, see Transfer + * Acceleration.
*The following operations are related to
* PutBucketAccelerateConfiguration
:
Sets the permissions on an existing bucket using access control lists (ACL). For more
- * information, see Using ACLs. To set
- * the ACL of a bucket, you must have WRITE_ACP
permission.
WRITE_ACP
permission.
* You can use one of the following two ways to set a bucket's permissions:
*If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions.
- * You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and
- * return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported.
- * For more information, see Controlling object ownership
- * in the Amazon S3 User Guide.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs
+ * are disabled and no longer affect permissions. You must use policies to grant access to
+ * your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return
+ * the AccessControlListNotSupported
error code. Requests to read ACLs are
+ * still supported. For more information, see Controlling object
+ * ownership in the Amazon S3 User Guide.
* Access Permissions
@@ -5121,7 +5196,8 @@ export class S3 extends S3Client {
* a set of predefined ACLs, known as canned ACLs. Each canned ACL
* has a predefined set of grantees and permissions. Specify the canned ACL name as the
* value of x-amz-acl
. If you use this header, you cannot use other access
- * control-specific headers in your request. For more information, see Canned ACL.
Specify access permissions explicitly with the x-amz-grant-read
,
@@ -5130,14 +5206,15 @@ export class S3 extends S3Client {
* specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who
* will receive the permission. If you use these ACL-specific headers, you cannot use
* the x-amz-acl
header to set a canned ACL. These parameters map to the
- * set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL)
- * Overview.
You specify each grantee as a type=value pair, where the type is one of the * following:
*
- * id
– if the value specified is the canonical user ID of an Amazon Web Services account
id
– if the value specified is the canonical user ID of an
+ * Amazon Web Services account
* @@ -5217,7 +5294,7 @@ export class S3 extends S3Client { *
By Email address:
*
*
+ * xsi:type="AmazonCustomerByEmail">
The grantee is resolved to the CanonicalUser and, in a response to a GET Object * acl request, appears as the CanonicalUser.
@@ -5310,8 +5387,8 @@ export class S3 extends S3Client { * selecting data export, you specify a destination bucket and an optional destination prefix * where the file is written. You can export the data to a destination bucket in a different * account. However, the destination bucket must be in the same Region as the bucket that you - * are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class - * Analysis. + * are making the PUT analytics configuration to. For more information, see Amazon S3 + * Analytics – Storage Class Analysis. *You must create a bucket policy on the destination bucket where the exported file is * written to grant permissions to Amazon S3 to write objects to the bucket. For an example @@ -5320,8 +5397,8 @@ export class S3 extends S3Client { *
To use this operation, you must have permissions to perform the
* s3:PutAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
* Special Errors *
@@ -5473,8 +5550,8 @@ export class S3 extends S3Client { * *For more information about CORS, go to Enabling - * Cross-Origin Resource Sharing in the Amazon S3 User Guide.
+ *For more information about CORS, go to Enabling Cross-Origin Resource Sharing in + * the Amazon S3 User Guide.
** Related Resources *
@@ -5527,25 +5604,27 @@ export class S3 extends S3Client { /** * @public - *This action uses the encryption
subresource to configure default
- * encryption and Amazon S3 Bucket Key for an existing bucket.
Default encryption for a bucket can use server-side encryption with Amazon S3-managed keys - * (SSE-S3) or customer managed keys (SSE-KMS). If you specify default encryption - * using SSE-KMS, you can also configure Amazon S3 Bucket Key. When the default encryption is SSE-KMS, if - * you upload an object to the bucket and do not specify the KMS key to use for encryption, Amazon S3 - * uses the default Amazon Web Services managed KMS key for your account. For information about default - * encryption, see Amazon S3 default bucket encryption - * in the Amazon S3 User Guide. For more information about S3 Bucket Keys, - * see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
+ *This action uses the encryption
subresource to configure default encryption
+ * and Amazon S3 Bucket Keys for an existing bucket.
By default, all buckets have a default encryption configuration that + * uses server-side encryption with Amazon S3 managed keys (SSE-S3). + * You can optionally configure default encryption for a bucket by using server-side + * encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). If you specify default encryption by using + * SSE-KMS, you can also configure Amazon S3 Bucket Keys. For information about bucket default encryption, + * see Amazon S3 + * bucket default encryption in the Amazon S3 User Guide. For more + * information about S3 Bucket Keys, see Amazon S3 Bucket Keys in the + * Amazon S3 User Guide.
*This action requires Amazon Web Services Signature Version 4. For more information, see Authenticating Requests (Amazon Web Services Signature - * Version 4).
+ *This action requires Amazon Web Services Signature Version 4. For more information, see + * Authenticating Requests (Amazon Web Services Signature Version 4).
*To use this operation, you must have permissions to perform the
* s3:PutEncryptionConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
* Related Resources *
@@ -5593,13 +5672,12 @@ export class S3 extends S3Client { /** * @public - *Puts a S3 Intelligent-Tiering configuration to the specified bucket. - * You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.
+ *Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to + * 1,000 S3 Intelligent-Tiering configurations per bucket.
*The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * PutBucketIntelligentTieringConfiguration
include:
Operations related to PutBucketIntelligentTieringConfiguration
include:
@@ -5619,8 +5697,8 @@ export class S3 extends S3Client { *
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically - * move objects stored in the S3 Intelligent-Tiering storage class to the - * Archive Access or Deep Archive Access tier.
+ * move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access + * or Deep Archive Access tier. ** Special Errors @@ -5669,8 +5747,8 @@ export class S3 extends S3Client { *
* Cause: You are not the owner of the specified bucket,
- * or you do not have the s3:PutIntelligentTieringConfiguration
bucket
- * permission to set the configuration on the bucket.
s3:PutIntelligentTieringConfiguration
+ * bucket permission to set the configuration on the bucket.
* You must create a bucket policy on the destination bucket to * grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an - * example policy, see - * Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
+ * example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis. *To use this operation, you must have permissions to perform the + *
+ * Permissions + *
+ *To use this operation, you must have permission to perform the
* s3:PutInventoryConfiguration
action. The bucket owner has this permission
- * by default and can grant this permission to others. For more information about permissions,
- * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
The s3:PutInventoryConfiguration
permission allows a user to create an
+ * S3
+ * Inventory report that includes all object metadata fields available and to
+ * specify the destination bucket to store the inventory. A user with read access to objects
+ * in the destination bucket can also access all object metadata fields that are available in
+ * the inventory report.
To restrict access to an inventory report, see Restricting access to an Amazon S3 Inventory report in the + * Amazon S3 User Guide. For more information about the metadata fields + * available in S3 Inventory, see Amazon S3 + * Inventory lists in the Amazon S3 User Guide. For more + * information about permissions, see Permissions related to bucket subresource operations and Identity and + * access management in Amazon S3 in the Amazon S3 User Guide.
** Special Errors *
@@ -5841,10 +5931,10 @@ export class S3 extends S3Client { /** * @public *Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle - * configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if - * you want to retain any configuration details, they must be included in the new lifecycle - * configuration. For information about lifecycle configuration, see Managing your storage - * lifecycle.
+ * configuration. Keep in mind that this will overwrite an existing lifecycle configuration, + * so if you want to retain any configuration details, they must be included in the new + * lifecycle configuration. For information about lifecycle configuration, see Managing + * your storage lifecycle. *Bucket lifecycle configuration now supports specifying a lifecycle rule using an * object key name prefix, one or more object tags, or a combination of both. Accordingly, @@ -5876,8 +5966,8 @@ export class S3 extends S3Client { * versions.
*For more information, see Object - * Lifecycle Management and Lifecycle Configuration Elements.
+ *For more information, see Object Lifecycle Management + * and Lifecycle Configuration Elements.
** Permissions *
@@ -5907,8 +5997,8 @@ export class S3 extends S3Client { * *For more information about permissions, see Managing Access Permissions to Your Amazon S3 - * Resources.
+ *For more information about permissions, see Managing Access Permissions to + * Your Amazon S3 Resources.
*The following are related to PutBucketLifecycleConfiguration
:
Set the logging parameters for a bucket and to specify permissions for who can view and - * modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as the - * source bucket. To set the logging status of a bucket, you must be the bucket owner.
- *The bucket owner is automatically granted FULL_CONTROL to all logs. You use the Grantee
request element to grant access to other people. The
+ * modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as
+ * the source bucket. To set the logging status of a bucket, you must be the bucket
+ * owner.
The bucket owner is automatically granted FULL_CONTROL to all logs. You use the
+ * Grantee
request element to grant access to other people. The
* Permissions
request element specifies the kind of access the grantee has to
* the logs.
If the target bucket for log delivery uses the bucket owner enforced
- * setting for S3 Object Ownership, you can't use the Grantee
request element
- * to grant access to others. Permissions can only be granted using policies. For more information, see Permissions for server access log delivery in the
+ *
If the target bucket for log delivery uses the bucket owner enforced setting for S3
+ * Object Ownership, you can't use the Grantee
request element to grant access
+ * to others. Permissions can only be granted using policies. For more information, see
+ * Permissions for server access log delivery in the
* Amazon S3 User Guide.
@@ -6010,7 +6103,8 @@ export class S3 extends S3Client {
*
*
For more information about server access logging, see Server Access Logging in the Amazon S3 User Guide.
+ *For more information about server access logging, see Server Access Logging in the + * Amazon S3 User Guide.
*For more information about creating a bucket, see CreateBucket. For more * information about returning the logging status of a bucket, see GetBucketLogging.
*The following operations are related to PutBucketLogging
:
To use this operation, you must have permissions to perform the
* s3:PutMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon - * CloudWatch.
+ * permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *For information about CloudWatch request metrics for Amazon S3, see Monitoring + * Metrics with Amazon CloudWatch.
*The following operations are related to
* PutBucketMetricsConfiguration
:
Enables notifications of specified events for a bucket. For more information about event * notifications, see Configuring Event - * Notifications.
+ * Notifications. *Using this API, you can replace an existing notification configuration. The * configuration is an XML file that defines the event types that you want Amazon S3 to publish and * the destination where you want Amazon S3 to publish an event notification when it detects an @@ -6162,19 +6256,19 @@ export class S3 extends S3Client { *
*
*
This action replaces the existing notification configuration with the configuration - * you include in the request body.
+ *This action replaces the existing notification configuration with the configuration you + * include in the request body.
*After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification * Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and * that the bucket owner has permission to publish to it by sending a test notification. In * the case of Lambda destinations, Amazon S3 verifies that the Lambda function permissions * grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information, - * see Configuring Notifications for Amazon S3 - * Events.
+ * see Configuring Notifications for Amazon S3 Events. *You can disable notifications by adding the empty NotificationConfiguration * element.
- *For more information about the number of event notification configurations that you can create per bucket, see - * Amazon S3 service quotas in Amazon Web Services General Reference.
+ *For more information about the number of event notification configurations that you can + * create per bucket, see Amazon S3 service quotas in Amazon Web Services + * General Reference.
*By default, only the bucket owner can configure notifications on a bucket. However,
* bucket owners can use a bucket policy to grant permission to other users to set this
* configuration with s3:PutBucketNotification
permission.
The PUT notification is an atomic operation. For example, suppose your notification * configuration includes SNS topic, SQS queue, and Lambda function configurations. When * you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS - * topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add - * the configuration to your bucket.
+ * topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add the + * configuration to your bucket. * ** Responses @@ -6236,8 +6330,10 @@ export class S3 extends S3Client { * @public *
Creates or modifies OwnershipControls
for an Amazon S3 bucket. To use this
* operation, you must have the s3:PutBucketOwnershipControls
permission. For
- * more information about Amazon S3 permissions, see Specifying permissions in a policy.
For information about Amazon S3 Object Ownership, see Using object ownership.
+ * more information about Amazon S3 permissions, see Specifying permissions in a + * policy. + *For information about Amazon S3 Object Ownership, see Using object + * ownership.
*The following operations are related to PutBucketOwnershipControls
:
For more information, see Bucket policy examples.
+ *For more information, see Bucket policy + * examples.
*The following operations are related to PutBucketPolicy
:
By default, Amazon S3 doesn't replicate objects that are stored at rest using server-side
- * encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects, add the
- * following: SourceSelectionCriteria
, SseKmsEncryptedObjects
,
+ * encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects, add the following:
+ * SourceSelectionCriteria
, SseKmsEncryptedObjects
,
* Status
, EncryptionConfiguration
, and
* ReplicaKmsKeyID
. For information about replication configuration, see
* Replicating Objects
- * Created with SSE Using KMS keys.
For information on PutBucketReplication
errors, see List of
* replication-related error codes
*
* Permissions *
- *To create a PutBucketReplication
request, you must have s3:PutReplicationConfiguration
- * permissions for the bucket.
- *
By default, a resource owner, in this case the Amazon Web Services account that created the bucket, can - * perform this operation. The resource owner can also grant others permissions to perform the - * operation. For more information about permissions, see Specifying Permissions in a Policy - * and Managing Access Permissions to Your - * Amazon S3 Resources.
+ *To create a PutBucketReplication
request, you must have
+ * s3:PutReplicationConfiguration
permissions for the bucket.
+ *
+ *
By default, a resource owner, in this case the Amazon Web Services account that created the bucket, + * can perform this operation. The resource owner can also grant others permissions to perform + * the operation. For more information about permissions, see Specifying Permissions in a + * Policy and Managing Access Permissions to + * Your Amazon S3 Resources.
*To perform this operation, the user or role performing the action must have the * iam:PassRole permission.
@@ -6440,7 +6538,7 @@ export class S3 extends S3Client { * for downloads from the bucket. This configuration parameter enables the bucket owner (only) * to specify that the person requesting the download will be charged for the download. For * more information, see Requester Pays - * Buckets. + * Buckets. *The following operations are related to PutBucketRequestPayment
:
Sets the tags for a bucket.
- *Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign - * up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost of - * combined resources, organize your billing information according to resources with the same - * tag key values. For example, you can tag several resources with a specific application + *
Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, + * sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost + * of combined resources, organize your billing information according to resources with the + * same tag key values. For example, you can tag several resources with a specific application * name, and then organize your billing information to see the total cost of that application - * across several services. For more information, see Cost Allocation - * and Tagging and Using Cost Allocation in Amazon S3 Bucket - * Tags.
+ * across several services. For more information, see Cost Allocation and + * Tagging and Using Cost Allocation in Amazon S3 Bucket + * Tags. *- * When this operation sets the tags for a bucket, it will overwrite any current tags the - * bucket already has. You cannot use this operation to add tags to an existing list of tags.
+ *When this operation sets the tags for a bucket, it will overwrite any current tags + * the bucket already has. You cannot use this operation to add tags to an existing list of + * tags.
*To use this operation, you must have permissions to perform the
* s3:PutBucketTagging
action. The bucket owner has this permission by default
- * and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
* PutBucketTagging
has the following special errors:
If the versioning state has never been set on a bucket, it has no versioning state; a * GetBucketVersioning request does not return a versioning state value.
*In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner
- * and want to enable MFA Delete in the bucket versioning configuration, you must
- * include the x-amz-mfa request
header and the
- * Status
and the MfaDelete
request elements in a request to set
- * the versioning state of the bucket.
x-amz-mfa request
header and the Status
and the
+ * MfaDelete
request elements in a request to set the versioning state of the
+ * bucket.
* If you have an object expiration lifecycle policy in your non-versioned bucket and * you want to maintain the same permanent delete behavior when you enable versioning, you @@ -6824,12 +6922,16 @@ export class S3 extends S3Client { * @public *
Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object * to it.
- *Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the - * entire object to the bucket.
+ *Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the
+ * entire object to the bucket. You cannot use PutObject
to only update a
+ * single piece of metadata for an existing object. You must put the entire object with
+ * updated metadata if you want to update some values.
Amazon S3 is a distributed system. If it receives multiple write requests for the same object - * simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object - * locking; if you need this, make sure to build it into your application layer or use - * versioning instead.
+ * simultaneously, it overwrites all but the last object written. To prevent objects from + * being deleted or overwritten, you can use Amazon S3 Object + * Lock. *To ensure that data is not corrupted traversing the network, use the
* Content-MD5
header. When you use this header, Amazon S3 checks the object
* against the provided MD5 value and, if they do not match, returns an error. Additionally,
@@ -6839,76 +6941,63 @@ export class S3 extends S3Client {
*
To successfully complete the PutObject
request, you must have the
- * s3:PutObject
in your IAM permissions.
s3:PutObject
in your IAM permissions.
* To successfully change the objects acl of your PutObject
request,
- * you must have the s3:PutObjectAcl
in your IAM permissions.
s3:PutObjectAcl
in your IAM permissions.
+ * To successfully set the tag-set with your PutObject
request, you
+ * must have the s3:PutObjectTagging
in your IAM permissions.
The Content-MD5
header is required for any request to upload an object
- * with a retention period configured using Amazon S3 Object Lock. For more information about
- * Amazon S3 Object Lock, see Amazon S3 Object Lock Overview
- * in the Amazon S3 User Guide.
The Content-MD5
header is required for any request to upload an
+ * object with a retention period configured using Amazon S3 Object Lock. For more
+ * information about Amazon S3 Object Lock, see Amazon S3 Object Lock
+ * Overview in the Amazon S3 User Guide.
- * Server-side Encryption - *
- *You can optionally request server-side encryption. With server-side encryption, Amazon S3 encrypts - * your data as it writes it to disks in its data centers and decrypts the data - * when you access it. You have the option to provide your own encryption key or use Amazon Web Services - * managed encryption keys (SSE-S3 or SSE-KMS). For more information, see Using Server-Side - * Encryption.
- *If you request server-side encryption using Amazon Web Services Key Management Service (SSE-KMS), you can enable - * an S3 Bucket Key at the object-level. For more information, see Amazon S3 Bucket Keys in the - * Amazon S3 User Guide.
- *- * Access Control List (ACL)-Specific Request - * Headers - *
- *You can use headers to grant ACL- based permissions. By default, all objects are - * private. Only the owner has full access control. When adding a new object, you can grant - * permissions to individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These - * permissions are then added to the ACL on the object. For more information, see Access Control List - * (ACL) Overview and Managing ACLs Using the REST - * API.
+ *You have three mutually exclusive options to protect data using server-side encryption + * in Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the + * encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and + * customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side encryption by using + * Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at by + * rest using server-side encryption with other key options. For more information, see Using + * Server-Side Encryption.
+ *When adding a new object, you can use headers to grant ACL-based permissions to + * individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are + * then added to the ACL on the object. By default, all objects are private. Only the owner + * has full access control. For more information, see Access Control List (ACL) Overview + * and Managing + * ACLs Using the REST API.
*If the bucket that you're uploading objects to uses the bucket owner enforced setting
* for S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that
* use this setting only accept PUT requests that don't specify an ACL or PUT requests that
- * specify bucket owner full control ACLs, such as the bucket-owner-full-control
canned
- * ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that contain other
- * ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
- * 400
error with the error code
- * AccessControlListNotSupported
.
For more information, see Controlling ownership of - * objects and disabling ACLs in the Amazon S3 User Guide.
+ * specify bucket owner full control ACLs, such as thebucket-owner-full-control
+ * canned ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that
+ * contain other ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
+ * 400
error with the error code AccessControlListNotSupported
.
+ * For more information, see Controlling ownership of
+ * objects and disabling ACLs in the Amazon S3 User Guide.
* If your bucket uses the bucket owner enforced setting for Object Ownership, - * all objects written to the bucket by any account will be owned by the bucket owner.
+ *If your bucket uses the bucket owner enforced setting for Object Ownership, all + * objects written to the bucket by any account will be owned by the bucket owner.
*- * Storage Class Options - *
*By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The * STANDARD storage class provides high durability and high availability. Depending on * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses * the OUTPOSTS Storage Class. For more information, see Storage Classes in the - * Amazon S3 User Guide.
- *- * Versioning - *
+ * Amazon S3 User Guide. *If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID * for the object being stored. Amazon S3 returns this ID in the response. When you enable * versioning for a bucket, if Amazon S3 receives multiple write requests for the same object - * simultaneously, it stores all of the objects.
- *For more information about versioning, see Adding Objects to + * simultaneously, it stores all of the objects. For more information about versioning, see + * Adding Objects to * Versioning Enabled Buckets. For information about returning the versioning state * of a bucket, see GetBucketVersioning.
- *- * Related Resources - *
+ *For more information about related Amazon S3 APIs, see the following:
*@@ -6952,16 +7041,18 @@ export class S3 extends S3Client { * permission to set the ACL of an object. For more information, see What * permissions can I grant? in the Amazon S3 User Guide.
*This action is not supported by Amazon S3 on Outposts.
- *Depending on your application needs, you can choose to set - * the ACL on an object using either the request body or the headers. For example, if you have - * an existing application that updates a bucket ACL using the request body, you can continue - * to use that approach. For more information, see Access Control List (ACL) Overview in the Amazon S3 User Guide.
+ *Depending on your application needs, you can choose to set the ACL on an object using + * either the request body or the headers. For example, if you have an existing application + * that updates a bucket ACL using the request body, you can continue to use that approach. + * For more information, see Access Control List (ACL) Overview + * in the Amazon S3 User Guide.
*If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions.
- * You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and
- * return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported.
- * For more information, see Controlling object ownership
- * in the Amazon S3 User Guide.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs
+ * are disabled and no longer affect permissions. You must use policies to grant access to
+ * your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return
+ * the AccessControlListNotSupported
error code. Requests to read ACLs are
+ * still supported. For more information, see Controlling object
+ * ownership in the Amazon S3 User Guide.
* Access Permissions
@@ -6973,7 +7064,8 @@ export class S3 extends S3Client {
* a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set
* of grantees and permissions. Specify the canned ACL name as the value of
* x-amz-ac
l. If you use this header, you cannot use other access
- * control-specific headers in your request. For more information, see Canned ACL.
Specify access permissions explicitly with the x-amz-grant-read
,
@@ -6982,14 +7074,15 @@ export class S3 extends S3Client {
* specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who
* will receive the permission. If you use these ACL-specific headers, you cannot use
* x-amz-acl
header to set a canned ACL. These parameters map to the set
- * of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL)
- * Overview.
You specify each grantee as a type=value pair, where the type is one of the * following:
*
- * id
– if the value specified is the canonical user ID of an Amazon Web Services account
id
– if the value specified is the canonical user ID of an
+ * Amazon Web Services account
* @@ -7193,22 +7286,21 @@ export class S3 extends S3Client { * @public *
Places an Object Lock configuration on the specified bucket. The rule specified in the * Object Lock configuration will be applied by default to every new object placed in the - * specified bucket. For more information, see Locking Objects. - *
+ * specified bucket. For more information, see Locking Objects. *The DefaultRetention
settings require both a mode and a
- * period.
The DefaultRetention
period can be either Days
- * or Years
but you must select one. You cannot specify Days
- * and Years
at the same time.
The DefaultRetention
period can be either Days
or
+ * Years
but you must select one. You cannot specify
+ * Days
and Years
at the same time.
You can only enable Object Lock for new buckets. If you want to turn on - * Object Lock for an existing bucket, contact Amazon Web Services Support.
+ *You can only enable Object Lock for new buckets. If you want to turn on Object + * Lock for an existing bucket, contact Amazon Web Services Support.
*Places an Object Retention configuration on an object. For more information, see Locking Objects.
- * Users or accounts require the s3:PutObjectRetention
permission in order to place
- * an Object Retention configuration on objects. Bypassing a Governance Retention configuration
- * requires the s3:BypassGovernanceRetention
permission.
- *
s3:PutObjectRetention
permission in order to
+ * place an Object Retention configuration on objects. Bypassing a Governance Retention
+ * configuration requires the s3:BypassGovernanceRetention
permission.
* This action is not supported by Amazon S3 on Outposts.
*/ public putObjectRetention( @@ -7309,7 +7400,8 @@ export class S3 extends S3Client { ** Cause: The tag provided was not a valid tag. This error can occur - * if the tag did not pass input validation. For more information, see Object Tagging. + * if the tag did not pass input validation. For more information, see Object + * Tagging. *
*- * Cause: A conflicting conditional action is currently in - * progress against this resource. Please try again. + * Cause: A conflicting conditional action is currently in progress + * against this resource. Please try again. *
*Creates or modifies the PublicAccessBlock
configuration for an Amazon S3 bucket.
* To use this operation, you must have the s3:PutBucketPublicAccessBlock
* permission. For more information about Amazon S3 permissions, see Specifying Permissions in a
- * Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or
* an object, it checks the PublicAccessBlock
configuration for both the
@@ -7492,27 +7584,13 @@ export class S3 extends S3Client {
*
To use this operation, you must have permissions to perform the
* s3:RestoreObject
action. The bucket owner has this permission by default
- * and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
- * Querying Archives with Select Requests - *
- *You use a select type of request to perform SQL queries on archived objects. The - * archived objects that are being queried by the select request must be formatted as - * uncompressed comma-separated values (CSV) files. You can run queries and custom analytics - * on your archived data without having to restore your data to a hotter Amazon S3 tier. For an - * overview about select requests, see Querying Archived Objects in the Amazon S3 User Guide.
- *When making a select request, do the following:
- *Define an output location for the select query's output. This must be an Amazon S3 - * bucket in the same Amazon Web Services Region as the bucket that contains the archive object that is - * being queried. The Amazon Web Services account that initiates the job must have permissions to write - * to the S3 bucket. You can specify the storage class and encryption for the output - * objects stored in the bucket. For more information about output, see Querying Archived Objects - * in the Amazon S3 User Guide.
- *For more information about the S3
structure in the request body, see
- * the following:
For more information about the S3
structure in the request body, see the
+ * following:
@@ -7521,8 +7599,8 @@ export class S3 extends S3Client { *
- * Managing Access with - * ACLs in the Amazon S3 User Guide + * Managing Access with ACLs in the + * Amazon S3 User Guide *
*For more information about using SQL with S3 Glacier Select restore, see SQL Reference for Amazon S3 Select and - * S3 Glacier Select in the Amazon S3 User Guide.
*When making a select request, you can also do the following:
*You can issue more than one select request on the same Amazon S3 object. Amazon S3 doesn't - * deduplicate requests, so avoid issuing duplicate requests.
+ * duplicate requests, so avoid issuing duplicate requests. *Amazon S3 accepts a select request even if the object has already been restored. A @@ -7597,65 +7673,69 @@ export class S3 extends S3Client { *
* Restoring objects *
- *Objects that you archive to the S3 Glacier or + *
Objects that you archive to the S3 Glacier Flexible Retrieval or * S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or - * S3 Intelligent-Tiering Deep Archive tiers are not accessible in real time. For objects in - * Archive Access or Deep Archive Access tiers you must first initiate a restore request, and - * then wait until the object is moved into the Frequent Access tier. For objects in - * S3 Glacier or S3 Glacier Deep Archive storage classes you must - * first initiate a restore request, and then wait until a temporary copy of the object is - * available. To access an archived object, you must restore the object for the duration - * (number of days) that you specify.
+ * S3 Intelligent-Tiering Deep Archive tiers, are not accessible in real time. For objects in the + * S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage + * classes, you must first initiate a restore request, and then wait until a temporary copy of + * the object is available. If you want a permanent copy of the object, create a copy of it in + * the Amazon S3 Standard storage class in your S3 bucket. To access an archived object, you must + * restore the object for the duration (number of days) that you specify. For objects in the + * Archive Access or Deep Archive Access tiers of S3 Intelligent-Tiering, you must first + * initiate a restore request, and then wait until the object is moved into the Frequent + * Access tier. *To restore a specific object version, you can provide a version ID. If you don't provide * a version ID, Amazon S3 restores the current version.
- *When restoring an archived object (or using a select request), you can specify one of
- * the following data access tier options in the Tier
element of the request
- * body:
When restoring an archived object, you can specify one of the following data access tier
+ * options in the Tier
element of the request body:
* Expedited
- Expedited retrievals allow you to quickly access your
- * data stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive
- * tier when occasional urgent requests for a subset of archives are required. For all
- * but the largest archived objects (250 MB+), data accessed using Expedited retrievals
- * is typically made available within 1–5 minutes. Provisioned capacity ensures that
- * retrieval capacity for Expedited retrievals is available when you need it. Expedited
- * retrievals and provisioned capacity are not available for objects stored in the
- * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
* Standard
- Standard retrievals allow you to access any of your
* archived objects within several hours. This is the default option for retrieval
* requests that do not specify the retrieval option. Standard retrievals typically
- * finish within 3–5 hours for objects stored in the S3 Glacier storage
- * class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
- * objects stored in the S3 Glacier Deep Archive storage class or
+ * finish within 3–5 hours for objects stored in the S3 Glacier Flexible
+ * Retrieval storage class or S3 Intelligent-Tiering Archive tier. They typically finish within
+ * 12 hours for objects stored in the S3 Glacier Deep Archive storage class or
* S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in
* S3 Intelligent-Tiering.
- * Bulk
- Bulk retrievals are the lowest-cost retrieval option in
- * S3 Glacier, enabling you to retrieve large amounts, even petabytes, of data
- * inexpensively. Bulk retrievals typically finish within 5–12 hours for objects stored
- * in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They
- * typically finish within 48 hours for objects stored in the
- * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Bulk
- * retrievals are free for objects stored in S3 Intelligent-Tiering.
Bulk
- Bulk retrievals free for objects stored in the S3 Glacier
+ * Flexible Retrieval and S3 Intelligent-Tiering storage classes, enabling you to
+ * retrieve large amounts, even petabytes, of data at no cost. Bulk retrievals typically
+ * finish within 5–12 hours for objects stored in the S3 Glacier
+ * Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier. Bulk retrievals are
+ * also the lowest-cost retrieval option when restoring objects from
+ * S3 Glacier Deep Archive. They typically finish within 48 hours for objects
+ * stored in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive
+ * tier.
* For more information about archive retrieval options and provisioned capacity for
- * Expedited
data access, see Restoring Archived Objects in the Amazon S3 User Guide.
Expedited
data access, see Restoring Archived Objects in
+ * the Amazon S3 User Guide.
* You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed - * while it is in progress. For more information, see - * Upgrading the speed of an in-progress restore in the + * while it is in progress. For more information, see Upgrading the speed of an in-progress restore in the * Amazon S3 User Guide.
*To get the status of object restoration, you can send a HEAD
request.
* Operations return the x-amz-restore
header, which provides information about
* the restoration status, in the response. You can use Amazon S3 event notifications to notify you
- * when a restore is initiated or completed. For more information, see Configuring Amazon S3 Event Notifications in
- * the Amazon S3 User Guide.
After restoring an archived object, you can update the restoration period by reissuing * the request with a new period. Amazon S3 updates the restoration period relative to the current * time and charges only for the request-there are no data transfer charges. You cannot @@ -7665,13 +7745,13 @@ export class S3 extends S3Client { * action, the object expiration overrides the life span that you specify in a restore * request. For example, if you restore an object copy for 10 days, but the object is * scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information - * about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management in - * Amazon S3 User Guide.
+ * about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management + * in Amazon S3 User Guide. ** Responses *
- *A successful action returns either the 200 OK
or 202
- * Accepted
status code.
A successful action returns either the 200 OK
or 202 Accepted
+ * status code.
If the object is not previously restored, then Amazon S3 returns 202
@@ -7753,13 +7833,6 @@ export class S3 extends S3Client {
* GetBucketNotificationConfiguration
*
- * SQL Reference for - * Amazon S3 Select and S3 Glacier Select in the - * Amazon S3 User Guide - *
- *This action is not supported by Amazon S3 on Outposts.
- *For more information about Amazon S3 Select, - * see Selecting Content from - * Objects and SELECT - * Command in the Amazon S3 User Guide.
- *For more information about using SQL with Amazon S3 Select, see SQL Reference for Amazon S3 Select - * and S3 Glacier Select in the Amazon S3 User Guide.
+ *For more information about Amazon S3 Select, see Selecting Content from + * Objects and SELECT + * Command in the Amazon S3 User Guide.
* ** Permissions *
*You must have s3:GetObject
permission for this operation. Amazon S3 Select does
- * not support anonymous access. For more information about permissions, see Specifying Permissions in a Policy
- * in the Amazon S3 User Guide.
* Object Data Formats @@ -7843,14 +7913,13 @@ export class S3 extends S3Client { * Server-side encryption - Amazon S3 Select supports querying * objects that are protected with server-side encryption.
*For objects that are encrypted with customer-provided encryption keys (SSE-C), you - * must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side Encryption - * (Using Customer-Provided Encryption Keys) in the + * must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side + * Encryption (Using Customer-Provided Encryption Keys) in the * Amazon S3 User Guide.
- *For objects that are encrypted with Amazon S3 managed encryption keys (SSE-S3) and
- * Amazon Web Services KMS keys (SSE-KMS),
- * server-side encryption is handled transparently, so you don't need to specify
- * anything. For more information about server-side encryption, including SSE-S3 and
- * SSE-KMS, see Protecting Data Using
+ * For objects that are encrypted with Amazon S3 managed keys (SSE-S3) and Amazon Web Services KMS keys
+ * (SSE-KMS), server-side encryption is handled transparently, so you don't need to
+ * specify anything. For more information about server-side encryption, including SSE-S3
+ * and SSE-KMS, see Protecting Data Using
* Server-Side Encryption in the Amazon S3 User Guide.
GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot specify
* the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY
storage classes. For
- * more information, about storage classes see Storage Classes
- * in the Amazon S3 User Guide.
For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
+ *For information about maximum and minimum part sizes and other multipart upload + * specifications, see Multipart upload limits in the Amazon S3 User Guide.
*To ensure that data is not corrupted when traversing the network, specify the
* Content-MD5
header in the upload part request. Amazon S3 checks the part data
* against the provided MD5 value. If they do not match, Amazon S3 returns an error.
If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the
* x-amz-content-sha256
header as a checksum instead of
- * Content-MD5
. For more information see Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature Version
- * 4).
Content-MD5
. For more information see Authenticating
+ * Requests: Using the Authorization Header (Amazon Web Services Signature Version 4).
* * Note: After you initiate multipart upload and upload * one or more parts, you must either complete or abort multipart upload in order to stop @@ -7971,23 +8041,29 @@ export class S3 extends S3Client { *
For more information on multipart uploads, go to Multipart Upload Overview in the * Amazon S3 User Guide .
*For information on the permissions required to use the multipart upload API, go to - * Multipart Upload and - * Permissions in the Amazon S3 User Guide.
- *You can optionally request server-side encryption where Amazon S3 encrypts your data as it - * writes it to disks in its data centers and decrypts it for you when you access it. You have - * the option of providing your own encryption key, or you can use the Amazon Web Services managed encryption - * keys. If you choose to provide your own encryption key, the request headers you provide in - * the request must match the headers you used in the request to initiate the upload by using - * CreateMultipartUpload. For more information, go to Using Server-Side Encryption in - * the Amazon S3 User Guide.
+ * Multipart + * Upload and Permissions in the Amazon S3 User Guide. + *Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it + * writes it to disks in its data centers and decrypts it when you access it. You have three + * mutually exclusive options to protect data using server-side encryption in Amazon S3, depending + * on how you choose to manage the encryption keys. Specifically, the encryption key options + * are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys + * (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by + * default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption + * with other key options. The option you use depends on whether you want to use KMS keys + * (SSE-KMS) or provide your own encryption key (SSE-C). If you choose to provide your own + * encryption key, the request headers you provide in the request must match the headers you + * used in the request to initiate the upload by using CreateMultipartUpload. + * For more information, go to Using Server-Side + * Encryption in the Amazon S3 User Guide.
*Server-side encryption is supported by the S3 Multipart Upload actions. Unless you are - * using a customer-provided encryption key, you don't need to specify the encryption + * using a customer-provided encryption key (SSE-C), you don't need to specify the encryption * parameters in each UploadPart request. Instead, you only need to specify the server-side * encryption parameters in the initial Initiate Multipart request. For more information, see * CreateMultipartUpload.
- *If you requested server-side encryption using a customer-provided encryption key in your - * initiate multipart upload request, you must provide identical encryption information in - * each part upload using the following headers.
+ *If you requested server-side encryption using a customer-provided encryption key (SSE-C) + * in your initiate multipart upload request, you must provide identical encryption + * information in each part upload using the following headers.
*x-amz-server-side-encryption-customer-algorithm
@@ -8090,7 +8166,8 @@ export class S3 extends S3Client { * data source by adding the request headerx-amz-copy-source
in your request and
* a byte range by adding the request header x-amz-copy-source-range
in your
* request.
- * For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
+ *For information about maximum and minimum part sizes and other multipart upload + * specifications, see Multipart upload limits in the Amazon S3 User Guide.
*Instead of using an existing object as part data, you might use the UploadPart * action and provide data in your request.
@@ -8102,13 +8179,14 @@ export class S3 extends S3Client { * following: *For conceptual information about multipart uploads, see Uploading Objects Using Multipart - * Upload in the Amazon S3 User Guide.
+ *For conceptual information about multipart uploads, see Uploading + * Objects Using Multipart Upload in the + * Amazon S3 User Guide.
*For information about permissions required to use the multipart upload API, see - * Multipart Upload and - * Permissions in the Amazon S3 User Guide.
+ * Multipart Upload and Permissions in the + * Amazon S3 User Guide. *For information about copying objects using a single atomic action vs. a multipart @@ -8285,29 +8363,40 @@ export class S3 extends S3Client { /** * @public - *
Passes transformed
- * objects to a Passes transformed objects to a This operation supports metadata that can be returned by GetObject, in addition to
- * You can include any number of metadata headers. When including a metadata header, it should be
- * prefaced with Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to detect and redact
- * personally identifiable information (PII) and decompress S3 objects. These Lambda functions
- * are available in the Amazon Web Services Serverless Application Repository, and can be selected through the Amazon Web Services Management Console when you create your
- * Object Lambda access point. Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically detects personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket. Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically redacts personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket. Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is equipped to decompress objects stored in S3 in one of six compressed file formats including bzip2, gzip, snappy, zlib, zstandard and ZIP. For information on how to view and use these functions, see Using Amazon Web Services built Lambda functions in the Amazon S3 User Guide.GetObject
operation when using Object Lambda access points. For information about
- * Object Lambda access points, see Transforming objects with
+ * GetObject
operation when using Object Lambda access points. For
+ * information about Object Lambda access points, see Transforming objects with
* Object Lambda access points in the Amazon S3 User Guide.RequestRoute
, RequestToken
, StatusCode
,
- * ErrorCode
, and ErrorMessage
. The GetObject
- * response metadata is supported so that the WriteGetObjectResponse
caller,
- * typically an Lambda function, can provide the same metadata when it internally invokes
- * GetObject
. When WriteGetObjectResponse
is called by a
- * customer-owned Lambda function, the metadata returned to the end user
- * GetObject
call might differ from what Amazon S3 would normally return.x-amz-meta
. For example, x-amz-meta-my-custom-header: MyCustomValue
.
- * The primary use case for this is to forward GetObject
metadata.RequestRoute
, RequestToken
, StatusCode
,
+ * ErrorCode
, and ErrorMessage
. The GetObject
+ * response metadata is supported so that the WriteGetObjectResponse
caller,
+ * typically an Lambda function, can provide the same metadata when it internally invokes
+ * GetObject
. When WriteGetObjectResponse
is called by a
+ * customer-owned Lambda function, the metadata returned to the end user
+ * GetObject
call might differ from what Amazon S3 would normally return.
You can include any number of metadata headers. When including a metadata header, it
+ * should be prefaced with x-amz-meta
. For example,
+ * x-amz-meta-my-custom-header: MyCustomValue
. The primary use case for this
+ * is to forward GetObject
metadata.
Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to + * detect and redact personally identifiable information (PII) and decompress S3 objects. + * These Lambda functions are available in the Amazon Web Services Serverless Application Repository, and + * can be selected through the Amazon Web Services Management Console when you create your Object Lambda access point.
+ *Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a + * natural language processing (NLP) service using machine learning to find insights and + * relationships in text. It automatically detects personally identifiable information (PII) + * such as names, addresses, dates, credit card numbers, and social security numbers from + * documents in your Amazon S3 bucket.
+ *Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural + * language processing (NLP) service using machine learning to find insights and relationships + * in text. It automatically redacts personally identifiable information (PII) such as names, + * addresses, dates, credit card numbers, and social security numbers from documents in your + * Amazon S3 bucket.
+ *Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is + * equipped to decompress objects stored in S3 in one of six compressed file formats including + * bzip2, gzip, snappy, zlib, zstandard and ZIP.
+ *For information on how to view and use these functions, see Using Amazon Web Services built Lambda + * functions in the Amazon S3 User Guide.
*/ public writeGetObjectResponse( args: WriteGetObjectResponseCommandInput, diff --git a/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts b/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts index 98e407d71f5cc..61268f802bcc0 100644 --- a/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts +++ b/clients/client-s3/src/commands/AbortMultipartUploadCommand.ts @@ -44,8 +44,8 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO *To verify that all parts have been removed, so you don't get charged for the part * storage, you should call the ListParts action and ensure that * the parts list is empty.
- *For information about permissions required to use the multipart upload, see Multipart Upload and - * Permissions.
+ *For information about permissions required to use the multipart upload, see Multipart Upload + * and Permissions.
*The following operations are related to AbortMultipartUpload
:
Completes a multipart upload by assembling previously uploaded parts.
*You first initiate the multipart upload and then upload all parts using the UploadPart
* operation. After successfully uploading all relevant parts of an upload, you call this
- * action to complete the upload. Upon receiving this request, Amazon S3 concatenates all
- * the parts in ascending order by part number to create a new object. In the Complete
- * Multipart Upload request, you must provide the parts list. You must ensure that the parts
- * list is complete. This action concatenates the parts that you provide in the list. For
- * each part in the list, you must provide the part number and the ETag
value,
- * returned after that part was uploaded.
ETag
value, returned after
+ * that part was uploaded.
* Processing of a Complete Multipart Upload request could take several minutes to * complete. After Amazon S3 begins processing the request, it sends an HTTP response header that * specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white - * space characters to keep the connection from timing out. Because a request could fail after - * the initial 200 OK response has been sent, it is important that you check the response body - * to determine whether the request succeeded.
+ * space characters to keep the connection from timing out. A request could fail after the + * initial 200 OK response has been sent. This means that a200 OK
response can
+ * contain either a success or an error. If you call the S3 API directly, make sure to design
+ * your application to parse the contents of the response and handle it appropriately. If you
+ * use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply
+ * error handling per your configuration settings (including automatically retrying the
+ * request as appropriate). If the condition persists, the SDKs throws an exception (or, for
+ * the SDKs that don't use exceptions, they return the error).
* Note that if CompleteMultipartUpload
fails, applications should be prepared
- * to retry the failed requests. For more information, see Amazon S3 Error Best Practices.
You cannot use Content-Type: application/x-www-form-urlencoded
with Complete
- * Multipart Upload requests. Also, if you do not provide a Content-Type
header, CompleteMultipartUpload
returns a 200 OK response.
You cannot use Content-Type: application/x-www-form-urlencoded
with
+ * Complete Multipart Upload requests. Also, if you do not provide a
+ * Content-Type
header, CompleteMultipartUpload
returns a 200
+ * OK response.
For more information about multipart uploads, see Uploading Objects Using Multipart * Upload.
- *For information about permissions required to use the multipart upload API, see Multipart Upload and - * Permissions.
+ *For information about permissions required to use the multipart upload API, see Multipart Upload + * and Permissions.
*
* CompleteMultipartUpload
has the following special errors:
All copy requests must be authenticated. Additionally, you must have * read access to the source object and write - * access to the destination bucket. For more information, see REST Authentication. Both the Region - * that you want to copy the object from and the Region that you want to copy the object to - * must be enabled for your account.
+ * access to the destination bucket. For more information, see REST Authentication. Both the + * Region that you want to copy the object from and the Region that you want to copy the + * object to must be enabled for your account. *A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3
* is copying the files. If the error occurs before the copy action starts, you receive a
* standard Amazon S3 error. If the error occurs during the copy operation, the error response is
* embedded in the 200 OK
response. This means that a 200 OK
- * response can contain either a success or an error. Design your application to parse the
- * contents of the response and handle it appropriately.
If the copy is successful, you receive a response with information about the copied * object.
*Amazon S3 transfer acceleration does not support cross-Region copies. If you request a
* cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad
- * Request
error. For more information, see Transfer Acceleration.
* Metadata @@ -90,6 +96,11 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea * Policy in the Amazon S3 User Guide. For a complete list of * Amazon S3-specific condition keys, see Actions, Resources, and Condition Keys for * Amazon S3.
+ *
+ * x-amz-website-redirect-location
is unique to each object and must be
+ * specified in the request headers to copy the value.
* x-amz-copy-source-if Headers *
@@ -154,14 +165,27 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea ** Server-side encryption *
- *When you perform a CopyObject operation, you can optionally use the appropriate encryption-related - * headers to encrypt the object using server-side encryption with Amazon Web Services managed encryption keys - * (SSE-S3 or SSE-KMS) or a customer-provided encryption key. With server-side encryption, Amazon S3 - * encrypts your data as it writes it to disks in its data centers and decrypts the data when - * you access it. For more information about server-side encryption, see Using - * Server-Side Encryption.
- *If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object. For more - * information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
+ *Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When + * copying an object, if you don't specify encryption information in your copy request, the + * encryption setting of the target object is set to the default encryption configuration of + * the destination bucket. By default, all buckets have a base level of encryption + * configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the + * destination bucket has a default encryption configuration that uses server-side encryption + * with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C), + * Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the target + * object copy. When you perform a CopyObject operation, if you want to use a different type + * of encryption setting for the target object, you can use other appropriate + * encryption-related headers to encrypt the target object with a KMS key, an Amazon S3 managed + * key, or a customer-provided key. With server-side encryption, Amazon S3 encrypts your data as it + * writes it to disks in its data centers and decrypts the data when you access it. If the + * encryption setting in your request is different from the default encryption configuration + * of the destination bucket, the encryption setting in your request takes precedence. If the + * source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary + * encryption information in your request so that Amazon S3 can decrypt the object for copying. For + * more information about server-side encryption, see Using Server-Side + * Encryption.
+ *If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object. For + * more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
** Access Control List (ACL)-Specific Request * Headers @@ -173,29 +197,29 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea * information, see Access Control List (ACL) Overview and Managing ACLs Using the REST * API.
*If the bucket that you're copying objects to uses the bucket owner enforced setting for
- * S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that
- * use this setting only accept PUT requests that don't specify an ACL or PUT requests that
- * specify bucket owner full control ACLs, such as the bucket-owner-full-control
canned
- * ACL or an equivalent form of this ACL expressed in the XML format.
bucket-owner-full-control
+ * canned ACL or an equivalent form of this ACL expressed in the XML format.
* For more information, see Controlling ownership of - * objects and disabling ACLs in the Amazon S3 User Guide.
+ * objects and disabling ACLs in the Amazon S3 User Guide. *If your bucket uses the bucket owner enforced setting for Object Ownership, - * all objects written to the bucket by any account will be owned by the bucket owner.
+ *If your bucket uses the bucket owner enforced setting for Object Ownership, all + * objects written to the bucket by any account will be owned by the bucket owner.
** Checksums *
- *When copying an object, if it has a checksum, that checksum will be copied to the new object
- * by default. When you copy the object over, you may optionally specify a different checksum
- * algorithm to use with the x-amz-checksum-algorithm
header.
When copying an object, if it has a checksum, that checksum will be copied to the new
+ * object by default. When you copy the object over, you may optionally specify a different
+ * checksum algorithm to use with the x-amz-checksum-algorithm
header.
* Storage Class Options *
- *You can use the CopyObject
action to change the storage class of an
- * object that is already stored in Amazon S3 using the StorageClass
parameter. For
- * more information, see Storage
- * Classes in the Amazon S3 User Guide.
You can use the CopyObject
action to change the storage class of an object
+ * that is already stored in Amazon S3 using the StorageClass
parameter. For more
+ * information, see Storage Classes in the
+ * Amazon S3 User Guide.
* Versioning *
@@ -224,8 +248,7 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea * *For more information, see Copying - * Objects.
+ *For more information, see Copying Objects.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-s3/src/commands/CreateBucketCommand.ts b/clients/client-s3/src/commands/CreateBucketCommand.ts index 11c0f0105d3b7..4918a2a523634 100644 --- a/clients/client-s3/src/commands/CreateBucketCommand.ts +++ b/clients/client-s3/src/commands/CreateBucketCommand.ts @@ -40,27 +40,30 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat * valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to * create buckets. By creating the bucket, you become the bucket owner. *Not every string is an acceptable bucket name. For information about bucket naming - * restrictions, see Bucket naming rules.
+ * restrictions, see Bucket naming + * rules. *If you want to create an Amazon S3 on Outposts bucket, see Create Bucket.
*By default, the bucket is created in the US East (N. Virginia) Region. You can * optionally specify a Region in the request body. You might choose a Region to optimize * latency, minimize costs, or address regulatory requirements. For example, if you reside in * Europe, you will probably find it advantageous to create buckets in the Europe (Ireland) * Region. For more information, see Accessing a - * bucket.
+ * bucket. *If you send your create bucket request to the s3.amazonaws.com
endpoint,
* the request goes to the us-east-1 Region. Accordingly, the signature calculations in
* Signature Version 4 must use us-east-1 as the Region, even if the location constraint in
* the request specifies another Region where the bucket is to be created. If you create a
* bucket in a Region other than US East (N. Virginia), your application must be able to
- * handle 307 redirect. For more information, see Virtual hosting of buckets.
* Access control lists (ACLs) *
- *When creating a bucket using this operation, you can optionally configure the bucket ACL to specify the accounts or - * groups that should be granted specific permissions on the bucket.
+ *When creating a bucket using this operation, you can optionally configure the bucket ACL + * to specify the accounts or groups that should be granted specific permissions on the + * bucket.
*If your CreateBucket request sets bucket owner enforced for S3 Object Ownership and * specifies a bucket ACL that provides access to an external Amazon Web Services account, your request @@ -69,7 +72,8 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat * see Controlling object * ownership in the Amazon S3 User Guide.
*There are two ways to grant the appropriate permissions using the request headers.
+ *There are two ways to grant the appropriate permissions using the request + * headers.
*Specify a canned ACL using the x-amz-acl
request header. Amazon S3
@@ -82,14 +86,15 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
* x-amz-grant-write
, x-amz-grant-read-acp
,
* x-amz-grant-write-acp
, and x-amz-grant-full-control
* headers. These headers map to the set of permissions Amazon S3 supports in an ACL. For
- * more information, see Access control list
- * (ACL) overview.
You specify each grantee as a type=value pair, where the type is one of the * following:
*
- * id
– if the value specified is the canonical user ID of an Amazon Web Services account
id
– if the value specified is the canonical user ID of an
+ * Amazon Web Services account
* @@ -145,14 +150,17 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat *
* Permissions *
- *In addition to s3:CreateBucket
, the following permissions are required when your CreateBucket includes specific headers:
In addition to s3:CreateBucket
, the following permissions are required when
+ * your CreateBucket includes specific headers:
- * ACLs - If your CreateBucket
request specifies ACL permissions and the ACL is public-read, public-read-write,
- * authenticated-read, or if you specify access permissions explicitly through any other ACL, both
- * s3:CreateBucket
and s3:PutBucketAcl
permissions are needed. If the ACL the
- * CreateBucket
request is private or doesn't specify any ACLs, only s3:CreateBucket
permission is needed.
CreateBucket
request
+ * specifies ACL permissions and the ACL is public-read, public-read-write,
+ * authenticated-read, or if you specify access permissions explicitly through any other
+ * ACL, both s3:CreateBucket
and s3:PutBucketAcl
permissions
+ * are needed. If the ACL the CreateBucket
request is private or doesn't
+ * specify any ACLs, only s3:CreateBucket
permission is needed.
* diff --git a/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts b/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts index a83d23c1ae31f..02a1165a9c0f6 100644 --- a/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts +++ b/clients/client-s3/src/commands/CreateMultipartUploadCommand.ts @@ -50,39 +50,56 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa *
If you have configured a lifecycle rule to abort incomplete multipart uploads, the * upload must complete within the number of days specified in the bucket lifecycle * configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort - * action and Amazon S3 aborts the multipart upload. For more information, see Aborting - * Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.
+ * action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy. *For information about the permissions required to use the multipart upload API, see - * Multipart Upload and - * Permissions.
+ * Multipart + * Upload and Permissions. *For request signing, multipart upload is just a series of regular requests. You initiate * a multipart upload, send one or more requests to upload parts, and then complete the * multipart upload process. You sign each request individually. There is nothing special - * about signing multipart upload requests. For more information about signing, see Authenticating - * Requests (Amazon Web Services Signature Version 4).
+ * about signing multipart upload requests. For more information about signing, see Authenticating Requests (Amazon Web Services Signature Version 4). *After you initiate a multipart upload and upload one or more parts, to stop being + *
After you initiate a multipart upload and upload one or more parts, to stop being * charged for storing the uploaded parts, you must either complete or abort the multipart * upload. Amazon S3 frees up the space used to store the parts and stop charging you for * storing them only after you either complete or abort a multipart upload.
*You can optionally request server-side encryption. For server-side encryption, Amazon S3
- * encrypts your data as it writes it to disks in its data centers and decrypts it when you
- * access it. You can provide your own encryption key, or use Amazon Web Services KMS keys or Amazon S3-managed encryption keys. If you choose to provide
- * your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the request to
- * initiate the upload by using CreateMultipartUpload
.
To perform a multipart upload with encryption using an Amazon Web Services KMS key, the requester must
- * have permission to the kms:Decrypt
and kms:GenerateDataKey*
+ *
Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it
+ * writes it to disks in its data centers and decrypts it when you access it. Amazon S3
+ * automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a
+ * multipart upload, if you don't specify encryption information in your request, the
+ * encryption setting of the uploaded parts is set to the default encryption configuration of
+ * the destination bucket. By default, all buckets have a base level of encryption
+ * configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the
+ * destination bucket has a default encryption configuration that uses server-side encryption
+ * with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),
+ * Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded
+ * parts. When you perform a CreateMultipartUpload operation, if you want to use a different
+ * type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the
+ * object with a KMS key, an Amazon S3 managed key, or a customer-provided key. If the encryption
+ * setting in your request is different from the default encryption configuration of the
+ * destination bucket, the encryption setting in your request takes precedence. If you choose
+ * to provide your own encryption key, the request headers you provide in UploadPart
+ * and UploadPartCopy requests must
+ * match the headers you used in the request to initiate the upload by using
+ * CreateMultipartUpload
. you can request that Amazon S3
+ * save the uploaded parts encrypted with server-side encryption with an Amazon S3 managed key
+ * (SSE-S3), an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key
+ * (SSE-C).
To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester
+ * must have permission to the kms:Decrypt
and kms:GenerateDataKey*
* actions on the key. These permissions are required because Amazon S3 must decrypt and read data
* from the encrypted file parts before it completes the multipart upload. For more
* information, see Multipart upload API
- * and permissions in the Amazon S3 User Guide.
If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account - * as the KMS key, then you must have these permissions on the key policy. If your IAM - * user or role belongs to a different account than the key, then you must have the - * permissions on both the key policy and your IAM user or role.
- *For more information, see Protecting - * Data Using Server-Side Encryption.
+ * and permissions and Protecting data using + * server-side encryption with Amazon Web Services KMS in the + * Amazon S3 User Guide. + *If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key, + * then you must have these permissions on the key policy. If your IAM user or role belongs + * to a different account than the key, then you must have the permissions on both the key + * policy and your IAM user or role.
+ *For more information, see Protecting Data Using Server-Side + * Encryption.
*Specify a canned ACL with the x-amz-acl
request header. For
- * more information, see Canned ACL.
Specify access permissions explicitly with the
@@ -100,8 +118,7 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
* x-amz-grant-write-acp
, and
* x-amz-grant-full-control
headers. These parameters map to
* the set of permissions that Amazon S3 supports in an ACL. For more information,
- * see Access Control List (ACL)
- * Overview.
You can use either a canned ACL or specify access permissions explicitly. You @@ -109,16 +126,19 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa *
You can optionally tell Amazon S3 to encrypt data at rest using server-side - * encryption. Server-side encryption is for data encryption at rest. Amazon S3 encrypts + *
Amazon S3 encrypts data + * by using server-side encryption with an Amazon S3 managed key (SSE-S3) by default. Server-side encryption is for data encryption at rest. Amazon S3 encrypts * your data as it writes it to disks in its data centers and decrypts it when you - * access it. The option you use depends on whether you want to use Amazon Web Services managed - * encryption keys or provide your own encryption key.
+ * access it. You can request that Amazon S3 encrypts + * data at rest by using server-side encryption with other key options. The option you use depends on + * whether you want to use KMS keys (SSE-KMS) or provide your own encryption keys + * (SSE-C). *Use encryption keys managed by Amazon S3 or customer managed key stored - * in Amazon Web Services Key Management Service (Amazon Web Services KMS) – If you want Amazon Web Services to manage the keys - * used to encrypt data, specify the following headers in the request.
+ *Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key
+ * (aws/s3
) and KMS customer managed keys stored in Key Management Service (KMS) – If you
+ * want Amazon Web Services to manage the keys used to encrypt data, specify the following
+ * headers in the request.
@@ -139,18 +159,22 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
* If you specify x-amz-server-side-encryption:aws:kms
, but
* don't provide x-amz-server-side-encryption-aws-kms-key-id
,
- * Amazon S3 uses the Amazon Web Services managed key in Amazon Web Services KMS to protect the data.aws/s3
key) in KMS to
+ * protect the data.
All GET and PUT requests for an object protected by Amazon Web Services KMS fail if - * you don't make them with SSL or by using SigV4.
+ *All GET
and PUT
requests for an object protected
+ * by KMS fail if you don't make them by using Secure Sockets Layer (SSL),
+ * Transport Layer Security (TLS), or Signature Version 4.
For more information about server-side encryption with KMS key (SSE-KMS), - * see Protecting Data Using Server-Side Encryption with KMS keys.
+ *For more information about server-side encryption with KMS keys + * (SSE-KMS), see Protecting Data + * Using Server-Side Encryption with KMS keys.
*Use customer-provided encryption keys – If you want to manage your own - * encryption keys, provide all the following headers in the request.
+ *Use customer-provided encryption keys (SSE-C) – If you want to manage + * your own encryption keys, provide all the following headers in the + * request.
*@@ -168,8 +192,10 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa *
*For more information about server-side encryption with KMS keys (SSE-KMS), - * see Protecting Data Using Server-Side Encryption with KMS keys.
+ *For more information about server-side encryption with customer-provided + * encryption keys (SSE-C), see + * Protecting data using server-side encryption with customer-provided + * encryption keys (SSE-C).
*You also can use the following access control–related headers with this * operation. By default, all objects are private. Only the owner has full access - * control. When adding a new object, you can grant permissions to individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then added - * to the access control list (ACL) on the object. For more information, see Using ACLs. With this - * operation, you can grant access permissions using one of the following two - * methods:
+ * control. When adding a new object, you can grant permissions to individual + * Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then + * added to the access control list (ACL) on the object. For more information, see + * Using ACLs. With this operation, you can grant access permissions + * using one of the following two methods: *Specify a canned ACL (x-amz-acl
) — Amazon S3 supports a set of
@@ -193,10 +220,9 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
*
Specify access permissions explicitly — To explicitly grant access * permissions to specific Amazon Web Services accounts or groups, use the following headers. * Each header maps to specific permissions that Amazon S3 supports in an ACL. For - * more information, see Access - * Control List (ACL) Overview. In the header, you specify a list of - * grantees who get the specific permission. To grant permissions explicitly, - * use:
+ * more information, see Access Control List (ACL) + * Overview. In the header, you specify a list of grantees who get + * the specific permission. To grant permissions explicitly, use: *diff --git a/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts index c2a9c058c256a..e132443616897 100644 --- a/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketAnalyticsConfigurationCommand.ts @@ -40,8 +40,8 @@ export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __Metad *
To use this operation, you must have permissions to perform the
* s3:PutAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class * Analysis.
*The following operations are related to diff --git a/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts b/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts index 1912a0af247c5..3d937e16dc60c 100644 --- a/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketCorsCommand.ts @@ -39,8 +39,8 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {} *
To use this operation, you must have permission to perform the
* s3:PutBucketCORS
action. The bucket owner has this permission by default
* and can grant this permission to others.
For information about cors
, see Enabling
- * Cross-Origin Resource Sharing in the Amazon S3 User Guide.
For information about cors
, see Enabling Cross-Origin Resource Sharing in
+ * the Amazon S3 User Guide.
* Related Resources: *
diff --git a/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts b/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts index cba0c8bc094e8..72f08d478ce54 100644 --- a/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketEncryptionCommand.ts @@ -35,14 +35,16 @@ export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {} /** * @public - *This implementation of the DELETE action removes default encryption from the bucket. - * For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the - * Amazon S3 User Guide.
+ *This implementation of the DELETE action resets the default encryption for the + * bucket as server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the + * bucket default encryption feature, see Amazon S3 Bucket Default Encryption + * in the Amazon S3 User Guide.
*To use this operation, you must have permissions to perform the
* s3:PutEncryptionConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3
- * Resources in the Amazon S3 User Guide.
* Related Resources *
diff --git a/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts index fd1bede9ad0e5..48b2e0ea74602 100644 --- a/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketIntelligentTieringConfigurationCommand.ts @@ -40,8 +40,7 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extend *The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * DeleteBucketIntelligentTieringConfiguration
include:
Operations related to DeleteBucketIntelligentTieringConfiguration
include:
diff --git a/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts b/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts index 96fd50e259ad3..0d3555146c765 100644 --- a/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/src/commands/DeleteBucketInventoryConfigurationCommand.ts @@ -40,8 +40,8 @@ export interface DeleteBucketInventoryConfigurationCommandOutput extends __Metad *
To use this operation, you must have permissions to perform the
* s3:PutInventoryConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
*Operations related to DeleteBucketInventoryConfiguration
include:
There is usually some time lag before lifecycle configuration deletion is fully * propagated to all the Amazon S3 systems.
- *For more information about the object expiration, see Elements to - * Describe Lifecycle Actions.
+ *For more information about the object expiration, see Elements to Describe Lifecycle Actions.
*Related actions include:
* To use this operation, you must have permissions to perform the
* s3:PutMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.
+ * permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with + * Amazon CloudWatch.
*The following operations are related to
* DeleteBucketMetricsConfiguration
:
- * Monitoring Metrics with Amazon - * CloudWatch + * Monitoring Metrics with Amazon CloudWatch *
*Removes OwnershipControls
for an Amazon S3 bucket. To use this operation, you
* must have the s3:PutBucketOwnershipControls
permission. For more information
- * about Amazon S3 permissions, see Specifying
- * Permissions in a Policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
*The following operations are related to
* DeleteBucketOwnershipControls
:
To use this operation, you must have permissions to perform the
* s3:PutReplicationConfiguration
action. The bucket owner has these
* permissions by default and can grant it to others. For more information about permissions,
- * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
It can take a while for the deletion of a replication configuration to fully * propagate.
*For information about replication configuration, see Replication in the Amazon S3 User Guide.
+ *For information about replication configuration, see Replication in the + * Amazon S3 User Guide.
*The following operations are related to DeleteBucketReplication
:
Removes the null version (if there is one) of an object and inserts a delete marker, * which becomes the latest version of the object. If there isn't a null version, Amazon S3 does * not remove any objects but will still respond that the command was successful.
- *To remove a specific version, you must be the bucket owner and you must use the version
- * Id subresource. Using this subresource permanently deletes the version. If the object
- * deleted is a delete marker, Amazon S3 sets the response header,
- * x-amz-delete-marker
, to true.
To remove a specific version, you must use the version Id subresource. Using this
+ * subresource permanently deletes the version. If the object deleted is a delete marker, Amazon S3
+ * sets the response header, x-amz-delete-marker
, to true.
If the object you want to delete is in a bucket where the bucket versioning
* configuration is MFA Delete enabled, you must include the x-amz-mfa
request
* header in the DELETE versionId
request. Requests that include
* x-amz-mfa
must use HTTPS.
For more information about MFA Delete, see Using MFA Delete. To see sample requests that use versioning, see Sample Request.
- *You can delete objects by explicitly calling DELETE Object or configure its
- * lifecycle (PutBucketLifecycle) to
- * enable Amazon S3 to remove them for you. If you want to block users or accounts from removing or
- * deleting objects from your bucket, you must deny them the s3:DeleteObject
,
- * s3:DeleteObjectVersion
, and s3:PutLifeCycleConfiguration
- * actions.
For more information about MFA Delete, see Using MFA Delete. To see sample + * requests that use versioning, see Sample + * Request.
+ *You can delete objects by explicitly calling DELETE Object or configure its lifecycle
+ * (PutBucketLifecycle) to enable Amazon S3 to remove them for you. If you want to block
+ * users or accounts from removing or deleting objects from your bucket, you must deny them
+ * the s3:DeleteObject
, s3:DeleteObjectVersion
, and
+ * s3:PutLifeCycleConfiguration
actions.
The following action is related to DeleteObject
:
Removes the entire tag set from the specified object. For more information about - * managing object tags, see Object - * Tagging.
+ * managing object tags, see Object Tagging. *To use this operation, you must have permission to perform the
* s3:DeleteObjectTagging
action.
To delete tags of a specific object version, add the versionId
query
* parameter in the request. You will need permission for the
* s3:DeleteObjectVersionTagging
action.
The following operations are related to
- * DeleteBucketMetricsConfiguration
:
The following operations are related to DeleteObjectTagging
:
diff --git a/clients/client-s3/src/commands/DeleteObjectsCommand.ts b/clients/client-s3/src/commands/DeleteObjectsCommand.ts index ba29cbc239ac2..02096174f814f 100644 --- a/clients/client-s3/src/commands/DeleteObjectsCommand.ts +++ b/clients/client-s3/src/commands/DeleteObjectsCommand.ts @@ -37,28 +37,27 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad /** * @public *
This action enables you to delete multiple objects from a bucket using a single HTTP - * request. If you know the object keys that you want to delete, then this action provides - * a suitable alternative to sending individual delete requests, reducing per-request + * request. If you know the object keys that you want to delete, then this action provides a + * suitable alternative to sending individual delete requests, reducing per-request * overhead.
*The request contains a list of up to 1000 keys that you want to delete. In the XML, you * provide the object key names, and optionally, version IDs if you want to delete a specific * version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a - * delete action and returns the result of that delete, success, or failure, in the - * response. Note that if the object specified in the request is not found, Amazon S3 returns the - * result as deleted.
+ * delete action and returns the result of that delete, success, or failure, in the response. + * Note that if the object specified in the request is not found, Amazon S3 returns the result as + * deleted. *The action supports two modes for the response: verbose and quiet. By default, the - * action uses verbose mode in which the response includes the result of deletion of each - * key in your request. In quiet mode the response includes only keys where the delete - * action encountered an error. For a successful deletion, the action does not return - * any information about the delete in the response body.
- *When performing this action on an MFA Delete enabled bucket, that attempts to delete - * any versioned objects, you must include an MFA token. If you do not provide one, the entire + * action uses verbose mode in which the response includes the result of deletion of each key + * in your request. In quiet mode the response includes only keys where the delete action + * encountered an error. For a successful deletion, the action does not return any information + * about the delete in the response body.
+ *When performing this action on an MFA Delete enabled bucket, that attempts to delete any + * versioned objects, you must include an MFA token. If you do not provide one, the entire * request will fail, even if there are non-versioned objects you are trying to delete. If you * provide an invalid token, whether there are versioned keys in the request or not, the * entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA - * Delete.
- *Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon - * S3 uses the header value to ensure that your request body has not been altered in + * Delete.
+ *Finally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon S3 uses the header value to ensure that your request body has not been altered in * transit.
*The following operations are related to DeleteObjects
:
Removes the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this
* operation, you must have the s3:PutBucketPublicAccessBlock
permission. For
- * more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
The following operations are related to DeletePublicAccessBlock
:
To use this operation, you must have permission to perform the
* s3:GetAccelerateConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3
- * Resources in the Amazon S3 User Guide.
You set the Transfer Acceleration state of an existing bucket to Enabled
or
* Suspended
by using the PutBucketAccelerateConfiguration operation.
A GET accelerate
request does not return a state value for a bucket that
* has no transfer acceleration state. A bucket has no Transfer Acceleration state if a state
* has never been set on the bucket.
For more information about transfer acceleration, see Transfer Acceleration in the - * Amazon S3 User Guide.
+ *For more information about transfer acceleration, see Transfer Acceleration in + * the Amazon S3 User Guide.
** Related Resources *
diff --git a/clients/client-s3/src/commands/GetBucketAclCommand.ts b/clients/client-s3/src/commands/GetBucketAclCommand.ts index 22222299029e7..f0b61b563656b 100644 --- a/clients/client-s3/src/commands/GetBucketAclCommand.ts +++ b/clients/client-s3/src/commands/GetBucketAclCommand.ts @@ -35,17 +35,19 @@ export interface GetBucketAclCommandOutput extends GetBucketAclOutput, __Metadat /** * @public - *This implementation of the GET
action uses the acl
- * subresource to return the access control list (ACL) of a bucket. To use GET
to
- * return the ACL of the bucket, you must have READ_ACP
access to the bucket. If
+ *
This implementation of the GET
action uses the acl
subresource
+ * to return the access control list (ACL) of a bucket. To use GET
to return the
+ * ACL of the bucket, you must have READ_ACP
access to the bucket. If
* READ_ACP
permission is granted to the anonymous user, you can return the
* ACL of the bucket without using an authorization header.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
*If your bucket uses the bucket owner enforced setting for S3 Object Ownership,
- * requests to read ACLs are still supported and return the bucket-owner-full-control
- * ACL with the owner being the account that created the bucket. For more information, see
- *
- * Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
bucket-owner-full-control
ACL with the owner being the account that
+ * created the bucket. For more information, see Controlling object
+ * ownership and disabling ACLs in the
+ * Amazon S3 User Guide.
* * Related Resources diff --git a/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts index 939aefe66ccc9..143299113a63c 100644 --- a/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketAnalyticsConfigurationCommand.ts @@ -37,13 +37,14 @@ export interface GetBucketAnalyticsConfigurationCommandOutput /** * @public - *
This implementation of the GET action returns an analytics configuration (identified - * by the analytics configuration ID) from the bucket.
+ *This implementation of the GET action returns an analytics configuration (identified by + * the analytics configuration ID) from the bucket.
*To use this operation, you must have permissions to perform the
* s3:GetAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class * Analysis in the Amazon S3 User Guide.
*diff --git a/clients/client-s3/src/commands/GetBucketCorsCommand.ts b/clients/client-s3/src/commands/GetBucketCorsCommand.ts index 527258d24143d..840230cdfbfea 100644 --- a/clients/client-s3/src/commands/GetBucketCorsCommand.ts +++ b/clients/client-s3/src/commands/GetBucketCorsCommand.ts @@ -40,6 +40,7 @@ export interface GetBucketCorsCommandOutput extends GetBucketCorsOutput, __Metad *
To use this operation, you must have permission to perform the
* s3:GetBucketCORS
action. By default, the bucket owner has this permission
* and can grant it to others.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
*For more information about CORS, see Enabling Cross-Origin Resource * Sharing.
*The following operations are related to GetBucketCors
:
Returns the default encryption configuration for an Amazon S3 bucket. If the bucket does not
- * have a default encryption configuration, GetBucketEncryption returns
- * ServerSideEncryptionConfigurationNotFoundError
.
For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.
- *To use this operation, you must have permission to perform the + *
Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a default encryption configuration that + * uses server-side encryption with Amazon S3 managed keys (SSE-S3). For information + * about the bucket default encryption feature, see Amazon S3 Bucket + * Default Encryption in the Amazon S3 User Guide.
+ *To use this operation, you must have permission to perform the
* s3:GetEncryptionConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
The following operations are related to GetBucketEncryption
:
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * GetBucketIntelligentTieringConfiguration
include:
Operations related to GetBucketIntelligentTieringConfiguration
include:
diff --git a/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts b/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts index 1548bf24e683f..0cc15e10ffa37 100644 --- a/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts +++ b/clients/client-s3/src/commands/GetBucketInventoryConfigurationCommand.ts @@ -46,8 +46,8 @@ export interface GetBucketInventoryConfigurationCommandOutput *
To use this operation, you must have permissions to perform the
* s3:GetInventoryConfiguration
action. The bucket owner has this permission
* by default and can grant this permission to others. For more information about permissions,
- * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
*The following operations are related to
* GetBucketInventoryConfiguration
:
Returns the lifecycle configuration information set on the bucket. For information about - * lifecycle configuration, see Object - * Lifecycle Management.
+ * lifecycle configuration, see Object Lifecycle + * Management. *To use this operation, you must have permission to perform the
* s3:GetLifecycleConfiguration
action. The bucket owner has this permission,
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
* GetBucketLifecycleConfiguration
has the following special error:
To use this implementation of the operation, you must be the bucket owner.
*To use this API against an access point, provide the alias of the access point in place of the bucket name.
+ *For requests made using Amazon Web Services Signature Version 4 (SigV4), we recommend that you use + * HeadBucket to return the bucket Region instead of GetBucketLocation.
+ *The following operations are related to GetBucketLocation
:
Returns the logging status of a bucket and the permissions users have to view and modify - * that status. To use GET, you must be the bucket owner.
+ * that status. *The following operations are related to GetBucketLogging
:
To use this operation, you must have permissions to perform the
* s3:GetMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon - * CloudWatch.
+ * permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *For information about CloudWatch request metrics for Amazon S3, see Monitoring + * Metrics with Amazon CloudWatch.
*The following operations are related to
* GetBucketMetricsConfiguration
:
- * Monitoring Metrics with Amazon - * CloudWatch + * Monitoring Metrics with Amazon CloudWatch *
*s3:GetBucketNotification
* permission.
+ * To use this API against an access point, provide the alias of the access point in place of the bucket name.
*For more information about setting and reading the notification configuration on a - * bucket, see Setting Up Notification of - * Bucket Events. For more information about bucket policies, see Using Bucket Policies.
+ * bucket, see Setting Up Notification of Bucket Events. For more information about bucket + * policies, see Using Bucket Policies. *The following action is related to GetBucketNotification
:
Retrieves OwnershipControls
for an Amazon S3 bucket. To use this operation, you
* must have the s3:GetBucketOwnershipControls
permission. For more information
- * about Amazon S3 permissions, see Specifying
- * permissions in a policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
+ * about Amazon S3 permissions, see Specifying permissions in a + * policy. + *For information about Amazon S3 Object Ownership, see Using Object + * Ownership.
*The following operations are related to GetBucketOwnershipControls
:
To use this API against an access point, provide the alias of the access point in place of the bucket name.
*For more information about bucket policies, see Using Bucket Policies and User * Policies.
*The following action is related to GetBucketPolicy
:
Retrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.
* In order to use this operation, you must have the s3:GetBucketPolicyStatus
* permission. For more information about Amazon S3 permissions, see Specifying Permissions in a
- * Policy.
For more information about when Amazon S3 considers a bucket public, see The Meaning of "Public".
*The following operations are related to GetBucketPolicyStatus
:
Returns the request payment configuration of a bucket. To use this version of the - * operation, you must be the bucket owner. For more information, see Requester Pays Buckets.
+ * operation, you must be the bucket owner. For more information, see Requester Pays + * Buckets. *The following operations are related to GetBucketRequestPayment
:
Returns the website configuration for a bucket. To host website on Amazon S3, you can * configure a bucket as website by adding a website configuration. For more information about - * hosting websites, see Hosting Websites on - * Amazon S3.
+ * hosting websites, see Hosting Websites on Amazon S3. *This GET action requires the S3:GetBucketWebsite
permission. By default,
* only the bucket owner can read the bucket website configuration. However, bucket owners can
* allow other users to read the website configuration by writing a bucket policy granting
diff --git a/clients/client-s3/src/commands/GetObjectAclCommand.ts b/clients/client-s3/src/commands/GetObjectAclCommand.ts
index 94f0dcf488193..8fc0ef0a60fdf 100644
--- a/clients/client-s3/src/commands/GetObjectAclCommand.ts
+++ b/clients/client-s3/src/commands/GetObjectAclCommand.ts
@@ -48,10 +48,11 @@ export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __Metadat
* return ACL information about a different version, use the versionId subresource.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership,
- * requests to read ACLs are still supported and return the bucket-owner-full-control
- * ACL with the owner being the account that created the bucket. For more information, see
- *
- * Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
bucket-owner-full-control
ACL with the owner being the account that
+ * created the bucket. For more information, see Controlling object
+ * ownership and disabling ACLs in the
+ * Amazon S3 User Guide.
* The following operations are related to GetObjectAcl
:
GetObjectAttributes
, you must have READ access to the object.
*
- * GetObjectAttributes
combines the functionality of
- * GetObjectAcl
, GetObjectLegalHold
,
- * GetObjectLockConfiguration
, GetObjectRetention
,
- * GetObjectTagging
, HeadObject
, and ListParts
. All
- * of the data returned with each of those individual calls can be returned with a single call
- * to GetObjectAttributes
.
GetObjectAttributes
combines the functionality of HeadObject
+ * and ListParts
. All of the data returned with each of those individual calls
+ * can be returned with a single call to GetObjectAttributes
.
* If you encrypt an object by using server-side encryption with customer-provided - * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the - * metadata from the object, you must use the following headers:
+ * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the + * metadata from the object, you must use the following headers: *
@@ -76,25 +73,24 @@ export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOut
* Encryption request headers, such as
- * Encryption request headers, such as
- * The last modified property in this case is the creation date of the object. The last modified property in this case is the creation date of the
+ * object.
*
* x-amz-server-side-encryption
, should not be sent for GET requests
- * if your object uses server-side encryption with Amazon Web Services KMS keys stored in Amazon Web Services Key
- * Management Service (SSE-KMS) or server-side encryption with Amazon S3 managed
- * encryption keys (SSE-S3). If your object does use these types of keys, you'll get
- * an HTTP 400 Bad Request
error.x-amz-server-side-encryption
,
+ * should not be sent for GET requests if your object uses server-side encryption
+ * with Amazon Web Services KMS keys stored in Amazon Web Services Key Management Service (SSE-KMS) or
+ * server-side encryption with Amazon S3 managed keys (SSE-S3). If your object does use
+ * these types of keys, you'll get an HTTP 400 Bad Request
error.
Consider the following when using request headers:
* If both of the If-Match
and If-Unmodified-Since
- * headers are present in the request as follows, then Amazon S3 returns the HTTP
- * status code 200 OK
and the data requested:
If both of the If-Match
and If-Unmodified-Since
headers
+ * are present in the request as follows, then Amazon S3 returns the HTTP status code
+ * 200 OK
and the data requested:
@@ -103,24 +99,23 @@ export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOut *
* If-Unmodified-Since
condition evaluates to
- * false
.
false
.
* If both of the If-None-Match
and If-Modified-Since
* headers are present in the request as follows, then Amazon S3 returns the HTTP status code
- * 304 Not Modified
:
304 Not Modified
:
*
- * If-None-Match
condition evaluates to
- * false
.
If-None-Match
condition evaluates to false
.
*
* If-Modified-Since
condition evaluates to
- * true
.
true
.
* s3:ListBucket
permission.
* If you have the s3:ListBucket
permission on the bucket, Amazon S3
- * returns an HTTP status code 404 Not Found
("no such key") error.
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns
+ * an HTTP status code 404 Not Found
("no such key") error.
If you don't have the s3:ListBucket
permission, Amazon S3 returns an
- * HTTP status code 403 Forbidden
("access denied") error.
If you don't have the s3:ListBucket
permission, Amazon S3 returns an HTTP
+ * status code 403 Forbidden
("access denied") error.
The following actions are related to GetObjectAttributes
:
examplebucket
, specify the resource as
* /examplebucket/photos/2006/February/sample.jpg
. For more information about
- * request types, see HTTP Host Header Bucket Specification.
+ * request types, see HTTP Host
+ * Header Bucket Specification.
* For more information about returning the ACL of an object, see GetObjectAcl.
*If the object you are retrieving is stored in the S3 Glacier or
* S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or
* S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you must first restore a
* copy using RestoreObject. Otherwise, this action returns an
- * InvalidObjectStateError
error. For information about restoring archived
- * objects, see Restoring Archived
- * Objects.
InvalidObjectState
error. For information about restoring archived objects,
+ * see Restoring
+ * Archived Objects.
* Encryption request headers, like x-amz-server-side-encryption
, should not
- * be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS)
- * or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your
+ * be sent for GET requests if your object uses server-side encryption with KMS keys
+ * (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your
* object does use these types of keys, you’ll get an HTTP 400 BadRequest error.
If you encrypt an object by using server-side encryption with customer-provided
* encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,
@@ -83,19 +84,19 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin
For more information about SSE-C, see Server-Side Encryption (Using - * Customer-Provided Encryption Keys).
- *Assuming you have the relevant permission to read object tags, the response also returns the
- * x-amz-tagging-count
header that provides the count of number of tags
+ *
For more information about SSE-C, see Server-Side Encryption + * (Using Customer-Provided Encryption Keys).
+ *Assuming you have the relevant permission to read object tags, the response also returns
+ * the x-amz-tagging-count
header that provides the count of number of tags
* associated with the object. You can use GetObjectTagging to retrieve
* the tag set associated with an object.
* Permissions *
*You need the relevant read object (or version) permission for this operation. For more
- * information, see Specifying Permissions
- * in a Policy. If the object you request does not exist, the error Amazon S3 returns
- * depends on whether you also have the s3:ListBucket
permission.
s3:ListBucket
permission.
* If you have the
- * If you supply a If you supply a If the current version of the object is a delete marker, Amazon S3 behaves as if the
diff --git a/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts b/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts
index 4e3c1b6e94d4f..ff632076f055f 100644
--- a/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts
+++ b/clients/client-s3/src/commands/GetObjectLockConfigurationCommand.ts
@@ -37,8 +37,7 @@ export interface GetObjectLockConfigurationCommandOutput extends GetObjectLockCo
* @public
* Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock
* configuration will be applied by default to every new object placed in the specified
- * bucket. For more information, see Locking
- * Objects.s3:ListBucket
permission on the bucket, Amazon S3 will
@@ -114,11 +115,12 @@ export interface GetObjectCommandOutput extends __WithSdkStreamMixin
*
versionId
, you need the s3:GetObjectVersion
permission to
- * access a specific version of an object. If you request a specific version, you do not need to have
- * the s3:GetObject
permission.
- * versionId
, you need the
+ * s3:GetObjectVersion
permission to access a specific version of an
+ * object. If you request a specific version, you do not need to have the
+ * s3:GetObject
permission. If you request the current version
+ * without a specific version ID, only s3:GetObject
permission is
+ * required. s3:GetObjectVersion
permission won't be required.
The following action is related to GetObjectLockConfiguration
:
Retrieves an object's retention settings. For more information, see Locking Objects.
+ *Retrieves an object's retention settings. For more information, see Locking + * Objects.
*This action is not supported by Amazon S3 on Outposts.
*The following action is related to GetObjectRetention
:
Returns the tag-set of an object. You send the GET request against the tagging * subresource associated with the object.
*To use this operation, you must have permission to perform the
- * s3:GetObjectTagging
action. By default, the GET action returns
- * information about current version of an object. For a versioned bucket, you can have
- * multiple versions of an object in your bucket. To retrieve tags of any other version, use
- * the versionId query parameter. You also need permission for the
- * s3:GetObjectVersionTagging
action.
s3:GetObjectTagging
action. By default, the GET action returns information
+ * about current version of an object. For a versioned bucket, you can have multiple versions
+ * of an object in your bucket. To retrieve tags of any other version, use the versionId query
+ * parameter. You also need permission for the s3:GetObjectVersionTagging
+ * action.
* By default, the bucket owner has this permission and can grant this permission to * others.
*For information about the Amazon S3 object tagging feature, see Object Tagging.
diff --git a/clients/client-s3/src/commands/GetObjectTorrentCommand.ts b/clients/client-s3/src/commands/GetObjectTorrentCommand.ts index 9aab8ffc81258..6efc1f63b9b6d 100644 --- a/clients/client-s3/src/commands/GetObjectTorrentCommand.ts +++ b/clients/client-s3/src/commands/GetObjectTorrentCommand.ts @@ -45,7 +45,7 @@ export interface GetObjectTorrentCommandOutput /** * @public *Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're - * distributing large files. For more information about BitTorrent, see Using BitTorrent with Amazon S3.
+ * distributing large files. *You can get torrent only for objects that are less than 5 GB in size, and that are * not encrypted using server-side encryption with a customer-provided encryption diff --git a/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts b/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts index 01e7ee13287da..9e618d0385f6a 100644 --- a/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts +++ b/clients/client-s3/src/commands/GetPublicAccessBlockCommand.ts @@ -38,7 +38,7 @@ export interface GetPublicAccessBlockCommandOutput extends GetPublicAccessBlockO *
Retrieves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use
* this operation, you must have the s3:GetBucketPublicAccessBlock
permission.
* For more information about Amazon S3 permissions, see Specifying Permissions in a
- * Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or
* an object, it checks the PublicAccessBlock
configuration for both the
diff --git a/clients/client-s3/src/commands/HeadBucketCommand.ts b/clients/client-s3/src/commands/HeadBucketCommand.ts
index adee470a6a087..e5ea850374cf8 100644
--- a/clients/client-s3/src/commands/HeadBucketCommand.ts
+++ b/clients/client-s3/src/commands/HeadBucketCommand.ts
@@ -35,17 +35,23 @@ export interface HeadBucketCommandOutput extends __MetadataBearer {}
/**
* @public
- *
This action is useful to determine if a bucket exists and you have permission to
- * access it. The action returns a 200 OK
if the bucket exists and you have
- * permission to access it.
If the bucket does not exist or you do not have permission to access it, the HEAD
request
- * returns a generic 404 Not Found
or 403 Forbidden
code. A message body is not
- * included, so you cannot determine the exception beyond these error codes.
This action is useful to determine if a bucket exists and you have permission to access
+ * it. The action returns a 200 OK
if the bucket exists and you have permission
+ * to access it.
If the bucket does not exist or you do not have permission to access it, the
+ * HEAD
request returns a generic 400 Bad Request
, 403
+ * Forbidden
or 404 Not Found
code. A message body is not included, so
+ * you cannot determine the exception beyond these error codes.
To use this operation, you must have permissions to perform the
* s3:ListBucket
action. The bucket owner has this permission by default and
- * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
To use this API against an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the Amazon Web Services SDKs, you provide the ARN in place of the bucket name. For more information see, Using access points.
+ * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *To use this API against an access point, you must provide the alias of the access point in place of the + * bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to + * the access point hostname. The access point hostname takes the form + * AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the Amazon Web Services SDKs, + * you provide the ARN in place of the bucket name. For more information see, Using + * access points.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-s3/src/commands/HeadObjectCommand.ts b/clients/client-s3/src/commands/HeadObjectCommand.ts index a937699719216..34835a0dae91f 100644 --- a/clients/client-s3/src/commands/HeadObjectCommand.ts +++ b/clients/client-s3/src/commands/HeadObjectCommand.ts @@ -41,14 +41,15 @@ export interface HeadObjectCommandOutput extends HeadObjectOutput, __MetadataBea /** * @public - *The HEAD action retrieves metadata from an object without returning the object - * itself. This action is useful if you're only interested in an object's metadata. To use - * HEAD, you must have READ access to the object.
+ *The HEAD action retrieves metadata from an object without returning the object itself. + * This action is useful if you're only interested in an object's metadata. To use HEAD, you + * must have READ access to the object.
*A HEAD
request has the same options as a GET
action on an
* object. The response is identical to the GET
response except that there is no
* response body. Because of this, if the HEAD
request generates an error, it
- * returns a generic 404 Not Found
or 403 Forbidden
code. It is not
- * possible to retrieve the exact exception beyond these error codes.
400 Bad Request
, 403 Forbidden
or 404 Not
+ * Found
code. It is not possible to retrieve the exact exception beyond these error
+ * codes.
* If you encrypt an object by using server-side encryption with customer-provided * encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the * metadata from the object, you must use the following headers:
@@ -63,25 +64,25 @@ export interface HeadObjectCommandOutput extends HeadObjectOutput, __MetadataBea *x-amz-server-side-encryption-customer-key-MD5
*For more information about SSE-C, see Server-Side Encryption (Using - * Customer-Provided Encryption Keys).
+ *For more information about SSE-C, see Server-Side Encryption + * (Using Customer-Provided Encryption Keys).
*Encryption request headers, like x-amz-server-side-encryption
, should
- * not be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS)
- * or server-side encryption with Amazon S3–managed encryption keys
- * (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest
- * error.
Encryption request headers, like x-amz-server-side-encryption
,
+ * should not be sent for GET requests if your object uses server-side encryption
+ * with KMS keys (SSE-KMS) or server-side encryption with Amazon S3–managed encryption
+ * keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400
+ * BadRequest error.
- * The last modified property in this case is the creation date of the object.
+ *The last modified property in this case is the creation date of the + * object.
*Request headers are limited to 8 KB in size. For more information, see Common Request - * Headers.
+ *Request headers are limited to 8 KB in size. For more information, see Common + * Request Headers.
*Consider the following when using request headers:
*You need the relevant read object (or version) permission for this operation. For more - * information, see Specifying Permissions - * in a Policy. If the object you request does not exist, the error Amazon S3 returns - * depends on whether you also have the s3:ListBucket permission.
+ * information, see Specifying Permissions in a + * Policy. If the object you request does not exist, the error Amazon S3 returns depends + * on whether you also have the s3:ListBucket permission. *If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns
diff --git a/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts
index 80319e22b360f..4e1c68bcb1ee9 100644
--- a/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts
+++ b/clients/client-s3/src/commands/ListBucketAnalyticsConfigurationsCommand.ts
@@ -39,8 +39,8 @@ export interface ListBucketAnalyticsConfigurationsCommandOutput
* @public
*
Lists the analytics configurations for the bucket. You can have up to 1,000 analytics * configurations per bucket.
- *This action supports list pagination and does not return more than 100 configurations
- * at a time. You should always check the IsTruncated
element in the response. If
+ *
This action supports list pagination and does not return more than 100 configurations at
+ * a time. You should always check the IsTruncated
element in the response. If
* there are no more configurations to list, IsTruncated
is set to false. If
* there are more configurations to list, IsTruncated
is set to true, and there
* will be a value in NextContinuationToken
. You use the
@@ -50,8 +50,8 @@ export interface ListBucketAnalyticsConfigurationsCommandOutput
*
To use this operation, you must have permissions to perform the
* s3:GetAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class * Analysis.
*The following operations are related to diff --git a/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts index fa010c1d31cbf..bb785c994a38b 100644 --- a/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketIntelligentTieringConfigurationsCommand.ts @@ -45,8 +45,7 @@ export interface ListBucketIntelligentTieringConfigurationsCommandOutput *
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * ListBucketIntelligentTieringConfigurations
include:
Operations related to ListBucketIntelligentTieringConfigurations
include:
diff --git a/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts index ae585c7abcd1e..d7ced0847ecaa 100644 --- a/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketInventoryConfigurationsCommand.ts @@ -43,9 +43,9 @@ export interface ListBucketInventoryConfigurationsCommandOutput * @public *
Returns a list of inventory configurations for the bucket. You can have up to 1,000 * analytics configurations per bucket.
- *This action supports list pagination and does not return more than 100 configurations
- * at a time. Always check the IsTruncated
element in the response. If there are
- * no more configurations to list, IsTruncated
is set to false. If there are more
+ *
This action supports list pagination and does not return more than 100 configurations at
+ * a time. Always check the IsTruncated
element in the response. If there are no
+ * more configurations to list, IsTruncated
is set to false. If there are more
* configurations to list, IsTruncated
is set to true, and there is a value in
* NextContinuationToken
. You use the NextContinuationToken
value
* to continue the pagination of the list by passing the value in continuation-token in the
@@ -53,8 +53,8 @@ export interface ListBucketInventoryConfigurationsCommandOutput
*
To use this operation, you must have permissions to perform the
* s3:GetInventoryConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory *
*The following operations are related to diff --git a/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts b/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts index 696179d7c03d6..5fb3278eaf193 100644 --- a/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts +++ b/clients/client-s3/src/commands/ListBucketMetricsConfigurationsCommand.ts @@ -40,9 +40,9 @@ export interface ListBucketMetricsConfigurationsCommandOutput *
Lists the metrics configurations for the bucket. The metrics configurations are only for * the request metrics of the bucket and do not provide information on daily storage metrics. * You can have up to 1,000 configurations per bucket.
- *This action supports list pagination and does not return more than 100 configurations
- * at a time. Always check the IsTruncated
element in the response. If there are
- * no more configurations to list, IsTruncated
is set to false. If there are more
+ *
This action supports list pagination and does not return more than 100 configurations at
+ * a time. Always check the IsTruncated
element in the response. If there are no
+ * more configurations to list, IsTruncated
is set to false. If there are more
* configurations to list, IsTruncated
is set to true, and there is a value in
* NextContinuationToken
. You use the NextContinuationToken
value
* to continue the pagination of the list by passing the value in
@@ -50,11 +50,10 @@ export interface ListBucketMetricsConfigurationsCommandOutput
*
To use this operation, you must have permissions to perform the
* s3:GetMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For more information about metrics configurations and CloudWatch request metrics, see - * Monitoring Metrics with Amazon - * CloudWatch.
+ * Monitoring Metrics with Amazon CloudWatch. *The following operations are related to
* ListBucketMetricsConfigurations
:
Returns a list of all buckets owned by the authenticated sender of the request. To use
- * this operation, you must have the s3:ListAllMyBuckets
permission.
s3:ListAllMyBuckets
permission.
+ * For information about Amazon S3 buckets, see Creating, configuring, and + * working with Amazon S3 buckets.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts b/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts index 790114eea448a..cfdcd4e6f9bea 100644 --- a/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts +++ b/clients/client-s3/src/commands/ListMultipartUploadsCommand.ts @@ -51,8 +51,8 @@ export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsO * upload initiation time. *For more information on multipart uploads, see Uploading Objects Using Multipart * Upload.
- *For information on permissions required to use the multipart upload API, see Multipart Upload and - * Permissions.
+ *For information on permissions required to use the multipart upload API, see Multipart Upload + * and Permissions.
*The following operations are related to ListMultipartUploads
:
- * To use this operation, you must have permissions to perform the
- * s3:ListBucketVersions
action. Be aware of the name difference.
- *
To use this operation, you must have permissions to perform the
+ * s3:ListBucketVersions
action. Be aware of the name difference.
A 200 OK response can contain valid or invalid XML. Make sure to design your @@ -50,8 +48,7 @@ export interface ListObjectVersionsCommandOutput extends ListObjectVersionsOutpu *
To use this operation, you must have READ access to the bucket.
*This action is not supported by Amazon S3 on Outposts.
- *The following operations are related to
- * ListObjectVersions
:
The following operations are related to ListObjectVersions
:
diff --git a/clients/client-s3/src/commands/ListObjectsV2Command.ts b/clients/client-s3/src/commands/ListObjectsV2Command.ts index 8ef202a55c39a..3671fb150e578 100644 --- a/clients/client-s3/src/commands/ListObjectsV2Command.ts +++ b/clients/client-s3/src/commands/ListObjectsV2Command.ts @@ -35,24 +35,23 @@ export interface ListObjectsV2CommandOutput extends ListObjectsV2Output, __Metad /** * @public - *
Returns some or all (up to 1,000) of the objects in a bucket with each request. You can use
- * the request parameters as selection criteria to return a subset of the objects in a bucket. A
- * 200 OK
response can contain valid or invalid XML. Make sure to design your
- * application to parse the contents of the response and handle it appropriately.
+ *
Returns some or all (up to 1,000) of the objects in a bucket with each request. You can
+ * use the request parameters as selection criteria to return a subset of the objects in a
+ * bucket. A 200 OK
response can contain valid or invalid XML. Make sure to
+ * design your application to parse the contents of the response and handle it appropriately.
* Objects are returned sorted in an ascending order of the respective key names in the list.
* For more information about listing objects, see Listing object keys
* programmatically
*
To use this operation, you must have READ access to the bucket.
- *To use this action in an Identity and Access Management (IAM) policy, you must
- * have permissions to perform the s3:ListBucket
action. The bucket owner has
- * this permission by default and can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
To use this action in an Identity and Access Management (IAM) policy, you must have permissions to perform
+ * the s3:ListBucket
action. The bucket owner has this permission by default and
+ * can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing
+ * Access Permissions to Your Amazon S3 Resources.
This section describes the latest revision of this action. We recommend that you use this - * revised API for application development. For backward compatibility, Amazon S3 continues to - * support the prior version of this API, ListObjects.
+ *This section describes the latest revision of this action. We recommend that you use + * this revised API for application development. For backward compatibility, Amazon S3 continues + * to support the prior version of this API, ListObjects.
*To get a list of your buckets, see ListBuckets.
*The following operations are related to ListObjectsV2
:
NextPartNumberMarker
field value from the previous response.
* If the upload was created using a checksum algorithm, you will need to have permission
- * to the kms:Decrypt
action for the request to succeed.
- *
kms:Decrypt
action for the request to succeed.
* For more information on multipart uploads, see Uploading Objects Using Multipart * Upload.
- *For information on permissions required to use the multipart upload API, see Multipart Upload and - * Permissions.
+ *For information on permissions required to use the multipart upload API, see Multipart Upload + * and Permissions.
*The following operations are related to ListParts
:
Suspended – Disables accelerated data transfers to the bucket.
*The GetBucketAccelerateConfiguration action returns the transfer acceleration - * state of a bucket.
+ *The GetBucketAccelerateConfiguration action returns the transfer acceleration state + * of a bucket.
*After setting the Transfer Acceleration state of a bucket to Enabled, it might take up * to thirty minutes before the data transfer rates to the bucket increase.
*The name of the bucket used for Transfer Acceleration must be DNS-compliant and must * not contain periods (".").
- *For more information about transfer acceleration, see Transfer Acceleration.
+ *For more information about transfer acceleration, see Transfer + * Acceleration.
*The following operations are related to
* PutBucketAccelerateConfiguration
:
Sets the permissions on an existing bucket using access control lists (ACL). For more
- * information, see Using ACLs. To set
- * the ACL of a bucket, you must have WRITE_ACP
permission.
WRITE_ACP
permission.
* You can use one of the following two ways to set a bucket's permissions:
*If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions.
- * You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and
- * return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported.
- * For more information, see Controlling object ownership
- * in the Amazon S3 User Guide.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs
+ * are disabled and no longer affect permissions. You must use policies to grant access to
+ * your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return
+ * the AccessControlListNotSupported
error code. Requests to read ACLs are
+ * still supported. For more information, see Controlling object
+ * ownership in the Amazon S3 User Guide.
* Access Permissions
@@ -73,7 +74,8 @@ export interface PutBucketAclCommandOutput extends __MetadataBearer {}
* a set of predefined ACLs, known as canned ACLs. Each canned ACL
* has a predefined set of grantees and permissions. Specify the canned ACL name as the
* value of x-amz-acl
. If you use this header, you cannot use other access
- * control-specific headers in your request. For more information, see Canned ACL.
Specify access permissions explicitly with the x-amz-grant-read
,
@@ -82,14 +84,15 @@ export interface PutBucketAclCommandOutput extends __MetadataBearer {}
* specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who
* will receive the permission. If you use these ACL-specific headers, you cannot use
* the x-amz-acl
header to set a canned ACL. These parameters map to the
- * set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL)
- * Overview.
You specify each grantee as a type=value pair, where the type is one of the * following:
*
- * id
– if the value specified is the canonical user ID of an Amazon Web Services account
id
– if the value specified is the canonical user ID of an
+ * Amazon Web Services account
* @@ -169,7 +172,7 @@ export interface PutBucketAclCommandOutput extends __MetadataBearer {} *
By Email address:
*
*
+ * xsi:type="AmazonCustomerByEmail">
The grantee is resolved to the CanonicalUser and, in a response to a GET Object * acl request, appears as the CanonicalUser.
diff --git a/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts index 65831cae77c93..cb4e0dfd7c344 100644 --- a/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketAnalyticsConfigurationCommand.ts @@ -43,8 +43,8 @@ export interface PutBucketAnalyticsConfigurationCommandOutput extends __Metadata * selecting data export, you specify a destination bucket and an optional destination prefix * where the file is written. You can export the data to a destination bucket in a different * account. However, the destination bucket must be in the same Region as the bucket that you - * are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class - * Analysis. + * are making the PUT analytics configuration to. For more information, see Amazon S3 + * Analytics – Storage Class Analysis. *You must create a bucket policy on the destination bucket where the exported file is * written to grant permissions to Amazon S3 to write objects to the bucket. For an example @@ -53,8 +53,8 @@ export interface PutBucketAnalyticsConfigurationCommandOutput extends __Metadata *
To use this operation, you must have permissions to perform the
* s3:PutAnalyticsConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
* Special Errors *
diff --git a/clients/client-s3/src/commands/PutBucketCorsCommand.ts b/clients/client-s3/src/commands/PutBucketCorsCommand.ts index 4b3e30c1af3d9..88ca69bd7afdd 100644 --- a/clients/client-s3/src/commands/PutBucketCorsCommand.ts +++ b/clients/client-s3/src/commands/PutBucketCorsCommand.ts @@ -70,8 +70,8 @@ export interface PutBucketCorsCommandOutput extends __MetadataBearer {} * *For more information about CORS, go to Enabling - * Cross-Origin Resource Sharing in the Amazon S3 User Guide.
+ *For more information about CORS, go to Enabling Cross-Origin Resource Sharing in + * the Amazon S3 User Guide.
** Related Resources *
diff --git a/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts b/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts index 46ada4c1a6f94..0c2200335b275 100644 --- a/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts +++ b/clients/client-s3/src/commands/PutBucketEncryptionCommand.ts @@ -36,25 +36,27 @@ export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {} /** * @public - *This action uses the encryption
subresource to configure default
- * encryption and Amazon S3 Bucket Key for an existing bucket.
Default encryption for a bucket can use server-side encryption with Amazon S3-managed keys - * (SSE-S3) or customer managed keys (SSE-KMS). If you specify default encryption - * using SSE-KMS, you can also configure Amazon S3 Bucket Key. When the default encryption is SSE-KMS, if - * you upload an object to the bucket and do not specify the KMS key to use for encryption, Amazon S3 - * uses the default Amazon Web Services managed KMS key for your account. For information about default - * encryption, see Amazon S3 default bucket encryption - * in the Amazon S3 User Guide. For more information about S3 Bucket Keys, - * see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
+ *This action uses the encryption
subresource to configure default encryption
+ * and Amazon S3 Bucket Keys for an existing bucket.
By default, all buckets have a default encryption configuration that + * uses server-side encryption with Amazon S3 managed keys (SSE-S3). + * You can optionally configure default encryption for a bucket by using server-side + * encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). If you specify default encryption by using + * SSE-KMS, you can also configure Amazon S3 Bucket Keys. For information about bucket default encryption, + * see Amazon S3 + * bucket default encryption in the Amazon S3 User Guide. For more + * information about S3 Bucket Keys, see Amazon S3 Bucket Keys in the + * Amazon S3 User Guide.
*This action requires Amazon Web Services Signature Version 4. For more information, see Authenticating Requests (Amazon Web Services Signature - * Version 4).
+ *This action requires Amazon Web Services Signature Version 4. For more information, see + * Authenticating Requests (Amazon Web Services Signature Version 4).
*To use this operation, you must have permissions to perform the
* s3:PutEncryptionConfiguration
action. The bucket owner has this permission
* by default. The bucket owner can grant this permission to others. For more information
- * about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
* Related Resources *
diff --git a/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts index 47459c18f6c1e..d90b1a62c933f 100644 --- a/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketIntelligentTieringConfigurationCommand.ts @@ -36,13 +36,12 @@ export interface PutBucketIntelligentTieringConfigurationCommandOutput extends _ /** * @public - *Puts a S3 Intelligent-Tiering configuration to the specified bucket. - * You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.
+ *Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to + * 1,000 S3 Intelligent-Tiering configurations per bucket.
*The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
*The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
*For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
- *Operations related to
- * PutBucketIntelligentTieringConfiguration
include:
Operations related to PutBucketIntelligentTieringConfiguration
include:
@@ -62,8 +61,8 @@ export interface PutBucketIntelligentTieringConfigurationCommandOutput extends _ *
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically - * move objects stored in the S3 Intelligent-Tiering storage class to the - * Archive Access or Deep Archive Access tier.
+ * move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access + * or Deep Archive Access tier. ** Special Errors @@ -112,8 +111,8 @@ export interface PutBucketIntelligentTieringConfigurationCommandOutput extends _ *
* Cause: You are not the owner of the specified bucket,
- * or you do not have the s3:PutIntelligentTieringConfiguration
bucket
- * permission to set the configuration on the bucket.
s3:PutIntelligentTieringConfiguration
+ * bucket permission to set the configuration on the bucket.
* You must create a bucket policy on the destination bucket to * grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an - * example policy, see - * Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
+ * example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis. *To use this operation, you must have permissions to perform the + *
+ * Permissions + *
+ *To use this operation, you must have permission to perform the
* s3:PutInventoryConfiguration
action. The bucket owner has this permission
- * by default and can grant this permission to others. For more information about permissions,
- * see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
The s3:PutInventoryConfiguration
permission allows a user to create an
+ * S3
+ * Inventory report that includes all object metadata fields available and to
+ * specify the destination bucket to store the inventory. A user with read access to objects
+ * in the destination bucket can also access all object metadata fields that are available in
+ * the inventory report.
To restrict access to an inventory report, see Restricting access to an Amazon S3 Inventory report in the + * Amazon S3 User Guide. For more information about the metadata fields + * available in S3 Inventory, see Amazon S3 + * Inventory lists in the Amazon S3 User Guide. For more + * information about permissions, see Permissions related to bucket subresource operations and Identity and + * access management in Amazon S3 in the Amazon S3 User Guide.
** Special Errors *
diff --git a/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts b/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts index d027de3baa0ed..ee8afda71c51f 100644 --- a/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutBucketLifecycleConfigurationCommand.ts @@ -37,10 +37,10 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata /** * @public *Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle - * configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if - * you want to retain any configuration details, they must be included in the new lifecycle - * configuration. For information about lifecycle configuration, see Managing your storage - * lifecycle.
+ * configuration. Keep in mind that this will overwrite an existing lifecycle configuration, + * so if you want to retain any configuration details, they must be included in the new + * lifecycle configuration. For information about lifecycle configuration, see Managing + * your storage lifecycle. *Bucket lifecycle configuration now supports specifying a lifecycle rule using an * object key name prefix, one or more object tags, or a combination of both. Accordingly, @@ -72,8 +72,8 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata * versions.
*For more information, see Object - * Lifecycle Management and Lifecycle Configuration Elements.
+ *For more information, see Object Lifecycle Management + * and Lifecycle Configuration Elements.
** Permissions *
@@ -103,8 +103,8 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata * *For more information about permissions, see Managing Access Permissions to Your Amazon S3 - * Resources.
+ *For more information about permissions, see Managing Access Permissions to + * Your Amazon S3 Resources.
*The following are related to PutBucketLifecycleConfiguration
:
Set the logging parameters for a bucket and to specify permissions for who can view and - * modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as the - * source bucket. To set the logging status of a bucket, you must be the bucket owner.
- *The bucket owner is automatically granted FULL_CONTROL to all logs. You use the Grantee
request element to grant access to other people. The
+ * modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as
+ * the source bucket. To set the logging status of a bucket, you must be the bucket
+ * owner.
The bucket owner is automatically granted FULL_CONTROL to all logs. You use the
+ * Grantee
request element to grant access to other people. The
* Permissions
request element specifies the kind of access the grantee has to
* the logs.
If the target bucket for log delivery uses the bucket owner enforced
- * setting for S3 Object Ownership, you can't use the Grantee
request element
- * to grant access to others. Permissions can only be granted using policies. For more information, see Permissions for server access log delivery in the
+ *
If the target bucket for log delivery uses the bucket owner enforced setting for S3
+ * Object Ownership, you can't use the Grantee
request element to grant access
+ * to others. Permissions can only be granted using policies. For more information, see
+ * Permissions for server access log delivery in the
* Amazon S3 User Guide.
@@ -86,7 +89,8 @@ export interface PutBucketLoggingCommandOutput extends __MetadataBearer {}
*
*
For more information about server access logging, see Server Access Logging in the Amazon S3 User Guide.
+ *For more information about server access logging, see Server Access Logging in the + * Amazon S3 User Guide.
*For more information about creating a bucket, see CreateBucket. For more * information about returning the logging status of a bucket, see GetBucketLogging.
*The following operations are related to PutBucketLogging
:
To use this operation, you must have permissions to perform the
* s3:PutMetricsConfiguration
action. The bucket owner has this permission by
* default. The bucket owner can grant this permission to others. For more information about
- * permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon - * CloudWatch.
+ * permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources. + *For information about CloudWatch request metrics for Amazon S3, see Monitoring + * Metrics with Amazon CloudWatch.
*The following operations are related to
* PutBucketMetricsConfiguration
:
Enables notifications of specified events for a bucket. For more information about event * notifications, see Configuring Event - * Notifications.
+ * Notifications. *Using this API, you can replace an existing notification configuration. The * configuration is an XML file that defines the event types that you want Amazon S3 to publish and * the destination where you want Amazon S3 to publish an event notification when it detects an @@ -50,19 +50,19 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad *
*
*
This action replaces the existing notification configuration with the configuration - * you include in the request body.
+ *This action replaces the existing notification configuration with the configuration you + * include in the request body.
*After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification * Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and * that the bucket owner has permission to publish to it by sending a test notification. In * the case of Lambda destinations, Amazon S3 verifies that the Lambda function permissions * grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information, - * see Configuring Notifications for Amazon S3 - * Events.
+ * see Configuring Notifications for Amazon S3 Events. *You can disable notifications by adding the empty NotificationConfiguration * element.
- *For more information about the number of event notification configurations that you can create per bucket, see - * Amazon S3 service quotas in Amazon Web Services General Reference.
+ *For more information about the number of event notification configurations that you can + * create per bucket, see Amazon S3 service quotas in Amazon Web Services + * General Reference.
*By default, only the bucket owner can configure notifications on a bucket. However,
* bucket owners can use a bucket policy to grant permission to other users to set this
* configuration with s3:PutBucketNotification
permission.
The PUT notification is an atomic operation. For example, suppose your notification * configuration includes SNS topic, SQS queue, and Lambda function configurations. When * you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS - * topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add - * the configuration to your bucket.
+ * topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add the + * configuration to your bucket. * ** Responses @@ -104,7 +104,7 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad * Id: "STRING_VALUE", * TopicArn: "STRING_VALUE", // required * Events: [ // EventList // required - * "STRING_VALUE", + * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", * ], * Filter: { // NotificationConfigurationFilter * Key: { // S3KeyFilter @@ -123,7 +123,7 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad * Id: "STRING_VALUE", * QueueArn: "STRING_VALUE", // required * Events: [ // required - * "STRING_VALUE", + * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", * ], * Filter: { * Key: { @@ -142,7 +142,7 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad * Id: "STRING_VALUE", * LambdaFunctionArn: "STRING_VALUE", // required * Events: [ // required - * "STRING_VALUE", + * "s3:ReducedRedundancyLostObject" || "s3:ObjectCreated:*" || "s3:ObjectCreated:Put" || "s3:ObjectCreated:Post" || "s3:ObjectCreated:Copy" || "s3:ObjectCreated:CompleteMultipartUpload" || "s3:ObjectRemoved:*" || "s3:ObjectRemoved:Delete" || "s3:ObjectRemoved:DeleteMarkerCreated" || "s3:ObjectRestore:*" || "s3:ObjectRestore:Post" || "s3:ObjectRestore:Completed" || "s3:Replication:*" || "s3:Replication:OperationFailedReplication" || "s3:Replication:OperationNotTracked" || "s3:Replication:OperationMissedThreshold" || "s3:Replication:OperationReplicatedAfterThreshold" || "s3:ObjectRestore:Delete" || "s3:LifecycleTransition" || "s3:IntelligentTiering" || "s3:ObjectAcl:Put" || "s3:LifecycleExpiration:*" || "s3:LifecycleExpiration:Delete" || "s3:LifecycleExpiration:DeleteMarkerCreated" || "s3:ObjectTagging:*" || "s3:ObjectTagging:Put" || "s3:ObjectTagging:Delete", * ], * Filter: { * Key: { diff --git a/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts b/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts index 53a42bdbb9f7a..82adb5bacbfe0 100644 --- a/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts +++ b/clients/client-s3/src/commands/PutBucketOwnershipControlsCommand.ts @@ -38,8 +38,10 @@ export interface PutBucketOwnershipControlsCommandOutput extends __MetadataBeare * @public *
Creates or modifies OwnershipControls
for an Amazon S3 bucket. To use this
* operation, you must have the s3:PutBucketOwnershipControls
permission. For
- * more information about Amazon S3 permissions, see Specifying permissions in a policy.
For information about Amazon S3 Object Ownership, see Using object ownership.
+ * more information about Amazon S3 permissions, see Specifying permissions in a + * policy. + *For information about Amazon S3 Object Ownership, see Using object + * ownership.
*The following operations are related to PutBucketOwnershipControls
:
For more information, see Bucket policy examples.
+ *For more information, see Bucket policy + * examples.
*The following operations are related to PutBucketPolicy
:
By default, Amazon S3 doesn't replicate objects that are stored at rest using server-side
- * encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects, add the
- * following: SourceSelectionCriteria
, SseKmsEncryptedObjects
,
+ * encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects, add the following:
+ * SourceSelectionCriteria
, SseKmsEncryptedObjects
,
* Status
, EncryptionConfiguration
, and
* ReplicaKmsKeyID
. For information about replication configuration, see
* Replicating Objects
- * Created with SSE Using KMS keys.
For information on PutBucketReplication
errors, see List of
* replication-related error codes
*
* Permissions *
- *To create a PutBucketReplication
request, you must have s3:PutReplicationConfiguration
- * permissions for the bucket.
- *
By default, a resource owner, in this case the Amazon Web Services account that created the bucket, can - * perform this operation. The resource owner can also grant others permissions to perform the - * operation. For more information about permissions, see Specifying Permissions in a Policy - * and Managing Access Permissions to Your - * Amazon S3 Resources.
+ *To create a PutBucketReplication
request, you must have
+ * s3:PutReplicationConfiguration
permissions for the bucket.
+ *
+ *
By default, a resource owner, in this case the Amazon Web Services account that created the bucket, + * can perform this operation. The resource owner can also grant others permissions to perform + * the operation. For more information about permissions, see Specifying Permissions in a + * Policy and Managing Access Permissions to + * Your Amazon S3 Resources.
*To perform this operation, the user or role performing the action must have the * iam:PassRole permission.
diff --git a/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts b/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts index 7f0c1147889cd..da459b4010c70 100644 --- a/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts +++ b/clients/client-s3/src/commands/PutBucketRequestPaymentCommand.ts @@ -40,7 +40,7 @@ export interface PutBucketRequestPaymentCommandOutput extends __MetadataBearer { * for downloads from the bucket. This configuration parameter enables the bucket owner (only) * to specify that the person requesting the download will be charged for the download. For * more information, see Requester Pays - * Buckets. + * Buckets. *The following operations are related to PutBucketRequestPayment
:
Sets the tags for a bucket.
- *Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign - * up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost of - * combined resources, organize your billing information according to resources with the same - * tag key values. For example, you can tag several resources with a specific application + *
Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, + * sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost + * of combined resources, organize your billing information according to resources with the + * same tag key values. For example, you can tag several resources with a specific application * name, and then organize your billing information to see the total cost of that application - * across several services. For more information, see Cost Allocation - * and Tagging and Using Cost Allocation in Amazon S3 Bucket - * Tags.
+ * across several services. For more information, see Cost Allocation and + * Tagging and Using Cost Allocation in Amazon S3 Bucket + * Tags. *- * When this operation sets the tags for a bucket, it will overwrite any current tags the - * bucket already has. You cannot use this operation to add tags to an existing list of tags.
+ *When this operation sets the tags for a bucket, it will overwrite any current tags + * the bucket already has. You cannot use this operation to add tags to an existing list of + * tags.
*To use this operation, you must have permissions to perform the
* s3:PutBucketTagging
action. The bucket owner has this permission by default
- * and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources.
* PutBucketTagging
has the following special errors:
If the versioning state has never been set on a bucket, it has no versioning state; a * GetBucketVersioning request does not return a versioning state value.
*In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner
- * and want to enable MFA Delete in the bucket versioning configuration, you must
- * include the x-amz-mfa request
header and the
- * Status
and the MfaDelete
request elements in a request to set
- * the versioning state of the bucket.
x-amz-mfa request
header and the Status
and the
+ * MfaDelete
request elements in a request to set the versioning state of the
+ * bucket.
* If you have an object expiration lifecycle policy in your non-versioned bucket and * you want to maintain the same permanent delete behavior when you enable versioning, you diff --git a/clients/client-s3/src/commands/PutObjectAclCommand.ts b/clients/client-s3/src/commands/PutObjectAclCommand.ts index eb12dbb58668a..6f77f258c5c1d 100644 --- a/clients/client-s3/src/commands/PutObjectAclCommand.ts +++ b/clients/client-s3/src/commands/PutObjectAclCommand.ts @@ -41,16 +41,18 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat * permission to set the ACL of an object. For more information, see What * permissions can I grant? in the Amazon S3 User Guide.
*This action is not supported by Amazon S3 on Outposts.
- *Depending on your application needs, you can choose to set - * the ACL on an object using either the request body or the headers. For example, if you have - * an existing application that updates a bucket ACL using the request body, you can continue - * to use that approach. For more information, see Access Control List (ACL) Overview in the Amazon S3 User Guide.
+ *Depending on your application needs, you can choose to set the ACL on an object using + * either the request body or the headers. For example, if you have an existing application + * that updates a bucket ACL using the request body, you can continue to use that approach. + * For more information, see Access Control List (ACL) Overview + * in the Amazon S3 User Guide.
*If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions.
- * You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and
- * return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported.
- * For more information, see Controlling object ownership
- * in the Amazon S3 User Guide.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs
+ * are disabled and no longer affect permissions. You must use policies to grant access to
+ * your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return
+ * the AccessControlListNotSupported
error code. Requests to read ACLs are
+ * still supported. For more information, see Controlling object
+ * ownership in the Amazon S3 User Guide.
* Access Permissions
@@ -62,7 +64,8 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
* a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set
* of grantees and permissions. Specify the canned ACL name as the value of
* x-amz-ac
l. If you use this header, you cannot use other access
- * control-specific headers in your request. For more information, see Canned ACL.
Specify access permissions explicitly with the x-amz-grant-read
,
@@ -71,14 +74,15 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
* specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who
* will receive the permission. If you use these ACL-specific headers, you cannot use
* x-amz-acl
header to set a canned ACL. These parameters map to the set
- * of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL)
- * Overview.
You specify each grantee as a type=value pair, where the type is one of the * following:
*
- * id
– if the value specified is the canonical user ID of an Amazon Web Services account
id
– if the value specified is the canonical user ID of an
+ * Amazon Web Services account
* diff --git a/clients/client-s3/src/commands/PutObjectCommand.ts b/clients/client-s3/src/commands/PutObjectCommand.ts index 3cf0c255aa79b..d8cba18ab8a87 100644 --- a/clients/client-s3/src/commands/PutObjectCommand.ts +++ b/clients/client-s3/src/commands/PutObjectCommand.ts @@ -51,12 +51,16 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare * @public *
Adds an object to a bucket. You must have WRITE permissions on a bucket to add an object * to it.
- *Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the - * entire object to the bucket.
+ *Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the
+ * entire object to the bucket. You cannot use PutObject
to only update a
+ * single piece of metadata for an existing object. You must put the entire object with
+ * updated metadata if you want to update some values.
Amazon S3 is a distributed system. If it receives multiple write requests for the same object - * simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object - * locking; if you need this, make sure to build it into your application layer or use - * versioning instead.
+ * simultaneously, it overwrites all but the last object written. To prevent objects from + * being deleted or overwritten, you can use Amazon S3 Object + * Lock. *To ensure that data is not corrupted traversing the network, use the
* Content-MD5
header. When you use this header, Amazon S3 checks the object
* against the provided MD5 value and, if they do not match, returns an error. Additionally,
@@ -66,76 +70,63 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
*
To successfully complete the PutObject
request, you must have the
- * s3:PutObject
in your IAM permissions.
s3:PutObject
in your IAM permissions.
* To successfully change the objects acl of your PutObject
request,
- * you must have the s3:PutObjectAcl
in your IAM permissions.
s3:PutObjectAcl
in your IAM permissions.
+ * To successfully set the tag-set with your PutObject
request, you
+ * must have the s3:PutObjectTagging
in your IAM permissions.
The Content-MD5
header is required for any request to upload an object
- * with a retention period configured using Amazon S3 Object Lock. For more information about
- * Amazon S3 Object Lock, see Amazon S3 Object Lock Overview
- * in the Amazon S3 User Guide.
The Content-MD5
header is required for any request to upload an
+ * object with a retention period configured using Amazon S3 Object Lock. For more
+ * information about Amazon S3 Object Lock, see Amazon S3 Object Lock
+ * Overview in the Amazon S3 User Guide.
- * Server-side Encryption - *
- *You can optionally request server-side encryption. With server-side encryption, Amazon S3 encrypts - * your data as it writes it to disks in its data centers and decrypts the data - * when you access it. You have the option to provide your own encryption key or use Amazon Web Services - * managed encryption keys (SSE-S3 or SSE-KMS). For more information, see Using Server-Side - * Encryption.
- *If you request server-side encryption using Amazon Web Services Key Management Service (SSE-KMS), you can enable - * an S3 Bucket Key at the object-level. For more information, see Amazon S3 Bucket Keys in the - * Amazon S3 User Guide.
- *- * Access Control List (ACL)-Specific Request - * Headers - *
- *You can use headers to grant ACL- based permissions. By default, all objects are - * private. Only the owner has full access control. When adding a new object, you can grant - * permissions to individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These - * permissions are then added to the ACL on the object. For more information, see Access Control List - * (ACL) Overview and Managing ACLs Using the REST - * API.
+ *You have three mutually exclusive options to protect data using server-side encryption + * in Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the + * encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and + * customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side encryption by using + * Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at by + * rest using server-side encryption with other key options. For more information, see Using + * Server-Side Encryption.
+ *When adding a new object, you can use headers to grant ACL-based permissions to + * individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are + * then added to the ACL on the object. By default, all objects are private. Only the owner + * has full access control. For more information, see Access Control List (ACL) Overview + * and Managing + * ACLs Using the REST API.
*If the bucket that you're uploading objects to uses the bucket owner enforced setting
* for S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that
* use this setting only accept PUT requests that don't specify an ACL or PUT requests that
- * specify bucket owner full control ACLs, such as the bucket-owner-full-control
canned
- * ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that contain other
- * ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
- * 400
error with the error code
- * AccessControlListNotSupported
.
For more information, see Controlling ownership of - * objects and disabling ACLs in the Amazon S3 User Guide.
+ * specify bucket owner full control ACLs, such as thebucket-owner-full-control
+ * canned ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that
+ * contain other ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a
+ * 400
error with the error code AccessControlListNotSupported
.
+ * For more information, see Controlling ownership of
+ * objects and disabling ACLs in the Amazon S3 User Guide.
* If your bucket uses the bucket owner enforced setting for Object Ownership, - * all objects written to the bucket by any account will be owned by the bucket owner.
+ *If your bucket uses the bucket owner enforced setting for Object Ownership, all + * objects written to the bucket by any account will be owned by the bucket owner.
*- * Storage Class Options - *
*By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The * STANDARD storage class provides high durability and high availability. Depending on * performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses * the OUTPOSTS Storage Class. For more information, see Storage Classes in the - * Amazon S3 User Guide.
- *- * Versioning - *
+ * Amazon S3 User Guide. *If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID * for the object being stored. Amazon S3 returns this ID in the response. When you enable * versioning for a bucket, if Amazon S3 receives multiple write requests for the same object - * simultaneously, it stores all of the objects.
- *For more information about versioning, see Adding Objects to + * simultaneously, it stores all of the objects. For more information about versioning, see + * Adding Objects to * Versioning Enabled Buckets. For information about returning the versioning state * of a bucket, see GetBucketVersioning.
- *- * Related Resources - *
+ *For more information about related Amazon S3 APIs, see the following:
*diff --git a/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts b/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts index cc2a45b86ecae..a980cce69db60 100644 --- a/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts +++ b/clients/client-s3/src/commands/PutObjectLockConfigurationCommand.ts @@ -38,22 +38,21 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo * @public *
Places an Object Lock configuration on the specified bucket. The rule specified in the * Object Lock configuration will be applied by default to every new object placed in the - * specified bucket. For more information, see Locking Objects. - *
+ * specified bucket. For more information, see Locking Objects. *The DefaultRetention
settings require both a mode and a
- * period.
The DefaultRetention
period can be either Days
- * or Years
but you must select one. You cannot specify Days
- * and Years
at the same time.
The DefaultRetention
period can be either Days
or
+ * Years
but you must select one. You cannot specify
+ * Days
and Years
at the same time.
You can only enable Object Lock for new buckets. If you want to turn on - * Object Lock for an existing bucket, contact Amazon Web Services Support.
+ *You can only enable Object Lock for new buckets. If you want to turn on Object + * Lock for an existing bucket, contact Amazon Web Services Support.
*Places an Object Retention configuration on an object. For more information, see Locking Objects.
- * Users or accounts require the s3:PutObjectRetention
permission in order to place
- * an Object Retention configuration on objects. Bypassing a Governance Retention configuration
- * requires the s3:BypassGovernanceRetention
permission.
- *
s3:PutObjectRetention
permission in order to
+ * place an Object Retention configuration on objects. Bypassing a Governance Retention
+ * configuration requires the s3:BypassGovernanceRetention
permission.
* This action is not supported by Amazon S3 on Outposts.
* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-s3/src/commands/PutObjectTaggingCommand.ts b/clients/client-s3/src/commands/PutObjectTaggingCommand.ts index 47045ebf49dfa..cc5348582ccb3 100644 --- a/clients/client-s3/src/commands/PutObjectTaggingCommand.ts +++ b/clients/client-s3/src/commands/PutObjectTaggingCommand.ts @@ -63,7 +63,8 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _ ** Cause: The tag provided was not a valid tag. This error can occur - * if the tag did not pass input validation. For more information, see Object Tagging. + * if the tag did not pass input validation. For more information, see Object + * Tagging. *
*- * Cause: A conflicting conditional action is currently in - * progress against this resource. Please try again. + * Cause: A conflicting conditional action is currently in progress + * against this resource. Please try again. *
*Creates or modifies the PublicAccessBlock
configuration for an Amazon S3 bucket.
* To use this operation, you must have the s3:PutBucketPublicAccessBlock
* permission. For more information about Amazon S3 permissions, see Specifying Permissions in a
- * Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or
* an object, it checks the PublicAccessBlock
configuration for both the
diff --git a/clients/client-s3/src/commands/RestoreObjectCommand.ts b/clients/client-s3/src/commands/RestoreObjectCommand.ts
index 6cc1ce9c8297f..13153c62dbf9b 100644
--- a/clients/client-s3/src/commands/RestoreObjectCommand.ts
+++ b/clients/client-s3/src/commands/RestoreObjectCommand.ts
@@ -51,27 +51,13 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
*
To use this operation, you must have permissions to perform the
* s3:RestoreObject
action. The bucket owner has this permission by default
- * and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
- * Resources in the Amazon S3 User Guide.
- * Querying Archives with Select Requests - *
- *You use a select type of request to perform SQL queries on archived objects. The - * archived objects that are being queried by the select request must be formatted as - * uncompressed comma-separated values (CSV) files. You can run queries and custom analytics - * on your archived data without having to restore your data to a hotter Amazon S3 tier. For an - * overview about select requests, see Querying Archived Objects in the Amazon S3 User Guide.
- *When making a select request, do the following:
+ * and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing + * Access Permissions to Your Amazon S3 Resources in the + * Amazon S3 User Guide. + *For more information about the S3
structure in the request body, see the
+ * following:
Define an output location for the select query's output. This must be an Amazon S3 - * bucket in the same Amazon Web Services Region as the bucket that contains the archive object that is - * being queried. The Amazon Web Services account that initiates the job must have permissions to write - * to the S3 bucket. You can specify the storage class and encryption for the output - * objects stored in the bucket. For more information about output, see Querying Archived Objects - * in the Amazon S3 User Guide.
- *For more information about the S3
structure in the request body, see
- * the following:
@@ -80,8 +66,8 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad *
- * Managing Access with - * ACLs in the Amazon S3 User Guide + * Managing Access with ACLs in the + * Amazon S3 User Guide *
*For more information about using SQL with S3 Glacier Select restore, see SQL Reference for Amazon S3 Select and - * S3 Glacier Select in the Amazon S3 User Guide.
*When making a select request, you can also do the following:
*You can issue more than one select request on the same Amazon S3 object. Amazon S3 doesn't - * deduplicate requests, so avoid issuing duplicate requests.
+ * duplicate requests, so avoid issuing duplicate requests. *Amazon S3 accepts a select request even if the object has already been restored. A @@ -156,65 +140,69 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad *
* Restoring objects *
- *Objects that you archive to the S3 Glacier or + *
Objects that you archive to the S3 Glacier Flexible Retrieval or * S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or - * S3 Intelligent-Tiering Deep Archive tiers are not accessible in real time. For objects in - * Archive Access or Deep Archive Access tiers you must first initiate a restore request, and - * then wait until the object is moved into the Frequent Access tier. For objects in - * S3 Glacier or S3 Glacier Deep Archive storage classes you must - * first initiate a restore request, and then wait until a temporary copy of the object is - * available. To access an archived object, you must restore the object for the duration - * (number of days) that you specify.
+ * S3 Intelligent-Tiering Deep Archive tiers, are not accessible in real time. For objects in the + * S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage + * classes, you must first initiate a restore request, and then wait until a temporary copy of + * the object is available. If you want a permanent copy of the object, create a copy of it in + * the Amazon S3 Standard storage class in your S3 bucket. To access an archived object, you must + * restore the object for the duration (number of days) that you specify. For objects in the + * Archive Access or Deep Archive Access tiers of S3 Intelligent-Tiering, you must first + * initiate a restore request, and then wait until the object is moved into the Frequent + * Access tier. *To restore a specific object version, you can provide a version ID. If you don't provide * a version ID, Amazon S3 restores the current version.
- *When restoring an archived object (or using a select request), you can specify one of
- * the following data access tier options in the Tier
element of the request
- * body:
When restoring an archived object, you can specify one of the following data access tier
+ * options in the Tier
element of the request body:
* Expedited
- Expedited retrievals allow you to quickly access your
- * data stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive
- * tier when occasional urgent requests for a subset of archives are required. For all
- * but the largest archived objects (250 MB+), data accessed using Expedited retrievals
- * is typically made available within 1–5 minutes. Provisioned capacity ensures that
- * retrieval capacity for Expedited retrievals is available when you need it. Expedited
- * retrievals and provisioned capacity are not available for objects stored in the
- * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
* Standard
- Standard retrievals allow you to access any of your
* archived objects within several hours. This is the default option for retrieval
* requests that do not specify the retrieval option. Standard retrievals typically
- * finish within 3–5 hours for objects stored in the S3 Glacier storage
- * class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
- * objects stored in the S3 Glacier Deep Archive storage class or
+ * finish within 3–5 hours for objects stored in the S3 Glacier Flexible
+ * Retrieval storage class or S3 Intelligent-Tiering Archive tier. They typically finish within
+ * 12 hours for objects stored in the S3 Glacier Deep Archive storage class or
* S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in
* S3 Intelligent-Tiering.
- * Bulk
- Bulk retrievals are the lowest-cost retrieval option in
- * S3 Glacier, enabling you to retrieve large amounts, even petabytes, of data
- * inexpensively. Bulk retrievals typically finish within 5–12 hours for objects stored
- * in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They
- * typically finish within 48 hours for objects stored in the
- * S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Bulk
- * retrievals are free for objects stored in S3 Intelligent-Tiering.
Bulk
- Bulk retrievals free for objects stored in the S3 Glacier
+ * Flexible Retrieval and S3 Intelligent-Tiering storage classes, enabling you to
+ * retrieve large amounts, even petabytes, of data at no cost. Bulk retrievals typically
+ * finish within 5–12 hours for objects stored in the S3 Glacier
+ * Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier. Bulk retrievals are
+ * also the lowest-cost retrieval option when restoring objects from
+ * S3 Glacier Deep Archive. They typically finish within 48 hours for objects
+ * stored in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive
+ * tier.
* For more information about archive retrieval options and provisioned capacity for
- * Expedited
data access, see Restoring Archived Objects in the Amazon S3 User Guide.
Expedited
data access, see Restoring Archived Objects in
+ * the Amazon S3 User Guide.
* You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed - * while it is in progress. For more information, see - * Upgrading the speed of an in-progress restore in the + * while it is in progress. For more information, see Upgrading the speed of an in-progress restore in the * Amazon S3 User Guide.
*To get the status of object restoration, you can send a HEAD
request.
* Operations return the x-amz-restore
header, which provides information about
* the restoration status, in the response. You can use Amazon S3 event notifications to notify you
- * when a restore is initiated or completed. For more information, see Configuring Amazon S3 Event Notifications in
- * the Amazon S3 User Guide.
After restoring an archived object, you can update the restoration period by reissuing * the request with a new period. Amazon S3 updates the restoration period relative to the current * time and charges only for the request-there are no data transfer charges. You cannot @@ -224,13 +212,13 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad * action, the object expiration overrides the life span that you specify in a restore * request. For example, if you restore an object copy for 10 days, but the object is * scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information - * about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management in - * Amazon S3 User Guide.
+ * about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management + * in Amazon S3 User Guide. ** Responses *
- *A successful action returns either the 200 OK
or 202
- * Accepted
status code.
A successful action returns either the 200 OK
or 202 Accepted
+ * status code.
If the object is not previously restored, then Amazon S3 returns 202
@@ -312,13 +300,6 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
* GetBucketNotificationConfiguration
*
- * SQL Reference for - * Amazon S3 Select and S3 Glacier Select in the - * Amazon S3 User Guide - *
- *This action is not supported by Amazon S3 on Outposts.
- *For more information about Amazon S3 Select, - * see Selecting Content from - * Objects and SELECT - * Command in the Amazon S3 User Guide.
- *For more information about using SQL with Amazon S3 Select, see SQL Reference for Amazon S3 Select - * and S3 Glacier Select in the Amazon S3 User Guide.
+ *For more information about Amazon S3 Select, see Selecting Content from + * Objects and SELECT + * Command in the Amazon S3 User Guide.
* ** Permissions *
*You must have s3:GetObject
permission for this operation. Amazon S3 Select does
- * not support anonymous access. For more information about permissions, see Specifying Permissions in a Policy
- * in the Amazon S3 User Guide.
* Object Data Formats @@ -92,14 +89,13 @@ export interface SelectObjectContentCommandOutput extends SelectObjectContentOut * Server-side encryption - Amazon S3 Select supports querying * objects that are protected with server-side encryption.
*For objects that are encrypted with customer-provided encryption keys (SSE-C), you - * must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side Encryption - * (Using Customer-Provided Encryption Keys) in the + * must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side + * Encryption (Using Customer-Provided Encryption Keys) in the * Amazon S3 User Guide.
- *For objects that are encrypted with Amazon S3 managed encryption keys (SSE-S3) and
- * Amazon Web Services KMS keys (SSE-KMS),
- * server-side encryption is handled transparently, so you don't need to specify
- * anything. For more information about server-side encryption, including SSE-S3 and
- * SSE-KMS, see Protecting Data Using
+ * For objects that are encrypted with Amazon S3 managed keys (SSE-S3) and Amazon Web Services KMS keys
+ * (SSE-KMS), server-side encryption is handled transparently, so you don't need to
+ * specify anything. For more information about server-side encryption, including SSE-S3
+ * and SSE-KMS, see Protecting Data Using
* Server-Side Encryption in the Amazon S3 User Guide.
GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot specify
* the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY
storage classes. For
- * more information, about storage classes see Storage Classes
- * in the Amazon S3 User Guide.
For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
+ *For information about maximum and minimum part sizes and other multipart upload + * specifications, see Multipart upload limits in the Amazon S3 User Guide.
*To ensure that data is not corrupted when traversing the network, specify the
* Content-MD5
header in the upload part request. Amazon S3 checks the part data
* against the provided MD5 value. If they do not match, Amazon S3 returns an error.
If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the
* x-amz-content-sha256
header as a checksum instead of
- * Content-MD5
. For more information see Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature Version
- * 4).
Content-MD5
. For more information see Authenticating
+ * Requests: Using the Authorization Header (Amazon Web Services Signature Version 4).
* * Note: After you initiate multipart upload and upload * one or more parts, you must either complete or abort multipart upload in order to stop @@ -82,23 +83,29 @@ export interface UploadPartCommandOutput extends UploadPartOutput, __MetadataBea *
For more information on multipart uploads, go to Multipart Upload Overview in the * Amazon S3 User Guide .
*For information on the permissions required to use the multipart upload API, go to - * Multipart Upload and - * Permissions in the Amazon S3 User Guide.
- *You can optionally request server-side encryption where Amazon S3 encrypts your data as it - * writes it to disks in its data centers and decrypts it for you when you access it. You have - * the option of providing your own encryption key, or you can use the Amazon Web Services managed encryption - * keys. If you choose to provide your own encryption key, the request headers you provide in - * the request must match the headers you used in the request to initiate the upload by using - * CreateMultipartUpload. For more information, go to Using Server-Side Encryption in - * the Amazon S3 User Guide.
+ * Multipart + * Upload and Permissions in the Amazon S3 User Guide. + *Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it + * writes it to disks in its data centers and decrypts it when you access it. You have three + * mutually exclusive options to protect data using server-side encryption in Amazon S3, depending + * on how you choose to manage the encryption keys. Specifically, the encryption key options + * are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys + * (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by + * default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption + * with other key options. The option you use depends on whether you want to use KMS keys + * (SSE-KMS) or provide your own encryption key (SSE-C). If you choose to provide your own + * encryption key, the request headers you provide in the request must match the headers you + * used in the request to initiate the upload by using CreateMultipartUpload. + * For more information, go to Using Server-Side + * Encryption in the Amazon S3 User Guide.
*Server-side encryption is supported by the S3 Multipart Upload actions. Unless you are - * using a customer-provided encryption key, you don't need to specify the encryption + * using a customer-provided encryption key (SSE-C), you don't need to specify the encryption * parameters in each UploadPart request. Instead, you only need to specify the server-side * encryption parameters in the initial Initiate Multipart request. For more information, see * CreateMultipartUpload.
- *If you requested server-side encryption using a customer-provided encryption key in your - * initiate multipart upload request, you must provide identical encryption information in - * each part upload using the following headers.
+ *If you requested server-side encryption using a customer-provided encryption key (SSE-C) + * in your initiate multipart upload request, you must provide identical encryption + * information in each part upload using the following headers.
*x-amz-server-side-encryption-customer-algorithm
diff --git a/clients/client-s3/src/commands/UploadPartCopyCommand.ts b/clients/client-s3/src/commands/UploadPartCopyCommand.ts index 2cfa53d15a068..88b682fdd3260 100644 --- a/clients/client-s3/src/commands/UploadPartCopyCommand.ts +++ b/clients/client-s3/src/commands/UploadPartCopyCommand.ts @@ -46,7 +46,8 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met * data source by adding the request headerx-amz-copy-source
in your request and
* a byte range by adding the request header x-amz-copy-source-range
in your
* request.
- * For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
+ *For information about maximum and minimum part sizes and other multipart upload + * specifications, see Multipart upload limits in the Amazon S3 User Guide.
*Instead of using an existing object as part data, you might use the UploadPart * action and provide data in your request.
@@ -58,13 +59,14 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met * following: *For conceptual information about multipart uploads, see Uploading Objects Using Multipart - * Upload in the Amazon S3 User Guide.
+ *For conceptual information about multipart uploads, see Uploading + * Objects Using Multipart Upload in the + * Amazon S3 User Guide.
*For information about permissions required to use the multipart upload API, see - * Multipart Upload and - * Permissions in the Amazon S3 User Guide.
+ * Multipart Upload and Permissions in the + * Amazon S3 User Guide. *For information about copying objects using a single atomic action vs. a multipart diff --git a/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts b/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts index 3019021f5e7fc..018a094f31267 100644 --- a/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts +++ b/clients/client-s3/src/commands/WriteGetObjectResponseCommand.ts @@ -44,29 +44,40 @@ export interface WriteGetObjectResponseCommandOutput extends __MetadataBearer {} /** * @public - *
Passes transformed
- * objects to a Passes transformed objects to a This operation supports metadata that can be returned by GetObject, in addition to
- * You can include any number of metadata headers. When including a metadata header, it should be
- * prefaced with Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to detect and redact
- * personally identifiable information (PII) and decompress S3 objects. These Lambda functions
- * are available in the Amazon Web Services Serverless Application Repository, and can be selected through the Amazon Web Services Management Console when you create your
- * Object Lambda access point. Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically detects personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket. Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically redacts personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket. Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is equipped to decompress objects stored in S3 in one of six compressed file formats including bzip2, gzip, snappy, zlib, zstandard and ZIP. For information on how to view and use these functions, see Using Amazon Web Services built Lambda functions in the Amazon S3 User Guide.GetObject
operation when using Object Lambda access points. For information about
- * Object Lambda access points, see Transforming objects with
+ * GetObject
operation when using Object Lambda access points. For
+ * information about Object Lambda access points, see Transforming objects with
* Object Lambda access points in the Amazon S3 User Guide.RequestRoute
, RequestToken
, StatusCode
,
- * ErrorCode
, and ErrorMessage
. The GetObject
- * response metadata is supported so that the WriteGetObjectResponse
caller,
- * typically an Lambda function, can provide the same metadata when it internally invokes
- * GetObject
. When WriteGetObjectResponse
is called by a
- * customer-owned Lambda function, the metadata returned to the end user
- * GetObject
call might differ from what Amazon S3 would normally return.x-amz-meta
. For example, x-amz-meta-my-custom-header: MyCustomValue
.
- * The primary use case for this is to forward GetObject
metadata.RequestRoute
, RequestToken
, StatusCode
,
+ * ErrorCode
, and ErrorMessage
. The GetObject
+ * response metadata is supported so that the WriteGetObjectResponse
caller,
+ * typically an Lambda function, can provide the same metadata when it internally invokes
+ * GetObject
. When WriteGetObjectResponse
is called by a
+ * customer-owned Lambda function, the metadata returned to the end user
+ * GetObject
call might differ from what Amazon S3 would normally return.
You can include any number of metadata headers. When including a metadata header, it
+ * should be prefaced with x-amz-meta
. For example,
+ * x-amz-meta-my-custom-header: MyCustomValue
. The primary use case for this
+ * is to forward GetObject
metadata.
Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to + * detect and redact personally identifiable information (PII) and decompress S3 objects. + * These Lambda functions are available in the Amazon Web Services Serverless Application Repository, and + * can be selected through the Amazon Web Services Management Console when you create your Object Lambda access point.
+ *Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a + * natural language processing (NLP) service using machine learning to find insights and + * relationships in text. It automatically detects personally identifiable information (PII) + * such as names, addresses, dates, credit card numbers, and social security numbers from + * documents in your Amazon S3 bucket.
+ *Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural + * language processing (NLP) service using machine learning to find insights and relationships + * in text. It automatically redacts personally identifiable information (PII) such as names, + * addresses, dates, credit card numbers, and social security numbers from documents in your + * Amazon S3 bucket.
+ *Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is + * equipped to decompress objects stored in S3 in one of six compressed file formats including + * bzip2, gzip, snappy, zlib, zstandard and ZIP.
+ *For information on how to view and use these functions, see Using Amazon Web Services built Lambda + * functions in the Amazon S3 User Guide.
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-s3/src/endpoint/ruleset.ts b/clients/client-s3/src/endpoint/ruleset.ts index 922c4173bcfe5..12fb91b654199 100644 --- a/clients/client-s3/src/endpoint/ruleset.ts +++ b/clients/client-s3/src/endpoint/ruleset.ts @@ -17,9 +17,9 @@ cc="assign", cd="url", ce="properties", cf="authSchemes", -cg="signingRegion", +cg="disableDoubleEncoding", ch="signingName", -ci="disableDoubleEncoding", +ci="signingRegion", cj="headers"; const a=false, b=true, @@ -68,16 +68,16 @@ R={[bY]:[{[bZ]:m,[ca]:[{[bZ]:d,[ca]:[{[cb]:"Endpoint"}]}]}],[n]:"Expected a endp S={[bZ]:m,[ca]:[{[bZ]:d,[ca]:[{[cb]:"Endpoint"}]}]}, T={[bZ]:d,[ca]:[{[cb]:"Endpoint"}]}, U={[bZ]:o,[ca]:[{[cb]:"Endpoint"}],[cc]:"url"}, -V={[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:p,[ci]:true}]}, +V={[cf]:[{[cg]:true,[w]:"sigv4",[ch]:p,[ci]:"{Region}"}]}, W={}, X={[cb]:"ForcePathStyle"}, -Y={[bY]:[{[bZ]:"uriEncode",[ca]:[P],[cc]:"uri_encoded_bucket"}],[bW]:c,[bX]:[{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},T],[n]:"Cannot set dual-stack in combination with a custom endpoint.",[bW]:n},{[bW]:c,[bX]:[{[bY]:[{[bZ]:j,[ca]:[{[cb]:"Region"}],[cc]:"partitionResult"}],[bW]:c,[bX]:[{[bW]:c,[bX]:[{[bY]:[{[bZ]:r,[ca]:[{[cb]:"Accelerate"},false]}],[bW]:c,[bX]:[{[bW]:c,[bX]:[{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[bY]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"us-east-1"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[bY]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"us-east-1"]}],[q]:{[cd]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q},{[q]:{[cd]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}]}]},{[n]:"Path-style addressing cannot be used with S3 Accelerate",[bW]:n}]}]},{[n]:"A valid partition could not be determined",[bW]:n}]}]}, +Y={[bY]:[{[bZ]:"uriEncode",[ca]:[P],[cc]:"uri_encoded_bucket"}],[bW]:c,[bX]:[{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},T],[n]:"Cannot set dual-stack in combination with a custom endpoint.",[bW]:n},{[bW]:c,[bX]:[{[bY]:[{[bZ]:j,[ca]:[{[cb]:"Region"}],[cc]:"partitionResult"}],[bW]:c,[bX]:[{[bW]:c,[bX]:[{[bY]:[{[bZ]:r,[ca]:[{[cb]:"Accelerate"},false]}],[bW]:c,[bX]:[{[bW]:c,[bX]:[{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[q]:{[cd]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[bY]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"us-east-1"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q},{[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},T,U,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}],[bW]:c,[bX]:[{[bY]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"us-east-1"]}],[q]:{[cd]:"https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q},{[q]:{[cd]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q}]},{[bY]:[{[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]},S,{[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]},{[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]},{[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}],[q]:{[cd]:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]},[cj]:{}},[bW]:q}]}]},{[n]:"Path-style addressing cannot be used with S3 Accelerate",[bW]:n}]}]},{[n]:"A valid partition could not be determined",[bW]:n}]}]}, Z={[bZ]:r,[ca]:[{[cb]:"UseDualStack"},true]}, aa={[bZ]:r,[ca]:[{[cb]:"Accelerate"},false]}, ab={[bZ]:r,[ca]:[{[cb]:"UseFIPS"},true]}, ac={[bZ]:m,[ca]:[{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}]}, ad={[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},true]}, -ae={[cf]:[{[w]:"sigv4",[cg]:"{Region}",[ch]:t,[ci]:true}]}, +ae={[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"{Region}"}]}, af={[bZ]:r,[ca]:[{[cb]:"UseGlobalEndpoint"},false]}, ag={[bZ]:r,[ca]:[{[cb]:"UseDualStack"},false]}, ah={[bZ]:r,[ca]:[{[cb]:"UseFIPS"},false]}, @@ -85,25 +85,25 @@ ai={[n]:"A valid partition could not be determined",[bW]:n}, aj={[bY]:[ab,{[bZ]:k,[ca]:[{[bZ]:v,[ca]:[{[cb]:"partitionResult"},w]},"aws-cn"]}],[n]:"Partition does not support FIPS",[bW]:n}, ak={[bZ]:k,[ca]:[{[bZ]:v,[ca]:[{[cb]:"partitionResult"},w]},"aws-cn"]}, al={[bZ]:r,[ca]:[{[cb]:"Accelerate"},true]}, -am={[bY]:[Z,ab,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +am={[bY]:[Z,ab,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, an={[cd]:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[ce]:ae,[cj]:{}}, -ao={[bY]:[ag,ab,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +ao={[bY]:[ag,ab,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, ap={[cd]:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[ce]:ae,[cj]:{}}, -aq={[bY]:[Z,ah,al,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +aq={[bY]:[Z,ah,al,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, ar={[cd]:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[ce]:ae,[cj]:{}}, -as={[bY]:[Z,ah,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +as={[bY]:[Z,ah,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, at={[cd]:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[ce]:ae,[cj]:{}}, -au={[bY]:[ag,ah,aa,T,U,{[bZ]:r,[ca]:[{[bZ]:v,[ca]:[{[cb]:"url"},"isIp"]},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +au={[bY]:[ag,ah,aa,T,U,{[bZ]:r,[ca]:[{[bZ]:v,[ca]:[{[cb]:"url"},"isIp"]},true]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, av={[bZ]:r,[ca]:[{[bZ]:v,[ca]:[{[cb]:"url"},"isIp"]},true]}, aw={[cb]:"url"}, -ax={[bY]:[ag,ah,aa,T,U,{[bZ]:r,[ca]:[{[bZ]:v,[ca]:[aw,"isIp"]},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +ax={[bY]:[ag,ah,aa,T,U,{[bZ]:r,[ca]:[{[bZ]:v,[ca]:[aw,"isIp"]},false]},{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, ay={[bZ]:r,[ca]:[{[bZ]:v,[ca]:[aw,"isIp"]},false]}, az={[cd]:"{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",[ce]:ae,[cj]:{}}, aA={[cd]:"{url#scheme}://{Bucket}.{url#authority}{url#path}",[ce]:ae,[cj]:{}}, aB={[q]:aA,[bW]:q}, -aC={[bY]:[ag,ah,al,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +aC={[bY]:[ag,ah,al,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, aD={[cd]:"https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",[ce]:ae,[cj]:{}}, -aE={[bY]:[ag,ah,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:y,[ce]:{[cf]:[{[w]:"sigv4",[cg]:"us-east-1",[ch]:t,[ci]:true}]},[cj]:{}},[bW]:q}, +aE={[bY]:[ag,ah,aa,S,{[bZ]:k,[ca]:[{[cb]:"Region"},"aws-global"]}],[q]:{[cd]:y,[ce]:{[cf]:[{[cg]:true,[w]:"sigv4",[ch]:t,[ci]:"us-east-1"}]},[cj]:{}},[bW]:q}, aF={[cd]:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[ce]:ae,[cj]:{}}, aG={[n]:"Invalid region: region was not a valid DNS name.",[bW]:n}, aH={[cb]:z}, @@ -117,7 +117,7 @@ aO={[bY]:[{[bZ]:d,[ca]:[{[cb]:"UseArnRegion"}]},{[bZ]:r,[ca]:[{[cb]:"UseArnRegio aP={[bZ]:v,[ca]:[{[cb]:"bucketPartition"},w]}, aQ={[bZ]:v,[ca]:[aH,"accountId"]}, aR={[bY]:[ab,{[bZ]:k,[ca]:[aP,"aws-cn"]}],[n]:"Partition does not support FIPS",[bW]:n}, -aS={[cf]:[{[w]:"sigv4",[cg]:"{bucketArn#region}",[ch]:C,[ci]:true}]}, +aS={[cf]:[{[cg]:true,[w]:"sigv4",[ch]:C,[ci]:"{bucketArn#region}"}]}, aT={[n]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[bW]:n}, aU={[n]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[bW]:n}, aV={[n]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[bW]:n}, @@ -126,23 +126,23 @@ aX={[n]:"Could not load partition for ARN region `{bucketArn#region}`",[bW]:n}, aY={[n]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[bW]:n}, aZ={[n]:"Invalid ARN: bucket ARN is missing a region",[bW]:n}, ba={[n]:"Invalid ARN: Expected a resource of the format `accesspoint:The bucket name to which the upload was taking place.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -256,7 +256,34 @@ export interface Grant { */ export interface Owner { /** - *Container for the display name of the owner.
+ *Container for the display name of the owner. This value is only supported in the + * following Amazon Web Services Regions:
+ *US East (N. Virginia)
+ *US West (N. California)
+ *US West (Oregon)
+ *Asia Pacific (Singapore)
+ *Asia Pacific (Sydney)
+ *Asia Pacific (Tokyo)
+ *Europe (Ireland)
+ *South America (São Paulo)
+ *The name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.
+ *The name of the bucket that contains the newly created object. Does not return the access point + * ARN or access point alias if used.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
If you specified server-side encryption either with an Amazon S3-managed encryption key or an - * Amazon Web Services KMS key in your initiate multipart upload request, the response - * includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the - * object.
+ *The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
+ * AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric - * customer managed key that was used for the object.
+ * encryption customer managed key that was used for the object. */ SSEKMSKeyId?: string; /** - *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption + * with Amazon Web Services KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; @@ -482,8 +508,8 @@ export interface CompletedPart { export interface CompletedMultipartUpload { /** *Array of CompletedPart data types.
- *If you do not supply a valid Part
with your request, the service sends back an HTTP
- * 400 response.
If you do not supply a valid Part
with your request, the service sends back
+ * an HTTP 400 response.
Name of the bucket to which the multipart upload was initiated.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -593,7 +619,8 @@ export interface CompleteMultipartUploadRequest { */ export interface CopyObjectResult { /** - *Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
+ *Returns the ETag of the new object. The ETag reflects only changes to the contents of an + * object, not its metadata.
*/ ETag?: string; @@ -661,7 +688,7 @@ export interface CopyObjectOutput { /** *The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -680,7 +707,7 @@ export interface CopyObjectOutput {
/**
* If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric - * customer managed key that was used for the object.
+ * encryption customer managed key that was used for the object. */ SSEKMSKeyId?: string; @@ -692,7 +719,8 @@ export interface CopyObjectOutput { SSEKMSEncryptionContext?: string; /** - *Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the copied object uses an S3 Bucket Key for server-side encryption + * with Amazon Web Services KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; @@ -828,8 +856,8 @@ export interface CopyObjectRequest { /** *The name of the destination bucket.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -922,15 +950,13 @@ export interface CopyObjectRequest { Expires?: Date; /** - *Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the - * object.
+ *Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantFullControl?: string; /** - *Allows grantee to read the object data and its - * metadata.
+ *Allows grantee to read the object data and its metadata.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantRead?: string; @@ -942,8 +968,7 @@ export interface CopyObjectRequest { GrantReadACP?: string; /** - *Allows grantee to write the ACL for the applicable - * object.
+ *Allows grantee to write the ACL for the applicable object.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantWriteACP?: string; @@ -972,7 +997,7 @@ export interface CopyObjectRequest { /** *The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -981,14 +1006,16 @@ export interface CopyObjectRequest {
* STANDARD storage class provides high durability and high availability. Depending on
* performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses
* the OUTPOSTS Storage Class. For more information, see Storage Classes in the
- * Amazon S3 User Guide.
+ * Amazon S3 User Guide.
*/
StorageClass?: StorageClass | string;
/**
* If the bucket is configured as a website, redirects requests for this object to another * object in the same bucket or to an external URL. Amazon S3 stores the value of this header in - * the object metadata.
+ * the object metadata. This value is unique to each object and is not copied when using the + *x-amz-metadata-directive
header. Instead, you may opt to provide this
+ * header in combination with the directive.
*/
WebsiteRedirectLocation?: string;
@@ -1014,24 +1041,28 @@ export interface CopyObjectRequest {
SSECustomerKeyMD5?: string;
/**
- * Specifies the Amazon Web Services KMS key ID to use for object encryption. All GET and PUT requests for - * an object protected by Amazon Web Services KMS will fail if not made via SSL or using SigV4. For - * information about configuring using any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, - * see Specifying the - * Signature Version in Request Authentication in the Amazon S3 User Guide.
+ *Specifies the Amazon Web Services KMS key ID to use for object encryption. All GET and PUT requests + * for an object protected by Amazon Web Services KMS will fail if not made via SSL or using SigV4. For + * information about configuring using any of the officially supported Amazon Web Services SDKs and Amazon Web Services + * CLI, see Specifying the + * Signature Version in Request Authentication in the + * Amazon S3 User Guide.
*/ SSEKMSKeyId?: string; /** - *Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this - * header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value - * pairs.
+ *Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of + * this header is a base64-encoded UTF-8 string holding JSON with the encryption context + * key-value pairs.
*/ SSEKMSEncryptionContext?: string; /** - *Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 Bucket Key.
+ *Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with
+ * server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
+ * causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 + * Bucket Key.
*/ BucketKeyEnabled?: boolean; @@ -1289,7 +1320,8 @@ export interface CreateBucketRequest { /** *Allows grantee to create new objects in the bucket.
- *For the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.
+ *For the bucket and object owners of existing objects, also allows deletions and + * overwrites of those objects.
*/ GrantWrite?: string; @@ -1310,11 +1342,11 @@ export interface CreateBucketRequest { * ACL. *ObjectWriter - The uploading account will own the object if the object is uploaded with
* the bucket-owner-full-control
canned ACL.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect permissions.
- * The bucket owner automatically owns and has full control over every object in the bucket. The bucket only
- * accepts PUT requests that don't specify an ACL or bucket owner full control
- * ACLs, such as the bucket-owner-full-control
canned
- * ACL or an equivalent form of this ACL expressed in the XML format.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect
+ * permissions. The bucket owner automatically owns and has full control over every object in
+ * the bucket. The bucket only accepts PUT requests that don't specify an ACL or bucket owner
+ * full control ACLs, such as the bucket-owner-full-control
canned ACL or an
+ * equivalent form of this ACL expressed in the XML format.
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
+ *The name of the bucket to which the multipart upload was initiated. Does not return the + * access point ARN or access point alias if used.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -1380,7 +1413,7 @@ export interface CreateMultipartUploadOutput {
/**
* If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric - * customer managed key that was used for the object.
+ * encryption customer managed key that was used for the object. */ SSEKMSKeyId?: string; @@ -1392,7 +1425,8 @@ export interface CreateMultipartUploadOutput { SSEKMSEncryptionContext?: string; /** - *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption + * with Amazon Web Services KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; @@ -1421,8 +1455,8 @@ export interface CreateMultipartUploadRequest { /** *The name of the bucket to which to initiate the upload
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -1461,15 +1495,13 @@ export interface CreateMultipartUploadRequest { Expires?: Date; /** - *Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the - * object.
+ *Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantFullControl?: string; /** - *Allows grantee to read the object data and its - * metadata.
+ *Allows grantee to read the object data and its metadata.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantRead?: string; @@ -1481,8 +1513,7 @@ export interface CreateMultipartUploadRequest { GrantReadACP?: string; /** - *Allows grantee to write the ACL for the applicable - * object.
+ *Allows grantee to write the ACL for the applicable object.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantWriteACP?: string; @@ -1499,7 +1530,7 @@ export interface CreateMultipartUploadRequest { /** *The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -1508,7 +1539,7 @@ export interface CreateMultipartUploadRequest {
* STANDARD storage class provides high durability and high availability. Depending on
* performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses
* the OUTPOSTS Storage Class. For more information, see Storage Classes in the
- * Amazon S3 User Guide.
+ * Amazon S3 User Guide.
*/
StorageClass?: StorageClass | string;
@@ -1541,24 +1572,27 @@ export interface CreateMultipartUploadRequest {
SSECustomerKeyMD5?: string;
/**
- * Specifies the ID of the symmetric customer managed key to use for object - * encryption. All GET and PUT requests for an object protected by Amazon Web Services KMS will fail if not - * made via SSL or using SigV4. For information about configuring using any of the officially - * supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication + *
Specifies the ID of the symmetric encryption customer managed key to use for object encryption. + * All GET and PUT requests for an object protected by Amazon Web Services KMS will fail if not made via SSL + * or using SigV4. For information about configuring using any of the officially supported + * Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication * in the Amazon S3 User Guide.
*/ SSEKMSKeyId?: string; /** - *Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this - * header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value - * pairs.
+ *Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of + * this header is a base64-encoded UTF-8 string holding JSON with the encryption context + * key-value pairs.
*/ SSEKMSEncryptionContext?: string; /** - *Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.
+ *Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with
+ * server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
+ * causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3 + * Bucket Key.
*/ BucketKeyEnabled?: boolean; @@ -1743,7 +1777,8 @@ export interface DeleteBucketMetricsConfigurationRequest { Bucket: string | undefined; /** - *The ID used to identify the metrics configuration.
+ *The ID used to identify the metrics configuration. The ID has a 64 character limit and + * can only contain letters, numbers, periods, dashes, and underscores.
*/ Id: string | undefined; @@ -1868,8 +1903,8 @@ export interface DeleteObjectRequest { /** *The bucket name of the bucket containing the object.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -1902,8 +1937,8 @@ export interface DeleteObjectRequest { /** *Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process
- * this operation. To use this header, you must have the s3:BypassGovernanceRetention
- * permission.
s3:BypassGovernanceRetention
permission.
*/
BypassGovernanceRetention?: boolean;
@@ -2523,8 +2558,8 @@ export interface _Error {
* * Description: The specified location constraint is not - * valid. For more information about Regions, see How to Select a - * Region for Your Buckets.
+ * valid. For more information about Regions, see How to Select + * a Region for Your Buckets. *@@ -2672,7 +2707,8 @@ export interface _Error { *
- * Description: Please use AWS4-HMAC-SHA256
.
AWS4-HMAC-SHA256
.
* @@ -3641,9 +3677,9 @@ export interface _Error { *
* Description: The request signature we calculated does * not match the signature you provided. Check your Amazon Web Services secret access key and - * signing method. For more information, see REST Authentication and - * SOAP Authentication - * for details.
+ * signing method. For more information, see REST + * Authentication and SOAP + * Authentication for details. *@@ -3663,7 +3699,8 @@ export interface _Error { *
- * Description: Reduce your request rate.
+ * Description: Service is unable to handle + * request. *@@ -3904,8 +3941,8 @@ export interface DeleteObjectsRequest { /** *
The bucket name containing the objects to delete.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -3933,8 +3970,8 @@ export interface DeleteObjectsRequest { /** *Specifies whether you want to delete this object even if it has a Governance-type Object
- * Lock in place. To use this header, you must have the s3:BypassGovernanceRetention
- * permission.
s3:BypassGovernanceRetention
permission.
*/
BypassGovernanceRetention?: boolean;
@@ -3951,8 +3988,8 @@ export interface DeleteObjectsRequest {
* the Amazon S3 User Guide.
* If you provide an individual checksum, Amazon S3 ignores any provided
* ChecksumAlgorithm
parameter.
This checksum algorithm must be the same for all parts and it match the checksum
- * value supplied in the CreateMultipartUpload
request.
This checksum algorithm must be the same for all parts and it match the checksum value
+ * supplied in the CreateMultipartUpload
request.
The bucket name containing the objects from which to remove the tags.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -4281,7 +4318,8 @@ export interface StorageClassAnalysis { /** * @public - *Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
+ *Specifies the configuration and any analyses for the analytics filter of an Amazon S3 + * bucket.
*/ export interface AnalyticsConfiguration { /** @@ -4410,8 +4448,9 @@ export interface GetBucketCorsRequest { *Describes the default server-side encryption to apply to new objects in the bucket. If a * PUT Object request doesn't specify any server-side encryption, this default encryption will * be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates - * an Amazon Web Services KMS key in your Amazon Web Services account the first time that you add an object encrypted with - * SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more information, see PUT Bucket encryption in + * an Amazon Web Services KMS key in your Amazon Web Services account the first time that you add an object encrypted + * with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more + * information, see PUT Bucket encryption in * the Amazon S3 API Reference.
*/ export interface ServerSideEncryptionByDefault { @@ -4422,11 +4461,11 @@ export interface ServerSideEncryptionByDefault { /** *Amazon Web Services Key Management Service (KMS) customer Amazon Web Services KMS key ID to use for the default
- * encryption. This parameter is allowed if and only if SSEAlgorithm
is set to
- * aws:kms
.
SSEAlgorithm
is set to
+ * aws:kms
.
* You can specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if - * you are using encryption with cross-account or Amazon Web Services service operations you must use a fully qualified KMS - * key ARN. For more information, see Using encryption for cross-account operations.
+ * you are using encryption with cross-account or Amazon Web Services service operations you must use a + * fully qualified KMS key ARN. For more information, see Using encryption for cross-account operations. ** For example: *
@@ -4442,9 +4481,9 @@ export interface ServerSideEncryptionByDefault { *Amazon S3 only supports symmetric KMS keys and not asymmetric KMS keys. For more information, see - * Using symmetric and - * asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
+ *Amazon S3 only supports symmetric encryption KMS keys. For + * more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer + * Guide.
*Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled
element to true
causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
+ *Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS
+ * (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the
+ * BucketKeyEnabled
element to true
causes Amazon S3 to use an S3
+ * Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the + * Amazon S3 User Guide.
*/ BucketKeyEnabled?: boolean; } @@ -4603,9 +4646,9 @@ export interface Tiering { Days: number | undefined; /** - *S3 Intelligent-Tiering access tier. See Storage class for - * automatically optimizing frequently and infrequently accessed objects for a list - * of access tiers in the S3 Intelligent-Tiering storage class.
+ *S3 Intelligent-Tiering access tier. See Storage class + * for automatically optimizing frequently and infrequently accessed objects for a + * list of access tiers in the S3 Intelligent-Tiering storage class.
*/ AccessTier: IntelligentTieringAccessTier | string | undefined; } @@ -4613,8 +4656,9 @@ export interface Tiering { /** * @public *Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.
- *For information about the S3 Intelligent-Tiering storage class, see Storage class for - * automatically optimizing frequently and infrequently accessed objects.
+ *For information about the S3 Intelligent-Tiering storage class, see Storage class + * for automatically optimizing frequently and infrequently accessed + * objects.
*/ export interface IntelligentTieringConfiguration { /** @@ -4672,8 +4716,8 @@ export interface GetBucketIntelligentTieringConfigurationRequest { */ export interface SSEKMS { /** - *Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key - * to use for encrypting inventory reports.
+ *Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric encryption + * customer managed key to use for encrypting inventory reports.
*/ KeyId: string | undefined; } @@ -4847,8 +4891,7 @@ export interface InventorySchedule { /** * @public *Specifies the inventory configuration for an Amazon S3 bucket. For more information, see - * GET Bucket inventory in the Amazon S3 API Reference. - *
+ * GET Bucket inventory in the Amazon S3 API Reference. */ export interface InventoryConfiguration { /** @@ -4929,6 +4972,8 @@ export interface GetBucketInventoryConfigurationRequest { /** * @public *Container for the expiration for the lifecycle of the object.
+ *For more information see, Managing your storage + * lifecycle in the Amazon S3 User Guide.
*/ export interface LifecycleExpiration { /** @@ -5103,16 +5148,18 @@ export namespace LifecycleRuleFilter { export interface NoncurrentVersionExpiration { /** *Specifies the number of days an object is noncurrent before Amazon S3 can perform the - * associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see How - * Amazon S3 Calculates When an Object Became Noncurrent in the Amazon S3 User Guide.
+ * associated action. The value must be a non-zero positive integer. For information about the + * noncurrent days calculations, see How + * Amazon S3 Calculates When an Object Became Noncurrent in the + * Amazon S3 User Guide. */ NoncurrentDays?: number; /** - *Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent - * noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent - * versions, see Lifecycle configuration elements - * in the Amazon S3 User Guide.
+ *Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more + * recent noncurrent versions, Amazon S3 will take the associated action. For more information + * about noncurrent versions, see Lifecycle configuration + * elements in the Amazon S3 User Guide.
*/ NewerNoncurrentVersions?: number; } @@ -5139,12 +5186,12 @@ export type TransitionStorageClass = (typeof TransitionStorageClass)[keyof typeo * @public *Container for the transition rule that describes when noncurrent objects transition to
* the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,
- * GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage class. If your bucket is
- * versioning-enabled (or versioning is suspended), you can set this action to request that
- * Amazon S3 transition noncurrent object versions to the STANDARD_IA
,
- * ONEZONE_IA
, INTELLIGENT_TIERING
, GLACIER_IR
, GLACIER
, or
- * DEEP_ARCHIVE
storage class at a specific period in the object's
- * lifetime.
GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage
+ * class. If your bucket is versioning-enabled (or versioning is suspended), you can set this
+ * action to request that Amazon S3 transition noncurrent object versions to the
+ * STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,
+ * GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage
+ * class at a specific period in the object's lifetime.
*/
export interface NoncurrentVersionTransition {
/**
@@ -5161,10 +5208,10 @@ export interface NoncurrentVersionTransition {
StorageClass?: TransitionStorageClass | string;
/**
- * Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent - * noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent - * versions, see Lifecycle configuration elements - * in the Amazon S3 User Guide.
+ *Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more + * recent noncurrent versions, Amazon S3 will take the associated action. For more information + * about noncurrent versions, see Lifecycle configuration + * elements in the Amazon S3 User Guide.
*/ NewerNoncurrentVersions?: number; } @@ -5211,6 +5258,8 @@ export interface Transition { /** * @public *A lifecycle rule for individual objects in an Amazon S3 bucket.
+ *For more information see, Managing your storage + * lifecycle in the Amazon S3 User Guide.
*/ export interface LifecycleRule { /** @@ -5315,9 +5364,8 @@ export interface GetBucketLifecycleConfigurationRequest { export interface GetBucketLocationOutput { /** *Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported
- * location constraints by Region, see Regions and Endpoints.
- * Buckets in Region us-east-1
have a LocationConstraint of
- * null
.
us-east-1
have a LocationConstraint of null
.
*/
LocationConstraint?: BucketLocationConstraint | string;
}
@@ -5357,9 +5405,9 @@ export type BucketLogsPermission = (typeof BucketLogsPermission)[keyof typeof Bu
/**
* @public
* Container for granting information.
- *Buckets that use the bucket owner enforced setting for Object - * Ownership don't support target grants. For more information, see Permissions server access log delivery in the - * Amazon S3 User Guide.
+ *Buckets that use the bucket owner enforced setting for Object Ownership don't support + * target grants. For more information, see Permissions server access log delivery in the + * Amazon S3 User Guide.
*/ export interface TargetGrant { /** @@ -5391,8 +5439,8 @@ export interface LoggingEnabled { /** *Container for granting information.
- *Buckets that use the bucket owner enforced setting for Object - * Ownership don't support target grants. For more information, see Permissions for server access log delivery in the + *
Buckets that use the bucket owner enforced setting for Object Ownership don't support + * target grants. For more information, see Permissions for server access log delivery in the * Amazon S3 User Guide.
*/ TargetGrants?: TargetGrant[]; @@ -5460,8 +5508,8 @@ export interface MetricsAndOperator { /** * @public *Specifies a metrics configuration filter. The metrics configuration only includes - * objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction - * (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.
+ * objects that meet the filter's criteria. A filter must be a prefix, an object tag, an + * access point ARN, or a conjunction (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration. */ export type MetricsFilter = | MetricsFilter.AccessPointArnMember @@ -5555,14 +5603,15 @@ export namespace MetricsFilter { */ export interface MetricsConfiguration { /** - *The ID used to identify the metrics configuration.
+ *The ID used to identify the metrics configuration. The ID has a 64 character limit and + * can only contain letters, numbers, periods, dashes, and underscores.
*/ Id: string | undefined; /** *Specifies a metrics configuration filter. The metrics configuration will only include - * objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction - * (MetricsAndOperator).
+ * objects that meet the filter's criteria. A filter must be a prefix, an object tag, an + * access point ARN, or a conjunction (MetricsAndOperator). */ Filter?: MetricsFilter; } @@ -5589,7 +5638,8 @@ export interface GetBucketMetricsConfigurationRequest { Bucket: string | undefined; /** - *The ID used to identify the metrics configuration.
+ *The ID used to identify the metrics configuration. The ID has a 64 character limit and + * can only contain letters, numbers, periods, dashes, and underscores.
*/ Id: string | undefined; @@ -5622,37 +5672,44 @@ export interface GetBucketNotificationConfigurationRequest { */ export interface EventBridgeConfiguration {} +/** + * @public + * @enum + */ +export const Event = { + s3_IntelligentTiering: "s3:IntelligentTiering", + s3_LifecycleExpiration_: "s3:LifecycleExpiration:*", + s3_LifecycleExpiration_Delete: "s3:LifecycleExpiration:Delete", + s3_LifecycleExpiration_DeleteMarkerCreated: "s3:LifecycleExpiration:DeleteMarkerCreated", + s3_LifecycleTransition: "s3:LifecycleTransition", + s3_ObjectAcl_Put: "s3:ObjectAcl:Put", + s3_ObjectCreated_: "s3:ObjectCreated:*", + s3_ObjectCreated_CompleteMultipartUpload: "s3:ObjectCreated:CompleteMultipartUpload", + s3_ObjectCreated_Copy: "s3:ObjectCreated:Copy", + s3_ObjectCreated_Post: "s3:ObjectCreated:Post", + s3_ObjectCreated_Put: "s3:ObjectCreated:Put", + s3_ObjectRemoved_: "s3:ObjectRemoved:*", + s3_ObjectRemoved_Delete: "s3:ObjectRemoved:Delete", + s3_ObjectRemoved_DeleteMarkerCreated: "s3:ObjectRemoved:DeleteMarkerCreated", + s3_ObjectRestore_: "s3:ObjectRestore:*", + s3_ObjectRestore_Completed: "s3:ObjectRestore:Completed", + s3_ObjectRestore_Delete: "s3:ObjectRestore:Delete", + s3_ObjectRestore_Post: "s3:ObjectRestore:Post", + s3_ObjectTagging_: "s3:ObjectTagging:*", + s3_ObjectTagging_Delete: "s3:ObjectTagging:Delete", + s3_ObjectTagging_Put: "s3:ObjectTagging:Put", + s3_ReducedRedundancyLostObject: "s3:ReducedRedundancyLostObject", + s3_Replication_: "s3:Replication:*", + s3_Replication_OperationFailedReplication: "s3:Replication:OperationFailedReplication", + s3_Replication_OperationMissedThreshold: "s3:Replication:OperationMissedThreshold", + s3_Replication_OperationNotTracked: "s3:Replication:OperationNotTracked", + s3_Replication_OperationReplicatedAfterThreshold: "s3:Replication:OperationReplicatedAfterThreshold", +} as const; + /** * @public */ -export type Event = - | "s3:IntelligentTiering" - | "s3:LifecycleExpiration:*" - | "s3:LifecycleExpiration:Delete" - | "s3:LifecycleExpiration:DeleteMarkerCreated" - | "s3:LifecycleTransition" - | "s3:ObjectAcl:Put" - | "s3:ObjectCreated:*" - | "s3:ObjectCreated:CompleteMultipartUpload" - | "s3:ObjectCreated:Copy" - | "s3:ObjectCreated:Post" - | "s3:ObjectCreated:Put" - | "s3:ObjectRemoved:*" - | "s3:ObjectRemoved:Delete" - | "s3:ObjectRemoved:DeleteMarkerCreated" - | "s3:ObjectRestore:*" - | "s3:ObjectRestore:Completed" - | "s3:ObjectRestore:Delete" - | "s3:ObjectRestore:Post" - | "s3:ObjectTagging:*" - | "s3:ObjectTagging:Delete" - | "s3:ObjectTagging:Put" - | "s3:ReducedRedundancyLostObject" - | "s3:Replication:*" - | "s3:Replication:OperationFailedReplication" - | "s3:Replication:OperationMissedThreshold" - | "s3:Replication:OperationNotTracked" - | "s3:Replication:OperationReplicatedAfterThreshold"; +export type Event = (typeof Event)[keyof typeof Event]; /** * @public @@ -5851,11 +5908,11 @@ export interface OwnershipControlsRule { * ACL. *ObjectWriter - The uploading account will own the object if the object is uploaded with
* the bucket-owner-full-control
canned ACL.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect permissions.
- * The bucket owner automatically owns and has full control over every object in the bucket. The bucket only
- * accepts PUT requests that don't specify an ACL or bucket owner full control
- * ACLs, such as the bucket-owner-full-control
canned
- * ACL or an equivalent form of this ACL expressed in the XML format.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect
+ * permissions. The bucket owner automatically owns and has full control over every object in
+ * the bucket. The bucket only accepts PUT requests that don't specify an ACL or bucket owner
+ * full control ACLs, such as the bucket-owner-full-control
canned ACL or an
+ * equivalent form of this ACL expressed in the XML format.
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) currently in
- * effect for this Amazon S3 bucket.
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or
+ * ObjectWriter) currently in effect for this Amazon S3 bucket.
Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key - * stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses - * this key to encrypt replica objects. Amazon S3 only supports symmetric, customer managed KMS keys. - * For more information, see Using symmetric and - * asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
+ *Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in + * Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to + * encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more + * information, see Asymmetric keys in Amazon Web Services + * KMS in the Amazon Web Services Key Management Service Developer + * Guide.
*/ ReplicaKmsKeyID?: string; } @@ -6107,16 +6165,18 @@ export interface ReplicationTime { */ export interface Destination { /** - *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
+ *The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the + * results.
*/ Bucket: string | undefined; /** *Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to
- * change replica ownership to the Amazon Web Services account that owns the destination bucket by specifying
- * the AccessControlTranslation
property, this is the account ID of the
- * destination bucket owner. For more information, see Replication Additional
- * Configuration: Changing the Replica Owner in the Amazon S3 User Guide.
AccessControlTranslation
property, this is the account ID of
+ * the destination bucket owner. For more information, see Replication Additional
+ * Configuration: Changing the Replica Owner in the
+ * Amazon S3 User Guide.
*/
Account?: string;
@@ -6131,9 +6191,10 @@ export interface Destination {
/**
* Specify this only in a cross-account scenario (where source and destination bucket - * owners are not the same), and you want to change replica ownership to the Amazon Web Services account that - * owns the destination bucket. If this is not specified in the replication configuration, the - * replicas are owned by same Amazon Web Services account that owns the source object.
+ * owners are not the same), and you want to change replica ownership to the Amazon Web Services account + * that owns the destination bucket. If this is not specified in the replication + * configuration, the replicas are owned by same Amazon Web Services account that owns the source + * object. */ AccessControlTranslation?: AccessControlTranslation; @@ -6180,7 +6241,7 @@ export type ExistingObjectReplicationStatus = */ export interface ExistingObjectReplication { /** - * + *Specifies whether Amazon S3 replicates existing source bucket objects.
*/ Status: ExistingObjectReplicationStatus | string | undefined; } @@ -6367,14 +6428,14 @@ export interface SseKmsEncryptedObjects { *A container that describes additional filters for identifying the source objects that * you want to replicate. You can choose to enable or disable the replication of these * objects. Currently, Amazon S3 supports only the filter that you can specify for objects created - * with server-side encryption using a customer managed key stored in Amazon Web Services Key Management - * Service (SSE-KMS).
+ * with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service + * (SSE-KMS). */ export interface SourceSelectionCriteria { /** - * A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services
- * KMS. If you include SourceSelectionCriteria
in the replication configuration,
- * this element is required.
A container for filter information for the selection of Amazon S3 objects encrypted with
+ * Amazon Web Services KMS. If you include SourceSelectionCriteria
in the replication
+ * configuration, this element is required.
A container that describes additional filters for identifying the source objects that * you want to replicate. You can choose to enable or disable the replication of these * objects. Currently, Amazon S3 supports only the filter that you can specify for objects created - * with server-side encryption using a customer managed key stored in Amazon Web Services Key Management - * Service (SSE-KMS).
+ * with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service + * (SSE-KMS). */ SourceSelectionCriteria?: SourceSelectionCriteria; /** - * + *Optional configuration to replicate existing source bucket objects. For more + * information, see Replicating Existing Objects in the Amazon S3 User Guide. + *
*/ ExistingObjectReplication?: ExistingObjectReplication; @@ -6497,9 +6560,9 @@ export interface ReplicationRule { */ export interface ReplicationConfiguration { /** - *The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that - * Amazon S3 assumes when replicating objects. For more information, see How to Set Up - * Replication in the Amazon S3 User Guide.
+ *The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when + * replicating objects. For more information, see How to Set Up Replication + * in the Amazon S3 User Guide.
*/ Role: string | undefined; @@ -6933,8 +6996,8 @@ export interface GetObjectOutput { Expiration?: string; /** - *Provides information about object restoration action and expiration time of the - * restored object copy.
+ *Provides information about object restoration action and expiration time of the restored + * object copy.
*/ Restore?: string; @@ -7045,7 +7108,7 @@ export interface GetObjectOutput { /** *The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -7069,12 +7132,13 @@ export interface GetObjectOutput {
/**
* If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric - * customer managed key that was used for the object.
+ * encryption customer managed key that was used for the object. */ SSEKMSKeyId?: string; /** - *Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services + * KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; @@ -7097,8 +7161,9 @@ export interface GetObjectOutput { ReplicationStatus?: ReplicationStatus | string; /** - *The count of parts this object has. This value is only returned if you specify partNumber
- * in your request and the object was uploaded as a multipart upload.
The count of parts this object has. This value is only returned if you specify
+ * partNumber
in your request and the object was uploaded as a multipart
+ * upload.
The bucket name containing the object.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
*When using an Object Lambda access point the hostname takes the form AccessPointName-AccountId.s3-object-lambda.Region.amazonaws.com.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -7183,7 +7248,7 @@ export interface GetObjectRequest { /** *Downloads the specified range bytes of an object. For more information about the HTTP - * Range header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.
+ * Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range. *Amazon S3 doesn't support retrieving multiple ranges of data per GET
* request.
Indicates whether the returned list of parts is truncated. A value of
- * true
indicates that the list was truncated. A list can be truncated if the
- * number of parts exceeds the limit returned in the MaxParts
element.
Indicates whether the returned list of parts is truncated. A value of true
+ * indicates that the list was truncated. A list can be truncated if the number of parts
+ * exceeds the limit returned in the MaxParts
element.
An ETag is an opaque identifier assigned by a web server to a specific version of a - * resource found at a URL.
+ * resource found at a URL. */ ETag?: string; @@ -7548,8 +7613,7 @@ export interface GetObjectAttributesOutput { /** *Provides the storage class information of the object. Amazon S3 returns this header for all * objects except for S3 Standard storage class objects.
- *For more information, see Storage - * Classes.
+ *For more information, see Storage Classes.
*/ StorageClass?: StorageClass | string; @@ -7583,8 +7647,8 @@ export interface GetObjectAttributesRequest { /** *The name of the bucket that contains the object.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -7607,28 +7671,27 @@ export interface GetObjectAttributesRequest { /** *Specifies the part after which listing should begin. Only parts with higher part numbers - * will be listed.
+ * will be listed. */ PartNumberMarker?: string; /** - *Specifies the algorithm to use when encrypting the object (for example, - * AES256).
+ *Specifies the algorithm to use when encrypting the object (for example, AES256).
*/ SSECustomerAlgorithm?: string; /** *Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This
- * value is used to store the object and then it is discarded; Amazon S3 does not store the
- * encryption key. The key must be appropriate for use with the algorithm specified in the
+ * value is used to store the object and then it is discarded; Amazon S3 does not store the
+ * encryption key. The key must be appropriate for use with the algorithm specified in the
* x-amz-server-side-encryption-customer-algorithm
header.
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses - * this header for a message integrity check to ensure that the encryption key was transmitted - * without error.
+ * this header for a message integrity check to ensure that the encryption key was transmitted + * without error. */ SSECustomerKeyMD5?: string; @@ -7646,8 +7709,8 @@ export interface GetObjectAttributesRequest { ExpectedBucketOwner?: string; /** - *An XML header that specifies the fields at the root level that you want returned in - * the response. Fields that you do not specify are not returned.
+ *An XML header that specifies the fields at the root level that you want returned in the + * response. Fields that you do not specify are not returned.
*/ ObjectAttributes: (ObjectAttributes | string)[] | undefined; } @@ -7744,12 +7807,12 @@ export type ObjectLockRetentionMode = (typeof ObjectLockRetentionMode)[keyof typ *The DefaultRetention
settings require both a mode and a
- * period.
The DefaultRetention
period can be either Days
- * or Years
but you must select one. You cannot specify Days
- * and Years
at the same time.
The DefaultRetention
period can be either Days
or
+ * Years
but you must select one. You cannot specify
+ * Days
and Years
at the same time.
The default Object Lock retention mode and period that you want to apply to new objects
- * placed in the specified bucket. Bucket settings require both a mode and a period.
- * The period can be either Days
or Years
but you must select one.
- * You cannot specify Days
and Years
at the same time.
Days
or Years
but you must select one. You
+ * cannot specify Days
and Years
at the same time.
*/
DefaultRetention?: DefaultRetention;
}
@@ -7794,17 +7857,18 @@ export interface ObjectLockRule {
*/
export interface ObjectLockConfiguration {
/**
- * Indicates whether this bucket has an Object Lock configuration enabled.
- * Enable ObjectLockEnabled
when you apply ObjectLockConfiguration
- * to a bucket.
Indicates whether this bucket has an Object Lock configuration enabled. Enable
+ * ObjectLockEnabled
when you apply ObjectLockConfiguration
to a
+ * bucket.
Specifies the Object Lock rule for the specified object. Enable the this rule when you apply
- * ObjectLockConfiguration
to a bucket. Bucket settings require both a mode and a period.
- * The period can be either Days
or Years
but you must select one.
- * You cannot specify Days
and Years
at the same time.
Specifies the Object Lock rule for the specified object. Enable the this rule when you
+ * apply ObjectLockConfiguration
to a bucket. Bucket settings require both a mode
+ * and a period. The period can be either Days
or Years
but you must
+ * select one. You cannot specify Days
and Years
at the same
+ * time.
The bucket name containing the object for which to get the tagging information.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -8044,9 +8108,8 @@ export interface PublicAccessBlockConfiguration { /** *Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting
- * this element to TRUE
restricts access to this bucket to only Amazon Web Service
- * principals and authorized users within this account if the bucket has a public
- * policy.
TRUE
restricts access to this bucket to only Amazon Web Service principals and authorized users within this account if the bucket has
+ * a public policy.
* Enabling this setting doesn't affect previously stored bucket policies, except that * public and cross-account access within any public bucket policy, including non-public * delegation to specific accounts, is blocked.
@@ -8090,8 +8153,8 @@ export interface HeadBucketRequest { /** *The bucket name.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -8281,10 +8344,8 @@ export interface HeadObjectOutput { WebsiteRedirectLocation?: string; /** - *If the object is stored using server-side encryption either with an Amazon Web Services KMS key or - * an Amazon S3-managed encryption key, the response includes this header with - * the value of the server-side encryption algorithm used when storing this object in Amazon - * S3 (for example, AES256, aws:kms).
+ *The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
+ * AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric - * customer managed key that was used for the object.
+ * encryption customer managed key that was used for the object. */ SSEKMSKeyId?: string; /** - *Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services + * KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; /** *Provides storage class information of the object. Amazon S3 returns this header for all * objects except for S3 Standard storage class objects.
- *For more information, see Storage - * Classes.
+ *For more information, see Storage Classes.
*/ StorageClass?: StorageClass | string; @@ -8342,9 +8403,9 @@ export interface HeadObjectOutput { *
- * If requesting an object from the source bucket, Amazon S3 will return the
- * x-amz-replication-status
header if the object in your request is
- * eligible for replication.
x-amz-replication-status
header if the object in
+ * your request is eligible for replication.
* For example, suppose that in your replication configuration, you specify object
* prefix TaxDocs
requesting Amazon S3 to replicate objects with key prefix
* TaxDocs
. Any objects you upload with this key name prefix, for
@@ -8355,19 +8416,19 @@ export interface HeadObjectOutput {
*
- * If requesting an object from a destination bucket, Amazon S3 will return the
- * x-amz-replication-status
header with value REPLICA if the object in
- * your request is a replica that Amazon S3 created and there is no replica modification
- * replication in progress.
x-amz-replication-status
header
+ * with value REPLICA if the object in your request is a replica that Amazon S3 created and
+ * there is no replica modification replication in progress.
*
- * When replicating objects to multiple destination buckets, the
- * x-amz-replication-status
header acts differently. The header of the
- * source object will only return a value of COMPLETED when replication is successful to
- * all destinations. The header will remain at value PENDING until replication has
- * completed for all destinations. If one or more destinations fails replication the
- * header will return FAILED.
x-amz-replication-status
header acts
+ * differently. The header of the source object will only return a value of COMPLETED
+ * when replication is successful to all destinations. The header will remain at value
+ * PENDING until replication has completed for all destinations. If one or more
+ * destinations fails replication the header will return FAILED.
* For more information, see Replication.
@@ -8375,16 +8436,16 @@ export interface HeadObjectOutput { ReplicationStatus?: ReplicationStatus | string; /** - *The count of parts this object has. This value is only returned if you specify partNumber
- * in your request and the object was uploaded as a multipart upload.
The count of parts this object has. This value is only returned if you specify
+ * partNumber
in your request and the object was uploaded as a multipart
+ * upload.
The Object Lock mode, if any, that's in effect for this object. This header is only
* returned if the requester has the s3:GetObjectRetention
permission. For more
- * information about S3 Object Lock, see Object
- * Lock.
The name of the bucket containing the object.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -8447,8 +8508,9 @@ export interface HeadObjectRequest { Key: string | undefined; /** - *Because HeadObject
returns only the metadata for an object, this parameter
- * has no effect.
HeadObject returns only the metadata for an object. If the Range is satisfiable, only
+ * the ContentLength
is affected in the response. If the Range is not
+ * satisfiable, S3 returns a 416 - Requested Range Not Satisfiable
error.
To retrieve the checksum, this parameter must be enabled.
*In addition, if you enable ChecksumMode
and the object is encrypted with
- * Amazon Web Services Key Management Service (Amazon Web Services KMS), you must have permission to use the
- * kms:Decrypt
action for the request to succeed.
kms:Decrypt
action for the request to succeed.
*/
ChecksumMode?: ChecksumMode | string;
}
@@ -8732,7 +8794,8 @@ export interface Bucket {
Name?: string;
/**
- * Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
+ *Date the bucket was created. This date can change when making changes to your bucket, + * such as editing its bucket policy.
*/ CreationDate?: Date; } @@ -8785,8 +8848,8 @@ export type EncodingType = (typeof EncodingType)[keyof typeof EncodingType]; */ export interface Initiator { /** - *If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal - * is an IAM User, it provides a user ARN value.
+ *If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the + * principal is an IAM User, it provides a user ARN value.
*/ ID?: string; @@ -8842,7 +8905,8 @@ export interface MultipartUpload { */ export interface ListMultipartUploadsOutput { /** - *The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
+ *The name of the bucket to which the multipart upload was initiated. Does not return the + * access point ARN or access point alias if used.
*/ Bucket?: string; @@ -8925,8 +8989,8 @@ export interface ListMultipartUploadsRequest { /** *The name of the bucket to which the multipart upload was initiated.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -9037,8 +9101,8 @@ export interface _Object { *Objects created by the PUT Object, POST Object, or Copy operation, or through the - * Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are - * an MD5 digest of their object data.
+ * Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that + * are an MD5 digest of their object data. *Objects created by the PUT Object, POST Object, or Copy operation, or through the @@ -9047,8 +9111,8 @@ export interface _Object { *
If an object is created by either the Multipart Upload or Part Copy operation, the - * ETag is not an MD5 digest, regardless of the method of encryption. If an object - * is larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a + * ETag is not an MD5 digest, regardless of the method of encryption. If an object is + * larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a * Multipart Upload, and therefore the ETag will not be an MD5 digest.
*All of the keys (up to 1,000) rolled up in a common prefix count as a single return when calculating - * the number of returns.
+ *All of the keys (up to 1,000) rolled up in a common prefix count as a single return when + * calculating the number of returns.
*A response can contain CommonPrefixes only if you specify a delimiter.
*CommonPrefixes contains all (if there are any) keys between Prefix and the next * occurrence of the string specified by the delimiter.
@@ -9158,8 +9222,8 @@ export interface ListObjectsRequest { /** *The name of the bucket containing the objects.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -9181,13 +9245,13 @@ export interface ListObjectsRequest { /** *Marker is where you want Amazon S3 to start listing from. Amazon S3 starts listing after - * this specified key. Marker can be any key in the bucket.
+ * this specified key. Marker can be any key in the bucket. */ Marker?: string; /** - *Sets the maximum number of keys returned in the response. By default the action returns up - * to 1,000 key names. The response might contain fewer keys but will never contain more. + *
Sets the maximum number of keys returned in the response. By default the action returns + * up to 1,000 key names. The response might contain fewer keys but will never contain more. *
*/ MaxKeys?: number; @@ -9248,8 +9312,8 @@ export interface ListObjectsV2Output { /** *The bucket name.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Sets the maximum number of keys returned in the response. By default the action returns up - * to 1,000 key names. The response might contain fewer keys but will never contain + *
Sets the maximum number of keys returned in the response. By default the action returns + * up to 1,000 key names. The response might contain fewer keys but will never contain * more.
*/ MaxKeys?: number; /** - *All of the keys (up to 1,000) rolled up into a common prefix count as a single return when calculating - * the number of returns.
+ *All of the keys (up to 1,000) rolled up into a common prefix count as a single return + * when calculating the number of returns.
*A response can contain CommonPrefixes
only if you specify a
* delimiter.
@@ -9303,8 +9367,8 @@ export interface ListObjectsV2Output { /** *
KeyCount is the number of keys returned with this request. KeyCount will always be less - * than or equals to MaxKeys field. Say you ask for 50 keys, your result will include less than - * equals 50 keys
+ * than or equal to theMaxKeys
field. Say you ask for 50 keys, your result will
+ * include 50 keys or fewer.
*/
KeyCount?: number;
@@ -9335,8 +9399,8 @@ export interface ListObjectsV2Request {
/**
* Bucket name to list.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -9353,8 +9417,8 @@ export interface ListObjectsV2Request { EncodingType?: EncodingType | string; /** - *Sets the maximum number of keys returned in the response. By default the action returns up - * to 1,000 key names. The response might contain fewer keys but will never contain + *
Sets the maximum number of keys returned in the response. By default the action returns + * up to 1,000 key names. The response might contain fewer keys but will never contain * more.
*/ MaxKeys?: number; @@ -9615,9 +9679,9 @@ export interface ListObjectVersionsRequest { KeyMarker?: string; /** - *Sets the maximum number of keys returned in the response. By default the action returns up - * to 1,000 key names. The response might contain fewer keys but will never contain more. If - * additional keys satisfy the search criteria, but were not returned because max-keys was + *
Sets the maximum number of keys returned in the response. By default the action returns
+ * up to 1,000 key names. The response might contain fewer keys but will never contain more.
+ * If additional keys satisfy the search criteria, but were not returned because max-keys was
* exceeded, the response contains
If the bucket has a lifecycle rule configured with an action to abort incomplete * multipart uploads and the prefix in the lifecycle rule matches the object name in the * request, then the response includes this header indicating when the initiated multipart - * upload will become eligible for abort operation. For more information, see Aborting - * Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.
+ * upload will become eligible for abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy. *The response will also include the x-amz-abort-rule-id
header that will
* provide the ID of the lifecycle configuration rule that defines this action.
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
+ *The name of the bucket to which the multipart upload was initiated. Does not return the + * access point ARN or access point alias if used.
*/ Bucket?: string; @@ -9811,8 +9875,8 @@ export interface ListPartsRequest { /** *The name of the bucket to which the parts are being uploaded.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -9970,7 +10034,8 @@ export interface PutBucketAclRequest { /** *Allows grantee to create new objects in the bucket.
- *For the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.
+ *For the bucket and object owners of existing objects, also allows deletions and + * overwrites of those objects.
*/ GrantWrite?: string; @@ -10016,7 +10081,8 @@ export interface PutBucketAnalyticsConfigurationRequest { * @public *Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more * information, see Enabling - * Cross-Origin Resource Sharing in the Amazon S3 User Guide.
+ * Cross-Origin Resource Sharing in the + * Amazon S3 User Guide. */ export interface CORSConfiguration { /** @@ -10039,8 +10105,9 @@ export interface PutBucketCorsRequest { /** *Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more - * information, see Enabling Cross-Origin Resource - * Sharing in the Amazon S3 User Guide.
+ * information, see Enabling + * Cross-Origin Resource Sharing in the + * Amazon S3 User Guide. */ CORSConfiguration: CORSConfiguration | undefined; @@ -10076,9 +10143,11 @@ export interface PutBucketCorsRequest { */ export interface PutBucketEncryptionRequest { /** - *Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed - * keys (SSE-S3) or customer managed keys (SSE-KMS). For information about - * the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption + *
Specifies default encryption for a bucket using server-side encryption with different + * key options. By default, all buckets have a default encryption configuration that + * uses server-side encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption for a bucket by using server-side + * encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). For information about the bucket default + * encryption feature, see Amazon S3 Bucket Default Encryption * in the Amazon S3 User Guide.
*Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
@@ -10086,7 +10155,8 @@ export interface PutBucketEncryptionRequest { Bucket: string | undefined; /** - *The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
+ *The base64-encoded 128-bit MD5 digest of the server-side encryption + * configuration.
*For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
*/ ContentMD5?: string; @@ -10272,7 +10342,8 @@ export interface PutBucketMetricsConfigurationRequest { Bucket: string | undefined; /** - *The ID used to identify the metrics configuration.
+ *The ID used to identify the metrics configuration. The ID has a 64 character limit and + * can only contain letters, numbers, periods, dashes, and underscores.
*/ Id: string | undefined; @@ -10310,7 +10381,8 @@ export interface PutBucketNotificationConfigurationRequest { ExpectedBucketOwner?: string; /** - *Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
+ *Skips validation of Amazon SQS, Amazon SNS, and Lambda + * destinations. True or false value.
*/ SkipDestinationValidation?: boolean; } @@ -10338,8 +10410,8 @@ export interface PutBucketOwnershipControlsRequest { ExpectedBucketOwner?: string; /** - *The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) that you want
- * to apply to this Amazon S3 bucket.
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or
+ * ObjectWriter) that you want to apply to this Amazon S3 bucket.
The base64-encoded 128-bit MD5 digest of the data. You must use this header as a - * message integrity check to verify that the request body was not corrupted in transit. For - * more information, see RFC - * 1864.
+ *The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message + * integrity check to verify that the request body was not corrupted in transit. For more + * information, see RFC 1864.
*For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
*/ ContentMD5?: string; @@ -10742,9 +10813,8 @@ export interface PutObjectOutput { ChecksumSHA256?: string; /** - *If you specified server-side encryption either with an Amazon Web Services KMS key - * or Amazon S3-managed encryption key in your PUT request, the response includes this header. It - * confirms the encryption algorithm that Amazon S3 used to encrypt the object.
+ *The server-side encryption algorithm used when storing this object in Amazon S3 (for example,
+ * AES256, aws:kms
).
If x-amz-server-side-encryption
is present and has the value of
+ *
If x-amz-server-side-encryption
is has a valid value of
* aws:kms
, this header specifies the ID of the Amazon Web Services Key Management Service
- * (Amazon Web Services KMS) symmetric customer managed key that was used for the
- * object.
If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The * value of this header is a base64-encoded UTF-8 string holding JSON with the encryption - * context key-value pairs.
+ * context key-value pairs. This value is stored as object metadata and automatically gets passed + * on to Amazon Web Services KMS for futureGetObject
or CopyObject
operations on
+ * this object.
*/
SSEKMSEncryptionContext?: string;
/**
- * Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption + * with Amazon Web Services KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; @@ -10799,7 +10871,7 @@ export interface PutObjectOutput { export interface PutObjectRequest { /** *The canned ACL to apply to the object. For more information, see Canned - * ACL.
+ * ACL. *This action is not supported by Amazon S3 on Outposts.
*/ ACL?: ObjectCannedACL | string; @@ -10812,8 +10884,8 @@ export interface PutObjectRequest { /** *The bucket name to which the PUT action was initiated.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -10826,14 +10898,14 @@ export interface PutObjectRequest { CacheControl?: string; /** - *Specifies presentational information for the object. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1.
+ *Specifies presentational information for the object. For more information, see https://www.rfc-editor.org/rfc/rfc6266#section-4.
*/ ContentDisposition?: string; /** *Specifies what content encodings have been applied to the object and thus what decoding * mechanisms must be applied to obtain the media-type referenced by the Content-Type header - * field. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.
+ * field. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding. */ ContentEncoding?: string; @@ -10844,7 +10916,7 @@ export interface PutObjectRequest { /** *Size of the body in bytes. This parameter is useful when the size of the body cannot be - * determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.
+ * determined automatically. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length. */ ContentLength?: number; @@ -10853,14 +10925,13 @@ export interface PutObjectRequest { * RFC 1864. This header can be used as a message integrity check to verify that the data is * the same data that was originally sent. Although it is optional, we recommend using the * Content-MD5 mechanism as an end-to-end integrity check. For more information about REST - * request authentication, see REST - * Authentication. + * request authentication, see REST Authentication. */ ContentMD5?: string; /** *A standard MIME type describing the format of the contents. For more information, see - * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17.
+ * https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type. */ ContentType?: string; @@ -10909,20 +10980,18 @@ export interface PutObjectRequest { /** *The date and time at which the object is no longer cacheable. For more information, see - * http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21.
+ * https://www.rfc-editor.org/rfc/rfc7234#section-5.3. */ Expires?: Date; /** - *Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the - * object.
+ *Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantFullControl?: string; /** - *Allows grantee to read the object data and its - * metadata.
+ *Allows grantee to read the object data and its metadata.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantRead?: string; @@ -10934,8 +11003,7 @@ export interface PutObjectRequest { GrantReadACP?: string; /** - *Allows grantee to write the ACL for the applicable - * object.
+ *Allows grantee to write the ACL for the applicable object.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantWriteACP?: string; @@ -10952,7 +11020,7 @@ export interface PutObjectRequest { /** *The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -10961,7 +11029,7 @@ export interface PutObjectRequest {
* STANDARD storage class provides high durability and high availability. Depending on
* performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses
* the OUTPOSTS Storage Class. For more information, see Storage Classes in the
- * Amazon S3 User Guide.
+ * Amazon S3 User Guide.
*/
StorageClass?: StorageClass | string;
@@ -10979,8 +11047,9 @@ export interface PutObjectRequest {
*
* x-amz-website-redirect-location: http://www.example.com/
*
For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and How to Configure Website Page - * Redirects.
+ *For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and + * How to + * Configure Website Page Redirects.
*/ WebsiteRedirectLocation?: string; @@ -11006,27 +11075,31 @@ export interface PutObjectRequest { SSECustomerKeyMD5?: string; /** - *If x-amz-server-side-encryption
is present and has the value of
- * aws:kms
, this header specifies the ID of the Amazon Web Services Key Management Service
- * (Amazon Web Services KMS) symmetrical customer managed key that was used for the
- * object. If you specify x-amz-server-side-encryption:aws:kms
, but do not
- * provide x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services
- * managed key to protect the data. If the KMS key does not exist in the same account
- * issuing the command, you must use the full ARN and not just the ID.
- *
If x-amz-server-side-encryption
has a valid value of aws:kms
,
+ * this header specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric
+ * encryption customer managed key that was used for the object. If you specify
+ * x-amz-server-side-encryption:aws:kms
, but do not provide
+ * x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key to
+ * protect the data. If the KMS key does not exist in the same account issuing the command,
+ * you must use the full ARN and not just the ID.
Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this - * header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value - * pairs.
+ *Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of
+ * this header is a base64-encoded UTF-8 string holding JSON with the encryption context
+ * key-value pairs. This value is stored as object metadata and automatically gets passed on to
+ * Amazon Web Services KMS for future GetObject
or CopyObject
operations on this
+ * object.
Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a PUT action doesn’t affect bucket-level settings for S3 Bucket Key.
+ *Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with
+ * server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
+ * causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a PUT action doesn’t affect bucket-level settings for S3 + * Bucket Key.
*/ BucketKeyEnabled?: boolean; @@ -11057,8 +11130,7 @@ export interface PutObjectRequest { /** *Specifies whether a legal hold will be applied to this object. For more information - * about S3 Object Lock, see Object - * Lock.
+ * about S3 Object Lock, see Object Lock. */ ObjectLockLegalHoldStatus?: ObjectLockLegalHoldStatus | string; @@ -11084,7 +11156,8 @@ export interface PutObjectAclOutput { */ export interface PutObjectAclRequest { /** - *The canned ACL to apply to the object. For more information, see Canned ACL.
+ *The canned ACL to apply to the object. For more information, see Canned + * ACL.
*/ ACL?: ObjectCannedACL | string; @@ -11130,8 +11203,7 @@ export interface PutObjectAclRequest { GrantFullControl?: string; /** - *Allows grantee to list the objects in the - * bucket.
+ *Allows grantee to list the objects in the bucket.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantRead?: string; @@ -11144,13 +11216,13 @@ export interface PutObjectAclRequest { /** *Allows grantee to create new objects in the bucket.
- *For the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.
+ *For the bucket and object owners of existing objects, also allows deletions and + * overwrites of those objects.
*/ GrantWrite?: string; /** - *Allows grantee to write the ACL for the applicable - * bucket.
+ *Allows grantee to write the ACL for the applicable bucket.
*This action is not supported by Amazon S3 on Outposts.
*/ GrantWriteACP?: string; @@ -11158,8 +11230,8 @@ export interface PutObjectAclRequest { /** *Key for which the PUT action was initiated.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
The bucket name containing the object.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -278,16 +278,15 @@ export interface GlacierJobParameters { export interface Encryption { /** *The server-side encryption algorithm used when storing job results in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
EncryptionType: ServerSideEncryption | string | undefined;
/**
* If the encryption type is aws:kms
, this optional value specifies the ID of
- * the symmetric customer managed key to use for encryption of job results. Amazon S3 only
- * supports symmetric keys. For more information, see Using symmetric and
- * asymmetric keys in the Amazon Web Services Key Management Service Developer
- * Guide.
A single character used to indicate that a row should be ignored when the character is - * present at the start of that row. You can specify any character to indicate a comment - * line.
+ * present at the start of that row. You can specify any character to indicate a comment line. + * The default character is#
.
+ * Default: #
+ *
The bucket name containing the object to restore.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -1128,7 +1129,7 @@ export interface SelectObjectContentRequest { export interface UploadPartOutput { /** *The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -1184,12 +1185,13 @@ export interface UploadPartOutput {
/**
* If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric - * customer managed key was used for the object.
+ * encryption customer managed key was used for the object. */ SSEKMSKeyId?: string; /** - *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption + * with Amazon Web Services KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; @@ -1212,8 +1214,8 @@ export interface UploadPartRequest { /** *The name of the bucket to which the multipart upload was initiated.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -1240,8 +1242,8 @@ export interface UploadPartRequest { * the Amazon S3 User Guide. *If you provide an individual checksum, Amazon S3 ignores any provided
* ChecksumAlgorithm
parameter.
This checksum algorithm must be the same for all parts and it match the checksum
- * value supplied in the CreateMultipartUpload
request.
This checksum algorithm must be the same for all parts and it match the checksum value
+ * supplied in the CreateMultipartUpload
request.
The server-side encryption algorithm used when storing this object in Amazon S3 (for example, - * AES256, aws:kms).
+ * AES256,aws:kms
).
*/
ServerSideEncryption?: ServerSideEncryption | string;
@@ -1413,12 +1415,13 @@ export interface UploadPartCopyOutput {
/**
* If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric - * customer managed key that was used for the object.
+ * encryption customer managed key that was used for the object. */ SSEKMSKeyId?: string; /** - *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
+ *Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption + * with Amazon Web Services KMS (SSE-KMS).
*/ BucketKeyEnabled?: boolean; @@ -1436,8 +1439,8 @@ export interface UploadPartCopyRequest { /** *The bucket name.
*When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
- *When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
- * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form
+ * AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Note: To supply the Multi-region Access Point (MRAP) to Bucket, you need to install the "@aws-sdk/signature-v4-crt" package to your project dependencies. * For more information, please go to https://github.com/aws/aws-sdk-js-v3#known-issues
*/ @@ -1710,8 +1713,8 @@ export interface WriteGetObjectResponseRequest { /** *Specifies what content encodings have been applied to the object and thus what decoding - * mechanisms must be applied to obtain the media-type referenced by the Content-Type header - * field.
+ * mechanisms must be applied to obtain the media-type referenced by the Content-Type header + * field. */ ContentEncoding?: string; @@ -1736,55 +1739,55 @@ export interface WriteGetObjectResponseRequest { ContentType?: string; /** - *This header can be used as a data integrity check to verify that the data received is the
- * same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32 checksum
- * of the object returned by the Object Lambda function. This may not match the checksum for the
- * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
- * GetObject
request required checksum validation. For more information about checksums, see
- * Checking
- * object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple - * checksum headers, this request will fail.
+ *This header can be used as a data integrity check to verify that the data received is
+ * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32
+ * checksum of the object returned by the Object Lambda function. This may not match the
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
+ * only when the original GetObject
request required checksum validation. For
+ * more information about checksums, see Checking object
+ * integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.
* */ ChecksumCRC32?: string; /** - *This header can be used as a data integrity check to verify that the data received is the
- * same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C checksum
- * of the object returned by the Object Lambda function. This may not match the checksum for the
- * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
- * GetObject
request required checksum validation. For more information about checksums, see
- * Checking
- * object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple - * checksum headers, this request will fail.
+ *This header can be used as a data integrity check to verify that the data received is
+ * the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C
+ * checksum of the object returned by the Object Lambda function. This may not match the
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
+ * only when the original GetObject
request required checksum validation. For
+ * more information about checksums, see Checking object
+ * integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.
*/ ChecksumCRC32C?: string; /** - *This header can be used as a data integrity check to verify that the data received is the
- * same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1 digest
- * of the object returned by the Object Lambda function. This may not match the checksum for the
- * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
- * GetObject
request required checksum validation. For more information about checksums, see
- * Checking
- * object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple - * checksum headers, this request will fail.
+ *This header can be used as a data integrity check to verify that the data received is
+ * the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1
+ * digest of the object returned by the Object Lambda function. This may not match the
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
+ * only when the original GetObject
request required checksum validation. For
+ * more information about checksums, see Checking object
+ * integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.
*/ ChecksumSHA1?: string; /** - *This header can be used as a data integrity check to verify that the data received is the
- * same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256 digest
- * of the object returned by the Object Lambda function. This may not match the checksum for the
- * object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original
- * GetObject
request required checksum validation. For more information about checksums, see
- * Checking
- * object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple - * checksum headers, this request will fail.
+ *This header can be used as a data integrity check to verify that the data received is
+ * the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256
+ * digest of the object returned by the Object Lambda function. This may not match the
+ * checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
+ * only when the original GetObject
request required checksum validation. For
+ * more information about checksums, see Checking object
+ * integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum + * headers, this request will fail.
*/ ChecksumSHA256?: string; @@ -1806,10 +1809,10 @@ export interface WriteGetObjectResponseRequest { Expires?: Date; /** - *If the object expiration is configured (see PUT Bucket lifecycle), the response
- * includes this header. It includes the expiry-date
and rule-id
- * key-value pairs that provide the object expiration information. The value of the
- * rule-id
is URL-encoded.
If the object expiration is configured (see PUT Bucket lifecycle), the response includes
+ * this header. It includes the expiry-date
and rule-id
key-value
+ * pairs that provide the object expiration information. The value of the rule-id
+ * is URL-encoded.
Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more - * information about S3 Object Lock, see Object Lock.
+ *Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information + * about S3 Object Lock, see Object Lock.
*/ ObjectLockMode?: ObjectLockMode | string; @@ -1853,8 +1856,8 @@ export interface WriteGetObjectResponseRequest { PartsCount?: number; /** - *Indicates if request involves bucket that is either a source or destination in a Replication rule. For more - * information about S3 Replication, see Replication.
+ *Indicates if request involves bucket that is either a source or destination in a + * Replication rule. For more information about S3 Replication, see Replication.
*/ ReplicationStatus?: ReplicationStatus | string; @@ -1866,22 +1869,25 @@ export interface WriteGetObjectResponseRequest { /** *Provides information about object restoration operation and expiration time of the - * restored object copy.
+ * restored object copy. */ Restore?: string; /** - *The server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256, aws:kms).
+ * The server-side encryption algorithm used when storing requested object in Amazon S3 (for
+ * example, AES256, aws:kms
).
Encryption algorithm used if server-side encryption with a customer-provided encryption key was specified for object stored in Amazon S3.
+ *Encryption algorithm used if server-side encryption with a customer-provided encryption + * key was specified for object stored in Amazon S3.
*/ SSECustomerAlgorithm?: string; /** - *If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for stored in Amazon S3 object.
+ *If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric + * encryption customer managed key that was used for stored in Amazon S3 object.
*/ SSEKMSKeyId?: string; @@ -1895,9 +1901,8 @@ export interface WriteGetObjectResponseRequest { /** *Provides storage class information of the object. Amazon S3 returns this header for all - * objects except for S3 Standard storage class objects.
- *For more information, see Storage - * Classes.
+ * objects except for S3 Standard storage class objects. + *For more information, see Storage Classes.
*/ StorageClass?: StorageClass | string; diff --git a/codegen/sdk-codegen/aws-models/s3.json b/codegen/sdk-codegen/aws-models/s3.json index 81d5bf3ba8114..80f8f6ccafa71 100644 --- a/codegen/sdk-codegen/aws-models/s3.json +++ b/codegen/sdk-codegen/aws-models/s3.json @@ -61,7 +61,7 @@ } ], "traits": { - "smithy.api#documentation": "This action aborts a multipart upload. After a multipart upload is aborted, no\n additional parts can be uploaded using that upload ID. The storage consumed by any\n previously uploaded parts will be freed. However, if any part uploads are currently in\n progress, those part uploads might or might not succeed. As a result, it might be necessary\n to abort a given multipart upload multiple times in order to completely free all storage\n consumed by all parts.
\nTo verify that all parts have been removed, so you don't get charged for the part\n storage, you should call the ListParts action and ensure that\n the parts list is empty.
\nFor information about permissions required to use the multipart upload, see Multipart Upload and\n Permissions.
\nThe following operations are related to AbortMultipartUpload
:
\n UploadPart\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThis action aborts a multipart upload. After a multipart upload is aborted, no\n additional parts can be uploaded using that upload ID. The storage consumed by any\n previously uploaded parts will be freed. However, if any part uploads are currently in\n progress, those part uploads might or might not succeed. As a result, it might be necessary\n to abort a given multipart upload multiple times in order to completely free all storage\n consumed by all parts.
\nTo verify that all parts have been removed, so you don't get charged for the part\n storage, you should call the ListParts action and ensure that\n the parts list is empty.
\nFor information about permissions required to use the multipart upload, see Multipart Upload\n and Permissions.
\nThe following operations are related to AbortMultipartUpload
:
\n UploadPart\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThe bucket name to which the upload was taking place.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name to which the upload was taking place.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
" + "smithy.api#documentation": "Specifies the configuration and any analyses for the analytics filter of an Amazon S3\n bucket.
" } }, "com.amazonaws.s3#AnalyticsConfigurationList": { @@ -19324,7 +19324,7 @@ "CreationDate": { "target": "com.amazonaws.s3#CreationDate", "traits": { - "smithy.api#documentation": "Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
" + "smithy.api#documentation": "Date the bucket was created. This date can change when making changes to your bucket,\n such as editing its bucket policy.
" } } }, @@ -19679,7 +19679,7 @@ } }, "traits": { - "smithy.api#documentation": "Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling\n Cross-Origin Resource Sharing in the Amazon S3 User Guide.
" + "smithy.api#documentation": "Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling\n Cross-Origin Resource Sharing in the\n Amazon S3 User Guide.
" } }, "com.amazonaws.s3#CORSRule": { @@ -19755,7 +19755,7 @@ "Comments": { "target": "com.amazonaws.s3#Comments", "traits": { - "smithy.api#documentation": "A single character used to indicate that a row should be ignored when the character is\n present at the start of that row. You can specify any character to indicate a comment\n line.
" + "smithy.api#documentation": "A single character used to indicate that a row should be ignored when the character is\n present at the start of that row. You can specify any character to indicate a comment line.\n The default character is #
.
Default: #
\n
Completes a multipart upload by assembling previously uploaded parts.
\nYou first initiate the multipart upload and then upload all parts using the UploadPart\n operation. After successfully uploading all relevant parts of an upload, you call this\n action to complete the upload. Upon receiving this request, Amazon S3 concatenates all\n the parts in ascending order by part number to create a new object. In the Complete\n Multipart Upload request, you must provide the parts list. You must ensure that the parts\n list is complete. This action concatenates the parts that you provide in the list. For\n each part in the list, you must provide the part number and the ETag
value,\n returned after that part was uploaded.
Processing of a Complete Multipart Upload request could take several minutes to\n complete. After Amazon S3 begins processing the request, it sends an HTTP response header that\n specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white\n space characters to keep the connection from timing out. Because a request could fail after\n the initial 200 OK response has been sent, it is important that you check the response body\n to determine whether the request succeeded.
\nNote that if CompleteMultipartUpload
fails, applications should be prepared\n to retry the failed requests. For more information, see Amazon S3 Error Best Practices.
You cannot use Content-Type: application/x-www-form-urlencoded
with Complete\n Multipart Upload requests. Also, if you do not provide a Content-Type
header, CompleteMultipartUpload
returns a 200 OK response.
For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload.
\nFor information about permissions required to use the multipart upload API, see Multipart Upload and\n Permissions.
\n\n CompleteMultipartUpload
has the following special errors:
Error code: EntityTooSmall
\n
Description: Your proposed upload is smaller than the minimum allowed object\n size. Each part must be at least 5 MB in size, except the last part.
\n400 Bad Request
\nError code: InvalidPart
\n
Description: One or more of the specified parts could not be found. The part\n might not have been uploaded, or the specified entity tag might not have\n matched the part's entity tag.
\n400 Bad Request
\nError code: InvalidPartOrder
\n
Description: The list of parts was not in ascending order. The parts list\n must be specified in order by part number.
\n400 Bad Request
\nError code: NoSuchUpload
\n
Description: The specified multipart upload does not exist. The upload ID\n might be invalid, or the multipart upload might have been aborted or\n completed.
\n404 Not Found
\nThe following operations are related to CompleteMultipartUpload
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nCompletes a multipart upload by assembling previously uploaded parts.
\nYou first initiate the multipart upload and then upload all parts using the UploadPart\n operation. After successfully uploading all relevant parts of an upload, you call this\n action to complete the upload. Upon receiving this request, Amazon S3 concatenates all the\n parts in ascending order by part number to create a new object. In the Complete Multipart\n Upload request, you must provide the parts list. You must ensure that the parts list is\n complete. This action concatenates the parts that you provide in the list. For each part in\n the list, you must provide the part number and the ETag
value, returned after\n that part was uploaded.
Processing of a Complete Multipart Upload request could take several minutes to\n complete. After Amazon S3 begins processing the request, it sends an HTTP response header that\n specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white\n space characters to keep the connection from timing out. A request could fail after the\n initial 200 OK response has been sent. This means that a 200 OK
response can\n contain either a success or an error. If you call the S3 API directly, make sure to design\n your application to parse the contents of the response and handle it appropriately. If you\n use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply\n error handling per your configuration settings (including automatically retrying the\n request as appropriate). If the condition persists, the SDKs throws an exception (or, for\n the SDKs that don't use exceptions, they return the error).
Note that if CompleteMultipartUpload
fails, applications should be prepared\n to retry the failed requests. For more information, see Amazon S3 Error Best\n Practices.
You cannot use Content-Type: application/x-www-form-urlencoded
with\n Complete Multipart Upload requests. Also, if you do not provide a\n Content-Type
header, CompleteMultipartUpload
returns a 200\n OK response.
For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload.
\nFor information about permissions required to use the multipart upload API, see Multipart Upload\n and Permissions.
\n\n CompleteMultipartUpload
has the following special errors:
Error code: EntityTooSmall
\n
Description: Your proposed upload is smaller than the minimum allowed object\n size. Each part must be at least 5 MB in size, except the last part.
\n400 Bad Request
\nError code: InvalidPart
\n
Description: One or more of the specified parts could not be found. The part\n might not have been uploaded, or the specified entity tag might not have\n matched the part's entity tag.
\n400 Bad Request
\nError code: InvalidPartOrder
\n
Description: The list of parts was not in ascending order. The parts list\n must be specified in order by part number.
\n400 Bad Request
\nError code: NoSuchUpload
\n
Description: The specified multipart upload does not exist. The upload ID\n might be invalid, or the multipart upload might have been aborted or\n completed.
\n404 Not Found
\nThe following operations are related to CompleteMultipartUpload
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThe name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket that contains the newly created object. Does not return the access point\n ARN or access point alias if used.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Entity tag that identifies the newly created object's data. Objects with different\n object data will have different entity tags. The entity tag is an opaque string. The entity\n tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5\n digest of the object data, it will contain one or more nonhexadecimal characters and/or\n will consist of less than 32 or more than 32 hexadecimal digits. For more information about\n how the entity tag is calculated, see\n Checking\n object integrity in the Amazon S3 User Guide.
" + "smithy.api#documentation": "Entity tag that identifies the newly created object's data. Objects with different\n object data will have different entity tags. The entity tag is an opaque string. The entity\n tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5\n digest of the object data, it will contain one or more nonhexadecimal characters and/or\n will consist of less than 32 or more than 32 hexadecimal digits. For more information about\n how the entity tag is calculated, see Checking object\n integrity in the Amazon S3 User Guide.
" } }, "ChecksumCRC32": { @@ -20029,7 +20029,7 @@ "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "If you specified server-side encryption either with an Amazon S3-managed encryption key or an\n Amazon Web Services KMS key in your initiate multipart upload request, the response\n includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the\n object.
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n customer managed key that was used for the object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for the object.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -20051,7 +20051,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -20073,7 +20073,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "Name of the bucket to which the multipart upload was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
Name of the bucket to which the multipart upload was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Array of CompletedPart data types.
\nIf you do not supply a valid Part
with your request, the service sends back an HTTP\n 400 response.
Array of CompletedPart data types.
\nIf you do not supply a valid Part
with your request, the service sends back\n an HTTP 400 response.
Creates a copy of an object that is already stored in Amazon S3.
\nYou can store individual objects of up to 5 TB in Amazon S3. You create a copy of your\n object up to 5 GB in size in a single atomic action using this API. However, to copy an\n object greater than 5 GB, you must use the multipart upload Upload Part - Copy\n (UploadPartCopy) API. For more information, see Copy Object Using the\n REST Multipart Upload API.
\nAll copy requests must be authenticated. Additionally, you must have\n read access to the source object and write\n access to the destination bucket. For more information, see REST Authentication. Both the Region\n that you want to copy the object from and the Region that you want to copy the object to\n must be enabled for your account.
\nA copy request might return an error when Amazon S3 receives the copy request or while Amazon S3\n is copying the files. If the error occurs before the copy action starts, you receive a\n standard Amazon S3 error. If the error occurs during the copy operation, the error response is\n embedded in the 200 OK
response. This means that a 200 OK
\n response can contain either a success or an error. Design your application to parse the\n contents of the response and handle it appropriately.
If the copy is successful, you receive a response with information about the copied\n object.
\nIf the request is an HTTP 1.1 request, the response is chunk encoded. If it were not,\n it would not contain the content-length, and you would need to read the entire\n body.
\nThe copy request charge is based on the storage class and Region that you specify for\n the destination object. For pricing information, see Amazon S3 pricing.
\nAmazon S3 transfer acceleration does not support cross-Region copies. If you request a\n cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad\n Request
error. For more information, see Transfer Acceleration.
\n Metadata\n
\nWhen copying an object, you can preserve all metadata (default) or specify new metadata.\n However, the ACL is not preserved and is set to private for the user making the request. To\n override the default ACL setting, specify a new ACL when generating a copy request. For\n more information, see Using ACLs.
\nTo specify whether you want the object metadata copied from the source object or\n replaced with metadata provided in the request, you can optionally add the\n x-amz-metadata-directive
header. When you grant permissions, you can use\n the s3:x-amz-metadata-directive
condition key to enforce certain metadata\n behavior when objects are uploaded. For more information, see Specifying Conditions in a\n Policy in the Amazon S3 User Guide. For a complete list of\n Amazon S3-specific condition keys, see Actions, Resources, and Condition Keys for\n Amazon S3.
\n x-amz-copy-source-if Headers\n
\nTo only copy an object under certain conditions, such as whether the Etag
\n matches or whether the object was modified before or after a specified date, use the\n following request parameters:
\n x-amz-copy-source-if-match
\n
\n x-amz-copy-source-if-none-match
\n
\n x-amz-copy-source-if-unmodified-since
\n
\n x-amz-copy-source-if-modified-since
\n
If both the x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the request\n and evaluate as follows, Amazon S3 returns 200 OK
and copies the data:
\n x-amz-copy-source-if-match
condition evaluates to true
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
If both the x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the request and\n evaluate as follows, Amazon S3 returns the 412 Precondition Failed
response\n code:
\n x-amz-copy-source-if-none-match
condition evaluates to false
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
All headers with the x-amz-
prefix, including\n x-amz-copy-source
, must be signed.
\n Server-side encryption\n
\nWhen you perform a CopyObject operation, you can optionally use the appropriate encryption-related \n headers to encrypt the object using server-side encryption with Amazon Web Services managed encryption keys \n (SSE-S3 or SSE-KMS) or a customer-provided encryption key. With server-side encryption, Amazon S3 \n encrypts your data as it writes it to disks in its data centers and decrypts the data when \n you access it. For more information about server-side encryption, see Using\n Server-Side Encryption.
\nIf a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object. For more\n information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
\n\n Access Control List (ACL)-Specific Request\n Headers\n
\nWhen copying an object, you can optionally use headers to grant ACL-based permissions.\n By default, all objects are private. Only the owner has full access control. When adding a\n new object, you can grant permissions to individual Amazon Web Services accounts or to predefined groups\n defined by Amazon S3. These permissions are then added to the ACL on the object. For more\n information, see Access Control List (ACL) Overview and Managing ACLs Using the REST\n API.
\nIf the bucket that you're copying objects to uses the bucket owner enforced setting for\n S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that\n use this setting only accept PUT requests that don't specify an ACL or PUT requests that\n specify bucket owner full control ACLs, such as the bucket-owner-full-control
canned\n ACL or an equivalent form of this ACL expressed in the XML format.
For more information, see Controlling ownership of\n objects and disabling ACLs in the Amazon S3 User Guide.
\nIf your bucket uses the bucket owner enforced setting for Object Ownership, \n all objects written to the bucket by any account will be owned by the bucket owner.
\n\n Checksums\n
\nWhen copying an object, if it has a checksum, that checksum will be copied to the new object\n by default. When you copy the object over, you may optionally specify a different checksum\n algorithm to use with the x-amz-checksum-algorithm
header.
\n Storage Class Options\n
\nYou can use the CopyObject
action to change the storage class of an\n object that is already stored in Amazon S3 using the StorageClass
parameter. For\n more information, see Storage\n Classes in the Amazon S3 User Guide.
\n Versioning\n
\nBy default, x-amz-copy-source
identifies the current version of an object\n to copy. If the current version is a delete marker, Amazon S3 behaves as if the object was\n deleted. To copy a different version, use the versionId
subresource.
If you enable versioning on the target bucket, Amazon S3 generates a unique version ID for\n the object being copied. This version ID is different from the version ID of the source\n object. Amazon S3 returns the version ID of the copied object in the\n x-amz-version-id
response header in the response.
If you do not enable versioning or suspend it on the target bucket, the version ID that\n Amazon S3 generates is always null.
\nIf the source object's storage class is GLACIER, you must restore a copy of this object\n before you can use it as a source object for the copy operation. For more information, see\n RestoreObject.
\nThe following operations are related to CopyObject
:
For more information, see Copying\n Objects.
", + "smithy.api#documentation": "Creates a copy of an object that is already stored in Amazon S3.
\nYou can store individual objects of up to 5 TB in Amazon S3. You create a copy of your\n object up to 5 GB in size in a single atomic action using this API. However, to copy an\n object greater than 5 GB, you must use the multipart upload Upload Part - Copy\n (UploadPartCopy) API. For more information, see Copy Object Using the\n REST Multipart Upload API.
\nAll copy requests must be authenticated. Additionally, you must have\n read access to the source object and write\n access to the destination bucket. For more information, see REST Authentication. Both the\n Region that you want to copy the object from and the Region that you want to copy the\n object to must be enabled for your account.
\nA copy request might return an error when Amazon S3 receives the copy request or while Amazon S3\n is copying the files. If the error occurs before the copy action starts, you receive a\n standard Amazon S3 error. If the error occurs during the copy operation, the error response is\n embedded in the 200 OK
response. This means that a 200 OK
\n response can contain either a success or an error. If you call the S3 API directly, make\n sure to design your application to parse the contents of the response and handle it\n appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the\n embedded error and apply error handling per your configuration settings (including\n automatically retrying the request as appropriate). If the condition persists, the SDKs\n throws an exception (or, for the SDKs that don't use exceptions, they return the\n error).
If the copy is successful, you receive a response with information about the copied\n object.
\nIf the request is an HTTP 1.1 request, the response is chunk encoded. If it were not,\n it would not contain the content-length, and you would need to read the entire\n body.
\nThe copy request charge is based on the storage class and Region that you specify for\n the destination object. For pricing information, see Amazon S3 pricing.
\nAmazon S3 transfer acceleration does not support cross-Region copies. If you request a\n cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad\n Request
error. For more information, see Transfer\n Acceleration.
\n Metadata\n
\nWhen copying an object, you can preserve all metadata (default) or specify new metadata.\n However, the ACL is not preserved and is set to private for the user making the request. To\n override the default ACL setting, specify a new ACL when generating a copy request. For\n more information, see Using ACLs.
\nTo specify whether you want the object metadata copied from the source object or\n replaced with metadata provided in the request, you can optionally add the\n x-amz-metadata-directive
header. When you grant permissions, you can use\n the s3:x-amz-metadata-directive
condition key to enforce certain metadata\n behavior when objects are uploaded. For more information, see Specifying Conditions in a\n Policy in the Amazon S3 User Guide. For a complete list of\n Amazon S3-specific condition keys, see Actions, Resources, and Condition Keys for\n Amazon S3.
\n x-amz-website-redirect-location
is unique to each object and must be\n specified in the request headers to copy the value.
\n x-amz-copy-source-if Headers\n
\nTo only copy an object under certain conditions, such as whether the Etag
\n matches or whether the object was modified before or after a specified date, use the\n following request parameters:
\n x-amz-copy-source-if-match
\n
\n x-amz-copy-source-if-none-match
\n
\n x-amz-copy-source-if-unmodified-since
\n
\n x-amz-copy-source-if-modified-since
\n
If both the x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the request\n and evaluate as follows, Amazon S3 returns 200 OK
and copies the data:
\n x-amz-copy-source-if-match
condition evaluates to true
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
If both the x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the request and\n evaluate as follows, Amazon S3 returns the 412 Precondition Failed
response\n code:
\n x-amz-copy-source-if-none-match
condition evaluates to false
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
All headers with the x-amz-
prefix, including\n x-amz-copy-source
, must be signed.
\n Server-side encryption\n
\nAmazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When\n copying an object, if you don't specify encryption information in your copy request, the\n encryption setting of the target object is set to the default encryption configuration of\n the destination bucket. By default, all buckets have a base level of encryption\n configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the\n destination bucket has a default encryption configuration that uses server-side encryption\n with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),\n Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the target\n object copy. When you perform a CopyObject operation, if you want to use a different type\n of encryption setting for the target object, you can use other appropriate\n encryption-related headers to encrypt the target object with a KMS key, an Amazon S3 managed\n key, or a customer-provided key. With server-side encryption, Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts the data when you access it. If the\n encryption setting in your request is different from the default encryption configuration\n of the destination bucket, the encryption setting in your request takes precedence. If the\n source object for the copy is stored in Amazon S3 using SSE-C, you must provide the necessary\n encryption information in your request so that Amazon S3 can decrypt the object for copying. For\n more information about server-side encryption, see Using Server-Side\n Encryption.
\nIf a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object. For\n more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
\n\n Access Control List (ACL)-Specific Request\n Headers\n
\nWhen copying an object, you can optionally use headers to grant ACL-based permissions.\n By default, all objects are private. Only the owner has full access control. When adding a\n new object, you can grant permissions to individual Amazon Web Services accounts or to predefined groups\n defined by Amazon S3. These permissions are then added to the ACL on the object. For more\n information, see Access Control List (ACL) Overview and Managing ACLs Using the REST\n API.
\nIf the bucket that you're copying objects to uses the bucket owner enforced setting for\n S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that use\n this setting only accept PUT requests that don't specify an ACL or PUT requests that\n specify bucket owner full control ACLs, such as the bucket-owner-full-control
\n canned ACL or an equivalent form of this ACL expressed in the XML format.
For more information, see Controlling ownership of\n objects and disabling ACLs in the Amazon S3 User Guide.
\nIf your bucket uses the bucket owner enforced setting for Object Ownership, all\n objects written to the bucket by any account will be owned by the bucket owner.
\n\n Checksums\n
\nWhen copying an object, if it has a checksum, that checksum will be copied to the new\n object by default. When you copy the object over, you may optionally specify a different\n checksum algorithm to use with the x-amz-checksum-algorithm
header.
\n Storage Class Options\n
\nYou can use the CopyObject
action to change the storage class of an object\n that is already stored in Amazon S3 using the StorageClass
parameter. For more\n information, see Storage Classes in the\n Amazon S3 User Guide.
\n Versioning\n
\nBy default, x-amz-copy-source
identifies the current version of an object\n to copy. If the current version is a delete marker, Amazon S3 behaves as if the object was\n deleted. To copy a different version, use the versionId
subresource.
If you enable versioning on the target bucket, Amazon S3 generates a unique version ID for\n the object being copied. This version ID is different from the version ID of the source\n object. Amazon S3 returns the version ID of the copied object in the\n x-amz-version-id
response header in the response.
If you do not enable versioning or suspend it on the target bucket, the version ID that\n Amazon S3 generates is always null.
\nIf the source object's storage class is GLACIER, you must restore a copy of this object\n before you can use it as a source object for the copy operation. For more information, see\n RestoreObject.
\nThe following operations are related to CopyObject
:
For more information, see Copying Objects.
", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?x-id=CopyObject", @@ -20375,7 +20375,7 @@ "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n customer managed key that was used for the object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for the object.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -20411,7 +20411,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the copied object uses an S3 Bucket Key for server-side encryption\n with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -20439,7 +20439,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The name of the destination bucket.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the destination bucket.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the\n object.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-full-control" } }, "GrantRead": { "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "Allows grantee to read the object data and its\n metadata.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to read the object data and its metadata.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-read" } }, @@ -20556,7 +20556,7 @@ "GrantWriteACP": { "target": "com.amazonaws.s3#GrantWriteACP", "traits": { - "smithy.api#documentation": "Allows grantee to write the ACL for the applicable\n object.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to write the ACL for the applicable object.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, @@ -20592,21 +20592,21 @@ "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
", + "smithy.api#documentation": "By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-storage-class" } }, "WebsiteRedirectLocation": { "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { - "smithy.api#documentation": "If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata.
", + "smithy.api#documentation": "If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata. This value is unique to each object and is not copied when using the\n x-amz-metadata-directive
header. Instead, you may opt to provide this\n header in combination with the directive.
Specifies the Amazon Web Services KMS key ID to use for object encryption. All GET and PUT requests for\n an object protected by Amazon Web Services KMS will fail if not made via SSL or using SigV4. For\n information about configuring using any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI,\n see Specifying the\n Signature Version in Request Authentication in the Amazon S3 User Guide.
", + "smithy.api#documentation": "Specifies the Amazon Web Services KMS key ID to use for object encryption. All GET and PUT requests\n for an object protected by Amazon Web Services KMS will fail if not made via SSL or using SigV4. For\n information about configuring using any of the officially supported Amazon Web Services SDKs and Amazon Web Services\n CLI, see Specifying the\n Signature Version in Request Authentication in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this\n header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value\n pairs.
", + "smithy.api#documentation": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a base64-encoded UTF-8 string holding JSON with the encryption context\n key-value pairs.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -20649,7 +20649,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 Bucket Key.
", + "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with\n server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
\n causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a COPY action doesn’t affect bucket-level settings for S3\n Bucket Key.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -20733,7 +20733,7 @@ "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { - "smithy.api#documentation": "Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
" + "smithy.api#documentation": "Returns the ETag of the new object. The ETag reflects only changes to the contents of an\n object, not its metadata.
" } }, "LastModified": { @@ -20868,7 +20868,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a\n valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to\n create buckets. By creating the bucket, you become the bucket owner.
\nNot every string is an acceptable bucket name. For information about bucket naming\n restrictions, see Bucket naming rules.
\nIf you want to create an Amazon S3 on Outposts bucket, see Create Bucket.
\nBy default, the bucket is created in the US East (N. Virginia) Region. You can\n optionally specify a Region in the request body. You might choose a Region to optimize\n latency, minimize costs, or address regulatory requirements. For example, if you reside in\n Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)\n Region. For more information, see Accessing a\n bucket.
\nIf you send your create bucket request to the s3.amazonaws.com
endpoint,\n the request goes to the us-east-1 Region. Accordingly, the signature calculations in\n Signature Version 4 must use us-east-1 as the Region, even if the location constraint in\n the request specifies another Region where the bucket is to be created. If you create a\n bucket in a Region other than US East (N. Virginia), your application must be able to\n handle 307 redirect. For more information, see Virtual hosting of buckets.
\n Access control lists (ACLs)\n
\nWhen creating a bucket using this operation, you can optionally configure the bucket ACL to specify the accounts or\n groups that should be granted specific permissions on the bucket.
\nIf your CreateBucket request sets bucket owner enforced for S3 Object Ownership and\n specifies a bucket ACL that provides access to an external Amazon Web Services account, your request\n fails with a 400
error and returns the\n InvalidBucketAclWithObjectOwnership
error code. For more information,\n see Controlling object\n ownership in the Amazon S3 User Guide.
There are two ways to grant the appropriate permissions using the request headers.
\nSpecify a canned ACL using the x-amz-acl
request header. Amazon S3\n supports a set of predefined ACLs, known as canned ACLs. Each\n canned ACL has a predefined set of grantees and permissions. For more information,\n see Canned ACL.
Specify access permissions explicitly using the x-amz-grant-read
,\n x-amz-grant-write
, x-amz-grant-read-acp
,\n x-amz-grant-write-acp
, and x-amz-grant-full-control
\n headers. These headers map to the set of permissions Amazon S3 supports in an ACL. For\n more information, see Access control list\n (ACL) overview.
You specify each grantee as a type=value pair, where the type is one of the\n following:
\n\n id
– if the value specified is the canonical user ID of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email address of\n an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
You can use either a canned ACL or specify access permissions explicitly. You cannot\n do both.
\n\n Permissions\n
\nIn addition to s3:CreateBucket
, the following permissions are required when your CreateBucket includes specific headers:
\n ACLs - If your CreateBucket
request specifies ACL permissions and the ACL is public-read, public-read-write, \n authenticated-read, or if you specify access permissions explicitly through any other ACL, both \n s3:CreateBucket
and s3:PutBucketAcl
permissions are needed. If the ACL the \n CreateBucket
request is private or doesn't specify any ACLs, only s3:CreateBucket
permission is needed.
\n Object Lock - If\n ObjectLockEnabledForBucket
is set to true in your\n CreateBucket
request,\n s3:PutBucketObjectLockConfiguration
and\n s3:PutBucketVersioning
permissions are required.
\n S3 Object Ownership - If your CreateBucket\n request includes the the x-amz-object-ownership
header,\n s3:PutBucketOwnershipControls
permission is required.
The following operations are related to CreateBucket
:
\n PutObject\n
\n\n DeleteBucket\n
\nCreates a new S3 bucket. To create a bucket, you must register with Amazon S3 and have a\n valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to\n create buckets. By creating the bucket, you become the bucket owner.
\nNot every string is an acceptable bucket name. For information about bucket naming\n restrictions, see Bucket naming\n rules.
\nIf you want to create an Amazon S3 on Outposts bucket, see Create Bucket.
\nBy default, the bucket is created in the US East (N. Virginia) Region. You can\n optionally specify a Region in the request body. You might choose a Region to optimize\n latency, minimize costs, or address regulatory requirements. For example, if you reside in\n Europe, you will probably find it advantageous to create buckets in the Europe (Ireland)\n Region. For more information, see Accessing a\n bucket.
\nIf you send your create bucket request to the s3.amazonaws.com
endpoint,\n the request goes to the us-east-1 Region. Accordingly, the signature calculations in\n Signature Version 4 must use us-east-1 as the Region, even if the location constraint in\n the request specifies another Region where the bucket is to be created. If you create a\n bucket in a Region other than US East (N. Virginia), your application must be able to\n handle 307 redirect. For more information, see Virtual hosting of\n buckets.
\n Access control lists (ACLs)\n
\nWhen creating a bucket using this operation, you can optionally configure the bucket ACL\n to specify the accounts or groups that should be granted specific permissions on the\n bucket.
\nIf your CreateBucket request sets bucket owner enforced for S3 Object Ownership and\n specifies a bucket ACL that provides access to an external Amazon Web Services account, your request\n fails with a 400
error and returns the\n InvalidBucketAclWithObjectOwnership
error code. For more information,\n see Controlling object\n ownership in the Amazon S3 User Guide.
There are two ways to grant the appropriate permissions using the request\n headers.
\nSpecify a canned ACL using the x-amz-acl
request header. Amazon S3\n supports a set of predefined ACLs, known as canned ACLs. Each\n canned ACL has a predefined set of grantees and permissions. For more information,\n see Canned ACL.
Specify access permissions explicitly using the x-amz-grant-read
,\n x-amz-grant-write
, x-amz-grant-read-acp
,\n x-amz-grant-write-acp
, and x-amz-grant-full-control
\n headers. These headers map to the set of permissions Amazon S3 supports in an ACL. For\n more information, see Access control list (ACL)\n overview.
You specify each grantee as a type=value pair, where the type is one of the\n following:
\n\n id
– if the value specified is the canonical user ID of an\n Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email address of\n an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
You can use either a canned ACL or specify access permissions explicitly. You cannot\n do both.
\n\n Permissions\n
\nIn addition to s3:CreateBucket
, the following permissions are required when\n your CreateBucket includes specific headers:
\n ACLs - If your CreateBucket
request\n specifies ACL permissions and the ACL is public-read, public-read-write,\n authenticated-read, or if you specify access permissions explicitly through any other\n ACL, both s3:CreateBucket
and s3:PutBucketAcl
permissions\n are needed. If the ACL the CreateBucket
request is private or doesn't\n specify any ACLs, only s3:CreateBucket
permission is needed.
\n Object Lock - If\n ObjectLockEnabledForBucket
is set to true in your\n CreateBucket
request,\n s3:PutBucketObjectLockConfiguration
and\n s3:PutBucketVersioning
permissions are required.
\n S3 Object Ownership - If your CreateBucket\n request includes the the x-amz-object-ownership
header,\n s3:PutBucketOwnershipControls
permission is required.
The following operations are related to CreateBucket
:
\n PutObject\n
\n\n DeleteBucket\n
\nAllows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.
", + "smithy.api#documentation": "Allows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and\n overwrites of those objects.
", "smithy.api#httpHeader": "x-amz-grant-write" } }, @@ -21002,7 +21002,7 @@ "target": "com.amazonaws.s3#CreateMultipartUploadOutput" }, "traits": { - "smithy.api#documentation": "This action initiates a multipart upload and returns an upload ID. This upload ID is\n used to associate all of the parts in the specific multipart upload. You specify this\n upload ID in each of your subsequent upload part requests (see UploadPart). You also include this\n upload ID in the final request to either complete or abort the multipart upload\n request.
\nFor more information about multipart uploads, see Multipart Upload Overview.
\nIf you have configured a lifecycle rule to abort incomplete multipart uploads, the\n upload must complete within the number of days specified in the bucket lifecycle\n configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort\n action and Amazon S3 aborts the multipart upload. For more information, see Aborting\n Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.
\nFor information about the permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions.
\nFor request signing, multipart upload is just a series of regular requests. You initiate\n a multipart upload, send one or more requests to upload parts, and then complete the\n multipart upload process. You sign each request individually. There is nothing special\n about signing multipart upload requests. For more information about signing, see Authenticating\n Requests (Amazon Web Services Signature Version 4).
\nAfter you initiate a multipart upload and upload one or more parts, to stop being\n charged for storing the uploaded parts, you must either complete or abort the multipart\n upload. Amazon S3 frees up the space used to store the parts and stop charging you for\n storing them only after you either complete or abort a multipart upload.
\nYou can optionally request server-side encryption. For server-side encryption, Amazon S3\n encrypts your data as it writes it to disks in its data centers and decrypts it when you\n access it. You can provide your own encryption key, or use Amazon Web Services KMS keys or Amazon S3-managed encryption keys. If you choose to provide\n your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the request to\n initiate the upload by using CreateMultipartUpload
.
To perform a multipart upload with encryption using an Amazon Web Services KMS key, the requester must\n have permission to the kms:Decrypt
and kms:GenerateDataKey*
\n actions on the key. These permissions are required because Amazon S3 must decrypt and read data\n from the encrypted file parts before it completes the multipart upload. For more\n information, see Multipart upload API\n and permissions in the Amazon S3 User Guide.
If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account\n as the KMS key, then you must have these permissions on the key policy. If your IAM\n user or role belongs to a different account than the key, then you must have the\n permissions on both the key policy and your IAM user or role.
\nFor more information, see Protecting\n Data Using Server-Side Encryption.
\nWhen copying an object, you can optionally specify the accounts or groups that\n should be granted specific permissions on the new object. There are two ways to\n grant the permissions using the request headers:
\nSpecify a canned ACL with the x-amz-acl
request header. For\n more information, see Canned ACL.
Specify access permissions explicitly with the\n x-amz-grant-read
, x-amz-grant-read-acp
,\n x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. These parameters map to\n the set of permissions that Amazon S3 supports in an ACL. For more information,\n see Access Control List (ACL)\n Overview.
You can use either a canned ACL or specify access permissions explicitly. You\n cannot do both.
\nYou can optionally tell Amazon S3 to encrypt data at rest using server-side\n encryption. Server-side encryption is for data encryption at rest. Amazon S3 encrypts\n your data as it writes it to disks in its data centers and decrypts it when you\n access it. The option you use depends on whether you want to use Amazon Web Services managed\n encryption keys or provide your own encryption key.
\nUse encryption keys managed by Amazon S3 or customer managed key stored\n in Amazon Web Services Key Management Service (Amazon Web Services KMS) – If you want Amazon Web Services to manage the keys\n used to encrypt data, specify the following headers in the request.
\n\n x-amz-server-side-encryption
\n
\n x-amz-server-side-encryption-aws-kms-key-id
\n
\n x-amz-server-side-encryption-context
\n
If you specify x-amz-server-side-encryption:aws:kms
, but\n don't provide x-amz-server-side-encryption-aws-kms-key-id
,\n Amazon S3 uses the Amazon Web Services managed key in Amazon Web Services KMS to protect the data.
All GET and PUT requests for an object protected by Amazon Web Services KMS fail if\n you don't make them with SSL or by using SigV4.
\nFor more information about server-side encryption with KMS key (SSE-KMS),\n see Protecting Data Using Server-Side Encryption with KMS keys.
\nUse customer-provided encryption keys – If you want to manage your own\n encryption keys, provide all the following headers in the request.
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about server-side encryption with KMS keys (SSE-KMS),\n see Protecting Data Using Server-Side Encryption with KMS keys.
\nYou also can use the following access control–related headers with this\n operation. By default, all objects are private. Only the owner has full access\n control. When adding a new object, you can grant permissions to individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then added\n to the access control list (ACL) on the object. For more information, see Using ACLs. With this\n operation, you can grant access permissions using one of the following two\n methods:
\nSpecify a canned ACL (x-amz-acl
) — Amazon S3 supports a set of\n predefined ACLs, known as canned ACLs. Each canned ACL\n has a predefined set of grantees and permissions. For more information, see\n Canned\n ACL.
Specify access permissions explicitly — To explicitly grant access\n permissions to specific Amazon Web Services accounts or groups, use the following headers.\n Each header maps to specific permissions that Amazon S3 supports in an ACL. For\n more information, see Access\n Control List (ACL) Overview. In the header, you specify a list of\n grantees who get the specific permission. To grant permissions explicitly,\n use:
\n\n x-amz-grant-read
\n
\n x-amz-grant-write
\n
\n x-amz-grant-read-acp
\n
\n x-amz-grant-write-acp
\n
\n x-amz-grant-full-control
\n
You specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
The following operations are related to CreateMultipartUpload
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThis action initiates a multipart upload and returns an upload ID. This upload ID is\n used to associate all of the parts in the specific multipart upload. You specify this\n upload ID in each of your subsequent upload part requests (see UploadPart). You also include this\n upload ID in the final request to either complete or abort the multipart upload\n request.
\nFor more information about multipart uploads, see Multipart Upload Overview.
\nIf you have configured a lifecycle rule to abort incomplete multipart uploads, the\n upload must complete within the number of days specified in the bucket lifecycle\n configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort\n action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.
\nFor information about the permissions required to use the multipart upload API, see\n Multipart\n Upload and Permissions.
\nFor request signing, multipart upload is just a series of regular requests. You initiate\n a multipart upload, send one or more requests to upload parts, and then complete the\n multipart upload process. You sign each request individually. There is nothing special\n about signing multipart upload requests. For more information about signing, see Authenticating Requests (Amazon Web Services Signature Version 4).
\nAfter you initiate a multipart upload and upload one or more parts, to stop being\n charged for storing the uploaded parts, you must either complete or abort the multipart\n upload. Amazon S3 frees up the space used to store the parts and stop charging you for\n storing them only after you either complete or abort a multipart upload.
\nServer-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it. Amazon S3\n automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a\n multipart upload, if you don't specify encryption information in your request, the\n encryption setting of the uploaded parts is set to the default encryption configuration of\n the destination bucket. By default, all buckets have a base level of encryption\n configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the\n destination bucket has a default encryption configuration that uses server-side encryption\n with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C),\n Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded\n parts. When you perform a CreateMultipartUpload operation, if you want to use a different\n type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the\n object with a KMS key, an Amazon S3 managed key, or a customer-provided key. If the encryption\n setting in your request is different from the default encryption configuration of the\n destination bucket, the encryption setting in your request takes precedence. If you choose\n to provide your own encryption key, the request headers you provide in UploadPart\n and UploadPartCopy requests must\n match the headers you used in the request to initiate the upload by using\n CreateMultipartUpload
. you can request that Amazon S3\n save the uploaded parts encrypted with server-side encryption with an Amazon S3 managed key\n (SSE-S3), an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key\n (SSE-C).
To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester\n must have permission to the kms:Decrypt
and kms:GenerateDataKey*
\n actions on the key. These permissions are required because Amazon S3 must decrypt and read data\n from the encrypted file parts before it completes the multipart upload. For more\n information, see Multipart upload API\n and permissions and Protecting data using\n server-side encryption with Amazon Web Services KMS in the\n Amazon S3 User Guide.
If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key,\n then you must have these permissions on the key policy. If your IAM user or role belongs\n to a different account than the key, then you must have the permissions on both the key\n policy and your IAM user or role.
\nFor more information, see Protecting Data Using Server-Side\n Encryption.
\nWhen copying an object, you can optionally specify the accounts or groups that\n should be granted specific permissions on the new object. There are two ways to\n grant the permissions using the request headers:
\nSpecify a canned ACL with the x-amz-acl
request header. For\n more information, see Canned\n ACL.
Specify access permissions explicitly with the\n x-amz-grant-read
, x-amz-grant-read-acp
,\n x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. These parameters map to\n the set of permissions that Amazon S3 supports in an ACL. For more information,\n see Access Control List (ACL) Overview.
You can use either a canned ACL or specify access permissions explicitly. You\n cannot do both.
\nAmazon S3 encrypts data\n by using server-side encryption with an Amazon S3 managed key (SSE-S3) by default. Server-side encryption is for data encryption at rest. Amazon S3 encrypts\n your data as it writes it to disks in its data centers and decrypts it when you\n access it. You can request that Amazon S3 encrypts\n data at rest by using server-side encryption with other key options. The option you use depends on\n whether you want to use KMS keys (SSE-KMS) or provide your own encryption keys\n (SSE-C).
\nUse KMS keys (SSE-KMS) that include the Amazon Web Services managed key\n (aws/s3
) and KMS customer managed keys stored in Key Management Service (KMS) – If you\n want Amazon Web Services to manage the keys used to encrypt data, specify the following\n headers in the request.
\n x-amz-server-side-encryption
\n
\n x-amz-server-side-encryption-aws-kms-key-id
\n
\n x-amz-server-side-encryption-context
\n
If you specify x-amz-server-side-encryption:aws:kms
, but\n don't provide x-amz-server-side-encryption-aws-kms-key-id
,\n Amazon S3 uses the Amazon Web Services managed key (aws/s3
key) in KMS to\n protect the data.
All GET
and PUT
requests for an object protected\n by KMS fail if you don't make them by using Secure Sockets Layer (SSL),\n Transport Layer Security (TLS), or Signature Version 4.
For more information about server-side encryption with KMS keys\n (SSE-KMS), see Protecting Data\n Using Server-Side Encryption with KMS keys.
\nUse customer-provided encryption keys (SSE-C) – If you want to manage\n your own encryption keys, provide all the following headers in the\n request.
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about server-side encryption with customer-provided\n encryption keys (SSE-C), see \n Protecting data using server-side encryption with customer-provided\n encryption keys (SSE-C).
\nYou also can use the following access control–related headers with this\n operation. By default, all objects are private. Only the owner has full access\n control. When adding a new object, you can grant permissions to individual\n Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are then\n added to the access control list (ACL) on the object. For more information, see\n Using ACLs. With this operation, you can grant access permissions\n using one of the following two methods:
\nSpecify a canned ACL (x-amz-acl
) — Amazon S3 supports a set of\n predefined ACLs, known as canned ACLs. Each canned ACL\n has a predefined set of grantees and permissions. For more information, see\n Canned\n ACL.
Specify access permissions explicitly — To explicitly grant access\n permissions to specific Amazon Web Services accounts or groups, use the following headers.\n Each header maps to specific permissions that Amazon S3 supports in an ACL. For\n more information, see Access Control List (ACL)\n Overview. In the header, you specify a list of grantees who get\n the specific permission. To grant permissions explicitly, use:
\n\n x-amz-grant-read
\n
\n x-amz-grant-write
\n
\n x-amz-grant-read-acp
\n
\n x-amz-grant-write-acp
\n
\n x-amz-grant-full-control
\n
You specify each grantee as a type=value pair, where the type is one of\n the following:
\n\n id
– if the value specified is the canonical user ID\n of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email\n address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants the Amazon Web Services accounts identified by account IDs permissions to read object data and its metadata:
\n x-amz-grant-read: id=\"11112222333\", id=\"444455556666\"
\n
The following operations are related to CreateMultipartUpload
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThe name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket to which the multipart upload was initiated. Does not return the\n access point ARN or access point alias if used.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n customer managed key that was used for the object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for the object.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -21085,7 +21085,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -21121,7 +21121,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The name of the bucket to which to initiate the upload
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket to which to initiate the upload
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the\n object.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-full-control" } }, "GrantRead": { "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "Allows grantee to read the object data and its\n metadata.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to read the object data and its metadata.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-read" } }, @@ -21195,7 +21195,7 @@ "GrantWriteACP": { "target": "com.amazonaws.s3#GrantWriteACP", "traits": { - "smithy.api#documentation": "Allows grantee to write the ACL for the applicable\n object.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to write the ACL for the applicable object.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, @@ -21217,14 +21217,14 @@ "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
", + "smithy.api#documentation": "By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-storage-class" } }, @@ -21259,14 +21259,14 @@ "SSEKMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "Specifies the ID of the symmetric customer managed key to use for object\n encryption. All GET and PUT requests for an object protected by Amazon Web Services KMS will fail if not\n made via SSL or using SigV4. For information about configuring using any of the officially\n supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication\n in the Amazon S3 User Guide.
", + "smithy.api#documentation": "Specifies the ID of the symmetric encryption customer managed key to use for object encryption.\n All GET and PUT requests for an object protected by Amazon Web Services KMS will fail if not made via SSL\n or using SigV4. For information about configuring using any of the officially supported\n Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication\n in the Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this\n header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value\n pairs.
", + "smithy.api#documentation": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a base64-encoded UTF-8 string holding JSON with the encryption context\n key-value pairs.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -21274,7 +21274,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.
", + "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with\n server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
\n causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3\n Bucket Key.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -21377,7 +21377,7 @@ } }, "traits": { - "smithy.api#documentation": "The container element for specifying the default Object Lock retention settings for new\n objects placed in the specified bucket.
\nThe DefaultRetention
settings require both a mode and a\n period.
The DefaultRetention
period can be either Days
\n or Years
but you must select one. You cannot specify Days
\n and Years
at the same time.
The container element for specifying the default Object Lock retention settings for new\n objects placed in the specified bucket.
\nThe DefaultRetention
settings require both a mode and a\n period.
The DefaultRetention
period can be either Days
or\n Years
but you must select one. You cannot specify\n Days
and Years
at the same time.
Deletes an analytics configuration for the bucket (specified by the analytics\n configuration ID).
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.
\nThe following operations are related to\n DeleteBucketAnalyticsConfiguration
:
Deletes an analytics configuration for the bucket (specified by the analytics\n configuration ID).
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.
\nThe following operations are related to\n DeleteBucketAnalyticsConfiguration
:
Deletes the cors
configuration information set for the bucket.
To use this operation, you must have permission to perform the\n s3:PutBucketCORS
action. The bucket owner has this permission by default\n and can grant this permission to others.
For information about cors
, see Enabling\n Cross-Origin Resource Sharing in the Amazon S3 User Guide.
\n Related Resources:\n
\n\n PutBucketCors\n
\n\n RESTOPTIONSobject\n
\nDeletes the cors
configuration information set for the bucket.
To use this operation, you must have permission to perform the\n s3:PutBucketCORS
action. The bucket owner has this permission by default\n and can grant this permission to others.
For information about cors
, see Enabling Cross-Origin Resource Sharing in\n the Amazon S3 User Guide.
\n Related Resources:\n
\n\n PutBucketCors\n
\n\n RESTOPTIONSobject\n
\nThis implementation of the DELETE action removes default encryption from the bucket.\n For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the\n Amazon S3 User Guide.
\nTo use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3\n Resources in the Amazon S3 User Guide.
\n Related Resources\n
\n\n PutBucketEncryption\n
\n\n GetBucketEncryption\n
\nThis implementation of the DELETE action resets the default encryption for the\n bucket as server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the\n bucket default encryption feature, see Amazon S3 Bucket Default Encryption\n in the Amazon S3 User Guide.
\nTo use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to your Amazon S3 Resources in the\n Amazon S3 User Guide.
\n Related Resources\n
\n\n PutBucketEncryption\n
\n\n GetBucketEncryption\n
\nDeletes the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to\n DeleteBucketIntelligentTieringConfiguration
include:
Deletes the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to DeleteBucketIntelligentTieringConfiguration
include:
Deletes an inventory configuration (identified by the inventory ID) from the\n bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
\nOperations related to DeleteBucketInventoryConfiguration
include:
Deletes an inventory configuration (identified by the inventory ID) from the\n bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
\nOperations related to DeleteBucketInventoryConfiguration
include:
Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.
\nTo use this operation, you must have permission to perform the\n s3:PutLifecycleConfiguration
action. By default, the bucket owner has this\n permission and the bucket owner can grant this permission to others.
There is usually some time lag before lifecycle configuration deletion is fully\n propagated to all the Amazon S3 systems.
\nFor more information about the object expiration, see Elements to\n Describe Lifecycle Actions.
\nRelated actions include:
\nDeletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.
\nTo use this operation, you must have permission to perform the\n s3:PutLifecycleConfiguration
action. By default, the bucket owner has this\n permission and the bucket owner can grant this permission to others.
There is usually some time lag before lifecycle configuration deletion is fully\n propagated to all the Amazon S3 systems.
\nFor more information about the object expiration, see Elements to Describe Lifecycle Actions.
\nRelated actions include:
\nDeletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the\n metrics configuration ID) from the bucket. Note that this doesn't include the daily storage\n metrics.
\n To use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.
\nThe following operations are related to\n DeleteBucketMetricsConfiguration
:
Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the\n metrics configuration ID) from the bucket. Note that this doesn't include the daily storage\n metrics.
\n To use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with\n Amazon CloudWatch.
\nThe following operations are related to\n DeleteBucketMetricsConfiguration
:
The ID used to identify the metrics configuration.
", + "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } @@ -21756,7 +21756,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Removes OwnershipControls
for an Amazon S3 bucket. To use this operation, you\n must have the s3:PutBucketOwnershipControls
permission. For more information\n about Amazon S3 permissions, see Specifying\n Permissions in a Policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
\nThe following operations are related to\n DeleteBucketOwnershipControls
:
Removes OwnershipControls
for an Amazon S3 bucket. To use this operation, you\n must have the s3:PutBucketOwnershipControls
permission. For more information\n about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
\nThe following operations are related to\n DeleteBucketOwnershipControls
:
Deletes the replication configuration from the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutReplicationConfiguration
action. The bucket owner has these\n permissions by default and can grant it to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
It can take a while for the deletion of a replication configuration to fully\n propagate.
\nFor information about replication configuration, see Replication in the Amazon S3 User Guide.
\nThe following operations are related to DeleteBucketReplication
:
\n PutBucketReplication\n
\n\n GetBucketReplication\n
\nDeletes the replication configuration from the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:PutReplicationConfiguration
action. The bucket owner has these\n permissions by default and can grant it to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
It can take a while for the deletion of a replication configuration to fully\n propagate.
\nFor information about replication configuration, see Replication in the\n Amazon S3 User Guide.
\nThe following operations are related to DeleteBucketReplication
:
\n PutBucketReplication\n
\n\n GetBucketReplication\n
\nRemoves the null version (if there is one) of an object and inserts a delete marker,\n which becomes the latest version of the object. If there isn't a null version, Amazon S3 does\n not remove any objects but will still respond that the command was successful.
\nTo remove a specific version, you must be the bucket owner and you must use the version\n Id subresource. Using this subresource permanently deletes the version. If the object\n deleted is a delete marker, Amazon S3 sets the response header,\n x-amz-delete-marker
, to true.
If the object you want to delete is in a bucket where the bucket versioning\n configuration is MFA Delete enabled, you must include the x-amz-mfa
request\n header in the DELETE versionId
request. Requests that include\n x-amz-mfa
must use HTTPS.
For more information about MFA Delete, see Using MFA Delete. To see sample requests that use versioning, see Sample Request.
\nYou can delete objects by explicitly calling DELETE Object or configure its\n lifecycle (PutBucketLifecycle) to\n enable Amazon S3 to remove them for you. If you want to block users or accounts from removing or\n deleting objects from your bucket, you must deny them the s3:DeleteObject
,\n s3:DeleteObjectVersion
, and s3:PutLifeCycleConfiguration
\n actions.
The following action is related to DeleteObject
:
\n PutObject\n
\nRemoves the null version (if there is one) of an object and inserts a delete marker,\n which becomes the latest version of the object. If there isn't a null version, Amazon S3 does\n not remove any objects but will still respond that the command was successful.
\nTo remove a specific version, you must use the version Id subresource. Using this\n subresource permanently deletes the version. If the object deleted is a delete marker, Amazon S3\n sets the response header, x-amz-delete-marker
, to true.
If the object you want to delete is in a bucket where the bucket versioning\n configuration is MFA Delete enabled, you must include the x-amz-mfa
request\n header in the DELETE versionId
request. Requests that include\n x-amz-mfa
must use HTTPS.
For more information about MFA Delete, see Using MFA Delete. To see sample\n requests that use versioning, see Sample\n Request.
\nYou can delete objects by explicitly calling DELETE Object or configure its lifecycle\n (PutBucketLifecycle) to enable Amazon S3 to remove them for you. If you want to block\n users or accounts from removing or deleting objects from your bucket, you must deny them\n the s3:DeleteObject
, s3:DeleteObjectVersion
, and\n s3:PutLifeCycleConfiguration
actions.
The following action is related to DeleteObject
:
\n PutObject\n
\nThe bucket name of the bucket containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name of the bucket containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process\n this operation. To use this header, you must have the s3:BypassGovernanceRetention
\n permission.
Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process\n this operation. To use this header, you must have the\n s3:BypassGovernanceRetention
permission.
Removes the entire tag set from the specified object. For more information about\n managing object tags, see Object\n Tagging.
\nTo use this operation, you must have permission to perform the\n s3:DeleteObjectTagging
action.
To delete tags of a specific object version, add the versionId
query\n parameter in the request. You will need permission for the\n s3:DeleteObjectVersionTagging
action.
The following operations are related to\n DeleteBucketMetricsConfiguration
:
\n PutObjectTagging\n
\n\n GetObjectTagging\n
\nRemoves the entire tag set from the specified object. For more information about\n managing object tags, see Object Tagging.
\nTo use this operation, you must have permission to perform the\n s3:DeleteObjectTagging
action.
To delete tags of a specific object version, add the versionId
query\n parameter in the request. You will need permission for the\n s3:DeleteObjectVersionTagging
action.
The following operations are related to DeleteObjectTagging
:
\n PutObjectTagging\n
\n\n GetObjectTagging\n
\nThe bucket name containing the objects from which to remove the tags.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name containing the objects from which to remove the tags.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
This action enables you to delete multiple objects from a bucket using a single HTTP\n request. If you know the object keys that you want to delete, then this action provides\n a suitable alternative to sending individual delete requests, reducing per-request\n overhead.
\nThe request contains a list of up to 1000 keys that you want to delete. In the XML, you\n provide the object key names, and optionally, version IDs if you want to delete a specific\n version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a\n delete action and returns the result of that delete, success, or failure, in the\n response. Note that if the object specified in the request is not found, Amazon S3 returns the\n result as deleted.
\nThe action supports two modes for the response: verbose and quiet. By default, the\n action uses verbose mode in which the response includes the result of deletion of each\n key in your request. In quiet mode the response includes only keys where the delete\n action encountered an error. For a successful deletion, the action does not return\n any information about the delete in the response body.
\nWhen performing this action on an MFA Delete enabled bucket, that attempts to delete\n any versioned objects, you must include an MFA token. If you do not provide one, the entire\n request will fail, even if there are non-versioned objects you are trying to delete. If you\n provide an invalid token, whether there are versioned keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA\n Delete.
\nFinally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon\n S3 uses the header value to ensure that your request body has not been altered in\n transit.
\nThe following operations are related to DeleteObjects
:
\n UploadPart\n
\n\n ListParts\n
\n\n AbortMultipartUpload\n
\nThis action enables you to delete multiple objects from a bucket using a single HTTP\n request. If you know the object keys that you want to delete, then this action provides a\n suitable alternative to sending individual delete requests, reducing per-request\n overhead.
\nThe request contains a list of up to 1000 keys that you want to delete. In the XML, you\n provide the object key names, and optionally, version IDs if you want to delete a specific\n version of the object from a versioning-enabled bucket. For each key, Amazon S3 performs a\n delete action and returns the result of that delete, success, or failure, in the response.\n Note that if the object specified in the request is not found, Amazon S3 returns the result as\n deleted.
\nThe action supports two modes for the response: verbose and quiet. By default, the\n action uses verbose mode in which the response includes the result of deletion of each key\n in your request. In quiet mode the response includes only keys where the delete action\n encountered an error. For a successful deletion, the action does not return any information\n about the delete in the response body.
\nWhen performing this action on an MFA Delete enabled bucket, that attempts to delete any\n versioned objects, you must include an MFA token. If you do not provide one, the entire\n request will fail, even if there are non-versioned objects you are trying to delete. If you\n provide an invalid token, whether there are versioned keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA\n Delete.
\nFinally, the Content-MD5 header is required for all Multi-Object Delete requests. Amazon S3 uses the header value to ensure that your request body has not been altered in\n transit.
\nThe following operations are related to DeleteObjects
:
\n UploadPart\n
\n\n ListParts\n
\n\n AbortMultipartUpload\n
\nThe bucket name containing the objects to delete.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name containing the objects to delete.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Specifies whether you want to delete this object even if it has a Governance-type Object\n Lock in place. To use this header, you must have the s3:BypassGovernanceRetention
\n permission.
Specifies whether you want to delete this object even if it has a Governance-type Object\n Lock in place. To use this header, you must have the\n s3:BypassGovernanceRetention
permission.
Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any\n additional functionality if not using the SDK. When sending this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
This checksum algorithm must be the same for all parts and it match the checksum\n value supplied in the CreateMultipartUpload
request.
Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any\n additional functionality if not using the SDK. When sending this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
This checksum algorithm must be the same for all parts and it match the checksum value\n supplied in the CreateMultipartUpload
request.
Removes the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketPublicAccessBlock
permission. For\n more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
The following operations are related to DeletePublicAccessBlock
:
\n GetPublicAccessBlock\n
\n\n PutPublicAccessBlock\n
\nRemoves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketPublicAccessBlock
permission. For\n more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
The following operations are related to DeletePublicAccessBlock
:
\n GetPublicAccessBlock\n
\n\n PutPublicAccessBlock\n
\nThe Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the\n results.
", "smithy.api#required": {} } }, "Account": { "target": "com.amazonaws.s3#AccountId", "traits": { - "smithy.api#documentation": "Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to\n change replica ownership to the Amazon Web Services account that owns the destination bucket by specifying\n the AccessControlTranslation
property, this is the account ID of the\n destination bucket owner. For more information, see Replication Additional\n Configuration: Changing the Replica Owner in the Amazon S3 User Guide.
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to\n change replica ownership to the Amazon Web Services account that owns the destination bucket by\n specifying the AccessControlTranslation
property, this is the account ID of\n the destination bucket owner. For more information, see Replication Additional\n Configuration: Changing the Replica Owner in the\n Amazon S3 User Guide.
Specify this only in a cross-account scenario (where source and destination bucket\n owners are not the same), and you want to change replica ownership to the Amazon Web Services account that\n owns the destination bucket. If this is not specified in the replication configuration, the\n replicas are owned by same Amazon Web Services account that owns the source object.
" + "smithy.api#documentation": "Specify this only in a cross-account scenario (where source and destination bucket\n owners are not the same), and you want to change replica ownership to the Amazon Web Services account\n that owns the destination bucket. If this is not specified in the replication\n configuration, the replicas are owned by same Amazon Web Services account that owns the source\n object.
" } }, "EncryptionConfiguration": { @@ -22542,14 +22542,14 @@ "EncryptionType": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "The server-side encryption algorithm used when storing job results in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing job results in Amazon S3 (for example,\n AES256, aws:kms
).
If the encryption type is aws:kms
, this optional value specifies the ID of\n the symmetric customer managed key to use for encryption of job results. Amazon S3 only\n supports symmetric keys. For more information, see Using symmetric and\n asymmetric keys in the Amazon Web Services Key Management Service Developer\n Guide.
If the encryption type is aws:kms
, this optional value specifies the ID of\n the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only\n supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service\n Developer Guide.
Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key\n stored in Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses\n this key to encrypt replica objects. Amazon S3 only supports symmetric, customer managed KMS keys.\n For more information, see Using symmetric and\n asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
" + "smithy.api#documentation": "Specifies the ID (Key ARN or Alias ARN) of the customer managed Amazon Web Services KMS key stored in\n Amazon Web Services Key Management Service (KMS) for the destination bucket. Amazon S3 uses this key to\n encrypt replica objects. Amazon S3 only supports symmetric encryption KMS keys. For more\n information, see Asymmetric keys in Amazon Web Services\n KMS in the Amazon Web Services Key Management Service Developer\n Guide.
" } } }, @@ -22608,7 +22608,7 @@ "Code": { "target": "com.amazonaws.s3#Code", "traits": { - "smithy.api#documentation": "The error code is a string that uniquely identifies an error condition. It is meant to\n be read and understood by programs that detect and handle errors by type.
\n\n Amazon S3 error codes\n
\n\n Code: AccessDenied
\n\n Description: Access Denied
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AccountProblem
\n\n Description: There is a problem with your Amazon Web Services account\n that prevents the action from completing successfully. Contact Amazon Web Services Support\n for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AllAccessDisabled
\n\n Description: All access to this Amazon S3 resource has been\n disabled. Contact Amazon Web Services Support for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AmbiguousGrantByEmailAddress
\n\n Description: The email address you provided is\n associated with more than one account.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AuthorizationHeaderMalformed
\n\n Description: The authorization header you provided is\n invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n HTTP Status Code: N/A
\n\n Code: BadDigest
\n\n Description: The Content-MD5 you specified did not\n match what we received.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketAlreadyExists
\n\n Description: The requested bucket name is not\n available. The bucket namespace is shared by all users of the system. Please\n select a different name and try again.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketAlreadyOwnedByYou
\n\n Description: The bucket you tried to create already\n exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in\n the North Virginia Region. For legacy compatibility, if you re-create an\n existing bucket that you already own in the North Virginia Region, Amazon S3 returns\n 200 OK and resets the bucket access control lists (ACLs).
\n\n Code: 409 Conflict (in all Regions except the North\n Virginia Region)
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketNotEmpty
\n\n Description: The bucket you tried to delete is not\n empty.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: CredentialsNotSupported
\n\n Description: This request does not support\n credentials.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: CrossLocationLoggingProhibited
\n\n Description: Cross-location logging not allowed.\n Buckets in one geographic location cannot log information to a bucket in\n another location.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: EntityTooSmall
\n\n Description: Your proposed upload is smaller than the\n minimum allowed object size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: EntityTooLarge
\n\n Description: Your proposed upload exceeds the maximum\n allowed object size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: ExpiredToken
\n\n Description: The provided token has expired.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IllegalVersioningConfigurationException
\n\n Description: Indicates that the versioning\n configuration specified in the request is invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IncompleteBody
\n\n Description: You did not provide the number of bytes\n specified by the Content-Length HTTP header
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IncorrectNumberOfFilesInPostRequest
\n\n Description: POST requires exactly one file upload per\n request.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InlineDataTooLarge
\n\n Description: Inline data exceeds the maximum allowed\n size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InternalError
\n\n Description: We encountered an internal error. Please\n try again.
\n\n HTTP Status Code: 500 Internal Server Error
\n\n SOAP Fault Code Prefix: Server
\n\n Code: InvalidAccessKeyId
\n\n Description: The Amazon Web Services access key ID you provided does\n not exist in our records.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidAddressingHeader
\n\n Description: You must specify the Anonymous\n role.
\n\n HTTP Status Code: N/A
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidArgument
\n\n Description: Invalid Argument
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidBucketName
\n\n Description: The specified bucket is not valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidBucketState
\n\n Description: The request is not valid with the current\n state of the bucket.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidDigest
\n\n Description: The Content-MD5 you specified is not\n valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidEncryptionAlgorithmError
\n\n Description: The encryption request you specified is\n not valid. The valid value is AES256.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidLocationConstraint
\n\n Description: The specified location constraint is not\n valid. For more information about Regions, see How to Select a\n Region for Your Buckets.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidObjectState
\n\n Description: The action is not valid for the current\n state of the object.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPart
\n\n Description: One or more of the specified parts could\n not be found. The part might not have been uploaded, or the specified entity\n tag might not have matched the part's entity tag.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPartOrder
\n\n Description: The list of parts was not in ascending\n order. Parts list must be specified in order by part number.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPayer
\n\n Description: All access to this object has been\n disabled. Please contact Amazon Web Services Support for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPolicyDocument
\n\n Description: The content of the form does not meet the\n conditions specified in the policy document.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRange
\n\n Description: The requested range cannot be\n satisfied.
\n\n HTTP Status Code: 416 Requested Range Not\n Satisfiable
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRequest
\n\n Description: Please use AWS4-HMAC-SHA256
.
\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: SOAP requests must be made over an HTTPS\n connection.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported for buckets with non-DNS compliant names.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported for buckets with periods (.) in their names.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate endpoint only\n supports virtual style requests.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate is not configured\n on this bucket.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate is disabled on\n this bucket.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported on this bucket. Contact Amazon Web Services Support for more information.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration cannot be\n enabled on this bucket. Contact Amazon Web Services Support for more information.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidSecurity
\n\n Description: The provided security credentials are not\n valid.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidSOAPRequest
\n\n Description: The SOAP request body is invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidStorageClass
\n\n Description: The storage class you specified is not\n valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidTargetBucketForLogging
\n\n Description: The target bucket for logging does not\n exist, is not owned by you, or does not have the appropriate grants for the\n log-delivery group.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidToken
\n\n Description: The provided token is malformed or\n otherwise invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidURI
\n\n Description: Couldn't parse the specified URI.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: KeyTooLongError
\n\n Description: Your key is too long.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedACLError
\n\n Description: The XML you provided was not well-formed\n or did not validate against our published schema.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedPOSTRequest
\n\n Description: The body of your POST request is not\n well-formed multipart/form-data.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedXML
\n\n Description: This happens when the user sends malformed\n XML (XML that doesn't conform to the published XSD) for the configuration. The\n error message is, \"The XML you provided was not well-formed or did not validate\n against our published schema.\"
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MaxMessageLengthExceeded
\n\n Description: Your request was too big.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MaxPostPreDataLengthExceededError
\n\n Description: Your POST request fields preceding the\n upload file were too large.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MetadataTooLarge
\n\n Description: Your metadata headers exceed the maximum\n allowed metadata size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MethodNotAllowed
\n\n Description: The specified method is not allowed\n against this resource.
\n\n HTTP Status Code: 405 Method Not Allowed
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingAttachment
\n\n Description: A SOAP attachment was expected, but none\n were found.
\n\n HTTP Status Code: N/A
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingContentLength
\n\n Description: You must provide the Content-Length HTTP\n header.
\n\n HTTP Status Code: 411 Length Required
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingRequestBodyError
\n\n Description: This happens when the user sends an empty\n XML document as a request. The error message is, \"Request body is empty.\"\n
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingSecurityElement
\n\n Description: The SOAP 1.1 request is missing a security\n element.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingSecurityHeader
\n\n Description: Your request is missing a required\n header.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoLoggingStatusForKey
\n\n Description: There is no such thing as a logging status\n subresource for a key.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchBucket
\n\n Description: The specified bucket does not\n exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchBucketPolicy
\n\n Description: The specified bucket does not have a\n bucket policy.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchKey
\n\n Description: The specified key does not exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchLifecycleConfiguration
\n\n Description: The lifecycle configuration does not\n exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchUpload
\n\n Description: The specified multipart upload does not\n exist. The upload ID might be invalid, or the multipart upload might have been\n aborted or completed.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchVersion
\n\n Description: Indicates that the version ID specified in\n the request does not match an existing version.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NotImplemented
\n\n Description: A header you provided implies\n functionality that is not implemented.
\n\n HTTP Status Code: 501 Not Implemented
\n\n SOAP Fault Code Prefix: Server
\n\n Code: NotSignedUp
\n\n Description: Your account is not signed up for the Amazon S3\n service. You must sign up before you can use Amazon S3. You can sign up at the\n following URL: Amazon S3\n
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: OperationAborted
\n\n Description: A conflicting conditional action is\n currently in progress against this resource. Try again.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: PermanentRedirect
\n\n Description: The bucket you are attempting to access\n must be addressed using the specified endpoint. Send all future requests to\n this endpoint.
\n\n HTTP Status Code: 301 Moved Permanently
\n\n SOAP Fault Code Prefix: Client
\n\n Code: PreconditionFailed
\n\n Description: At least one of the preconditions you\n specified did not hold.
\n\n HTTP Status Code: 412 Precondition Failed
\n\n SOAP Fault Code Prefix: Client
\n\n Code: Redirect
\n\n Description: Temporary redirect.
\n\n HTTP Status Code: 307 Moved Temporarily
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RestoreAlreadyInProgress
\n\n Description: Object restore is already in\n progress.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestIsNotMultiPartContent
\n\n Description: Bucket POST must be of the enclosure-type\n multipart/form-data.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTimeout
\n\n Description: Your socket connection to the server was\n not read from or written to within the timeout period.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTimeTooSkewed
\n\n Description: The difference between the request time\n and the server's time is too large.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTorrentOfBucketError
\n\n Description: Requesting the torrent file of a bucket is\n not permitted.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: SignatureDoesNotMatch
\n\n Description: The request signature we calculated does\n not match the signature you provided. Check your Amazon Web Services secret access key and\n signing method. For more information, see REST Authentication and\n SOAP Authentication\n for details.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: ServiceUnavailable
\n\n Description: Reduce your request rate.
\n\n HTTP Status Code: 503 Service Unavailable
\n\n SOAP Fault Code Prefix: Server
\n\n Code: SlowDown
\n\n Description: Reduce your request rate.
\n\n HTTP Status Code: 503 Slow Down
\n\n SOAP Fault Code Prefix: Server
\n\n Code: TemporaryRedirect
\n\n Description: You are being redirected to the bucket\n while DNS updates.
\n\n HTTP Status Code: 307 Moved Temporarily
\n\n SOAP Fault Code Prefix: Client
\n\n Code: TokenRefreshRequired
\n\n Description: The provided token must be\n refreshed.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: TooManyBuckets
\n\n Description: You have attempted to create more buckets\n than allowed.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UnexpectedContent
\n\n Description: This request does not support\n content.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UnresolvableGrantByEmailAddress
\n\n Description: The email address you provided does not\n match any account on record.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UserKeyMustBeSpecified
\n\n Description: The bucket POST must contain the specified\n field name. If it is specified, check the order of the fields.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\nThe error code is a string that uniquely identifies an error condition. It is meant to\n be read and understood by programs that detect and handle errors by type.
\n\n Amazon S3 error codes\n
\n\n Code: AccessDenied
\n\n Description: Access Denied
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AccountProblem
\n\n Description: There is a problem with your Amazon Web Services account\n that prevents the action from completing successfully. Contact Amazon Web Services Support\n for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AllAccessDisabled
\n\n Description: All access to this Amazon S3 resource has been\n disabled. Contact Amazon Web Services Support for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AmbiguousGrantByEmailAddress
\n\n Description: The email address you provided is\n associated with more than one account.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: AuthorizationHeaderMalformed
\n\n Description: The authorization header you provided is\n invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n HTTP Status Code: N/A
\n\n Code: BadDigest
\n\n Description: The Content-MD5 you specified did not\n match what we received.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketAlreadyExists
\n\n Description: The requested bucket name is not\n available. The bucket namespace is shared by all users of the system. Please\n select a different name and try again.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketAlreadyOwnedByYou
\n\n Description: The bucket you tried to create already\n exists, and you own it. Amazon S3 returns this error in all Amazon Web Services Regions except in\n the North Virginia Region. For legacy compatibility, if you re-create an\n existing bucket that you already own in the North Virginia Region, Amazon S3 returns\n 200 OK and resets the bucket access control lists (ACLs).
\n\n Code: 409 Conflict (in all Regions except the North\n Virginia Region)
\n\n SOAP Fault Code Prefix: Client
\n\n Code: BucketNotEmpty
\n\n Description: The bucket you tried to delete is not\n empty.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: CredentialsNotSupported
\n\n Description: This request does not support\n credentials.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: CrossLocationLoggingProhibited
\n\n Description: Cross-location logging not allowed.\n Buckets in one geographic location cannot log information to a bucket in\n another location.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: EntityTooSmall
\n\n Description: Your proposed upload is smaller than the\n minimum allowed object size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: EntityTooLarge
\n\n Description: Your proposed upload exceeds the maximum\n allowed object size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: ExpiredToken
\n\n Description: The provided token has expired.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IllegalVersioningConfigurationException
\n\n Description: Indicates that the versioning\n configuration specified in the request is invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IncompleteBody
\n\n Description: You did not provide the number of bytes\n specified by the Content-Length HTTP header
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: IncorrectNumberOfFilesInPostRequest
\n\n Description: POST requires exactly one file upload per\n request.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InlineDataTooLarge
\n\n Description: Inline data exceeds the maximum allowed\n size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InternalError
\n\n Description: We encountered an internal error. Please\n try again.
\n\n HTTP Status Code: 500 Internal Server Error
\n\n SOAP Fault Code Prefix: Server
\n\n Code: InvalidAccessKeyId
\n\n Description: The Amazon Web Services access key ID you provided does\n not exist in our records.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidAddressingHeader
\n\n Description: You must specify the Anonymous\n role.
\n\n HTTP Status Code: N/A
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidArgument
\n\n Description: Invalid Argument
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidBucketName
\n\n Description: The specified bucket is not valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidBucketState
\n\n Description: The request is not valid with the current\n state of the bucket.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidDigest
\n\n Description: The Content-MD5 you specified is not\n valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidEncryptionAlgorithmError
\n\n Description: The encryption request you specified is\n not valid. The valid value is AES256.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidLocationConstraint
\n\n Description: The specified location constraint is not\n valid. For more information about Regions, see How to Select\n a Region for Your Buckets.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidObjectState
\n\n Description: The action is not valid for the current\n state of the object.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPart
\n\n Description: One or more of the specified parts could\n not be found. The part might not have been uploaded, or the specified entity\n tag might not have matched the part's entity tag.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPartOrder
\n\n Description: The list of parts was not in ascending\n order. Parts list must be specified in order by part number.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPayer
\n\n Description: All access to this object has been\n disabled. Please contact Amazon Web Services Support for further assistance.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidPolicyDocument
\n\n Description: The content of the form does not meet the\n conditions specified in the policy document.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRange
\n\n Description: The requested range cannot be\n satisfied.
\n\n HTTP Status Code: 416 Requested Range Not\n Satisfiable
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRequest
\n\n Description: Please use\n AWS4-HMAC-SHA256
.
\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: SOAP requests must be made over an HTTPS\n connection.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported for buckets with non-DNS compliant names.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported for buckets with periods (.) in their names.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate endpoint only\n supports virtual style requests.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate is not configured\n on this bucket.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Accelerate is disabled on\n this bucket.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration is not\n supported on this bucket. Contact Amazon Web Services Support for more information.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidRequest
\n\n Description: Amazon S3 Transfer Acceleration cannot be\n enabled on this bucket. Contact Amazon Web Services Support for more information.
\n\n HTTP Status Code: 400 Bad Request
\n\n Code: N/A
\n\n Code: InvalidSecurity
\n\n Description: The provided security credentials are not\n valid.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidSOAPRequest
\n\n Description: The SOAP request body is invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidStorageClass
\n\n Description: The storage class you specified is not\n valid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidTargetBucketForLogging
\n\n Description: The target bucket for logging does not\n exist, is not owned by you, or does not have the appropriate grants for the\n log-delivery group.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidToken
\n\n Description: The provided token is malformed or\n otherwise invalid.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: InvalidURI
\n\n Description: Couldn't parse the specified URI.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: KeyTooLongError
\n\n Description: Your key is too long.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedACLError
\n\n Description: The XML you provided was not well-formed\n or did not validate against our published schema.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedPOSTRequest
\n\n Description: The body of your POST request is not\n well-formed multipart/form-data.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MalformedXML
\n\n Description: This happens when the user sends malformed\n XML (XML that doesn't conform to the published XSD) for the configuration. The\n error message is, \"The XML you provided was not well-formed or did not validate\n against our published schema.\"
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MaxMessageLengthExceeded
\n\n Description: Your request was too big.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MaxPostPreDataLengthExceededError
\n\n Description: Your POST request fields preceding the\n upload file were too large.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MetadataTooLarge
\n\n Description: Your metadata headers exceed the maximum\n allowed metadata size.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MethodNotAllowed
\n\n Description: The specified method is not allowed\n against this resource.
\n\n HTTP Status Code: 405 Method Not Allowed
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingAttachment
\n\n Description: A SOAP attachment was expected, but none\n were found.
\n\n HTTP Status Code: N/A
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingContentLength
\n\n Description: You must provide the Content-Length HTTP\n header.
\n\n HTTP Status Code: 411 Length Required
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingRequestBodyError
\n\n Description: This happens when the user sends an empty\n XML document as a request. The error message is, \"Request body is empty.\"\n
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingSecurityElement
\n\n Description: The SOAP 1.1 request is missing a security\n element.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: MissingSecurityHeader
\n\n Description: Your request is missing a required\n header.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoLoggingStatusForKey
\n\n Description: There is no such thing as a logging status\n subresource for a key.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchBucket
\n\n Description: The specified bucket does not\n exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchBucketPolicy
\n\n Description: The specified bucket does not have a\n bucket policy.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchKey
\n\n Description: The specified key does not exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchLifecycleConfiguration
\n\n Description: The lifecycle configuration does not\n exist.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchUpload
\n\n Description: The specified multipart upload does not\n exist. The upload ID might be invalid, or the multipart upload might have been\n aborted or completed.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NoSuchVersion
\n\n Description: Indicates that the version ID specified in\n the request does not match an existing version.
\n\n HTTP Status Code: 404 Not Found
\n\n SOAP Fault Code Prefix: Client
\n\n Code: NotImplemented
\n\n Description: A header you provided implies\n functionality that is not implemented.
\n\n HTTP Status Code: 501 Not Implemented
\n\n SOAP Fault Code Prefix: Server
\n\n Code: NotSignedUp
\n\n Description: Your account is not signed up for the Amazon S3\n service. You must sign up before you can use Amazon S3. You can sign up at the\n following URL: Amazon S3\n
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: OperationAborted
\n\n Description: A conflicting conditional action is\n currently in progress against this resource. Try again.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: PermanentRedirect
\n\n Description: The bucket you are attempting to access\n must be addressed using the specified endpoint. Send all future requests to\n this endpoint.
\n\n HTTP Status Code: 301 Moved Permanently
\n\n SOAP Fault Code Prefix: Client
\n\n Code: PreconditionFailed
\n\n Description: At least one of the preconditions you\n specified did not hold.
\n\n HTTP Status Code: 412 Precondition Failed
\n\n SOAP Fault Code Prefix: Client
\n\n Code: Redirect
\n\n Description: Temporary redirect.
\n\n HTTP Status Code: 307 Moved Temporarily
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RestoreAlreadyInProgress
\n\n Description: Object restore is already in\n progress.
\n\n HTTP Status Code: 409 Conflict
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestIsNotMultiPartContent
\n\n Description: Bucket POST must be of the enclosure-type\n multipart/form-data.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTimeout
\n\n Description: Your socket connection to the server was\n not read from or written to within the timeout period.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTimeTooSkewed
\n\n Description: The difference between the request time\n and the server's time is too large.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: RequestTorrentOfBucketError
\n\n Description: Requesting the torrent file of a bucket is\n not permitted.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: SignatureDoesNotMatch
\n\n Description: The request signature we calculated does\n not match the signature you provided. Check your Amazon Web Services secret access key and\n signing method. For more information, see REST\n Authentication and SOAP\n Authentication for details.
\n\n HTTP Status Code: 403 Forbidden
\n\n SOAP Fault Code Prefix: Client
\n\n Code: ServiceUnavailable
\n\n Description: Service is unable to handle\n request.
\n\n HTTP Status Code: 503 Service Unavailable
\n\n SOAP Fault Code Prefix: Server
\n\n Code: SlowDown
\n\n Description: Reduce your request rate.
\n\n HTTP Status Code: 503 Slow Down
\n\n SOAP Fault Code Prefix: Server
\n\n Code: TemporaryRedirect
\n\n Description: You are being redirected to the bucket\n while DNS updates.
\n\n HTTP Status Code: 307 Moved Temporarily
\n\n SOAP Fault Code Prefix: Client
\n\n Code: TokenRefreshRequired
\n\n Description: The provided token must be\n refreshed.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: TooManyBuckets
\n\n Description: You have attempted to create more buckets\n than allowed.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UnexpectedContent
\n\n Description: This request does not support\n content.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UnresolvableGrantByEmailAddress
\n\n Description: The email address you provided does not\n match any account on record.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\n\n Code: UserKeyMustBeSpecified
\n\n Description: The bucket POST must contain the specified\n field name. If it is specified, check the order of the fields.
\n\n HTTP Status Code: 400 Bad Request
\n\n SOAP Fault Code Prefix: Client
\nThe bucket event for which to send notifications.
", - "smithy.api#enum": [ - { - "value": "s3:ReducedRedundancyLostObject" - }, - { - "value": "s3:ObjectCreated:*" - }, - { - "value": "s3:ObjectCreated:Put" - }, - { - "value": "s3:ObjectCreated:Post" - }, - { - "value": "s3:ObjectCreated:Copy" - }, - { - "value": "s3:ObjectCreated:CompleteMultipartUpload" - }, - { - "value": "s3:ObjectRemoved:*" - }, - { - "value": "s3:ObjectRemoved:Delete" - }, - { - "value": "s3:ObjectRemoved:DeleteMarkerCreated" - }, - { - "value": "s3:ObjectRestore:*" - }, - { - "value": "s3:ObjectRestore:Post" - }, - { - "value": "s3:ObjectRestore:Completed" - }, - { - "value": "s3:Replication:*" - }, - { - "value": "s3:Replication:OperationFailedReplication" - }, - { - "value": "s3:Replication:OperationNotTracked" - }, - { - "value": "s3:Replication:OperationMissedThreshold" - }, - { - "value": "s3:Replication:OperationReplicatedAfterThreshold" - }, - { - "value": "s3:ObjectRestore:Delete" - }, - { - "value": "s3:LifecycleTransition" - }, - { - "value": "s3:IntelligentTiering" - }, - { - "value": "s3:ObjectAcl:Put" - }, - { - "value": "s3:LifecycleExpiration:*" - }, - { - "value": "s3:LifecycleExpiration:Delete" - }, - { - "value": "s3:LifecycleExpiration:DeleteMarkerCreated" - }, - { - "value": "s3:ObjectTagging:*" - }, - { - "value": "s3:ObjectTagging:Put" - }, - { - "value": "s3:ObjectTagging:Delete" + "type": "enum", + "members": { + "s3_ReducedRedundancyLostObject": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ReducedRedundancyLostObject" + } + }, + "s3_ObjectCreated_": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectCreated:*" + } + }, + "s3_ObjectCreated_Put": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectCreated:Put" + } + }, + "s3_ObjectCreated_Post": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectCreated:Post" + } + }, + "s3_ObjectCreated_Copy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectCreated:Copy" + } + }, + "s3_ObjectCreated_CompleteMultipartUpload": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectCreated:CompleteMultipartUpload" + } + }, + "s3_ObjectRemoved_": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectRemoved:*" + } + }, + "s3_ObjectRemoved_Delete": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectRemoved:Delete" + } + }, + "s3_ObjectRemoved_DeleteMarkerCreated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectRemoved:DeleteMarkerCreated" + } + }, + "s3_ObjectRestore_": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectRestore:*" + } + }, + "s3_ObjectRestore_Post": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectRestore:Post" + } + }, + "s3_ObjectRestore_Completed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectRestore:Completed" + } + }, + "s3_Replication_": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:Replication:*" + } + }, + "s3_Replication_OperationFailedReplication": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:Replication:OperationFailedReplication" + } + }, + "s3_Replication_OperationNotTracked": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:Replication:OperationNotTracked" + } + }, + "s3_Replication_OperationMissedThreshold": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:Replication:OperationMissedThreshold" + } + }, + "s3_Replication_OperationReplicatedAfterThreshold": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:Replication:OperationReplicatedAfterThreshold" + } + }, + "s3_ObjectRestore_Delete": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectRestore:Delete" + } + }, + "s3_LifecycleTransition": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:LifecycleTransition" + } + }, + "s3_IntelligentTiering": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:IntelligentTiering" } - ] + }, + "s3_ObjectAcl_Put": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectAcl:Put" + } + }, + "s3_LifecycleExpiration_": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:LifecycleExpiration:*" + } + }, + "s3_LifecycleExpiration_Delete": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:LifecycleExpiration:Delete" + } + }, + "s3_LifecycleExpiration_DeleteMarkerCreated": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:LifecycleExpiration:DeleteMarkerCreated" + } + }, + "s3_ObjectTagging_": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectTagging:*" + } + }, + "s3_ObjectTagging_Put": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectTagging:Put" + } + }, + "s3_ObjectTagging_Delete": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "s3:ObjectTagging:Delete" + } + } + }, + "traits": { + "smithy.api#documentation": "The bucket event for which to send notifications.
" } }, "com.amazonaws.s3#EventBridgeConfiguration": { @@ -22757,7 +22838,7 @@ "Status": { "target": "com.amazonaws.s3#ExistingObjectReplicationStatus", "traits": { - "smithy.api#documentation": "", + "smithy.api#documentation": "Specifies whether Amazon S3 replicates existing source bucket objects.
", "smithy.api#required": {} } } @@ -22925,7 +23006,7 @@ "target": "com.amazonaws.s3#GetBucketAccelerateConfigurationOutput" }, "traits": { - "smithy.api#documentation": "This implementation of the GET action uses the accelerate
subresource to\n return the Transfer Acceleration state of a bucket, which is either Enabled
or\n Suspended
. Amazon S3 Transfer Acceleration is a bucket-level feature that\n enables you to perform faster data transfers to and from Amazon S3.
To use this operation, you must have permission to perform the\n s3:GetAccelerateConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3\n Resources in the Amazon S3 User Guide.
You set the Transfer Acceleration state of an existing bucket to Enabled
or\n Suspended
by using the PutBucketAccelerateConfiguration operation.
A GET accelerate
request does not return a state value for a bucket that\n has no transfer acceleration state. A bucket has no Transfer Acceleration state if a state\n has never been set on the bucket.
For more information about transfer acceleration, see Transfer Acceleration in the\n Amazon S3 User Guide.
\n\n Related Resources\n
\nThis implementation of the GET action uses the accelerate
subresource to\n return the Transfer Acceleration state of a bucket, which is either Enabled
or\n Suspended
. Amazon S3 Transfer Acceleration is a bucket-level feature that\n enables you to perform faster data transfers to and from Amazon S3.
To use this operation, you must have permission to perform the\n s3:GetAccelerateConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to your Amazon S3 Resources in the\n Amazon S3 User Guide.
You set the Transfer Acceleration state of an existing bucket to Enabled
or\n Suspended
by using the PutBucketAccelerateConfiguration operation.
A GET accelerate
request does not return a state value for a bucket that\n has no transfer acceleration state. A bucket has no Transfer Acceleration state if a state\n has never been set on the bucket.
For more information about transfer acceleration, see Transfer Acceleration in\n the Amazon S3 User Guide.
\n\n Related Resources\n
\nThis implementation of the GET
action uses the acl
\n subresource to return the access control list (ACL) of a bucket. To use GET
to\n return the ACL of the bucket, you must have READ_ACP
access to the bucket. If\n READ_ACP
permission is granted to the anonymous user, you can return the\n ACL of the bucket without using an authorization header.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, \n requests to read ACLs are still supported and return the bucket-owner-full-control
\n ACL with the owner being the account that created the bucket. For more information, see \n \n Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
\n Related Resources\n
\n\n ListObjects\n
\nThis implementation of the GET
action uses the acl
subresource\n to return the access control list (ACL) of a bucket. To use GET
to return the\n ACL of the bucket, you must have READ_ACP
access to the bucket. If\n READ_ACP
permission is granted to the anonymous user, you can return the\n ACL of the bucket without using an authorization header.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership,\n requests to read ACLs are still supported and return the\n bucket-owner-full-control
ACL with the owner being the account that\n created the bucket. For more information, see Controlling object\n ownership and disabling ACLs in the\n Amazon S3 User Guide.
\n Related Resources\n
\n\n ListObjects\n
\nThis implementation of the GET action returns an analytics configuration (identified\n by the analytics configuration ID) from the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon S3 User Guide.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis in the Amazon S3 User Guide.
\n\n Related Resources\n
\nThis implementation of the GET action returns an analytics configuration (identified by\n the analytics configuration ID) from the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis in the Amazon S3 User Guide.
\n\n Related Resources\n
\nReturns the Cross-Origin Resource Sharing (CORS) configuration information set for the\n bucket.
\n To use this operation, you must have permission to perform the\n s3:GetBucketCORS
action. By default, the bucket owner has this permission\n and can grant it to others.
For more information about CORS, see Enabling Cross-Origin Resource\n Sharing.
\nThe following operations are related to GetBucketCors
:
\n PutBucketCors\n
\n\n DeleteBucketCors\n
\nReturns the Cross-Origin Resource Sharing (CORS) configuration information set for the\n bucket.
\n To use this operation, you must have permission to perform the\n s3:GetBucketCORS
action. By default, the bucket owner has this permission\n and can grant it to others.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
\nFor more information about CORS, see Enabling Cross-Origin Resource\n Sharing.
\nThe following operations are related to GetBucketCors
:
\n PutBucketCors\n
\n\n DeleteBucketCors\n
\nReturns the default encryption configuration for an Amazon S3 bucket. If the bucket does not\n have a default encryption configuration, GetBucketEncryption returns\n ServerSideEncryptionConfigurationNotFoundError
.
For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption.
\n To use this operation, you must have permission to perform the\n s3:GetEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
The following operations are related to GetBucketEncryption
:
\n PutBucketEncryption\n
\nReturns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a default encryption configuration that\n uses server-side encryption with Amazon S3 managed keys (SSE-S3). For information\n about the bucket default encryption feature, see Amazon S3 Bucket\n Default Encryption in the Amazon S3 User Guide.
\nTo use this operation, you must have permission to perform the\n s3:GetEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
The following operations are related to GetBucketEncryption
:
\n PutBucketEncryption\n
\nGets the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to\n GetBucketIntelligentTieringConfiguration
include:
Gets the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to GetBucketIntelligentTieringConfiguration
include:
Returns an inventory configuration (identified by the inventory configuration ID) from\n the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration
action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
\nThe following operations are related to\n GetBucketInventoryConfiguration
:
Returns an inventory configuration (identified by the inventory configuration ID) from\n the bucket.
\nTo use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration
action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
\nThe following operations are related to\n GetBucketInventoryConfiguration
:
Bucket lifecycle configuration now supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, or a combination of both. Accordingly,\n this section describes the latest API. The response describes the new filter element\n that you can use to specify a filter to select a subset of objects to which the rule\n applies. If you are using a previous version of the lifecycle configuration, it still\n works. For the earlier action, see GetBucketLifecycle.
\nReturns the lifecycle configuration information set on the bucket. For information about\n lifecycle configuration, see Object\n Lifecycle Management.
\nTo use this operation, you must have permission to perform the\n s3:GetLifecycleConfiguration
action. The bucket owner has this permission,\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
\n GetBucketLifecycleConfiguration
has the following special error:
Error code: NoSuchLifecycleConfiguration
\n
Description: The lifecycle configuration does not exist.
\nHTTP Status Code: 404 Not Found
\nSOAP Fault Code Prefix: Client
\nThe following operations are related to\n GetBucketLifecycleConfiguration
:
\n GetBucketLifecycle\n
\n\n PutBucketLifecycle\n
\nBucket lifecycle configuration now supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, or a combination of both. Accordingly,\n this section describes the latest API. The response describes the new filter element\n that you can use to specify a filter to select a subset of objects to which the rule\n applies. If you are using a previous version of the lifecycle configuration, it still\n works. For the earlier action, see GetBucketLifecycle.
\nReturns the lifecycle configuration information set on the bucket. For information about\n lifecycle configuration, see Object Lifecycle\n Management.
\nTo use this operation, you must have permission to perform the\n s3:GetLifecycleConfiguration
action. The bucket owner has this permission,\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
\n GetBucketLifecycleConfiguration
has the following special error:
Error code: NoSuchLifecycleConfiguration
\n
Description: The lifecycle configuration does not exist.
\nHTTP Status Code: 404 Not Found
\nSOAP Fault Code Prefix: Client
\nThe following operations are related to\n GetBucketLifecycleConfiguration
:
\n GetBucketLifecycle\n
\n\n PutBucketLifecycle\n
\nReturns the Region the bucket resides in. You set the bucket's Region using the\n LocationConstraint
request parameter in a CreateBucket
\n request. For more information, see CreateBucket.
To use this implementation of the operation, you must be the bucket owner.
\nTo use this API against an access point, provide the alias of the access point in place of the bucket name.
\nThe following operations are related to GetBucketLocation
:
\n GetObject\n
\n\n CreateBucket\n
\nReturns the Region the bucket resides in. You set the bucket's Region using the\n LocationConstraint
request parameter in a CreateBucket
\n request. For more information, see CreateBucket.
To use this implementation of the operation, you must be the bucket owner.
\nTo use this API against an access point, provide the alias of the access point in place of the bucket name.
\nFor requests made using Amazon Web Services Signature Version 4 (SigV4), we recommend that you use\n HeadBucket to return the bucket Region instead of GetBucketLocation.
\nThe following operations are related to GetBucketLocation
:
\n GetObject\n
\n\n CreateBucket\n
\nSpecifies the Region where the bucket resides. For a list of all the Amazon S3 supported\n location constraints by Region, see Regions and Endpoints.\n Buckets in Region us-east-1
have a LocationConstraint of\n null
.
Specifies the Region where the bucket resides. For a list of all the Amazon S3 supported\n location constraints by Region, see Regions and Endpoints. Buckets in\n Region us-east-1
have a LocationConstraint of null
.
Returns the logging status of a bucket and the permissions users have to view and modify\n that status. To use GET, you must be the bucket owner.
\nThe following operations are related to GetBucketLogging
:
\n CreateBucket\n
\n\n PutBucketLogging\n
\nReturns the logging status of a bucket and the permissions users have to view and modify\n that status.
\nThe following operations are related to GetBucketLogging
:
\n CreateBucket\n
\n\n PutBucketLogging\n
\nGets a metrics configuration (specified by the metrics configuration ID) from the\n bucket. Note that this doesn't include the daily storage metrics.
\n To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon\n CloudWatch.
\nThe following operations are related to\n GetBucketMetricsConfiguration
:
Gets a metrics configuration (specified by the metrics configuration ID) from the\n bucket. Note that this doesn't include the daily storage metrics.
\n To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring\n Metrics with Amazon CloudWatch.
\nThe following operations are related to\n GetBucketMetricsConfiguration
:
The ID used to identify the metrics configuration.
", + "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } @@ -23596,7 +23677,7 @@ "target": "com.amazonaws.s3#NotificationConfiguration" }, "traits": { - "smithy.api#documentation": "Returns the notification configuration of a bucket.
\nIf notifications are not enabled on the bucket, the action returns an empty\n NotificationConfiguration
element.
By default, you must be the bucket owner to read the notification configuration of a\n bucket. However, the bucket owner can use a bucket policy to grant permission to other\n users to read this configuration with the s3:GetBucketNotification
\n permission.
For more information about setting and reading the notification configuration on a\n bucket, see Setting Up Notification of\n Bucket Events. For more information about bucket policies, see Using Bucket Policies.
\nThe following action is related to GetBucketNotification
:
Returns the notification configuration of a bucket.
\nIf notifications are not enabled on the bucket, the action returns an empty\n NotificationConfiguration
element.
By default, you must be the bucket owner to read the notification configuration of a\n bucket. However, the bucket owner can use a bucket policy to grant permission to other\n users to read this configuration with the s3:GetBucketNotification
\n permission.
To use this API against an access point, provide the alias of the access point in place of the bucket name.
\nFor more information about setting and reading the notification configuration on a\n bucket, see Setting Up Notification of Bucket Events. For more information about bucket\n policies, see Using Bucket Policies.
\nThe following action is related to GetBucketNotification
:
Retrieves OwnershipControls
for an Amazon S3 bucket. To use this operation, you\n must have the s3:GetBucketOwnershipControls
permission. For more information\n about Amazon S3 permissions, see Specifying\n permissions in a policy.
For information about Amazon S3 Object Ownership, see Using Object Ownership.
\nThe following operations are related to GetBucketOwnershipControls
:
Retrieves OwnershipControls
for an Amazon S3 bucket. To use this operation, you\n must have the s3:GetBucketOwnershipControls
permission. For more information\n about Amazon S3 permissions, see Specifying permissions in a\n policy.
For information about Amazon S3 Object Ownership, see Using Object\n Ownership.
\nThe following operations are related to GetBucketOwnershipControls
:
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) currently in\n effect for this Amazon S3 bucket.
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or\n ObjectWriter) currently in effect for this Amazon S3 bucket.
Returns the policy of a specified bucket. If you are using an identity other than the\n root user of the Amazon Web Services account that owns the bucket, the calling identity must have the\n GetBucketPolicy
permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.
If you don't have GetBucketPolicy
permissions, Amazon S3 returns a 403\n Access Denied
error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed
error.
As a security precaution, the root user of the Amazon Web Services account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.
\nFor more information about bucket policies, see Using Bucket Policies and User\n Policies.
\nThe following action is related to GetBucketPolicy
:
\n GetObject\n
\nReturns the policy of a specified bucket. If you are using an identity other than the\n root user of the Amazon Web Services account that owns the bucket, the calling identity must have the\n GetBucketPolicy
permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.
If you don't have GetBucketPolicy
permissions, Amazon S3 returns a 403\n Access Denied
error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed
error.
As a security precaution, the root user of the Amazon Web Services account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.
\nTo use this API against an access point, provide the alias of the access point in place of the bucket name.
\nFor more information about bucket policies, see Using Bucket Policies and User\n Policies.
\nThe following action is related to GetBucketPolicy
:
\n GetObject\n
\nRetrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.\n In order to use this operation, you must have the s3:GetBucketPolicyStatus
\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
For more information about when Amazon S3 considers a bucket public, see The Meaning of \"Public\".
\nThe following operations are related to GetBucketPolicyStatus
:
\n GetPublicAccessBlock\n
\n\n PutPublicAccessBlock\n
\nRetrieves the policy status for an Amazon S3 bucket, indicating whether the bucket is public.\n In order to use this operation, you must have the s3:GetBucketPolicyStatus
\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
For more information about when Amazon S3 considers a bucket public, see The Meaning of \"Public\".
\nThe following operations are related to GetBucketPolicyStatus
:
\n GetPublicAccessBlock\n
\n\n PutPublicAccessBlock\n
\nReturns the request payment configuration of a bucket. To use this version of the\n operation, you must be the bucket owner. For more information, see Requester Pays Buckets.
\nThe following operations are related to GetBucketRequestPayment
:
\n ListObjects\n
\nReturns the request payment configuration of a bucket. To use this version of the\n operation, you must be the bucket owner. For more information, see Requester Pays\n Buckets.
\nThe following operations are related to GetBucketRequestPayment
:
\n ListObjects\n
\nReturns the website configuration for a bucket. To host website on Amazon S3, you can\n configure a bucket as website by adding a website configuration. For more information about\n hosting websites, see Hosting Websites on\n Amazon S3.
\nThis GET action requires the S3:GetBucketWebsite
permission. By default,\n only the bucket owner can read the bucket website configuration. However, bucket owners can\n allow other users to read the website configuration by writing a bucket policy granting\n them the S3:GetBucketWebsite
permission.
The following operations are related to DeleteBucketWebsite
:
\n DeleteBucketWebsite\n
\n\n PutBucketWebsite\n
\nReturns the website configuration for a bucket. To host website on Amazon S3, you can\n configure a bucket as website by adding a website configuration. For more information about\n hosting websites, see Hosting Websites on Amazon S3.
\nThis GET action requires the S3:GetBucketWebsite
permission. By default,\n only the bucket owner can read the bucket website configuration. However, bucket owners can\n allow other users to read the website configuration by writing a bucket policy granting\n them the S3:GetBucketWebsite
permission.
The following operations are related to DeleteBucketWebsite
:
\n DeleteBucketWebsite\n
\n\n PutBucketWebsite\n
\nRetrieves objects from Amazon S3. To use GET
, you must have READ
\n access to the object. If you grant READ
access to the anonymous user, you can\n return the object without using an authorization header.
An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer\n file system. You can, however, create a logical hierarchy by using object key names that\n imply a folder structure. For example, instead of naming an object sample.jpg
,\n you can name it photos/2006/February/sample.jpg
.
To get an object from such a logical hierarchy, specify the full key name for the object\n in the GET
operation. For a virtual hosted-style request example, if you have\n the object photos/2006/February/sample.jpg
, specify the resource as\n /photos/2006/February/sample.jpg
. For a path-style request example, if you\n have the object photos/2006/February/sample.jpg
in the bucket named\n examplebucket
, specify the resource as\n /examplebucket/photos/2006/February/sample.jpg
. For more information about\n request types, see HTTP Host Header Bucket Specification.
For more information about returning the ACL of an object, see GetObjectAcl.
\nIf the object you are retrieving is stored in the S3 Glacier or\n S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or\n S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you must first restore a\n copy using RestoreObject. Otherwise, this action returns an\n InvalidObjectStateError
error. For information about restoring archived\n objects, see Restoring Archived\n Objects.
Encryption request headers, like x-amz-server-side-encryption
, should not\n be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS) \n or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your\n object does use these types of keys, you’ll get an HTTP 400 BadRequest error.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,\n you must use the following headers:
\nx-amz-server-side-encryption-customer-algorithm
\nx-amz-server-side-encryption-customer-key
\nx-amz-server-side-encryption-customer-key-MD5
\nFor more information about SSE-C, see Server-Side Encryption (Using\n Customer-Provided Encryption Keys).
\nAssuming you have the relevant permission to read object tags, the response also returns the\n x-amz-tagging-count
header that provides the count of number of tags\n associated with the object. You can use GetObjectTagging to retrieve\n the tag set associated with an object.
\n Permissions\n
\nYou need the relevant read object (or version) permission for this operation. For more\n information, see Specifying Permissions\n in a Policy. If the object you request does not exist, the error Amazon S3 returns\n depends on whether you also have the s3:ListBucket
permission.
If you have the s3:ListBucket
permission on the bucket, Amazon S3 will\n return an HTTP status code 404 (\"no such key\") error.
If you don’t have the s3:ListBucket
permission, Amazon S3 will return an\n HTTP status code 403 (\"access denied\") error.
\n Versioning\n
\nBy default, the GET action returns the current version of an object. To return a\n different version, use the versionId
subresource.
\n If you supply a versionId
, you need the s3:GetObjectVersion
permission to\n access a specific version of an object. If you request a specific version, you do not need to have\n the s3:GetObject
permission.\n
If the current version of the object is a delete marker, Amazon S3 behaves as if the\n object was deleted and includes x-amz-delete-marker: true
in the\n response.
For more information about versioning, see PutBucketVersioning.
\n\n Overriding Response Header Values\n
\nThere are times when you want to override certain response header values in a GET\n response. For example, you might override the Content-Disposition
response\n header value in your GET request.
You can override values for a set of response headers using the following query\n parameters. These response header values are sent only on a successful request, that is,\n when status code 200 OK is returned. The set of headers you can override using these\n parameters is a subset of the headers that Amazon S3 accepts when you create an object. The\n response headers that you can override for the GET response are Content-Type
,\n Content-Language
, Expires
, Cache-Control
,\n Content-Disposition
, and Content-Encoding
. To override these\n header values in the GET response, you use the following request parameters.
You must sign the request, either using an Authorization header or a presigned URL,\n when using these parameters. They cannot be used with an unsigned (anonymous)\n request.
\n\n response-content-type
\n
\n response-content-language
\n
\n response-expires
\n
\n response-cache-control
\n
\n response-content-disposition
\n
\n response-content-encoding
\n
\n Additional Considerations about Request Headers\n
\nIf both of the If-Match
and If-Unmodified-Since
headers are\n present in the request as follows: If-Match
condition evaluates to\n true
, and; If-Unmodified-Since
condition evaluates to\n false
; then, S3 returns 200 OK and the data requested.
If both of the If-None-Match
and If-Modified-Since
headers are\n present in the request as follows: If-None-Match
condition evaluates to\n false
, and; If-Modified-Since
condition evaluates to\n true
; then, S3 returns 304 Not Modified response code.
For more information about conditional requests, see RFC 7232.
\nThe following operations are related to GetObject
:
\n ListBuckets\n
\n\n GetObjectAcl\n
\nRetrieves objects from Amazon S3. To use GET
, you must have READ
\n access to the object. If you grant READ
access to the anonymous user, you can\n return the object without using an authorization header.
An Amazon S3 bucket has no directory hierarchy such as you would find in a typical computer\n file system. You can, however, create a logical hierarchy by using object key names that\n imply a folder structure. For example, instead of naming an object sample.jpg
,\n you can name it photos/2006/February/sample.jpg
.
To get an object from such a logical hierarchy, specify the full key name for the object\n in the GET
operation. For a virtual hosted-style request example, if you have\n the object photos/2006/February/sample.jpg
, specify the resource as\n /photos/2006/February/sample.jpg
. For a path-style request example, if you\n have the object photos/2006/February/sample.jpg
in the bucket named\n examplebucket
, specify the resource as\n /examplebucket/photos/2006/February/sample.jpg
. For more information about\n request types, see HTTP Host\n Header Bucket Specification.
For more information about returning the ACL of an object, see GetObjectAcl.
\nIf the object you are retrieving is stored in the S3 Glacier or\n S3 Glacier Deep Archive storage class, or S3 Intelligent-Tiering Archive or\n S3 Intelligent-Tiering Deep Archive tiers, before you can retrieve the object you must first restore a\n copy using RestoreObject. Otherwise, this action returns an\n InvalidObjectState
error. For information about restoring archived objects,\n see Restoring\n Archived Objects.
Encryption request headers, like x-amz-server-side-encryption
, should not\n be sent for GET requests if your object uses server-side encryption with KMS keys\n (SSE-KMS) or server-side encryption with Amazon S3–managed encryption keys (SSE-S3). If your\n object does use these types of keys, you’ll get an HTTP 400 BadRequest error.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you GET the object,\n you must use the following headers:
\nx-amz-server-side-encryption-customer-algorithm
\nx-amz-server-side-encryption-customer-key
\nx-amz-server-side-encryption-customer-key-MD5
\nFor more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys).
\nAssuming you have the relevant permission to read object tags, the response also returns\n the x-amz-tagging-count
header that provides the count of number of tags\n associated with the object. You can use GetObjectTagging to retrieve\n the tag set associated with an object.
\n Permissions\n
\nYou need the relevant read object (or version) permission for this operation. For more\n information, see Specifying Permissions in a\n Policy. If the object you request does not exist, the error Amazon S3 returns depends\n on whether you also have the s3:ListBucket
permission.
If you have the s3:ListBucket
permission on the bucket, Amazon S3 will\n return an HTTP status code 404 (\"no such key\") error.
If you don’t have the s3:ListBucket
permission, Amazon S3 will return an\n HTTP status code 403 (\"access denied\") error.
\n Versioning\n
\nBy default, the GET action returns the current version of an object. To return a\n different version, use the versionId
subresource.
If you supply a versionId
, you need the\n s3:GetObjectVersion
permission to access a specific version of an\n object. If you request a specific version, you do not need to have the\n s3:GetObject
permission. If you request the current version\n without a specific version ID, only s3:GetObject
permission is\n required. s3:GetObjectVersion
permission won't be required.
If the current version of the object is a delete marker, Amazon S3 behaves as if the\n object was deleted and includes x-amz-delete-marker: true
in the\n response.
For more information about versioning, see PutBucketVersioning.
\n\n Overriding Response Header Values\n
\nThere are times when you want to override certain response header values in a GET\n response. For example, you might override the Content-Disposition
response\n header value in your GET request.
You can override values for a set of response headers using the following query\n parameters. These response header values are sent only on a successful request, that is,\n when status code 200 OK is returned. The set of headers you can override using these\n parameters is a subset of the headers that Amazon S3 accepts when you create an object. The\n response headers that you can override for the GET response are Content-Type
,\n Content-Language
, Expires
, Cache-Control
,\n Content-Disposition
, and Content-Encoding
. To override these\n header values in the GET response, you use the following request parameters.
You must sign the request, either using an Authorization header or a presigned URL,\n when using these parameters. They cannot be used with an unsigned (anonymous)\n request.
\n\n response-content-type
\n
\n response-content-language
\n
\n response-expires
\n
\n response-cache-control
\n
\n response-content-disposition
\n
\n response-content-encoding
\n
\n Additional Considerations about Request Headers\n
\nIf both of the If-Match
and If-Unmodified-Since
headers are\n present in the request as follows: If-Match
condition evaluates to\n true
, and; If-Unmodified-Since
condition evaluates to\n false
; then, S3 returns 200 OK and the data requested.
If both of the If-None-Match
and If-Modified-Since
headers are\n present in the request as follows: If-None-Match
condition evaluates to\n false
, and; If-Modified-Since
condition evaluates to\n true
; then, S3 returns 304 Not Modified response code.
For more information about conditional requests, see RFC 7232.
\nThe following operations are related to GetObject
:
\n ListBuckets\n
\n\n GetObjectAcl\n
\nReturns the access control list (ACL) of an object. To use this operation, you must have\n s3:GetObjectAcl
permissions or READ_ACP
access to the object.\n For more information, see Mapping of ACL permissions and access policy permissions in the Amazon S3\n User Guide\n
This action is not supported by Amazon S3 on Outposts.
\n\n Versioning\n
\nBy default, GET returns ACL information about the current version of an object. To\n return ACL information about a different version, use the versionId subresource.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership, \n requests to read ACLs are still supported and return the bucket-owner-full-control
\n ACL with the owner being the account that created the bucket. For more information, see \n \n Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
The following operations are related to GetObjectAcl
:
\n GetObject\n
\n\n GetObjectAttributes\n
\n\n DeleteObject\n
\n\n PutObject\n
\nReturns the access control list (ACL) of an object. To use this operation, you must have\n s3:GetObjectAcl
permissions or READ_ACP
access to the object.\n For more information, see Mapping of ACL permissions and access policy permissions in the Amazon S3\n User Guide\n
This action is not supported by Amazon S3 on Outposts.
\n\n Versioning\n
\nBy default, GET returns ACL information about the current version of an object. To\n return ACL information about a different version, use the versionId subresource.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership,\n requests to read ACLs are still supported and return the\n bucket-owner-full-control
ACL with the owner being the account that\n created the bucket. For more information, see Controlling object\n ownership and disabling ACLs in the\n Amazon S3 User Guide.
The following operations are related to GetObjectAcl
:
\n GetObject\n
\n\n GetObjectAttributes\n
\n\n DeleteObject\n
\n\n PutObject\n
\nRetrieves all the metadata from an object without returning the object itself. This\n action is useful if you're interested only in an object's metadata. To use\n GetObjectAttributes
, you must have READ access to the object.
\n GetObjectAttributes
combines the functionality of\n GetObjectAcl
, GetObjectLegalHold
,\n GetObjectLockConfiguration
, GetObjectRetention
,\n GetObjectTagging
, HeadObject
, and ListParts
. All\n of the data returned with each of those individual calls can be returned with a single call\n to GetObjectAttributes
.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the\n metadata from the object, you must use the following headers:
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.
\nEncryption request headers, such as\n x-amz-server-side-encryption
, should not be sent for GET requests\n if your object uses server-side encryption with Amazon Web Services KMS keys stored in Amazon Web Services Key\n Management Service (SSE-KMS) or server-side encryption with Amazon S3 managed\n encryption keys (SSE-S3). If your object does use these types of keys, you'll get\n an HTTP 400 Bad Request
error.
\n The last modified property in this case is the creation date of the object.
\nConsider the following when using request headers:
\n If both of the If-Match
and If-Unmodified-Since
\n headers are present in the request as follows, then Amazon S3 returns the HTTP\n status code 200 OK
and the data requested:
\n If-Match
condition evaluates to true
.
\n If-Unmodified-Since
condition evaluates to\n false
.
If both of the If-None-Match
and If-Modified-Since
\n headers are present in the request as follows, then Amazon S3 returns the HTTP status code\n 304 Not Modified
:
\n If-None-Match
condition evaluates to\n false
.
\n If-Modified-Since
condition evaluates to\n true
.
For more information about conditional requests, see RFC 7232.
\n\n Permissions\n
\nThe permissions that you need to use this operation depend on whether the bucket is\n versioned. If the bucket is versioned, you need both the s3:GetObjectVersion
\n and s3:GetObjectVersionAttributes
permissions for this operation. If the\n bucket is not versioned, you need the s3:GetObject
and\n s3:GetObjectAttributes
permissions. For more information, see Specifying\n Permissions in a Policy in the Amazon S3 User Guide. If the\n object that you request does not exist, the error Amazon S3 returns depends on whether you also\n have the s3:ListBucket
permission.
If you have the s3:ListBucket
permission on the bucket, Amazon S3\n returns an HTTP status code 404 Not Found
(\"no such key\") error.
If you don't have the s3:ListBucket
permission, Amazon S3 returns an\n HTTP status code 403 Forbidden
(\"access denied\") error.
The following actions are related to GetObjectAttributes
:
\n GetObject\n
\n\n GetObjectAcl\n
\n\n GetObjectLegalHold\n
\n\n GetObjectRetention\n
\n\n GetObjectTagging\n
\n\n HeadObject\n
\n\n ListParts\n
\nRetrieves all the metadata from an object without returning the object itself. This\n action is useful if you're interested only in an object's metadata. To use\n GetObjectAttributes
, you must have READ access to the object.
\n GetObjectAttributes
combines the functionality of HeadObject
\n and ListParts
. All of the data returned with each of those individual calls\n can be returned with a single call to GetObjectAttributes
.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the\n metadata from the object, you must use the following headers:
\n\n x-amz-server-side-encryption-customer-algorithm
\n
\n x-amz-server-side-encryption-customer-key
\n
\n x-amz-server-side-encryption-customer-key-MD5
\n
For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.
\nEncryption request headers, such as x-amz-server-side-encryption
,\n should not be sent for GET requests if your object uses server-side encryption\n with Amazon Web Services KMS keys stored in Amazon Web Services Key Management Service (SSE-KMS) or\n server-side encryption with Amazon S3 managed keys (SSE-S3). If your object does use\n these types of keys, you'll get an HTTP 400 Bad Request
error.
The last modified property in this case is the creation date of the\n object.
\nConsider the following when using request headers:
\n If both of the If-Match
and If-Unmodified-Since
headers\n are present in the request as follows, then Amazon S3 returns the HTTP status code\n 200 OK
and the data requested:
\n If-Match
condition evaluates to true
.
\n If-Unmodified-Since
condition evaluates to\n false
.
If both of the If-None-Match
and If-Modified-Since
\n headers are present in the request as follows, then Amazon S3 returns the HTTP status code\n 304 Not Modified
:
\n If-None-Match
condition evaluates to false
.
\n If-Modified-Since
condition evaluates to\n true
.
For more information about conditional requests, see RFC 7232.
\n\n Permissions\n
\nThe permissions that you need to use this operation depend on whether the bucket is\n versioned. If the bucket is versioned, you need both the s3:GetObjectVersion
\n and s3:GetObjectVersionAttributes
permissions for this operation. If the\n bucket is not versioned, you need the s3:GetObject
and\n s3:GetObjectAttributes
permissions. For more information, see Specifying\n Permissions in a Policy in the Amazon S3 User Guide. If the\n object that you request does not exist, the error Amazon S3 returns depends on whether you also\n have the s3:ListBucket
permission.
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns\n an HTTP status code 404 Not Found
(\"no such key\") error.
If you don't have the s3:ListBucket
permission, Amazon S3 returns an HTTP\n status code 403 Forbidden
(\"access denied\") error.
The following actions are related to GetObjectAttributes
:
\n GetObject\n
\n\n GetObjectAcl\n
\n\n GetObjectLegalHold\n
\n\n GetObjectRetention\n
\n\n GetObjectTagging\n
\n\n HeadObject\n
\n\n ListParts\n
\nAn ETag is an opaque identifier assigned by a web server to a specific version of a\n resource found at a URL.
" + "smithy.api#documentation": "An ETag is an opaque identifier assigned by a web server to a specific version of a\n resource found at a URL.
" } }, "Checksum": { @@ -24319,7 +24400,7 @@ "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "Provides the storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage\n Classes.
" + "smithy.api#documentation": "Provides the storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage Classes.
" } }, "ObjectSize": { @@ -24368,7 +24449,7 @@ "target": "com.amazonaws.s3#IsTruncated", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the returned list of parts is truncated. A value of\n true
indicates that the list was truncated. A list can be truncated if the\n number of parts exceeds the limit returned in the MaxParts
element.
Indicates whether the returned list of parts is truncated. A value of true
\n indicates that the list was truncated. A list can be truncated if the number of parts\n exceeds the limit returned in the MaxParts
element.
The name of the bucket that contains the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket that contains the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Specifies the part after which listing should begin. Only parts with higher part numbers\n will be listed.
", + "smithy.api#documentation": "Specifies the part after which listing should begin. Only parts with higher part numbers\n will be listed.
", "smithy.api#httpHeader": "x-amz-part-number-marker" } }, "SSECustomerAlgorithm": { "target": "com.amazonaws.s3#SSECustomerAlgorithm", "traits": { - "smithy.api#documentation": "Specifies the algorithm to use when encrypting the object (for example,\n AES256).
", + "smithy.api#documentation": "Specifies the algorithm to use when encrypting the object (for example, AES256).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-algorithm" } }, "SSECustomerKey": { "target": "com.amazonaws.s3#SSECustomerKey", "traits": { - "smithy.api#documentation": "Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
Specifies the customer-provided encryption key for Amazon S3 to use in encrypting data. This\n value is used to store the object and then it is discarded; Amazon S3 does not store the\n encryption key. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
", + "smithy.api#documentation": "Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses\n this header for a message integrity check to ensure that the encryption key was transmitted\n without error.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-customer-key-MD5" } }, @@ -24465,7 +24546,7 @@ "ObjectAttributes": { "target": "com.amazonaws.s3#ObjectAttributesList", "traits": { - "smithy.api#documentation": "An XML header that specifies the fields at the root level that you want returned in\n the response. Fields that you do not specify are not returned.
", + "smithy.api#documentation": "An XML header that specifies the fields at the root level that you want returned in the\n response. Fields that you do not specify are not returned.
", "smithy.api#httpHeader": "x-amz-object-attributes", "smithy.api#required": {} } @@ -24563,7 +24644,7 @@ "target": "com.amazonaws.s3#GetObjectLockConfigurationOutput" }, "traits": { - "smithy.api#documentation": "Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock\n configuration will be applied by default to every new object placed in the specified\n bucket. For more information, see Locking\n Objects.
\nThe following action is related to GetObjectLockConfiguration
:
\n GetObjectAttributes\n
\nGets the Object Lock configuration for a bucket. The rule specified in the Object Lock\n configuration will be applied by default to every new object placed in the specified\n bucket. For more information, see Locking Objects.
\nThe following action is related to GetObjectLockConfiguration
:
\n GetObjectAttributes\n
\nProvides information about object restoration action and expiration time of the\n restored object copy.
", + "smithy.api#documentation": "Provides information about object restoration action and expiration time of the restored\n object copy.
", "smithy.api#httpHeader": "x-amz-restore" } }, @@ -24776,7 +24857,7 @@ "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n customer managed key that was used for the object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for the object.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -24812,7 +24893,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services\n KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -24840,7 +24921,7 @@ "target": "com.amazonaws.s3#PartsCount", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The count of parts this object has. This value is only returned if you specify partNumber
\n in your request and the object was uploaded as a multipart upload.
The count of parts this object has. This value is only returned if you specify\n partNumber
in your request and the object was uploaded as a multipart\n upload.
The bucket name containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using an Object Lambda access point the hostname takes the form AccessPointName-AccountId.s3-object-lambda.Region.amazonaws.com.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using an Object Lambda access point the hostname takes the form AccessPointName-AccountId.s3-object-lambda.Region.amazonaws.com.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Downloads the specified range bytes of an object. For more information about the HTTP\n Range header, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.
\nAmazon S3 doesn't support retrieving multiple ranges of data per GET
\n request.
Downloads the specified range bytes of an object. For more information about the HTTP\n Range header, see https://www.rfc-editor.org/rfc/rfc9110.html#name-range.
\nAmazon S3 doesn't support retrieving multiple ranges of data per GET
\n request.
Specifies the customer-provided encryption key for Amazon S3 used to encrypt the data. This\n value is used to decrypt the object when recovering it and must match the one used when \n storing the data. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
Specifies the customer-provided encryption key for Amazon S3 used to encrypt the data. This\n value is used to decrypt the object when recovering it and must match the one used when\n storing the data. The key must be appropriate for use with the algorithm specified in the\n x-amz-server-side-encryption-customer-algorithm
header.
Retrieves an object's retention settings. For more information, see Locking Objects.
\nThis action is not supported by Amazon S3 on Outposts.
\nThe following action is related to GetObjectRetention
:
\n GetObjectAttributes\n
\nRetrieves an object's retention settings. For more information, see Locking\n Objects.
\nThis action is not supported by Amazon S3 on Outposts.
\nThe following action is related to GetObjectRetention
:
\n GetObjectAttributes\n
\nReturns the tag-set of an object. You send the GET request against the tagging\n subresource associated with the object.
\nTo use this operation, you must have permission to perform the\n s3:GetObjectTagging
action. By default, the GET action returns\n information about current version of an object. For a versioned bucket, you can have\n multiple versions of an object in your bucket. To retrieve tags of any other version, use\n the versionId query parameter. You also need permission for the\n s3:GetObjectVersionTagging
action.
By default, the bucket owner has this permission and can grant this permission to\n others.
\nFor information about the Amazon S3 object tagging feature, see Object Tagging.
\nThe following actions are related to GetObjectTagging
:
\n DeleteObjectTagging\n
\n\n GetObjectAttributes\n
\n\n PutObjectTagging\n
\nReturns the tag-set of an object. You send the GET request against the tagging\n subresource associated with the object.
\nTo use this operation, you must have permission to perform the\n s3:GetObjectTagging
action. By default, the GET action returns information\n about current version of an object. For a versioned bucket, you can have multiple versions\n of an object in your bucket. To retrieve tags of any other version, use the versionId query\n parameter. You also need permission for the s3:GetObjectVersionTagging
\n action.
By default, the bucket owner has this permission and can grant this permission to\n others.
\nFor information about the Amazon S3 object tagging feature, see Object Tagging.
\nThe following actions are related to GetObjectTagging
:
\n DeleteObjectTagging\n
\n\n GetObjectAttributes\n
\n\n PutObjectTagging\n
\nThe bucket name containing the object for which to get the tagging information.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name containing the object for which to get the tagging information.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're\n distributing large files. For more information about BitTorrent, see Using BitTorrent with Amazon S3.
\nYou can get torrent only for objects that are less than 5 GB in size, and that are\n not encrypted using server-side encryption with a customer-provided encryption\n key.
\nTo use GET, you must have READ access to the object.
\nThis action is not supported by Amazon S3 on Outposts.
\nThe following action is related to GetObjectTorrent
:
\n GetObject\n
\nReturns torrent files from a bucket. BitTorrent can save you bandwidth when you're\n distributing large files.
\nYou can get torrent only for objects that are less than 5 GB in size, and that are\n not encrypted using server-side encryption with a customer-provided encryption\n key.
\nTo use GET, you must have READ access to the object.
\nThis action is not supported by Amazon S3 on Outposts.
\nThe following action is related to GetObjectTorrent
:
\n GetObject\n
\nRetrieves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use\n this operation, you must have the s3:GetBucketPublicAccessBlock
permission.\n For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or\n an object, it checks the PublicAccessBlock
configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock
settings are different between the bucket and the\n account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
\nThe following operations are related to GetPublicAccessBlock
:
\n PutPublicAccessBlock\n
\n\n GetPublicAccessBlock\n
\nRetrieves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use\n this operation, you must have the s3:GetBucketPublicAccessBlock
permission.\n For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or\n an object, it checks the PublicAccessBlock
configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock
settings are different between the bucket and the\n account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
\nThe following operations are related to GetPublicAccessBlock
:
\n PutPublicAccessBlock\n
\n\n GetPublicAccessBlock\n
\nThis action is useful to determine if a bucket exists and you have permission to\n access it. The action returns a 200 OK
if the bucket exists and you have\n permission to access it.
If the bucket does not exist or you do not have permission to access it, the HEAD
request\n returns a generic 404 Not Found
or 403 Forbidden
code. A message body is not \n included, so you cannot determine the exception beyond these error codes.
To use this operation, you must have permissions to perform the\n s3:ListBucket
action. The bucket owner has this permission by default and\n can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
To use this API against an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the Amazon Web Services SDKs, you provide the ARN in place of the bucket name. For more information see, Using access points.
", + "smithy.api#documentation": "This action is useful to determine if a bucket exists and you have permission to access\n it. The action returns a 200 OK
if the bucket exists and you have permission\n to access it.
If the bucket does not exist or you do not have permission to access it, the\n HEAD
request returns a generic 400 Bad Request
, 403\n Forbidden
or 404 Not Found
code. A message body is not included, so\n you cannot determine the exception beyond these error codes.
To use this operation, you must have permissions to perform the\n s3:ListBucket
action. The bucket owner has this permission by default and\n can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
To use this API against an access point, you must provide the alias of the access point in place of the\n bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to\n the access point hostname. The access point hostname takes the form\n AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using the Amazon Web Services SDKs,\n you provide the ARN in place of the bucket name. For more information see, Using\n access points.
", "smithy.api#http": { "method": "HEAD", "uri": "/{Bucket}", @@ -25509,7 +25590,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The bucket name.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
The HEAD action retrieves metadata from an object without returning the object\n itself. This action is useful if you're only interested in an object's metadata. To use\n HEAD, you must have READ access to the object.
\nA HEAD
request has the same options as a GET
action on an\n object. The response is identical to the GET
response except that there is no\n response body. Because of this, if the HEAD
request generates an error, it\n returns a generic 404 Not Found
or 403 Forbidden
code. It is not \n possible to retrieve the exact exception beyond these error codes.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the\n metadata from the object, you must use the following headers:
\nx-amz-server-side-encryption-customer-algorithm
\nx-amz-server-side-encryption-customer-key
\nx-amz-server-side-encryption-customer-key-MD5
\nFor more information about SSE-C, see Server-Side Encryption (Using\n Customer-Provided Encryption Keys).
\nEncryption request headers, like x-amz-server-side-encryption
, should\n not be sent for GET requests if your object uses server-side encryption with KMS keys (SSE-KMS)\n or server-side encryption with Amazon S3–managed encryption keys\n (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400 BadRequest\n error.
\n The last modified property in this case is the creation date of the object.
\nRequest headers are limited to 8 KB in size. For more information, see Common Request\n Headers.
\nConsider the following when using request headers:
\n Consideration 1 – If both of the If-Match
and\n If-Unmodified-Since
headers are present in the request as\n follows:
\n If-Match
condition evaluates to true
, and;
\n If-Unmodified-Since
condition evaluates to\n false
;
Then Amazon S3 returns 200 OK
and the data requested.
Consideration 2 – If both of the If-None-Match
and\n If-Modified-Since
headers are present in the request as\n follows:
\n If-None-Match
condition evaluates to false
,\n and;
\n If-Modified-Since
condition evaluates to\n true
;
Then Amazon S3 returns the 304 Not Modified
response code.
For more information about conditional requests, see RFC 7232.
\n\n Permissions\n
\nYou need the relevant read object (or version) permission for this operation. For more\n information, see Specifying Permissions\n in a Policy. If the object you request does not exist, the error Amazon S3 returns\n depends on whether you also have the s3:ListBucket permission.
\nIf you have the s3:ListBucket
permission on the bucket, Amazon S3 returns\n an HTTP status code 404 (\"no such key\") error.
If you don’t have the s3:ListBucket
permission, Amazon S3 returns an HTTP\n status code 403 (\"access denied\") error.
The following actions are related to HeadObject
:
\n GetObject\n
\n\n GetObjectAttributes\n
\nThe HEAD action retrieves metadata from an object without returning the object itself.\n This action is useful if you're only interested in an object's metadata. To use HEAD, you\n must have READ access to the object.
\nA HEAD
request has the same options as a GET
action on an\n object. The response is identical to the GET
response except that there is no\n response body. Because of this, if the HEAD
request generates an error, it\n returns a generic 400 Bad Request
, 403 Forbidden
or 404 Not\n Found
code. It is not possible to retrieve the exact exception beyond these error\n codes.
If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the\n metadata from the object, you must use the following headers:
\nx-amz-server-side-encryption-customer-algorithm
\nx-amz-server-side-encryption-customer-key
\nx-amz-server-side-encryption-customer-key-MD5
\nFor more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys).
\nEncryption request headers, like x-amz-server-side-encryption
,\n should not be sent for GET requests if your object uses server-side encryption\n with KMS keys (SSE-KMS) or server-side encryption with Amazon S3–managed encryption\n keys (SSE-S3). If your object does use these types of keys, you’ll get an HTTP 400\n BadRequest error.
The last modified property in this case is the creation date of the\n object.
\nRequest headers are limited to 8 KB in size. For more information, see Common\n Request Headers.
\nConsider the following when using request headers:
\n Consideration 1 – If both of the If-Match
and\n If-Unmodified-Since
headers are present in the request as\n follows:
\n If-Match
condition evaluates to true
, and;
\n If-Unmodified-Since
condition evaluates to\n false
;
Then Amazon S3 returns 200 OK
and the data requested.
Consideration 2 – If both of the If-None-Match
and\n If-Modified-Since
headers are present in the request as\n follows:
\n If-None-Match
condition evaluates to false
,\n and;
\n If-Modified-Since
condition evaluates to\n true
;
Then Amazon S3 returns the 304 Not Modified
response code.
For more information about conditional requests, see RFC 7232.
\n\n Permissions\n
\nYou need the relevant read object (or version) permission for this operation. For more\n information, see Specifying Permissions in a\n Policy. If the object you request does not exist, the error Amazon S3 returns depends\n on whether you also have the s3:ListBucket permission.
\nIf you have the s3:ListBucket
permission on the bucket, Amazon S3 returns\n an HTTP status code 404 (\"no such key\") error.
If you don’t have the s3:ListBucket
permission, Amazon S3 returns an HTTP\n status code 403 (\"access denied\") error.
The following actions are related to HeadObject
:
\n GetObject\n
\n\n GetObjectAttributes\n
\nIf the object is stored using server-side encryption either with an Amazon Web Services KMS key or \n an Amazon S3-managed encryption key, the response includes this header with\n the value of the server-side encryption algorithm used when storing this object in Amazon\n S3 (for example, AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n customer managed key that was used for the object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for the object.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -25773,14 +25854,14 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services\n KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "Provides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage\n Classes.
", + "smithy.api#documentation": "Provides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage Classes.
", "smithy.api#httpHeader": "x-amz-storage-class" } }, @@ -25793,7 +25874,7 @@ "ReplicationStatus": { "target": "com.amazonaws.s3#ReplicationStatus", "traits": { - "smithy.api#documentation": "Amazon S3 can return this header if your request involves a bucket that is either a source or\n a destination in a replication rule.
\nIn replication, you have a source bucket on which you configure replication and\n destination bucket or buckets where Amazon S3 stores object replicas. When you request an object\n (GetObject
) or object metadata (HeadObject
) from these\n buckets, Amazon S3 will return the x-amz-replication-status
header in the response\n as follows:
\n If requesting an object from the source bucket, Amazon S3 will return the\n x-amz-replication-status
header if the object in your request is\n eligible for replication.
For example, suppose that in your replication configuration, you specify object\n prefix TaxDocs
requesting Amazon S3 to replicate objects with key prefix\n TaxDocs
. Any objects you upload with this key name prefix, for\n example TaxDocs/document1.pdf
, are eligible for replication. For any\n object request with this key name prefix, Amazon S3 will return the\n x-amz-replication-status
header with value PENDING, COMPLETED or\n FAILED indicating object replication status.
\n If requesting an object from a destination bucket, Amazon S3 will return the\n x-amz-replication-status
header with value REPLICA if the object in\n your request is a replica that Amazon S3 created and there is no replica modification\n replication in progress.
\n When replicating objects to multiple destination buckets, the\n x-amz-replication-status
header acts differently. The header of the\n source object will only return a value of COMPLETED when replication is successful to\n all destinations. The header will remain at value PENDING until replication has\n completed for all destinations. If one or more destinations fails replication the\n header will return FAILED.
For more information, see Replication.
", + "smithy.api#documentation": "Amazon S3 can return this header if your request involves a bucket that is either a source or\n a destination in a replication rule.
\nIn replication, you have a source bucket on which you configure replication and\n destination bucket or buckets where Amazon S3 stores object replicas. When you request an object\n (GetObject
) or object metadata (HeadObject
) from these\n buckets, Amazon S3 will return the x-amz-replication-status
header in the response\n as follows:
\n If requesting an object from the source bucket,\n Amazon S3 will return the x-amz-replication-status
header if the object in\n your request is eligible for replication.
For example, suppose that in your replication configuration, you specify object\n prefix TaxDocs
requesting Amazon S3 to replicate objects with key prefix\n TaxDocs
. Any objects you upload with this key name prefix, for\n example TaxDocs/document1.pdf
, are eligible for replication. For any\n object request with this key name prefix, Amazon S3 will return the\n x-amz-replication-status
header with value PENDING, COMPLETED or\n FAILED indicating object replication status.
\n If requesting an object from a destination\n bucket, Amazon S3 will return the x-amz-replication-status
header\n with value REPLICA if the object in your request is a replica that Amazon S3 created and\n there is no replica modification replication in progress.
\n When replicating objects to multiple destination\n buckets, the x-amz-replication-status
header acts\n differently. The header of the source object will only return a value of COMPLETED\n when replication is successful to all destinations. The header will remain at value\n PENDING until replication has completed for all destinations. If one or more\n destinations fails replication the header will return FAILED.
For more information, see Replication.
", "smithy.api#httpHeader": "x-amz-replication-status" } }, @@ -25801,14 +25882,14 @@ "target": "com.amazonaws.s3#PartsCount", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The count of parts this object has. This value is only returned if you specify partNumber
\n in your request and the object was uploaded as a multipart upload.
The count of parts this object has. This value is only returned if you specify\n partNumber
in your request and the object was uploaded as a multipart\n upload.
The Object Lock mode, if any, that's in effect for this object. This header is only\n returned if the requester has the s3:GetObjectRetention
permission. For more\n information about S3 Object Lock, see Object\n Lock.
The Object Lock mode, if any, that's in effect for this object. This header is only\n returned if the requester has the s3:GetObjectRetention
permission. For more\n information about S3 Object Lock, see Object Lock.
The name of the bucket containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Because HeadObject
returns only the metadata for an object, this parameter\n has no effect.
HeadObject returns only the metadata for an object. If the Range is satisfiable, only\n the ContentLength
is affected in the response. If the Range is not\n satisfiable, S3 returns a 416 - Requested Range Not Satisfiable
error.
To retrieve the checksum, this parameter must be enabled.
\nIn addition, if you enable ChecksumMode
and the object is encrypted with\n Amazon Web Services Key Management Service (Amazon Web Services KMS), you must have permission to use the\n kms:Decrypt
action for the request to succeed.
To retrieve the checksum, this parameter must be enabled.
\nIn addition, if you enable ChecksumMode
and the object is encrypted with\n Amazon Web Services Key Management Service (Amazon Web Services KMS), you must have permission to use the\n kms:Decrypt
action for the request to succeed.
If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the principal\n is an IAM User, it provides a user ARN value.
" + "smithy.api#documentation": "If the principal is an Amazon Web Services account, it provides the Canonical User ID. If the\n principal is an IAM User, it provides a user ARN value.
" } }, "DisplayName": { @@ -26116,7 +26197,7 @@ } }, "traits": { - "smithy.api#documentation": "Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.
\nFor information about the S3 Intelligent-Tiering storage class, see Storage class for\n automatically optimizing frequently and infrequently accessed objects.
" + "smithy.api#documentation": "Specifies the S3 Intelligent-Tiering configuration for an Amazon S3 bucket.
\nFor information about the S3 Intelligent-Tiering storage class, see Storage class\n for automatically optimizing frequently and infrequently accessed\n objects.
" } }, "com.amazonaws.s3#IntelligentTieringConfigurationList": { @@ -26242,7 +26323,7 @@ } }, "traits": { - "smithy.api#documentation": "Specifies the inventory configuration for an Amazon S3 bucket. For more information, see\n GET Bucket inventory in the Amazon S3 API Reference.\n
" + "smithy.api#documentation": "Specifies the inventory configuration for an Amazon S3 bucket. For more information, see\n GET Bucket inventory in the Amazon S3 API Reference.
" } }, "com.amazonaws.s3#InventoryConfigurationList": { @@ -26662,7 +26743,7 @@ } }, "traits": { - "smithy.api#documentation": "Container for the expiration for the lifecycle of the object.
" + "smithy.api#documentation": "Container for the expiration for the lifecycle of the object.
\nFor more information see, Managing your storage\n lifecycle in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#LifecycleRule": { @@ -26724,7 +26805,7 @@ } }, "traits": { - "smithy.api#documentation": "A lifecycle rule for individual objects in an Amazon S3 bucket.
" + "smithy.api#documentation": "A lifecycle rule for individual objects in an Amazon S3 bucket.
\nFor more information see, Managing your storage\n lifecycle in the Amazon S3 User Guide.
" } }, "com.amazonaws.s3#LifecycleRuleAndOperator": { @@ -26813,7 +26894,7 @@ "target": "com.amazonaws.s3#ListBucketAnalyticsConfigurationsOutput" }, "traits": { - "smithy.api#documentation": "Lists the analytics configurations for the bucket. You can have up to 1,000 analytics\n configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations\n at a time. You should always check the IsTruncated
element in the response. If\n there are no more configurations to list, IsTruncated
is set to false. If\n there are more configurations to list, IsTruncated
is set to true, and there\n will be a value in NextContinuationToken
. You use the\n NextContinuationToken
value to continue the pagination of the list by\n passing the value in continuation-token in the request to GET
the next\n page.
To use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.
\nThe following operations are related to\n ListBucketAnalyticsConfigurations
:
Lists the analytics configurations for the bucket. You can have up to 1,000 analytics\n configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations at\n a time. You should always check the IsTruncated
element in the response. If\n there are no more configurations to list, IsTruncated
is set to false. If\n there are more configurations to list, IsTruncated
is set to true, and there\n will be a value in NextContinuationToken
. You use the\n NextContinuationToken
value to continue the pagination of the list by\n passing the value in continuation-token in the request to GET
the next\n page.
To use this operation, you must have permissions to perform the\n s3:GetAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.
\nThe following operations are related to\n ListBucketAnalyticsConfigurations
:
Lists the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to\n ListBucketIntelligentTieringConfigurations
include:
Lists the S3 Intelligent-Tiering configuration from the specified bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to ListBucketIntelligentTieringConfigurations
include:
Returns a list of inventory configurations for the bucket. You can have up to 1,000\n analytics configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations\n at a time. Always check the IsTruncated
element in the response. If there are\n no more configurations to list, IsTruncated
is set to false. If there are more\n configurations to list, IsTruncated
is set to true, and there is a value in\n NextContinuationToken
. You use the NextContinuationToken
value\n to continue the pagination of the list by passing the value in continuation-token in the\n request to GET
the next page.
To use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory\n
\nThe following operations are related to\n ListBucketInventoryConfigurations
:
Returns a list of inventory configurations for the bucket. You can have up to 1,000\n analytics configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations at\n a time. Always check the IsTruncated
element in the response. If there are no\n more configurations to list, IsTruncated
is set to false. If there are more\n configurations to list, IsTruncated
is set to true, and there is a value in\n NextContinuationToken
. You use the NextContinuationToken
value\n to continue the pagination of the list by passing the value in continuation-token in the\n request to GET
the next page.
To use this operation, you must have permissions to perform the\n s3:GetInventoryConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory\n
\nThe following operations are related to\n ListBucketInventoryConfigurations
:
Lists the metrics configurations for the bucket. The metrics configurations are only for\n the request metrics of the bucket and do not provide information on daily storage metrics.\n You can have up to 1,000 configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations\n at a time. Always check the IsTruncated
element in the response. If there are\n no more configurations to list, IsTruncated
is set to false. If there are more\n configurations to list, IsTruncated
is set to true, and there is a value in\n NextContinuationToken
. You use the NextContinuationToken
value\n to continue the pagination of the list by passing the value in\n continuation-token
in the request to GET
the next page.
To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For more information about metrics configurations and CloudWatch request metrics, see\n Monitoring Metrics with Amazon\n CloudWatch.
\nThe following operations are related to\n ListBucketMetricsConfigurations
:
Lists the metrics configurations for the bucket. The metrics configurations are only for\n the request metrics of the bucket and do not provide information on daily storage metrics.\n You can have up to 1,000 configurations per bucket.
\nThis action supports list pagination and does not return more than 100 configurations at\n a time. Always check the IsTruncated
element in the response. If there are no\n more configurations to list, IsTruncated
is set to false. If there are more\n configurations to list, IsTruncated
is set to true, and there is a value in\n NextContinuationToken
. You use the NextContinuationToken
value\n to continue the pagination of the list by passing the value in\n continuation-token
in the request to GET
the next page.
To use this operation, you must have permissions to perform the\n s3:GetMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For more information about metrics configurations and CloudWatch request metrics, see\n Monitoring Metrics with Amazon CloudWatch.
\nThe following operations are related to\n ListBucketMetricsConfigurations
:
Returns a list of all buckets owned by the authenticated sender of the request. To use\n this operation, you must have the s3:ListAllMyBuckets
permission.
Returns a list of all buckets owned by the authenticated sender of the request. To use\n this operation, you must have the s3:ListAllMyBuckets
permission.
For information about Amazon S3 buckets, see Creating, configuring, and\n working with Amazon S3 buckets.
", "smithy.api#http": { "method": "GET", "uri": "/", @@ -27187,7 +27268,7 @@ "target": "com.amazonaws.s3#ListMultipartUploadsOutput" }, "traits": { - "smithy.api#documentation": "This action lists in-progress multipart uploads. An in-progress multipart upload is a\n multipart upload that has been initiated using the Initiate Multipart Upload request, but\n has not yet been completed or aborted.
\nThis action returns at most 1,000 multipart uploads in the response. 1,000 multipart\n uploads is the maximum number of uploads a response can include, which is also the default\n value. You can further limit the number of uploads in a response by specifying the\n max-uploads
parameter in the response. If additional multipart uploads\n satisfy the list criteria, the response will contain an IsTruncated
element\n with the value true. To list the additional multipart uploads, use the\n key-marker
and upload-id-marker
request parameters.
In the response, the uploads are sorted by key. If your application has initiated more\n than one multipart upload using the same object key, then uploads in the response are first\n sorted by key. Additionally, uploads are sorted in ascending order within each key by the\n upload initiation time.
\nFor more information on multipart uploads, see Uploading Objects Using Multipart\n Upload.
\nFor information on permissions required to use the multipart upload API, see Multipart Upload and\n Permissions.
\nThe following operations are related to ListMultipartUploads
:
\n UploadPart\n
\n\n ListParts\n
\n\n AbortMultipartUpload\n
\nThis action lists in-progress multipart uploads. An in-progress multipart upload is a\n multipart upload that has been initiated using the Initiate Multipart Upload request, but\n has not yet been completed or aborted.
\nThis action returns at most 1,000 multipart uploads in the response. 1,000 multipart\n uploads is the maximum number of uploads a response can include, which is also the default\n value. You can further limit the number of uploads in a response by specifying the\n max-uploads
parameter in the response. If additional multipart uploads\n satisfy the list criteria, the response will contain an IsTruncated
element\n with the value true. To list the additional multipart uploads, use the\n key-marker
and upload-id-marker
request parameters.
In the response, the uploads are sorted by key. If your application has initiated more\n than one multipart upload using the same object key, then uploads in the response are first\n sorted by key. Additionally, uploads are sorted in ascending order within each key by the\n upload initiation time.
\nFor more information on multipart uploads, see Uploading Objects Using Multipart\n Upload.
\nFor information on permissions required to use the multipart upload API, see Multipart Upload\n and Permissions.
\nThe following operations are related to ListMultipartUploads
:
\n UploadPart\n
\n\n ListParts\n
\n\n AbortMultipartUpload\n
\nThe name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
" + "smithy.api#documentation": "The name of the bucket to which the multipart upload was initiated. Does not return the\n access point ARN or access point alias if used.
" } }, "KeyMarker": { @@ -27287,7 +27368,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The name of the bucket to which the multipart upload was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket to which the multipart upload was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Returns metadata about all versions of the objects in a bucket. You can also use request\n parameters as selection criteria to return metadata about a subset of all the object\n versions.
\n\n To use this operation, you must have permissions to perform the \n s3:ListBucketVersions
action. Be aware of the name difference.\n
A 200 OK response can contain valid or invalid XML. Make sure to design your\n application to parse the contents of the response and handle it appropriately.
\nTo use this operation, you must have READ access to the bucket.
\nThis action is not supported by Amazon S3 on Outposts.
\nThe following operations are related to\n ListObjectVersions
:
\n ListObjectsV2\n
\n\n GetObject\n
\n\n PutObject\n
\n\n DeleteObject\n
\nReturns metadata about all versions of the objects in a bucket. You can also use request\n parameters as selection criteria to return metadata about a subset of all the object\n versions.
\n To use this operation, you must have permissions to perform the\n s3:ListBucketVersions
action. Be aware of the name difference.
A 200 OK response can contain valid or invalid XML. Make sure to design your\n application to parse the contents of the response and handle it appropriately.
\nTo use this operation, you must have READ access to the bucket.
\nThis action is not supported by Amazon S3 on Outposts.
\nThe following operations are related to ListObjectVersions
:
\n ListObjectsV2\n
\n\n GetObject\n
\n\n PutObject\n
\n\n DeleteObject\n
\nSets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more. If\n additional keys satisfy the search criteria, but were not returned because max-keys was\n exceeded, the response contains
Sets the maximum number of keys returned in the response. By default the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain more.\n If additional keys satisfy the search criteria, but were not returned because max-keys was\n exceeded, the response contains
All of the keys (up to 1,000) rolled up in a common prefix count as a single return when calculating\n the number of returns.
\nA response can contain CommonPrefixes only if you specify a delimiter.
\nCommonPrefixes contains all (if there are any) keys between Prefix and the next\n occurrence of the string specified by the delimiter.
\nCommonPrefixes lists keys that act like subdirectories in the directory specified by\n Prefix.
\nFor example, if the prefix is notes/ and the delimiter is a slash (/) as in\n notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a\n common prefix count as a single return when calculating the number of returns.
", + "smithy.api#documentation": "All of the keys (up to 1,000) rolled up in a common prefix count as a single return when\n calculating the number of returns.
\nA response can contain CommonPrefixes only if you specify a delimiter.
\nCommonPrefixes contains all (if there are any) keys between Prefix and the next\n occurrence of the string specified by the delimiter.
\nCommonPrefixes lists keys that act like subdirectories in the directory specified by\n Prefix.
\nFor example, if the prefix is notes/ and the delimiter is a slash (/) as in\n notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a\n common prefix count as a single return when calculating the number of returns.
", "smithy.api#xmlFlattened": {} } }, @@ -27629,7 +27710,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The name of the bucket containing the objects.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket containing the objects.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Marker is where you want Amazon S3 to start listing from. Amazon S3 starts listing after\n this specified key. Marker can be any key in the bucket.
", + "smithy.api#documentation": "Marker is where you want Amazon S3 to start listing from. Amazon S3 starts listing after\n this specified key. Marker can be any key in the bucket.
", "smithy.api#httpQuery": "marker" } }, @@ -27661,7 +27742,7 @@ "target": "com.amazonaws.s3#MaxKeys", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more.\n
", + "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain more.\n
", "smithy.api#httpQuery": "max-keys" } }, @@ -27705,7 +27786,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns some or all (up to 1,000) of the objects in a bucket with each request. You can use\n the request parameters as selection criteria to return a subset of the objects in a bucket. A \n 200 OK
response can contain valid or invalid XML. Make sure to design your\n application to parse the contents of the response and handle it appropriately. \n Objects are returned sorted in an ascending order of the respective key names in the list.\n For more information about listing objects, see Listing object keys \n programmatically\n
To use this operation, you must have READ access to the bucket.
\nTo use this action in an Identity and Access Management (IAM) policy, you must\n have permissions to perform the s3:ListBucket
action. The bucket owner has\n this permission by default and can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
This section describes the latest revision of this action. We recommend that you use this\n revised API for application development. For backward compatibility, Amazon S3 continues to\n support the prior version of this API, ListObjects.
\nTo get a list of your buckets, see ListBuckets.
\nThe following operations are related to ListObjectsV2
:
\n GetObject\n
\n\n PutObject\n
\n\n CreateBucket\n
\nReturns some or all (up to 1,000) of the objects in a bucket with each request. You can\n use the request parameters as selection criteria to return a subset of the objects in a\n bucket. A 200 OK
response can contain valid or invalid XML. Make sure to\n design your application to parse the contents of the response and handle it appropriately.\n Objects are returned sorted in an ascending order of the respective key names in the list.\n For more information about listing objects, see Listing object keys\n programmatically\n
To use this operation, you must have READ access to the bucket.
\nTo use this action in an Identity and Access Management (IAM) policy, you must have permissions to perform\n the s3:ListBucket
action. The bucket owner has this permission by default and\n can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
This section describes the latest revision of this action. We recommend that you use\n this revised API for application development. For backward compatibility, Amazon S3 continues\n to support the prior version of this API, ListObjects.
\nTo get a list of your buckets, see ListBuckets.
\nThe following operations are related to ListObjectsV2
:
\n GetObject\n
\n\n PutObject\n
\n\n CreateBucket\n
\nThe bucket name.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.
" + "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain\n more.
" } }, "CommonPrefixes": { "target": "com.amazonaws.s3#CommonPrefixList", "traits": { - "smithy.api#documentation": "All of the keys (up to 1,000) rolled up into a common prefix count as a single return when calculating\n the number of returns.
\nA response can contain CommonPrefixes
only if you specify a\n delimiter.
\n CommonPrefixes
contains all (if there are any) keys between\n Prefix
and the next occurrence of the string specified by a\n delimiter.
\n CommonPrefixes
lists keys that act like subdirectories in the directory\n specified by Prefix
.
For example, if the prefix is notes/
and the delimiter is a slash\n (/
) as in notes/summer/july
, the common prefix is\n notes/summer/
. All of the keys that roll up into a common prefix count as a\n single return when calculating the number of returns.
All of the keys (up to 1,000) rolled up into a common prefix count as a single return\n when calculating the number of returns.
\nA response can contain CommonPrefixes
only if you specify a\n delimiter.
\n CommonPrefixes
contains all (if there are any) keys between\n Prefix
and the next occurrence of the string specified by a\n delimiter.
\n CommonPrefixes
lists keys that act like subdirectories in the directory\n specified by Prefix
.
For example, if the prefix is notes/
and the delimiter is a slash\n (/
) as in notes/summer/july
, the common prefix is\n notes/summer/
. All of the keys that roll up into a common prefix count as a\n single return when calculating the number of returns.
KeyCount is the number of keys returned with this request. KeyCount will always be less\n than or equals to MaxKeys field. Say you ask for 50 keys, your result will include less than\n equals 50 keys
" + "smithy.api#documentation": "KeyCount is the number of keys returned with this request. KeyCount will always be less\n than or equal to the MaxKeys
field. Say you ask for 50 keys, your result will\n include 50 keys or fewer.
Bucket name to list.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
Bucket name to list.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.
", + "smithy.api#documentation": "Sets the maximum number of keys returned in the response. By default the action returns\n up to 1,000 key names. The response might contain fewer keys but will never contain\n more.
", "smithy.api#httpQuery": "max-keys" } }, @@ -27897,7 +27978,7 @@ "target": "com.amazonaws.s3#ListPartsOutput" }, "traits": { - "smithy.api#documentation": "Lists the parts that have been uploaded for a specific multipart upload. This operation\n must include the upload ID, which you obtain by sending the initiate multipart upload\n request (see CreateMultipartUpload).\n This request returns a maximum of 1,000 uploaded parts. The default number of parts\n returned is 1,000 parts. You can restrict the number of parts returned by specifying the\n max-parts
request parameter. If your multipart upload consists of more than\n 1,000 parts, the response returns an IsTruncated
field with the value of true,\n and a NextPartNumberMarker
element. In subsequent ListParts
\n requests you can include the part-number-marker query string parameter and set its value to\n the NextPartNumberMarker
field value from the previous response.
If the upload was created using a checksum algorithm, you will need to have permission\n to the kms:Decrypt
action for the request to succeed.\n
For more information on multipart uploads, see Uploading Objects Using Multipart\n Upload.
\nFor information on permissions required to use the multipart upload API, see Multipart Upload and\n Permissions.
\nThe following operations are related to ListParts
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n GetObjectAttributes\n
\n\n ListMultipartUploads\n
\nLists the parts that have been uploaded for a specific multipart upload. This operation\n must include the upload ID, which you obtain by sending the initiate multipart upload\n request (see CreateMultipartUpload).\n This request returns a maximum of 1,000 uploaded parts. The default number of parts\n returned is 1,000 parts. You can restrict the number of parts returned by specifying the\n max-parts
request parameter. If your multipart upload consists of more than\n 1,000 parts, the response returns an IsTruncated
field with the value of true,\n and a NextPartNumberMarker
element. In subsequent ListParts
\n requests you can include the part-number-marker query string parameter and set its value to\n the NextPartNumberMarker
field value from the previous response.
If the upload was created using a checksum algorithm, you will need to have permission\n to the kms:Decrypt
action for the request to succeed.
For more information on multipart uploads, see Uploading Objects Using Multipart\n Upload.
\nFor information on permissions required to use the multipart upload API, see Multipart Upload\n and Permissions.
\nThe following operations are related to ListParts
:
\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n GetObjectAttributes\n
\n\n ListMultipartUploads\n
\nIf the bucket has a lifecycle rule configured with an action to abort incomplete\n multipart uploads and the prefix in the lifecycle rule matches the object name in the\n request, then the response includes this header indicating when the initiated multipart\n upload will become eligible for abort operation. For more information, see Aborting\n Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.
\nThe response will also include the x-amz-abort-rule-id
header that will\n provide the ID of the lifecycle configuration rule that defines this action.
If the bucket has a lifecycle rule configured with an action to abort incomplete\n multipart uploads and the prefix in the lifecycle rule matches the object name in the\n request, then the response includes this header indicating when the initiated multipart\n upload will become eligible for abort operation. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy.
\nThe response will also include the x-amz-abort-rule-id
header that will\n provide the ID of the lifecycle configuration rule that defines this action.
The name of the bucket to which the multipart upload was initiated. Does not return the access point ARN or access point alias if used.
" + "smithy.api#documentation": "The name of the bucket to which the multipart upload was initiated. Does not return the\n access point ARN or access point alias if used.
" } }, "Key": { @@ -28022,7 +28103,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The name of the bucket to which the parts are being uploaded.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket to which the parts are being uploaded.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Container for granting information.
\nBuckets that use the bucket owner enforced setting for Object\n Ownership don't support target grants. For more information, see Permissions for server access log delivery in the\n Amazon S3 User Guide.
" + "smithy.api#documentation": "Container for granting information.
\nBuckets that use the bucket owner enforced setting for Object Ownership don't support\n target grants. For more information, see Permissions for server access log delivery in the\n Amazon S3 User Guide.
" } }, "TargetPrefix": { @@ -28308,14 +28389,14 @@ "Id": { "target": "com.amazonaws.s3#MetricsId", "traits": { - "smithy.api#documentation": "The ID used to identify the metrics configuration.
", + "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#required": {} } }, "Filter": { "target": "com.amazonaws.s3#MetricsFilter", "traits": { - "smithy.api#documentation": "Specifies a metrics configuration filter. The metrics configuration will only include\n objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction\n (MetricsAndOperator).
" + "smithy.api#documentation": "Specifies a metrics configuration filter. The metrics configuration will only include\n objects that meet the filter's criteria. A filter must be a prefix, an object tag, an\n access point ARN, or a conjunction (MetricsAndOperator).
" } } }, @@ -28358,7 +28439,7 @@ } }, "traits": { - "smithy.api#documentation": "Specifies a metrics configuration filter. The metrics configuration only includes\n objects that meet the filter's criteria. A filter must be a prefix, an object tag, an access point ARN, or a conjunction\n (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.
" + "smithy.api#documentation": "Specifies a metrics configuration filter. The metrics configuration only includes\n objects that meet the filter's criteria. A filter must be a prefix, an object tag, an\n access point ARN, or a conjunction (MetricsAndOperator). For more information, see PutBucketMetricsConfiguration.
" } }, "com.amazonaws.s3#MetricsId": { @@ -28501,14 +28582,14 @@ "target": "com.amazonaws.s3#Days", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates When an Object Became Noncurrent in the Amazon S3 User Guide.
" + "smithy.api#documentation": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. The value must be a non-zero positive integer. For information about the\n noncurrent days calculations, see How\n Amazon S3 Calculates When an Object Became Noncurrent in the\n Amazon S3 User Guide.
" } }, "NewerNoncurrentVersions": { "target": "com.amazonaws.s3#VersionCount", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent\n noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent\n versions, see Lifecycle configuration elements\n in the Amazon S3 User Guide.
" + "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more\n recent noncurrent versions, Amazon S3 will take the associated action. For more information\n about noncurrent versions, see Lifecycle configuration\n elements in the Amazon S3 User Guide.
" } } }, @@ -28536,12 +28617,12 @@ "target": "com.amazonaws.s3#VersionCount", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent\n noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent\n versions, see Lifecycle configuration elements\n in the Amazon S3 User Guide.
" + "smithy.api#documentation": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more\n recent noncurrent versions, Amazon S3 will take the associated action. For more information\n about noncurrent versions, see Lifecycle configuration\n elements in the Amazon S3 User Guide.
" } } }, "traits": { - "smithy.api#documentation": "Container for the transition rule that describes when noncurrent objects transition to\n the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,\n GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage class. If your bucket is\n versioning-enabled (or versioning is suspended), you can set this action to request that\n Amazon S3 transition noncurrent object versions to the STANDARD_IA
,\n ONEZONE_IA
, INTELLIGENT_TIERING
, GLACIER_IR
, GLACIER
, or\n DEEP_ARCHIVE
storage class at a specific period in the object's\n lifetime.
Container for the transition rule that describes when noncurrent objects transition to\n the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,\n GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage\n class. If your bucket is versioning-enabled (or versioning is suspended), you can set this\n action to request that Amazon S3 transition noncurrent object versions to the\n STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,\n GLACIER_IR
, GLACIER
, or DEEP_ARCHIVE
storage\n class at a specific period in the object's lifetime.
The entity tag is a hash of the object. The ETag reflects changes only to the contents\n of an object, not its metadata. The ETag may or may not be an MD5 digest of the object\n data. Whether or not it is depends on how the object was created and how it is encrypted as\n described below:
\nObjects created by the PUT Object, POST Object, or Copy operation, or through the\n Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are\n an MD5 digest of their object data.
\nObjects created by the PUT Object, POST Object, or Copy operation, or through the\n Amazon Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are\n not an MD5 digest of their object data.
\nIf an object is created by either the Multipart Upload or Part Copy operation, the\n ETag is not an MD5 digest, regardless of the method of encryption. If an object\n is larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a\n Multipart Upload, and therefore the ETag will not be an MD5 digest.
\nThe entity tag is a hash of the object. The ETag reflects changes only to the contents\n of an object, not its metadata. The ETag may or may not be an MD5 digest of the object\n data. Whether or not it is depends on how the object was created and how it is encrypted as\n described below:
\nObjects created by the PUT Object, POST Object, or Copy operation, or through the\n Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that\n are an MD5 digest of their object data.
\nObjects created by the PUT Object, POST Object, or Copy operation, or through the\n Amazon Web Services Management Console, and are encrypted by SSE-C or SSE-KMS, have ETags that are\n not an MD5 digest of their object data.
\nIf an object is created by either the Multipart Upload or Part Copy operation, the\n ETag is not an MD5 digest, regardless of the method of encryption. If an object is\n larger than 16 MB, the Amazon Web Services Management Console will upload or copy that object as a\n Multipart Upload, and therefore the ETag will not be an MD5 digest.
\nIndicates whether this bucket has an Object Lock configuration enabled.\n Enable ObjectLockEnabled
when you apply ObjectLockConfiguration
\n to a bucket.
Indicates whether this bucket has an Object Lock configuration enabled. Enable\n ObjectLockEnabled
when you apply ObjectLockConfiguration
to a\n bucket.
Specifies the Object Lock rule for the specified object. Enable the this rule when you apply\n ObjectLockConfiguration
to a bucket. Bucket settings require both a mode and a period.\n The period can be either Days
or Years
but you must select one.\n You cannot specify Days
and Years
at the same time.
Specifies the Object Lock rule for the specified object. Enable the this rule when you\n apply ObjectLockConfiguration
to a bucket. Bucket settings require both a mode\n and a period. The period can be either Days
or Years
but you must\n select one. You cannot specify Days
and Years
at the same\n time.
The default Object Lock retention mode and period that you want to apply to new objects\n placed in the specified bucket. Bucket settings require both a mode and a period.\n The period can be either Days
or Years
but you must select one.\n You cannot specify Days
and Years
at the same time.
The default Object Lock retention mode and period that you want to apply to new objects\n placed in the specified bucket. Bucket settings require both a mode and a period. The\n period can be either Days
or Years
but you must select one. You\n cannot specify Days
and Years
at the same time.
The container element for object ownership for a bucket's ownership controls.
\nBucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket\n owner if the objects are uploaded with the bucket-owner-full-control
canned\n ACL.
ObjectWriter - The uploading account will own the object if the object is uploaded with\n the bucket-owner-full-control
canned ACL.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect permissions. \n The bucket owner automatically owns and has full control over every object in the bucket. The bucket only\n accepts PUT requests that don't specify an ACL or bucket owner full control\n ACLs, such as the bucket-owner-full-control
canned\n ACL or an equivalent form of this ACL expressed in the XML format.
The container element for object ownership for a bucket's ownership controls.
\nBucketOwnerPreferred - Objects uploaded to the bucket change ownership to the bucket\n owner if the objects are uploaded with the bucket-owner-full-control
canned\n ACL.
ObjectWriter - The uploading account will own the object if the object is uploaded with\n the bucket-owner-full-control
canned ACL.
BucketOwnerEnforced - Access control lists (ACLs) are disabled and no longer affect\n permissions. The bucket owner automatically owns and has full control over every object in\n the bucket. The bucket only accepts PUT requests that don't specify an ACL or bucket owner\n full control ACLs, such as the bucket-owner-full-control
canned ACL or an\n equivalent form of this ACL expressed in the XML format.
Container for the display name of the owner.
" + "smithy.api#documentation": "Container for the display name of the owner. This value is only supported in the\n following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nSpecifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting\n this element to TRUE
restricts access to this bucket to only Amazon Web Service\n principals and authorized users within this account if the bucket has a public\n policy.
Enabling this setting doesn't affect previously stored bucket policies, except that\n public and cross-account access within any public bucket policy, including non-public\n delegation to specific accounts, is blocked.
", + "smithy.api#documentation": "Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting\n this element to TRUE
restricts access to this bucket to only Amazon Web Service principals and authorized users within this account if the bucket has\n a public policy.
Enabling this setting doesn't affect previously stored bucket policies, except that\n public and cross-account access within any public bucket policy, including non-public\n delegation to specific accounts, is blocked.
", "smithy.api#xmlName": "RestrictPublicBuckets" } } @@ -29579,7 +29660,7 @@ "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" }, - "smithy.api#documentation": "Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a\n bucket-level feature that enables you to perform faster data transfers to Amazon S3.
\n To use this operation, you must have permission to perform the\n s3:PutAccelerateConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
The Transfer Acceleration state of a bucket can be set to one of the following two\n values:
\nEnabled – Enables accelerated data transfers to the bucket.
\nSuspended – Disables accelerated data transfers to the bucket.
\nThe GetBucketAccelerateConfiguration action returns the transfer acceleration\n state of a bucket.
\nAfter setting the Transfer Acceleration state of a bucket to Enabled, it might take up\n to thirty minutes before the data transfer rates to the bucket increase.
\nThe name of the bucket used for Transfer Acceleration must be DNS-compliant and must\n not contain periods (\".\").
\nFor more information about transfer acceleration, see Transfer Acceleration.
\nThe following operations are related to\n PutBucketAccelerateConfiguration
:
\n CreateBucket\n
\nSets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a\n bucket-level feature that enables you to perform faster data transfers to Amazon S3.
\n To use this operation, you must have permission to perform the\n s3:PutAccelerateConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
The Transfer Acceleration state of a bucket can be set to one of the following two\n values:
\nEnabled – Enables accelerated data transfers to the bucket.
\nSuspended – Disables accelerated data transfers to the bucket.
\nThe GetBucketAccelerateConfiguration action returns the transfer acceleration state\n of a bucket.
\nAfter setting the Transfer Acceleration state of a bucket to Enabled, it might take up\n to thirty minutes before the data transfer rates to the bucket increase.
\nThe name of the bucket used for Transfer Acceleration must be DNS-compliant and must\n not contain periods (\".\").
\nFor more information about transfer acceleration, see Transfer\n Acceleration.
\nThe following operations are related to\n PutBucketAccelerateConfiguration
:
\n CreateBucket\n
\nSets the permissions on an existing bucket using access control lists (ACL). For more\n information, see Using ACLs. To set\n the ACL of a bucket, you must have WRITE_ACP
permission.
You can use one of the following two ways to set a bucket's permissions:
\nSpecify the ACL in the request body
\nSpecify permissions using request headers
\nYou cannot specify access permission using both the body and the request\n headers.
\nDepending on your application needs, you may choose to set the ACL on a bucket using\n either the request body or the headers. For example, if you have an existing application\n that updates a bucket ACL using the request body, then you can continue to use that\n approach.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions. \n You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and \n return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported.\n For more information, see Controlling object ownership\n in the Amazon S3 User Guide.
\n Access Permissions\n
\nYou can set access permissions using one of the following methods:
\nSpecify a canned ACL with the x-amz-acl
request header. Amazon S3 supports\n a set of predefined ACLs, known as canned ACLs. Each canned ACL\n has a predefined set of grantees and permissions. Specify the canned ACL name as the\n value of x-amz-acl
. If you use this header, you cannot use other access\n control-specific headers in your request. For more information, see Canned ACL.
Specify access permissions explicitly with the x-amz-grant-read
,\n x-amz-grant-read-acp
, x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. When using these headers, you\n specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who\n will receive the permission. If you use these ACL-specific headers, you cannot use\n the x-amz-acl
header to set a canned ACL. These parameters map to the\n set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL)\n Overview.
You specify each grantee as a type=value pair, where the type is one of the\n following:
\n\n id
– if the value specified is the canonical user ID of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email address of\n an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-write
header grants create,\n overwrite, and delete objects permission to LogDelivery group predefined by Amazon S3 and\n two Amazon Web Services accounts identified by their email addresses.
\n x-amz-grant-write: uri=\"http://acs.amazonaws.com/groups/s3/LogDelivery\",\n id=\"111122223333\", id=\"555566667777\"
\n
You can use either a canned ACL or specify access permissions explicitly. You cannot do\n both.
\n\n Grantee Values\n
\nYou can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request
\nBy URI:
\n\n
\n
By Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET Object\n acl request, appears as the CanonicalUser.
\nUsing email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\n\n Related Resources\n
\n\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetObjectAcl\n
\nSets the permissions on an existing bucket using access control lists (ACL). For more\n information, see Using ACLs. To set the ACL of a\n bucket, you must have WRITE_ACP
permission.
You can use one of the following two ways to set a bucket's permissions:
\nSpecify the ACL in the request body
\nSpecify permissions using request headers
\nYou cannot specify access permission using both the body and the request\n headers.
\nDepending on your application needs, you may choose to set the ACL on a bucket using\n either the request body or the headers. For example, if you have an existing application\n that updates a bucket ACL using the request body, then you can continue to use that\n approach.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs\n are disabled and no longer affect permissions. You must use policies to grant access to\n your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return\n the AccessControlListNotSupported
error code. Requests to read ACLs are\n still supported. For more information, see Controlling object\n ownership in the Amazon S3 User Guide.
\n Access Permissions\n
\nYou can set access permissions using one of the following methods:
\nSpecify a canned ACL with the x-amz-acl
request header. Amazon S3 supports\n a set of predefined ACLs, known as canned ACLs. Each canned ACL\n has a predefined set of grantees and permissions. Specify the canned ACL name as the\n value of x-amz-acl
. If you use this header, you cannot use other access\n control-specific headers in your request. For more information, see Canned\n ACL.
Specify access permissions explicitly with the x-amz-grant-read
,\n x-amz-grant-read-acp
, x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. When using these headers, you\n specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who\n will receive the permission. If you use these ACL-specific headers, you cannot use\n the x-amz-acl
header to set a canned ACL. These parameters map to the\n set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control\n List (ACL) Overview.
You specify each grantee as a type=value pair, where the type is one of the\n following:
\n\n id
– if the value specified is the canonical user ID of an\n Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email address of\n an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-write
header grants create,\n overwrite, and delete objects permission to LogDelivery group predefined by Amazon S3 and\n two Amazon Web Services accounts identified by their email addresses.
\n x-amz-grant-write: uri=\"http://acs.amazonaws.com/groups/s3/LogDelivery\",\n id=\"111122223333\", id=\"555566667777\"
\n
You can use either a canned ACL or specify access permissions explicitly. You cannot do\n both.
\n\n Grantee Values\n
\nYou can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request
\nBy URI:
\n\n
\n
By Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET Object\n acl request, appears as the CanonicalUser.
\nUsing email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\n\n Related Resources\n
\n\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetObjectAcl\n
\nAllows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.
", + "smithy.api#documentation": "Allows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and\n overwrites of those objects.
", "smithy.api#httpHeader": "x-amz-grant-write" } }, @@ -29749,7 +29830,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Sets an analytics configuration for the bucket (specified by the analytics configuration\n ID). You can have up to 1,000 analytics configurations per bucket.
\nYou can choose to have storage class analysis export analysis reports sent to a\n comma-separated values (CSV) flat file. See the DataExport
request element.\n Reports are updated daily and are based on the object filters that you configure. When\n selecting data export, you specify a destination bucket and an optional destination prefix\n where the file is written. You can export the data to a destination bucket in a different\n account. However, the destination bucket must be in the same Region as the bucket that you\n are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class\n Analysis.
You must create a bucket policy on the destination bucket where the exported file is\n written to grant permissions to Amazon S3 to write objects to the bucket. For an example\n policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
\n Special Errors\n
\n\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: InvalidArgument\n
\n\n Cause: Invalid argument.\n
\n\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: TooManyConfigurations\n
\n\n Cause: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.\n
\n\n HTTP Error: HTTP 403 Forbidden\n
\n\n Code: AccessDenied\n
\n\n Cause: You are not the owner of the specified bucket, or you do\n not have the s3:PutAnalyticsConfiguration bucket permission to set the\n configuration on the bucket.\n
\n\n Related Resources\n
\nSets an analytics configuration for the bucket (specified by the analytics configuration\n ID). You can have up to 1,000 analytics configurations per bucket.
\nYou can choose to have storage class analysis export analysis reports sent to a\n comma-separated values (CSV) flat file. See the DataExport
request element.\n Reports are updated daily and are based on the object filters that you configure. When\n selecting data export, you specify a destination bucket and an optional destination prefix\n where the file is written. You can export the data to a destination bucket in a different\n account. However, the destination bucket must be in the same Region as the bucket that you\n are making the PUT analytics configuration to. For more information, see Amazon S3\n Analytics – Storage Class Analysis.
You must create a bucket policy on the destination bucket where the exported file is\n written to grant permissions to Amazon S3 to write objects to the bucket. For an example\n policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\nTo use this operation, you must have permissions to perform the\n s3:PutAnalyticsConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
\n Special Errors\n
\n\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: InvalidArgument\n
\n\n Cause: Invalid argument.\n
\n\n HTTP Error: HTTP 400 Bad Request\n
\n\n Code: TooManyConfigurations\n
\n\n Cause: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.\n
\n\n HTTP Error: HTTP 403 Forbidden\n
\n\n Code: AccessDenied\n
\n\n Cause: You are not the owner of the specified bucket, or you do\n not have the s3:PutAnalyticsConfiguration bucket permission to set the\n configuration on the bucket.\n
\n\n Related Resources\n
\nSets the cors
configuration for your bucket. If the configuration exists,\n Amazon S3 replaces it.
To use this operation, you must be allowed to perform the s3:PutBucketCORS
\n action. By default, the bucket owner has this permission and can grant it to others.
You set this configuration on a bucket so that the bucket can service cross-origin\n requests. For example, you might want to enable a request whose origin is\n http://www.example.com
to access your Amazon S3 bucket at\n my.example.bucket.com
by using the browser's XMLHttpRequest
\n capability.
To enable cross-origin resource sharing (CORS) on a bucket, you add the\n cors
subresource to the bucket. The cors
subresource is an XML\n document in which you configure rules that identify origins and the HTTP methods that can\n be executed on your bucket. The document is limited to 64 KB in size.
When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a\n bucket, it evaluates the cors
configuration on the bucket and uses the first\n CORSRule
rule that matches the incoming browser request to enable a\n cross-origin request. For a rule to match, the following conditions must be met:
The request's Origin
header must match AllowedOrigin
\n elements.
The request method (for example, GET, PUT, HEAD, and so on) or the\n Access-Control-Request-Method
header in case of a pre-flight\n OPTIONS
request must be one of the AllowedMethod
\n elements.
Every header specified in the Access-Control-Request-Headers
request\n header of a pre-flight request must match an AllowedHeader
element.\n
For more information about CORS, go to Enabling\n Cross-Origin Resource Sharing in the Amazon S3 User Guide.
\n\n Related Resources\n
\n\n GetBucketCors\n
\n\n DeleteBucketCors\n
\n\n RESTOPTIONSobject\n
\nSets the cors
configuration for your bucket. If the configuration exists,\n Amazon S3 replaces it.
To use this operation, you must be allowed to perform the s3:PutBucketCORS
\n action. By default, the bucket owner has this permission and can grant it to others.
You set this configuration on a bucket so that the bucket can service cross-origin\n requests. For example, you might want to enable a request whose origin is\n http://www.example.com
to access your Amazon S3 bucket at\n my.example.bucket.com
by using the browser's XMLHttpRequest
\n capability.
To enable cross-origin resource sharing (CORS) on a bucket, you add the\n cors
subresource to the bucket. The cors
subresource is an XML\n document in which you configure rules that identify origins and the HTTP methods that can\n be executed on your bucket. The document is limited to 64 KB in size.
When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a\n bucket, it evaluates the cors
configuration on the bucket and uses the first\n CORSRule
rule that matches the incoming browser request to enable a\n cross-origin request. For a rule to match, the following conditions must be met:
The request's Origin
header must match AllowedOrigin
\n elements.
The request method (for example, GET, PUT, HEAD, and so on) or the\n Access-Control-Request-Method
header in case of a pre-flight\n OPTIONS
request must be one of the AllowedMethod
\n elements.
Every header specified in the Access-Control-Request-Headers
request\n header of a pre-flight request must match an AllowedHeader
element.\n
For more information about CORS, go to Enabling Cross-Origin Resource Sharing in\n the Amazon S3 User Guide.
\n\n Related Resources\n
\n\n GetBucketCors\n
\n\n DeleteBucketCors\n
\n\n RESTOPTIONSobject\n
\nDescribes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling Cross-Origin Resource\n Sharing in the Amazon S3 User Guide.
", + "smithy.api#documentation": "Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more\n information, see Enabling\n Cross-Origin Resource Sharing in the\n Amazon S3 User Guide.
", "smithy.api#httpPayload": {}, "smithy.api#required": {}, "smithy.api#xmlName": "CORSConfiguration" @@ -29883,7 +29964,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "This action uses the encryption
subresource to configure default\n encryption and Amazon S3 Bucket Key for an existing bucket.
Default encryption for a bucket can use server-side encryption with Amazon S3-managed keys\n (SSE-S3) or customer managed keys (SSE-KMS). If you specify default encryption\n using SSE-KMS, you can also configure Amazon S3 Bucket Key. When the default encryption is SSE-KMS, if\n you upload an object to the bucket and do not specify the KMS key to use for encryption, Amazon S3\n uses the default Amazon Web Services managed KMS key for your account. For information about default\n encryption, see Amazon S3 default bucket encryption\n in the Amazon S3 User Guide. For more information about S3 Bucket Keys,\n see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
\nThis action requires Amazon Web Services Signature Version 4. For more information, see Authenticating Requests (Amazon Web Services Signature\n Version 4).
\nTo use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon S3 User Guide.
\n Related Resources\n
\n\n GetBucketEncryption\n
\nThis action uses the encryption
subresource to configure default encryption\n and Amazon S3 Bucket Keys for an existing bucket.
By default, all buckets have a default encryption configuration that\n uses server-side encryption with Amazon S3 managed keys (SSE-S3).\n You can optionally configure default encryption for a bucket by using server-side\n encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). If you specify default encryption by using\n SSE-KMS, you can also configure Amazon S3 Bucket Keys. For information about bucket default encryption,\n see Amazon S3\n bucket default encryption in the Amazon S3 User Guide. For more\n information about S3 Bucket Keys, see Amazon S3 Bucket Keys in the\n Amazon S3 User Guide.
\nThis action requires Amazon Web Services Signature Version 4. For more information, see \n Authenticating Requests (Amazon Web Services Signature Version 4).
\nTo use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration
action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.
\n Related Resources\n
\n\n GetBucketEncryption\n
\nSpecifies default encryption for a bucket using server-side encryption with Amazon S3-managed\n keys (SSE-S3) or customer managed keys (SSE-KMS). For information about\n the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption\n in the Amazon S3 User Guide.
", + "smithy.api#documentation": "Specifies default encryption for a bucket using server-side encryption with different\n key options. By default, all buckets have a default encryption configuration that\n uses server-side encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption for a bucket by using server-side\n encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). For information about the bucket default\n encryption feature, see Amazon S3 Bucket Default Encryption\n in the Amazon S3 User Guide.
", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.rules#contextParam": { @@ -29908,7 +29989,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", + "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the server-side encryption\n configuration.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, @@ -29948,7 +30029,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Puts a S3 Intelligent-Tiering configuration to the specified bucket.\n You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to\n PutBucketIntelligentTieringConfiguration
include:
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically\n move objects stored in the S3 Intelligent-Tiering storage class to the\n Archive Access or Deep Archive Access tier.
\n\n Special Errors\n
\n\n HTTP 400 Bad Request Error\n
\n\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n HTTP 400 Bad Request Error\n
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n HTTP 403 Forbidden Error\n
\n\n Code: AccessDenied
\n\n Cause: You are not the owner of the specified bucket,\n or you do not have the s3:PutIntelligentTieringConfiguration
bucket\n permission to set the configuration on the bucket.
Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to\n 1,000 S3 Intelligent-Tiering configurations per bucket.
\nThe S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
\nThe S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
\nFor more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
\nOperations related to PutBucketIntelligentTieringConfiguration
include:
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically\n move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access\n or Deep Archive Access tier.
\n\n Special Errors\n
\n\n HTTP 400 Bad Request Error\n
\n\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n HTTP 400 Bad Request Error\n
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n HTTP 403 Forbidden Error\n
\n\n Code: AccessDenied
\n\n Cause: You are not the owner of the specified bucket,\n or you do not have the s3:PutIntelligentTieringConfiguration
\n bucket permission to set the configuration on the bucket.
This implementation of the PUT
action adds an inventory configuration\n (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory\n configurations per bucket.
Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly\n basis, and the results are published to a flat file. The bucket that is inventoried is\n called the source bucket, and the bucket where the inventory flat file\n is stored is called the destination bucket. The\n destination bucket must be in the same Amazon Web Services Region as the\n source bucket.
\nWhen you configure an inventory for a source bucket, you specify\n the destination bucket where you want the inventory to be stored, and\n whether to generate the inventory daily or weekly. You can also configure what object\n metadata to include and whether to inventory all object versions or only current versions.\n For more information, see Amazon S3\n Inventory in the Amazon S3 User Guide.
\nYou must create a bucket policy on the destination bucket to\n grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an\n example policy, see \n Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\nTo use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration
action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon S3 User Guide.
\n Special Errors\n
\n\n HTTP 400 Bad Request Error\n
\n\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n HTTP 400 Bad Request Error\n
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n HTTP 403 Forbidden Error\n
\n\n Code: AccessDenied
\n\n Cause: You are not the owner of the specified bucket,\n or you do not have the s3:PutInventoryConfiguration
bucket\n permission to set the configuration on the bucket.
\n Related Resources\n
\nThis implementation of the PUT
action adds an inventory configuration\n (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory\n configurations per bucket.
Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly\n basis, and the results are published to a flat file. The bucket that is inventoried is\n called the source bucket, and the bucket where the inventory flat file\n is stored is called the destination bucket. The\n destination bucket must be in the same Amazon Web Services Region as the\n source bucket.
\nWhen you configure an inventory for a source bucket, you specify\n the destination bucket where you want the inventory to be stored, and\n whether to generate the inventory daily or weekly. You can also configure what object\n metadata to include and whether to inventory all object versions or only current versions.\n For more information, see Amazon S3 Inventory in the\n Amazon S3 User Guide.
\nYou must create a bucket policy on the destination bucket to\n grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an\n example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
\n\n Permissions\n
\nTo use this operation, you must have permission to perform the\n s3:PutInventoryConfiguration
action. The bucket owner has this permission\n by default and can grant this permission to others.
The s3:PutInventoryConfiguration
permission allows a user to create an\n S3\n Inventory report that includes all object metadata fields available and to\n specify the destination bucket to store the inventory. A user with read access to objects\n in the destination bucket can also access all object metadata fields that are available in\n the inventory report.
To restrict access to an inventory report, see Restricting access to an Amazon S3 Inventory report in the\n Amazon S3 User Guide. For more information about the metadata fields\n available in S3 Inventory, see Amazon S3\n Inventory lists in the Amazon S3 User Guide. For more\n information about permissions, see Permissions related to bucket subresource operations and Identity and\n access management in Amazon S3 in the Amazon S3 User Guide.
\n\n Special Errors\n
\n\n HTTP 400 Bad Request Error\n
\n\n Code: InvalidArgument
\n\n Cause: Invalid Argument
\n\n HTTP 400 Bad Request Error\n
\n\n Code: TooManyConfigurations
\n\n Cause: You are attempting to create a new configuration\n but have already reached the 1,000-configuration limit.
\n\n HTTP 403 Forbidden Error\n
\n\n Code: AccessDenied
\n\n Cause: You are not the owner of the specified bucket,\n or you do not have the s3:PutInventoryConfiguration
bucket\n permission to set the configuration on the bucket.
\n Related Resources\n
\nCreates a new lifecycle configuration for the bucket or replaces an existing lifecycle\n configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if\n you want to retain any configuration details, they must be included in the new lifecycle\n configuration. For information about lifecycle configuration, see Managing your storage\n lifecycle.
\nBucket lifecycle configuration now supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, or a combination of both. Accordingly,\n this section describes the latest API. The previous version of the API supported\n filtering based only on an object key name prefix, which is supported for backward\n compatibility. For the related API description, see PutBucketLifecycle.
\n\n Rules\n
\nYou specify the lifecycle configuration in your request body. The lifecycle\n configuration is specified as XML consisting of one or more rules. An Amazon S3 Lifecycle\n configuration can have up to 1,000 rules. This limit is not adjustable. Each rule consists\n of the following:
\nFilter identifying a subset of objects to which the rule applies. The filter can\n be based on a key name prefix, object tags, or a combination of both.
\nStatus whether the rule is in effect.
\nOne or more lifecycle transition and expiration actions that you want Amazon S3 to\n perform on the objects identified by the filter. If the state of your bucket is\n versioning-enabled or versioning-suspended, you can have many versions of the same\n object (one current version and zero or more noncurrent versions). Amazon S3 provides\n predefined actions that you can specify for current and noncurrent object\n versions.
\nFor more information, see Object\n Lifecycle Management and Lifecycle Configuration Elements.
\n\n Permissions\n
\nBy default, all Amazon S3 resources are private, including buckets, objects, and related\n subresources (for example, lifecycle configuration and website configuration). Only the\n resource owner (that is, the Amazon Web Services account that created it) can access the resource. The\n resource owner can optionally grant access permissions to others by writing an access\n policy. For this operation, a user must get the s3:PutLifecycleConfiguration
\n permission.
You can also explicitly deny permissions. Explicit deny also supersedes any other\n permissions. If you want to block users or accounts from removing or deleting objects from\n your bucket, you must deny them permissions for the following actions:
\n\n s3:DeleteObject
\n
\n s3:DeleteObjectVersion
\n
\n s3:PutLifecycleConfiguration
\n
For more information about permissions, see Managing Access Permissions to Your Amazon S3\n Resources.
\nThe following are related to PutBucketLifecycleConfiguration
:
Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle\n configuration. Keep in mind that this will overwrite an existing lifecycle configuration,\n so if you want to retain any configuration details, they must be included in the new\n lifecycle configuration. For information about lifecycle configuration, see Managing\n your storage lifecycle.
\nBucket lifecycle configuration now supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, or a combination of both. Accordingly,\n this section describes the latest API. The previous version of the API supported\n filtering based only on an object key name prefix, which is supported for backward\n compatibility. For the related API description, see PutBucketLifecycle.
\n\n Rules\n
\nYou specify the lifecycle configuration in your request body. The lifecycle\n configuration is specified as XML consisting of one or more rules. An Amazon S3 Lifecycle\n configuration can have up to 1,000 rules. This limit is not adjustable. Each rule consists\n of the following:
\nFilter identifying a subset of objects to which the rule applies. The filter can\n be based on a key name prefix, object tags, or a combination of both.
\nStatus whether the rule is in effect.
\nOne or more lifecycle transition and expiration actions that you want Amazon S3 to\n perform on the objects identified by the filter. If the state of your bucket is\n versioning-enabled or versioning-suspended, you can have many versions of the same\n object (one current version and zero or more noncurrent versions). Amazon S3 provides\n predefined actions that you can specify for current and noncurrent object\n versions.
\nFor more information, see Object Lifecycle Management\n and Lifecycle Configuration Elements.
\n\n Permissions\n
\nBy default, all Amazon S3 resources are private, including buckets, objects, and related\n subresources (for example, lifecycle configuration and website configuration). Only the\n resource owner (that is, the Amazon Web Services account that created it) can access the resource. The\n resource owner can optionally grant access permissions to others by writing an access\n policy. For this operation, a user must get the s3:PutLifecycleConfiguration
\n permission.
You can also explicitly deny permissions. Explicit deny also supersedes any other\n permissions. If you want to block users or accounts from removing or deleting objects from\n your bucket, you must deny them permissions for the following actions:
\n\n s3:DeleteObject
\n
\n s3:DeleteObjectVersion
\n
\n s3:PutLifecycleConfiguration
\n
For more information about permissions, see Managing Access Permissions to\n Your Amazon S3 Resources.
\nThe following are related to PutBucketLifecycleConfiguration
:
Set the logging parameters for a bucket and to specify permissions for who can view and\n modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as the\n source bucket. To set the logging status of a bucket, you must be the bucket owner.
\nThe bucket owner is automatically granted FULL_CONTROL to all logs. You use the Grantee
request element to grant access to other people. The\n Permissions
request element specifies the kind of access the grantee has to\n the logs.
If the target bucket for log delivery uses the bucket owner enforced\n setting for S3 Object Ownership, you can't use the Grantee
request element\n to grant access to others. Permissions can only be granted using policies. For more information, see Permissions for server access log delivery in the\n Amazon S3 User Guide.
\n Grantee Values\n
\nYou can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request.
\nBy Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET Object\n acl request, appears as the CanonicalUser.
\nBy URI:
\n\n
\n
To enable logging, you use LoggingEnabled and its children request elements. To disable\n logging, you use an empty BucketLoggingStatus request element:
\n\n
\n
For more information about server access logging, see Server Access Logging in the Amazon S3 User Guide.
\nFor more information about creating a bucket, see CreateBucket. For more\n information about returning the logging status of a bucket, see GetBucketLogging.
\nThe following operations are related to PutBucketLogging
:
\n PutObject\n
\n\n DeleteBucket\n
\n\n CreateBucket\n
\n\n GetBucketLogging\n
\nSet the logging parameters for a bucket and to specify permissions for who can view and\n modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as\n the source bucket. To set the logging status of a bucket, you must be the bucket\n owner.
\nThe bucket owner is automatically granted FULL_CONTROL to all logs. You use the\n Grantee
request element to grant access to other people. The\n Permissions
request element specifies the kind of access the grantee has to\n the logs.
If the target bucket for log delivery uses the bucket owner enforced setting for S3\n Object Ownership, you can't use the Grantee
request element to grant access\n to others. Permissions can only be granted using policies. For more information, see\n Permissions for server access log delivery in the\n Amazon S3 User Guide.
\n Grantee Values\n
\nYou can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request.
\nBy Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET Object\n acl request, appears as the CanonicalUser.
\nBy URI:
\n\n
\n
To enable logging, you use LoggingEnabled and its children request elements. To disable\n logging, you use an empty BucketLoggingStatus request element:
\n\n
\n
For more information about server access logging, see Server Access Logging in the\n Amazon S3 User Guide.
\nFor more information about creating a bucket, see CreateBucket. For more\n information about returning the logging status of a bucket, see GetBucketLogging.
\nThe following operations are related to PutBucketLogging
:
\n PutObject\n
\n\n DeleteBucket\n
\n\n CreateBucket\n
\n\n GetBucketLogging\n
\nSets a metrics configuration (specified by the metrics configuration ID) for the bucket.\n You can have up to 1,000 metrics configurations per bucket. If you're updating an existing\n metrics configuration, note that this is a full replacement of the existing metrics\n configuration. If you don't include the elements you want to keep, they are erased.
\nTo use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon\n CloudWatch.
\nThe following operations are related to\n PutBucketMetricsConfiguration
:
\n GetBucketLifecycle
has the following special error:
Error code: TooManyConfigurations
\n
Description: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.
\nHTTP Status Code: HTTP 400 Bad Request
\nSets a metrics configuration (specified by the metrics configuration ID) for the bucket.\n You can have up to 1,000 metrics configurations per bucket. If you're updating an existing\n metrics configuration, note that this is a full replacement of the existing metrics\n configuration. If you don't include the elements you want to keep, they are erased.
\nTo use this operation, you must have permissions to perform the\n s3:PutMetricsConfiguration
action. The bucket owner has this permission by\n default. The bucket owner can grant this permission to others. For more information about\n permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
For information about CloudWatch request metrics for Amazon S3, see Monitoring\n Metrics with Amazon CloudWatch.
\nThe following operations are related to\n PutBucketMetricsConfiguration
:
\n GetBucketLifecycle
has the following special error:
Error code: TooManyConfigurations
\n
Description: You are attempting to create a new configuration but have\n already reached the 1,000-configuration limit.
\nHTTP Status Code: HTTP 400 Bad Request
\nThe ID used to identify the metrics configuration.
", + "smithy.api#documentation": "The ID used to identify the metrics configuration. The ID has a 64 character limit and\n can only contain letters, numbers, periods, dashes, and underscores.
", "smithy.api#httpQuery": "id", "smithy.api#required": {} } @@ -30253,7 +30334,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Enables notifications of specified events for a bucket. For more information about event\n notifications, see Configuring Event\n Notifications.
\nUsing this API, you can replace an existing notification configuration. The\n configuration is an XML file that defines the event types that you want Amazon S3 to publish and\n the destination where you want Amazon S3 to publish an event notification when it detects an\n event of the specified type.
\nBy default, your bucket has no event notifications configured. That is, the notification\n configuration will be an empty NotificationConfiguration
.
\n
\n
\n \n
This action replaces the existing notification configuration with the configuration\n you include in the request body.
\nAfter Amazon S3 receives this request, it first verifies that any Amazon Simple Notification\n Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and\n that the bucket owner has permission to publish to it by sending a test notification. In\n the case of Lambda destinations, Amazon S3 verifies that the Lambda function permissions\n grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information,\n see Configuring Notifications for Amazon S3\n Events.
\nYou can disable notifications by adding the empty NotificationConfiguration\n element.
\nFor more information about the number of event notification configurations that you can create per bucket, see\n Amazon S3 service quotas in Amazon Web Services General Reference.
\nBy default, only the bucket owner can configure notifications on a bucket. However,\n bucket owners can use a bucket policy to grant permission to other users to set this\n configuration with s3:PutBucketNotification
permission.
The PUT notification is an atomic operation. For example, suppose your notification\n configuration includes SNS topic, SQS queue, and Lambda function configurations. When\n you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS\n topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add\n the configuration to your bucket.
\n\n Responses\n
\nIf the configuration in the request body includes only one\n TopicConfiguration
specifying only the\n s3:ReducedRedundancyLostObject
event type, the response will also include\n the x-amz-sns-test-message-id
header containing the message ID of the test\n notification sent to the topic.
The following action is related to\n PutBucketNotificationConfiguration
:
Enables notifications of specified events for a bucket. For more information about event\n notifications, see Configuring Event\n Notifications.
\nUsing this API, you can replace an existing notification configuration. The\n configuration is an XML file that defines the event types that you want Amazon S3 to publish and\n the destination where you want Amazon S3 to publish an event notification when it detects an\n event of the specified type.
\nBy default, your bucket has no event notifications configured. That is, the notification\n configuration will be an empty NotificationConfiguration
.
\n
\n
\n \n
This action replaces the existing notification configuration with the configuration you\n include in the request body.
\nAfter Amazon S3 receives this request, it first verifies that any Amazon Simple Notification\n Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and\n that the bucket owner has permission to publish to it by sending a test notification. In\n the case of Lambda destinations, Amazon S3 verifies that the Lambda function permissions\n grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information,\n see Configuring Notifications for Amazon S3 Events.
\nYou can disable notifications by adding the empty NotificationConfiguration\n element.
\nFor more information about the number of event notification configurations that you can\n create per bucket, see Amazon S3 service quotas in Amazon Web Services\n General Reference.
\nBy default, only the bucket owner can configure notifications on a bucket. However,\n bucket owners can use a bucket policy to grant permission to other users to set this\n configuration with s3:PutBucketNotification
permission.
The PUT notification is an atomic operation. For example, suppose your notification\n configuration includes SNS topic, SQS queue, and Lambda function configurations. When\n you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS\n topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add the\n configuration to your bucket.
\n\n Responses\n
\nIf the configuration in the request body includes only one\n TopicConfiguration
specifying only the\n s3:ReducedRedundancyLostObject
event type, the response will also include\n the x-amz-sns-test-message-id
header containing the message ID of the test\n notification sent to the topic.
The following action is related to\n PutBucketNotificationConfiguration
:
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
", + "smithy.api#documentation": "Skips validation of Amazon SQS, Amazon SNS, and Lambda\n destinations. True or false value.
", "smithy.api#httpHeader": "x-amz-skip-destination-validation" } } @@ -30315,7 +30396,7 @@ "aws.protocols#httpChecksum": { "requestChecksumRequired": true }, - "smithy.api#documentation": "Creates or modifies OwnershipControls
for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketOwnershipControls
permission. For\n more information about Amazon S3 permissions, see Specifying permissions in a policy.
For information about Amazon S3 Object Ownership, see Using object ownership.
\nThe following operations are related to PutBucketOwnershipControls
:
Creates or modifies OwnershipControls
for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketOwnershipControls
permission. For\n more information about Amazon S3 permissions, see Specifying permissions in a\n policy.
For information about Amazon S3 Object Ownership, see Using object\n ownership.
\nThe following operations are related to PutBucketOwnershipControls
:
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) that you want\n to apply to this Amazon S3 bucket.
The OwnershipControls
(BucketOwnerEnforced, BucketOwnerPreferred, or\n ObjectWriter) that you want to apply to this Amazon S3 bucket.
Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than\n the root user of the Amazon Web Services account that owns the bucket, the calling identity must have the\n PutBucketPolicy
permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.
If you don't have PutBucketPolicy
permissions, Amazon S3 returns a 403\n Access Denied
error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed
error.
As a security precaution, the root user of the Amazon Web Services account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.
\nFor more information, see Bucket policy examples.
\nThe following operations are related to PutBucketPolicy
:
\n CreateBucket\n
\n\n DeleteBucket\n
\nApplies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than\n the root user of the Amazon Web Services account that owns the bucket, the calling identity must have the\n PutBucketPolicy
permissions on the specified bucket and belong to the\n bucket owner's account in order to use this operation.
If you don't have PutBucketPolicy
permissions, Amazon S3 returns a 403\n Access Denied
error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed
error.
As a security precaution, the root user of the Amazon Web Services account that owns a bucket can\n always use this operation, even if the policy explicitly denies the root user the\n ability to perform this action.
\nFor more information, see Bucket policy\n examples.
\nThe following operations are related to PutBucketPolicy
:
\n CreateBucket\n
\n\n DeleteBucket\n
\nCreates a replication configuration or replaces an existing one. For more information,\n see Replication in the Amazon S3 User Guide.
\nSpecify the replication configuration in the request body. In the replication\n configuration, you provide the name of the destination bucket or buckets where you want\n Amazon S3 to replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your\n behalf, and other relevant information.
\nA replication configuration must include at least one rule, and can contain a maximum of\n 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in\n the source bucket. To choose additional subsets of objects to replicate, add a rule for\n each subset.
\nTo specify a subset of the objects in the source bucket to apply a replication rule to,\n add the Filter element as a child of the Rule element. You can filter objects based on an\n object key prefix, one or more object tags, or both. When you add the Filter element in the\n configuration, you must also add the following elements:\n DeleteMarkerReplication
, Status
, and\n Priority
.
If you are using an earlier version of the replication configuration, Amazon S3 handles\n replication of delete markers differently. For more information, see Backward Compatibility.
\nFor information about enabling versioning on a bucket, see Using Versioning.
\n\n Handling Replication of Encrypted Objects\n
\nBy default, Amazon S3 doesn't replicate objects that are stored at rest using server-side\n encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects, add the\n following: SourceSelectionCriteria
, SseKmsEncryptedObjects
,\n Status
, EncryptionConfiguration
, and\n ReplicaKmsKeyID
. For information about replication configuration, see\n Replicating Objects\n Created with SSE Using KMS keys.
For information on PutBucketReplication
errors, see List of\n replication-related error codes\n
\n Permissions\n
\nTo create a PutBucketReplication
request, you must have s3:PutReplicationConfiguration
\n permissions for the bucket. \n
By default, a resource owner, in this case the Amazon Web Services account that created the bucket, can\n perform this operation. The resource owner can also grant others permissions to perform the\n operation. For more information about permissions, see Specifying Permissions in a Policy\n and Managing Access Permissions to Your\n Amazon S3 Resources.
\nTo perform this operation, the user or role performing the action must have the\n iam:PassRole permission.
\nThe following operations are related to PutBucketReplication
:
\n GetBucketReplication\n
\nCreates a replication configuration or replaces an existing one. For more information,\n see Replication in the Amazon S3 User Guide.
\nSpecify the replication configuration in the request body. In the replication\n configuration, you provide the name of the destination bucket or buckets where you want\n Amazon S3 to replicate objects, the IAM role that Amazon S3 can assume to replicate objects on your\n behalf, and other relevant information.
\nA replication configuration must include at least one rule, and can contain a maximum of\n 1,000. Each rule identifies a subset of objects to replicate by filtering the objects in\n the source bucket. To choose additional subsets of objects to replicate, add a rule for\n each subset.
\nTo specify a subset of the objects in the source bucket to apply a replication rule to,\n add the Filter element as a child of the Rule element. You can filter objects based on an\n object key prefix, one or more object tags, or both. When you add the Filter element in the\n configuration, you must also add the following elements:\n DeleteMarkerReplication
, Status
, and\n Priority
.
If you are using an earlier version of the replication configuration, Amazon S3 handles\n replication of delete markers differently. For more information, see Backward Compatibility.
\nFor information about enabling versioning on a bucket, see Using Versioning.
\n\n Handling Replication of Encrypted Objects\n
\nBy default, Amazon S3 doesn't replicate objects that are stored at rest using server-side\n encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted objects, add the following:\n SourceSelectionCriteria
, SseKmsEncryptedObjects
,\n Status
, EncryptionConfiguration
, and\n ReplicaKmsKeyID
. For information about replication configuration, see\n Replicating Objects\n Created with SSE Using KMS keys.
For information on PutBucketReplication
errors, see List of\n replication-related error codes\n
\n Permissions\n
\nTo create a PutBucketReplication
request, you must have\n s3:PutReplicationConfiguration
permissions for the bucket.\n \n
By default, a resource owner, in this case the Amazon Web Services account that created the bucket,\n can perform this operation. The resource owner can also grant others permissions to perform\n the operation. For more information about permissions, see Specifying Permissions in a\n Policy and Managing Access Permissions to\n Your Amazon S3 Resources.
\nTo perform this operation, the user or role performing the action must have the\n iam:PassRole permission.
\nThe following operations are related to PutBucketReplication
:
\n GetBucketReplication\n
\nSets the request payment configuration for a bucket. By default, the bucket owner pays\n for downloads from the bucket. This configuration parameter enables the bucket owner (only)\n to specify that the person requesting the download will be charged for the download. For\n more information, see Requester Pays\n Buckets.
\nThe following operations are related to PutBucketRequestPayment
:
\n CreateBucket\n
\nSets the request payment configuration for a bucket. By default, the bucket owner pays\n for downloads from the bucket. This configuration parameter enables the bucket owner (only)\n to specify that the person requesting the download will be charged for the download. For\n more information, see Requester Pays\n Buckets.
\nThe following operations are related to PutBucketRequestPayment
:
\n CreateBucket\n
\nThe base64-encoded 128-bit MD5 digest of the data. You must use this header as a\n message integrity check to verify that the request body was not corrupted in transit. For\n more information, see RFC\n 1864.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", + "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.
\nFor requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
", "smithy.api#httpHeader": "Content-MD5" } }, @@ -30601,7 +30682,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "Sets the tags for a bucket.
\nUse tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign\n up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost of\n combined resources, organize your billing information according to resources with the same\n tag key values. For example, you can tag several resources with a specific application\n name, and then organize your billing information to see the total cost of that application\n across several services. For more information, see Cost Allocation\n and Tagging and Using Cost Allocation in Amazon S3 Bucket\n Tags.
\n\n When this operation sets the tags for a bucket, it will overwrite any current tags the \n bucket already has. You cannot use this operation to add tags to an existing list of tags.
\nTo use this operation, you must have permissions to perform the\n s3:PutBucketTagging
action. The bucket owner has this permission by default\n and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.
\n PutBucketTagging
has the following special errors:
Error code: InvalidTagError
\n
Description: The tag provided was not a valid tag. This error can occur if\n the tag did not pass input validation. For information about tag restrictions,\n see User-Defined Tag Restrictions and Amazon Web Services-Generated Cost Allocation Tag Restrictions.
\nError code: MalformedXMLError
\n
Description: The XML provided does not match the schema.
\nError code: OperationAbortedError
\n
Description: A conflicting conditional action is currently in progress\n against this resource. Please try again.
\nError code: InternalError
\n
Description: The service was unable to apply the provided tag to the\n bucket.
\nThe following operations are related to PutBucketTagging
:
\n GetBucketTagging\n
\n\n DeleteBucketTagging\n
\nSets the tags for a bucket.
\nUse tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this,\n sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost\n of combined resources, organize your billing information according to resources with the\n same tag key values. For example, you can tag several resources with a specific application\n name, and then organize your billing information to see the total cost of that application\n across several services. For more information, see Cost Allocation and\n Tagging and Using Cost Allocation in Amazon S3 Bucket\n Tags.
\nWhen this operation sets the tags for a bucket, it will overwrite any current tags\n the bucket already has. You cannot use this operation to add tags to an existing list of\n tags.
\nTo use this operation, you must have permissions to perform the\n s3:PutBucketTagging
action. The bucket owner has this permission by default\n and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources.
\n PutBucketTagging
has the following special errors:
Error code: InvalidTagError
\n
Description: The tag provided was not a valid tag. This error can occur if\n the tag did not pass input validation. For information about tag restrictions,\n see User-Defined Tag Restrictions and Amazon Web Services-Generated Cost Allocation Tag Restrictions.
\nError code: MalformedXMLError
\n
Description: The XML provided does not match the schema.
\nError code: OperationAbortedError
\n
Description: A conflicting conditional action is currently in progress\n against this resource. Please try again.
\nError code: InternalError
\n
Description: The service was unable to apply the provided tag to the\n bucket.
\nThe following operations are related to PutBucketTagging
:
\n GetBucketTagging\n
\n\n DeleteBucketTagging\n
\nSets the versioning state of an existing bucket.
\nYou can set the versioning state with one of the following values:
\n\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.
\n\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.
\nIf the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.
\nIn order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner\n and want to enable MFA Delete in the bucket versioning configuration, you must\n include the x-amz-mfa request
header and the\n Status
and the MfaDelete
request elements in a request to set\n the versioning state of the bucket.
If you have an object expiration lifecycle policy in your non-versioned bucket and\n you want to maintain the same permanent delete behavior when you enable versioning, you\n must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will\n manage the deletes of the noncurrent object versions in the version-enabled bucket. (A\n version-enabled bucket maintains one current and zero or more noncurrent object\n versions.) For more information, see Lifecycle and Versioning.
\n\n Related Resources\n
\n\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetBucketVersioning\n
\nSets the versioning state of an existing bucket.
\nYou can set the versioning state with one of the following values:
\n\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.
\n\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.
\nIf the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.
\nIn order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner\n and want to enable MFA Delete in the bucket versioning configuration, you must include the\n x-amz-mfa request
header and the Status
and the\n MfaDelete
request elements in a request to set the versioning state of the\n bucket.
If you have an object expiration lifecycle policy in your non-versioned bucket and\n you want to maintain the same permanent delete behavior when you enable versioning, you\n must add a noncurrent expiration policy. The noncurrent expiration lifecycle policy will\n manage the deletes of the noncurrent object versions in the version-enabled bucket. (A\n version-enabled bucket maintains one current and zero or more noncurrent object\n versions.) For more information, see Lifecycle and Versioning.
\n\n Related Resources\n
\n\n CreateBucket\n
\n\n DeleteBucket\n
\n\n GetBucketVersioning\n
\nAdds an object to a bucket. You must have WRITE permissions on a bucket to add an object\n to it.
\nAmazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the\n entire object to the bucket.
\nAmazon S3 is a distributed system. If it receives multiple write requests for the same object\n simultaneously, it overwrites all but the last object written. Amazon S3 does not provide object\n locking; if you need this, make sure to build it into your application layer or use\n versioning instead.
\nTo ensure that data is not corrupted traversing the network, use the\n Content-MD5
header. When you use this header, Amazon S3 checks the object\n against the provided MD5 value and, if they do not match, returns an error. Additionally,\n you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to\n the calculated MD5 value.
To successfully complete the PutObject
request, you must have the \n s3:PutObject
in your IAM permissions.
To successfully change the objects acl of your PutObject
request, \n you must have the s3:PutObjectAcl
in your IAM permissions.
The Content-MD5
header is required for any request to upload an object\n with a retention period configured using Amazon S3 Object Lock. For more information about\n Amazon S3 Object Lock, see Amazon S3 Object Lock Overview\n in the Amazon S3 User Guide.
\n Server-side Encryption\n
\nYou can optionally request server-side encryption. With server-side encryption, Amazon S3 encrypts \n your data as it writes it to disks in its data centers and decrypts the data\n when you access it. You have the option to provide your own encryption key or use Amazon Web Services\n managed encryption keys (SSE-S3 or SSE-KMS). For more information, see Using Server-Side\n Encryption.
\nIf you request server-side encryption using Amazon Web Services Key Management Service (SSE-KMS), you can enable \n an S3 Bucket Key at the object-level. For more information, see Amazon S3 Bucket Keys in the \n Amazon S3 User Guide.
\n\n Access Control List (ACL)-Specific Request\n Headers\n
\nYou can use headers to grant ACL- based permissions. By default, all objects are\n private. Only the owner has full access control. When adding a new object, you can grant\n permissions to individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These\n permissions are then added to the ACL on the object. For more information, see Access Control List\n (ACL) Overview and Managing ACLs Using the REST\n API.
\nIf the bucket that you're uploading objects to uses the bucket owner enforced setting\n for S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that\n use this setting only accept PUT requests that don't specify an ACL or PUT requests that\n specify bucket owner full control ACLs, such as the bucket-owner-full-control
canned\n ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that contain other\n ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a\n 400
error with the error code\n AccessControlListNotSupported
.
For more information, see Controlling ownership of\n objects and disabling ACLs in the Amazon S3 User Guide.
\nIf your bucket uses the bucket owner enforced setting for Object Ownership, \n all objects written to the bucket by any account will be owned by the bucket owner.
\n\n Storage Class Options\n
\nBy default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
\n\n Versioning\n
\nIf you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID\n for the object being stored. Amazon S3 returns this ID in the response. When you enable\n versioning for a bucket, if Amazon S3 receives multiple write requests for the same object\n simultaneously, it stores all of the objects.
\nFor more information about versioning, see Adding Objects to\n Versioning Enabled Buckets. For information about returning the versioning state\n of a bucket, see GetBucketVersioning.
\n\n Related Resources\n
\n\n CopyObject\n
\n\n DeleteObject\n
\nAdds an object to a bucket. You must have WRITE permissions on a bucket to add an object\n to it.
\nAmazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the\n entire object to the bucket. You cannot use PutObject
to only update a\n single piece of metadata for an existing object. You must put the entire object with\n updated metadata if you want to update some values.
Amazon S3 is a distributed system. If it receives multiple write requests for the same object\n simultaneously, it overwrites all but the last object written. To prevent objects from\n being deleted or overwritten, you can use Amazon S3 Object\n Lock.
\nTo ensure that data is not corrupted traversing the network, use the\n Content-MD5
header. When you use this header, Amazon S3 checks the object\n against the provided MD5 value and, if they do not match, returns an error. Additionally,\n you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to\n the calculated MD5 value.
To successfully complete the PutObject
request, you must have the\n s3:PutObject
in your IAM permissions.
To successfully change the objects acl of your PutObject
request,\n you must have the s3:PutObjectAcl
in your IAM permissions.
To successfully set the tag-set with your PutObject
request, you\n must have the s3:PutObjectTagging
in your IAM permissions.
The Content-MD5
header is required for any request to upload an\n object with a retention period configured using Amazon S3 Object Lock. For more\n information about Amazon S3 Object Lock, see Amazon S3 Object Lock\n Overview in the Amazon S3 User Guide.
You have three mutually exclusive options to protect data using server-side encryption\n in Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the\n encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and\n customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side encryption by using\n Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at by\n rest using server-side encryption with other key options. For more information, see Using\n Server-Side Encryption.
\nWhen adding a new object, you can use headers to grant ACL-based permissions to\n individual Amazon Web Services accounts or to predefined groups defined by Amazon S3. These permissions are\n then added to the ACL on the object. By default, all objects are private. Only the owner\n has full access control. For more information, see Access Control List (ACL) Overview\n and Managing\n ACLs Using the REST API.
\nIf the bucket that you're uploading objects to uses the bucket owner enforced setting\n for S3 Object Ownership, ACLs are disabled and no longer affect permissions. Buckets that\n use this setting only accept PUT requests that don't specify an ACL or PUT requests that\n specify bucket owner full control ACLs, such as the bucket-owner-full-control
\n canned ACL or an equivalent form of this ACL expressed in the XML format. PUT requests that\n contain other ACLs (for example, custom grants to certain Amazon Web Services accounts) fail and return a\n 400
error with the error code AccessControlListNotSupported
.\n For more information, see Controlling ownership of\n objects and disabling ACLs in the Amazon S3 User Guide.
If your bucket uses the bucket owner enforced setting for Object Ownership, all\n objects written to the bucket by any account will be owned by the bucket owner.
\nBy default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
\nIf you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID\n for the object being stored. Amazon S3 returns this ID in the response. When you enable\n versioning for a bucket, if Amazon S3 receives multiple write requests for the same object\n simultaneously, it stores all of the objects. For more information about versioning, see\n Adding Objects to\n Versioning Enabled Buckets. For information about returning the versioning state\n of a bucket, see GetBucketVersioning.
\nFor more information about related Amazon S3 APIs, see the following:
\n\n CopyObject\n
\n\n DeleteObject\n
\nUses the acl
subresource to set the access control list (ACL) permissions\n for a new or existing object in an S3 bucket. You must have WRITE_ACP
\n permission to set the ACL of an object. For more information, see What\n permissions can I grant? in the Amazon S3 User Guide.
This action is not supported by Amazon S3 on Outposts.
\nDepending on your application needs, you can choose to set\n the ACL on an object using either the request body or the headers. For example, if you have\n an existing application that updates a bucket ACL using the request body, you can continue\n to use that approach. For more information, see Access Control List (ACL) Overview in the Amazon S3 User Guide.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions. \n You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and \n return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported.\n For more information, see Controlling object ownership\n in the Amazon S3 User Guide.
\n Access Permissions\n
\nYou can set access permissions using one of the following methods:
\nSpecify a canned ACL with the x-amz-acl
request header. Amazon S3 supports\n a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set\n of grantees and permissions. Specify the canned ACL name as the value of\n x-amz-ac
l. If you use this header, you cannot use other access\n control-specific headers in your request. For more information, see Canned ACL.
Specify access permissions explicitly with the x-amz-grant-read
,\n x-amz-grant-read-acp
, x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. When using these headers, you\n specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who\n will receive the permission. If you use these ACL-specific headers, you cannot use\n x-amz-acl
header to set a canned ACL. These parameters map to the set\n of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL)\n Overview.
You specify each grantee as a type=value pair, where the type is one of the\n following:
\n\n id
– if the value specified is the canonical user ID of an Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email address of\n an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants list\n objects permission to the two Amazon Web Services accounts identified by their email\n addresses.
\n x-amz-grant-read: emailAddress=\"xyz@amazon.com\",\n emailAddress=\"abc@amazon.com\"
\n
You can use either a canned ACL or specify access permissions explicitly. You cannot do\n both.
\n\n Grantee Values\n
\nYou can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request.
\nBy URI:
\n\n
\n
By Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET Object\n acl request, appears as the CanonicalUser.
\nUsing email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\n\n Versioning\n
\nThe ACL of an object is set at the object version level. By default, PUT sets the ACL of\n the current version of an object. To set the ACL of a different version, use the\n versionId
subresource.
\n Related Resources\n
\n\n CopyObject\n
\n\n GetObject\n
\nUses the acl
subresource to set the access control list (ACL) permissions\n for a new or existing object in an S3 bucket. You must have WRITE_ACP
\n permission to set the ACL of an object. For more information, see What\n permissions can I grant? in the Amazon S3 User Guide.
This action is not supported by Amazon S3 on Outposts.
\nDepending on your application needs, you can choose to set the ACL on an object using\n either the request body or the headers. For example, if you have an existing application\n that updates a bucket ACL using the request body, you can continue to use that approach.\n For more information, see Access Control List (ACL) Overview\n in the Amazon S3 User Guide.
\nIf your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs\n are disabled and no longer affect permissions. You must use policies to grant access to\n your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return\n the AccessControlListNotSupported
error code. Requests to read ACLs are\n still supported. For more information, see Controlling object\n ownership in the Amazon S3 User Guide.
\n Access Permissions\n
\nYou can set access permissions using one of the following methods:
\nSpecify a canned ACL with the x-amz-acl
request header. Amazon S3 supports\n a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set\n of grantees and permissions. Specify the canned ACL name as the value of\n x-amz-ac
l. If you use this header, you cannot use other access\n control-specific headers in your request. For more information, see Canned\n ACL.
Specify access permissions explicitly with the x-amz-grant-read
,\n x-amz-grant-read-acp
, x-amz-grant-write-acp
, and\n x-amz-grant-full-control
headers. When using these headers, you\n specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who\n will receive the permission. If you use these ACL-specific headers, you cannot use\n x-amz-acl
header to set a canned ACL. These parameters map to the set\n of permissions that Amazon S3 supports in an ACL. For more information, see Access Control\n List (ACL) Overview.
You specify each grantee as a type=value pair, where the type is one of the\n following:
\n\n id
– if the value specified is the canonical user ID of an\n Amazon Web Services account
\n uri
– if you are granting permissions to a predefined\n group
\n emailAddress
– if the value specified is the email address of\n an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\nFor example, the following x-amz-grant-read
header grants list\n objects permission to the two Amazon Web Services accounts identified by their email\n addresses.
\n x-amz-grant-read: emailAddress=\"xyz@amazon.com\",\n emailAddress=\"abc@amazon.com\"
\n
You can use either a canned ACL or specify access permissions explicitly. You cannot do\n both.
\n\n Grantee Values\n
\nYou can specify the person (grantee) to whom you're assigning access rights (using\n request elements) in the following ways:
\nBy the person's ID:
\n\n
\n
DisplayName is optional and ignored in the request.
\nBy URI:
\n\n
\n
By Email address:
\n\n
\n
The grantee is resolved to the CanonicalUser and, in a response to a GET Object\n acl request, appears as the CanonicalUser.
\nUsing email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
\nUS East (N. Virginia)
\nUS West (N. California)
\nUS West (Oregon)
\nAsia Pacific (Singapore)
\nAsia Pacific (Sydney)
\nAsia Pacific (Tokyo)
\nEurope (Ireland)
\nSouth America (São Paulo)
\nFor a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
\n\n Versioning\n
\nThe ACL of an object is set at the object version level. By default, PUT sets the ACL of\n the current version of an object. To set the ACL of a different version, use the\n versionId
subresource.
\n Related Resources\n
\n\n CopyObject\n
\n\n GetObject\n
\nThe canned ACL to apply to the object. For more information, see Canned ACL.
", + "smithy.api#documentation": "The canned ACL to apply to the object. For more information, see Canned\n ACL.
", "smithy.api#httpHeader": "x-amz-acl" } }, @@ -30918,7 +30999,7 @@ "GrantRead": { "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "Allows grantee to list the objects in the\n bucket.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to list the objects in the bucket.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-read" } }, @@ -30932,21 +31013,21 @@ "GrantWrite": { "target": "com.amazonaws.s3#GrantWrite", "traits": { - "smithy.api#documentation": "Allows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and overwrites of those objects.
", + "smithy.api#documentation": "Allows grantee to create new objects in the bucket.
\nFor the bucket and object owners of existing objects, also allows deletions and\n overwrites of those objects.
", "smithy.api#httpHeader": "x-amz-grant-write" } }, "GrantWriteACP": { "target": "com.amazonaws.s3#GrantWriteACP", "traits": { - "smithy.api#documentation": "Allows grantee to write the ACL for the applicable\n bucket.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to write the ACL for the applicable bucket.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, "Key": { "target": "com.amazonaws.s3#ObjectKey", "traits": { - "smithy.api#documentation": "Key for which the PUT action was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
Key for which the PUT action was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Places an Object Lock configuration on the specified bucket. The rule specified in the\n Object Lock configuration will be applied by default to every new object placed in the\n specified bucket. For more information, see Locking Objects.\n
\nThe DefaultRetention
settings require both a mode and a\n period.
The DefaultRetention
period can be either Days
\n or Years
but you must select one. You cannot specify Days
\n and Years
at the same time.
You can only enable Object Lock for new buckets. If you want to turn on\n Object Lock for an existing bucket, contact Amazon Web Services Support.
\nPlaces an Object Lock configuration on the specified bucket. The rule specified in the\n Object Lock configuration will be applied by default to every new object placed in the\n specified bucket. For more information, see Locking Objects.
\nThe DefaultRetention
settings require both a mode and a\n period.
The DefaultRetention
period can be either Days
or\n Years
but you must select one. You cannot specify\n Days
and Years
at the same time.
You can only enable Object Lock for new buckets. If you want to turn on Object\n Lock for an existing bucket, contact Amazon Web Services Support.
\nIf you specified server-side encryption either with an Amazon Web Services KMS key\n or Amazon S3-managed encryption key in your PUT request, the response includes this header. It\n confirms the encryption algorithm that Amazon S3 used to encrypt the object.
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If x-amz-server-side-encryption
is present and has the value of\n aws:kms
, this header specifies the ID of the Amazon Web Services Key Management Service\n (Amazon Web Services KMS) symmetric customer managed key that was used for the\n object.
If x-amz-server-side-encryption
is has a valid value of\n aws:kms
, this header specifies the ID of the Amazon Web Services Key Management Service\n (Amazon Web Services KMS) symmetric encryption customer managed key that was used for the object.
If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.
", + "smithy.api#documentation": "If present, specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs. This value is stored as object metadata and automatically gets passed\n on to Amazon Web Services KMS for future GetObject
or CopyObject
operations on\n this object.
Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption\n with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -31288,7 +31369,7 @@ "ACL": { "target": "com.amazonaws.s3#ObjectCannedACL", "traits": { - "smithy.api#documentation": "The canned ACL to apply to the object. For more information, see Canned\n ACL.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "The canned ACL to apply to the object. For more information, see Canned\n ACL.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-acl" } }, @@ -31303,7 +31384,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The bucket name to which the PUT action was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name to which the PUT action was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Specifies presentational information for the object. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1.
", + "smithy.api#documentation": "Specifies presentational information for the object. For more information, see https://www.rfc-editor.org/rfc/rfc6266#section-4.
", "smithy.api#httpHeader": "Content-Disposition" } }, "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { - "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11.
", + "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding.
", "smithy.api#httpHeader": "Content-Encoding" } }, @@ -31343,21 +31424,21 @@ "target": "com.amazonaws.s3#ContentLength", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.
", + "smithy.api#documentation": "Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length.
", "smithy.api#httpHeader": "Content-Length" } }, "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the message (without the headers) according to\n RFC 1864. This header can be used as a message integrity check to verify that the data is\n the same data that was originally sent. Although it is optional, we recommend using the\n Content-MD5 mechanism as an end-to-end integrity check. For more information about REST\n request authentication, see REST\n Authentication.
", + "smithy.api#documentation": "The base64-encoded 128-bit MD5 digest of the message (without the headers) according to\n RFC 1864. This header can be used as a message integrity check to verify that the data is\n the same data that was originally sent. Although it is optional, we recommend using the\n Content-MD5 mechanism as an end-to-end integrity check. For more information about REST\n request authentication, see REST Authentication.
", "smithy.api#httpHeader": "Content-MD5" } }, "ContentType": { "target": "com.amazonaws.s3#ContentType", "traits": { - "smithy.api#documentation": "A standard MIME type describing the format of the contents. For more information, see\n http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17.
", + "smithy.api#documentation": "A standard MIME type describing the format of the contents. For more information, see\n https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type.
", "smithy.api#httpHeader": "Content-Type" } }, @@ -31399,21 +31480,21 @@ "Expires": { "target": "com.amazonaws.s3#Expires", "traits": { - "smithy.api#documentation": "The date and time at which the object is no longer cacheable. For more information, see\n http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.21.
", + "smithy.api#documentation": "The date and time at which the object is no longer cacheable. For more information, see\n https://www.rfc-editor.org/rfc/rfc7234#section-5.3.
", "smithy.api#httpHeader": "Expires" } }, "GrantFullControl": { "target": "com.amazonaws.s3#GrantFullControl", "traits": { - "smithy.api#documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the\n object.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Gives the grantee READ, READ_ACP, and WRITE_ACP permissions on the object.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-full-control" } }, "GrantRead": { "target": "com.amazonaws.s3#GrantRead", "traits": { - "smithy.api#documentation": "Allows grantee to read the object data and its\n metadata.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to read the object data and its metadata.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-read" } }, @@ -31427,7 +31508,7 @@ "GrantWriteACP": { "target": "com.amazonaws.s3#GrantWriteACP", "traits": { - "smithy.api#documentation": "Allows grantee to write the ACL for the applicable\n object.
\nThis action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Allows grantee to write the ACL for the applicable object.
\nThis action is not supported by Amazon S3 on Outposts.
", "smithy.api#httpHeader": "x-amz-grant-write-acp" } }, @@ -31449,21 +31530,21 @@ "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
", + "smithy.api#documentation": "By default, Amazon S3 uses the STANDARD Storage Class to store newly created objects. The\n STANDARD storage class provides high durability and high availability. Depending on\n performance needs, you can specify a different Storage Class. Amazon S3 on Outposts only uses\n the OUTPOSTS Storage Class. For more information, see Storage Classes in the\n Amazon S3 User Guide.
", "smithy.api#httpHeader": "x-amz-storage-class" } }, "WebsiteRedirectLocation": { "target": "com.amazonaws.s3#WebsiteRedirectLocation", "traits": { - "smithy.api#documentation": "If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata. For information about object metadata, see Object Key and Metadata.
\nIn the following example, the request header sets the redirect to an object\n (anotherPage.html) in the same bucket:
\n\n x-amz-website-redirect-location: /anotherPage.html
\n
In the following example, the request header sets the object redirect to another\n website:
\n\n x-amz-website-redirect-location: http://www.example.com/
\n
For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and How to Configure Website Page\n Redirects.
", + "smithy.api#documentation": "If the bucket is configured as a website, redirects requests for this object to another\n object in the same bucket or to an external URL. Amazon S3 stores the value of this header in\n the object metadata. For information about object metadata, see Object Key and Metadata.
\nIn the following example, the request header sets the redirect to an object\n (anotherPage.html) in the same bucket:
\n\n x-amz-website-redirect-location: /anotherPage.html
\n
In the following example, the request header sets the object redirect to another\n website:
\n\n x-amz-website-redirect-location: http://www.example.com/
\n
For more information about website hosting in Amazon S3, see Hosting Websites on Amazon S3 and\n How to\n Configure Website Page Redirects.
", "smithy.api#httpHeader": "x-amz-website-redirect-location" } }, @@ -31491,14 +31572,14 @@ "SSEKMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "If x-amz-server-side-encryption
is present and has the value of\n aws:kms
, this header specifies the ID of the Amazon Web Services Key Management Service\n (Amazon Web Services KMS) symmetrical customer managed key that was used for the\n object. If you specify x-amz-server-side-encryption:aws:kms
, but do not\n provide x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services\n managed key to protect the data. If the KMS key does not exist in the same account\n issuing the command, you must use the full ARN and not just the ID.\n
If x-amz-server-side-encryption
has a valid value of aws:kms
,\n this header specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for the object. If you specify\n x-amz-server-side-encryption:aws:kms
, but do not provide\n x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key to\n protect the data. If the KMS key does not exist in the same account issuing the command,\n you must use the full ARN and not just the ID.
Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this\n header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value\n pairs.
", + "smithy.api#documentation": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a base64-encoded UTF-8 string holding JSON with the encryption context\n key-value pairs. This value is stored as object metadata and automatically gets passed on to\n Amazon Web Services KMS for future GetObject
or CopyObject
operations on this\n object.
Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a PUT action doesn’t affect bucket-level settings for S3 Bucket Key.
", + "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with\n server-side encryption using AWS KMS (SSE-KMS). Setting this header to true
\n causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a PUT action doesn’t affect bucket-level settings for S3\n Bucket Key.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -31540,7 +31621,7 @@ "ObjectLockLegalHoldStatus": { "target": "com.amazonaws.s3#ObjectLockLegalHoldStatus", "traits": { - "smithy.api#documentation": "Specifies whether a legal hold will be applied to this object. For more information\n about S3 Object Lock, see Object\n Lock.
", + "smithy.api#documentation": "Specifies whether a legal hold will be applied to this object. For more information\n about S3 Object Lock, see Object Lock.
", "smithy.api#httpHeader": "x-amz-object-lock-legal-hold" } }, @@ -31569,7 +31650,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "Places an Object Retention configuration on an object. For more information, see Locking Objects.\n Users or accounts require the s3:PutObjectRetention
permission in order to place\n an Object Retention configuration on objects. Bypassing a Governance Retention configuration\n requires the s3:BypassGovernanceRetention
permission.\n
This action is not supported by Amazon S3 on Outposts.
", + "smithy.api#documentation": "Places an Object Retention configuration on an object. For more information, see Locking Objects.\n Users or accounts require the s3:PutObjectRetention
permission in order to\n place an Object Retention configuration on objects. Bypassing a Governance Retention\n configuration requires the s3:BypassGovernanceRetention
permission.
This action is not supported by Amazon S3 on Outposts.
", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}/{Key+}?retention", @@ -31681,7 +31762,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "Sets the supplied tag-set to an object that already exists in a bucket.
\nA tag is a key-value pair. You can associate tags with an object by sending a PUT\n request against the tagging subresource that is associated with the object. You can\n retrieve tags by sending a GET request. For more information, see GetObjectTagging.
\nFor tagging-related restrictions related to characters and encodings, see Tag\n Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per\n object.
\nTo use this operation, you must have permission to perform the\n s3:PutObjectTagging
action. By default, the bucket owner has this\n permission and can grant this permission to others.
To put tags of any other version, use the versionId
query parameter. You\n also need permission for the s3:PutObjectVersionTagging
action.
For information about the Amazon S3 object tagging feature, see Object Tagging.
\n\n Special Errors\n
\n\n Code: InvalidTagError \n
\n\n Cause: The tag provided was not a valid tag. This error can occur\n if the tag did not pass input validation. For more information, see Object Tagging.\n
\n\n Code: MalformedXMLError \n
\n\n Cause: The XML provided does not match the schema.\n
\n\n Code: OperationAbortedError \n
\n\n Cause: A conflicting conditional action is currently in\n progress against this resource. Please try again.\n
\n\n Code: InternalError\n
\n\n Cause: The service was unable to apply the provided tag to the\n object.\n
\n\n Related Resources\n
\n\n GetObjectTagging\n
\n\n DeleteObjectTagging\n
\nSets the supplied tag-set to an object that already exists in a bucket.
\nA tag is a key-value pair. You can associate tags with an object by sending a PUT\n request against the tagging subresource that is associated with the object. You can\n retrieve tags by sending a GET request. For more information, see GetObjectTagging.
\nFor tagging-related restrictions related to characters and encodings, see Tag\n Restrictions. Note that Amazon S3 limits the maximum number of tags to 10 tags per\n object.
\nTo use this operation, you must have permission to perform the\n s3:PutObjectTagging
action. By default, the bucket owner has this\n permission and can grant this permission to others.
To put tags of any other version, use the versionId
query parameter. You\n also need permission for the s3:PutObjectVersionTagging
action.
For information about the Amazon S3 object tagging feature, see Object Tagging.
\n\n Special Errors\n
\n\n Code: InvalidTagError \n
\n\n Cause: The tag provided was not a valid tag. This error can occur\n if the tag did not pass input validation. For more information, see Object\n Tagging.\n
\n\n Code: MalformedXMLError \n
\n\n Cause: The XML provided does not match the schema.\n
\n\n Code: OperationAbortedError \n
\n\n Cause: A conflicting conditional action is currently in progress\n against this resource. Please try again.\n
\n\n Code: InternalError\n
\n\n Cause: The service was unable to apply the provided tag to the\n object.\n
\n\n Related Resources\n
\n\n GetObjectTagging\n
\n\n DeleteObjectTagging\n
\nThe bucket name containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name containing the object.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Creates or modifies the PublicAccessBlock
configuration for an Amazon S3 bucket.\n To use this operation, you must have the s3:PutBucketPublicAccessBlock
\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or\n an object, it checks the PublicAccessBlock
configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock
configurations are different between the bucket and\n the account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
\n\n Related Resources\n
\n\n GetPublicAccessBlock\n
\nCreates or modifies the PublicAccessBlock
configuration for an Amazon S3 bucket.\n To use this operation, you must have the s3:PutBucketPublicAccessBlock
\n permission. For more information about Amazon S3 permissions, see Specifying Permissions in a\n Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or\n an object, it checks the PublicAccessBlock
configuration for both the\n bucket (or the bucket that contains the object) and the bucket owner's account. If the\n PublicAccessBlock
configurations are different between the bucket and\n the account, Amazon S3 uses the most restrictive combination of the bucket-level and\n account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
\n\n Related Resources\n
\n\n GetPublicAccessBlock\n
\nThe Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that\n Amazon S3 assumes when replicating objects. For more information, see How to Set Up\n Replication in the Amazon S3 User Guide.
", + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that Amazon S3 assumes when\n replicating objects. For more information, see How to Set Up Replication\n in the Amazon S3 User Guide.
", "smithy.api#required": {} } }, @@ -32094,13 +32175,13 @@ "SourceSelectionCriteria": { "target": "com.amazonaws.s3#SourceSelectionCriteria", "traits": { - "smithy.api#documentation": "A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer managed key stored in Amazon Web Services Key Management\n Service (SSE-KMS).
" + "smithy.api#documentation": "A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service\n (SSE-KMS).
" } }, "ExistingObjectReplication": { "target": "com.amazonaws.s3#ExistingObjectReplication", "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "Optional configuration to replicate existing source bucket objects. For more\n information, see Replicating Existing Objects in the Amazon S3 User Guide.\n
" } }, "Destination": { @@ -32377,7 +32458,7 @@ "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" }, - "smithy.api#documentation": "Restores an archived copy of an object back into Amazon S3
\nThis action is not supported by Amazon S3 on Outposts.
\nThis action performs the following types of requests:
\n\n select
- Perform a select query on an archived object
\n restore an archive
- Restore an archived object
To use this operation, you must have permissions to perform the\n s3:RestoreObject
action. The bucket owner has this permission by default\n and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon S3 User Guide.
\n Querying Archives with Select Requests\n
\nYou use a select type of request to perform SQL queries on archived objects. The\n archived objects that are being queried by the select request must be formatted as\n uncompressed comma-separated values (CSV) files. You can run queries and custom analytics\n on your archived data without having to restore your data to a hotter Amazon S3 tier. For an\n overview about select requests, see Querying Archived Objects in the Amazon S3 User Guide.
\nWhen making a select request, do the following:
\nDefine an output location for the select query's output. This must be an Amazon S3\n bucket in the same Amazon Web Services Region as the bucket that contains the archive object that is\n being queried. The Amazon Web Services account that initiates the job must have permissions to write\n to the S3 bucket. You can specify the storage class and encryption for the output\n objects stored in the bucket. For more information about output, see Querying Archived Objects\n in the Amazon S3 User Guide.
\nFor more information about the S3
structure in the request body, see\n the following:
\n PutObject\n
\n\n Managing Access with\n ACLs in the Amazon S3 User Guide\n
\n\n Protecting Data Using\n Server-Side Encryption in the\n Amazon S3 User Guide\n
\nDefine the SQL expression for the SELECT
type of restoration for your\n query in the request body's SelectParameters
structure. You can use\n expressions like the following examples.
The following expression returns all records from the specified\n object.
\n\n SELECT * FROM Object
\n
Assuming that you are not using any headers for data stored in the object,\n you can specify columns with positional headers.
\n\n SELECT s._1, s._2 FROM Object s WHERE s._3 > 100
\n
If you have headers and you set the fileHeaderInfo
in the\n CSV
structure in the request body to USE
, you can\n specify headers in the query. (If you set the fileHeaderInfo
field\n to IGNORE
, the first row is skipped for the query.) You cannot mix\n ordinal positions with header column names.
\n SELECT s.Id, s.FirstName, s.SSN FROM S3Object s
\n
For more information about using SQL with S3 Glacier Select restore, see SQL Reference for Amazon S3 Select and\n S3 Glacier Select in the Amazon S3 User Guide.
\nWhen making a select request, you can also do the following:
\nTo expedite your queries, specify the Expedited
tier. For more\n information about tiers, see \"Restoring Archives,\" later in this topic.
Specify details about the data serialization format of both the input object that\n is being queried and the serialization of the CSV-encoded query results.
\nThe following are additional important facts about the select feature:
\nThe output results are new Amazon S3 objects. Unlike archive retrievals, they are\n stored until explicitly deleted-manually or through a lifecycle policy.
\nYou can issue more than one select request on the same Amazon S3 object. Amazon S3 doesn't\n deduplicate requests, so avoid issuing duplicate requests.
\n Amazon S3 accepts a select request even if the object has already been restored. A\n select request doesn’t return error response 409
.
\n Restoring objects\n
\nObjects that you archive to the S3 Glacier or\n S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or\n S3 Intelligent-Tiering Deep Archive tiers are not accessible in real time. For objects in\n Archive Access or Deep Archive Access tiers you must first initiate a restore request, and\n then wait until the object is moved into the Frequent Access tier. For objects in\n S3 Glacier or S3 Glacier Deep Archive storage classes you must\n first initiate a restore request, and then wait until a temporary copy of the object is\n available. To access an archived object, you must restore the object for the duration\n (number of days) that you specify.
\nTo restore a specific object version, you can provide a version ID. If you don't provide\n a version ID, Amazon S3 restores the current version.
\nWhen restoring an archived object (or using a select request), you can specify one of\n the following data access tier options in the Tier
element of the request\n body:
\n Expedited
- Expedited retrievals allow you to quickly access your\n data stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive\n tier when occasional urgent requests for a subset of archives are required. For all\n but the largest archived objects (250 MB+), data accessed using Expedited retrievals\n is typically made available within 1–5 minutes. Provisioned capacity ensures that\n retrieval capacity for Expedited retrievals is available when you need it. Expedited\n retrievals and provisioned capacity are not available for objects stored in the\n S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
\n Standard
- Standard retrievals allow you to access any of your\n archived objects within several hours. This is the default option for retrieval\n requests that do not specify the retrieval option. Standard retrievals typically\n finish within 3–5 hours for objects stored in the S3 Glacier storage\n class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for\n objects stored in the S3 Glacier Deep Archive storage class or\n S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in\n S3 Intelligent-Tiering.
\n Bulk
- Bulk retrievals are the lowest-cost retrieval option in\n S3 Glacier, enabling you to retrieve large amounts, even petabytes, of data\n inexpensively. Bulk retrievals typically finish within 5–12 hours for objects stored\n in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. They\n typically finish within 48 hours for objects stored in the\n S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Bulk\n retrievals are free for objects stored in S3 Intelligent-Tiering.
For more information about archive retrieval options and provisioned capacity for\n Expedited
data access, see Restoring Archived Objects in the Amazon S3 User Guide.
You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed\n while it is in progress. For more information, see \n Upgrading the speed of an in-progress restore in the\n Amazon S3 User Guide.
\nTo get the status of object restoration, you can send a HEAD
request.\n Operations return the x-amz-restore
header, which provides information about\n the restoration status, in the response. You can use Amazon S3 event notifications to notify you\n when a restore is initiated or completed. For more information, see Configuring Amazon S3 Event Notifications in\n the Amazon S3 User Guide.
After restoring an archived object, you can update the restoration period by reissuing\n the request with a new period. Amazon S3 updates the restoration period relative to the current\n time and charges only for the request-there are no data transfer charges. You cannot\n update the restoration period when Amazon S3 is actively processing your current restore request\n for the object.
\nIf your bucket has a lifecycle configuration with a rule that includes an expiration\n action, the object expiration overrides the life span that you specify in a restore\n request. For example, if you restore an object copy for 10 days, but the object is\n scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information\n about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management in\n Amazon S3 User Guide.
\n\n Responses\n
\nA successful action returns either the 200 OK
or 202\n Accepted
status code.
If the object is not previously restored, then Amazon S3 returns 202\n Accepted
in the response.
If the object is previously restored, Amazon S3 returns 200 OK
in the\n response.
\n Special Errors\n
\n\n Code: RestoreAlreadyInProgress\n
\n\n Cause: Object restore is already in progress. (This error does not\n apply to SELECT type requests.)\n
\n\n HTTP Status Code: 409 Conflict\n
\n\n SOAP Fault Code Prefix: Client\n
\n\n Code: GlacierExpeditedRetrievalNotAvailable\n
\n\n Cause: expedited retrievals are currently not available. Try again\n later. (Returned if there is insufficient capacity to process the Expedited\n request. This error applies only to Expedited retrievals and not to\n S3 Standard or Bulk retrievals.)\n
\n\n HTTP Status Code: 503\n
\n\n SOAP Fault Code Prefix: N/A\n
\n\n Related Resources\n
\n\n SQL Reference for\n Amazon S3 Select and S3 Glacier Select in the\n Amazon S3 User Guide\n
\nRestores an archived copy of an object back into Amazon S3
\nThis action is not supported by Amazon S3 on Outposts.
\nThis action performs the following types of requests:
\n\n select
- Perform a select query on an archived object
\n restore an archive
- Restore an archived object
To use this operation, you must have permissions to perform the\n s3:RestoreObject
action. The bucket owner has this permission by default\n and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing\n Access Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.
For more information about the S3
structure in the request body, see the\n following:
\n PutObject\n
\n\n Managing Access with ACLs in the\n Amazon S3 User Guide\n
\n\n Protecting Data Using\n Server-Side Encryption in the\n Amazon S3 User Guide\n
\nDefine the SQL expression for the SELECT
type of restoration for your\n query in the request body's SelectParameters
structure. You can use\n expressions like the following examples.
The following expression returns all records from the specified\n object.
\n\n SELECT * FROM Object
\n
Assuming that you are not using any headers for data stored in the object,\n you can specify columns with positional headers.
\n\n SELECT s._1, s._2 FROM Object s WHERE s._3 > 100
\n
If you have headers and you set the fileHeaderInfo
in the\n CSV
structure in the request body to USE
, you can\n specify headers in the query. (If you set the fileHeaderInfo
field\n to IGNORE
, the first row is skipped for the query.) You cannot mix\n ordinal positions with header column names.
\n SELECT s.Id, s.FirstName, s.SSN FROM S3Object s
\n
When making a select request, you can also do the following:
\nTo expedite your queries, specify the Expedited
tier. For more\n information about tiers, see \"Restoring Archives,\" later in this topic.
Specify details about the data serialization format of both the input object that\n is being queried and the serialization of the CSV-encoded query results.
\nThe following are additional important facts about the select feature:
\nThe output results are new Amazon S3 objects. Unlike archive retrievals, they are\n stored until explicitly deleted-manually or through a lifecycle policy.
\nYou can issue more than one select request on the same Amazon S3 object. Amazon S3 doesn't\n duplicate requests, so avoid issuing duplicate requests.
\n Amazon S3 accepts a select request even if the object has already been restored. A\n select request doesn’t return error response 409
.
\n Restoring objects\n
\nObjects that you archive to the S3 Glacier Flexible Retrieval or\n S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or\n S3 Intelligent-Tiering Deep Archive tiers, are not accessible in real time. For objects in the\n S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage\n classes, you must first initiate a restore request, and then wait until a temporary copy of\n the object is available. If you want a permanent copy of the object, create a copy of it in\n the Amazon S3 Standard storage class in your S3 bucket. To access an archived object, you must\n restore the object for the duration (number of days) that you specify. For objects in the\n Archive Access or Deep Archive Access tiers of S3 Intelligent-Tiering, you must first\n initiate a restore request, and then wait until the object is moved into the Frequent\n Access tier.
\nTo restore a specific object version, you can provide a version ID. If you don't provide\n a version ID, Amazon S3 restores the current version.
\nWhen restoring an archived object, you can specify one of the following data access tier\n options in the Tier
element of the request body:
\n Expedited
- Expedited retrievals allow you to quickly access your\n data stored in the S3 Glacier Flexible Retrieval storage class or\n S3 Intelligent-Tiering Archive tier when occasional urgent requests for a subset of archives\n are required. For all but the largest archived objects (250 MB+), data accessed using\n Expedited retrievals is typically made available within 1–5 minutes. Provisioned\n capacity ensures that retrieval capacity for Expedited retrievals is available when\n you need it. Expedited retrievals and provisioned capacity are not available for\n objects stored in the S3 Glacier Deep Archive storage class or\n S3 Intelligent-Tiering Deep Archive tier.
\n Standard
- Standard retrievals allow you to access any of your\n archived objects within several hours. This is the default option for retrieval\n requests that do not specify the retrieval option. Standard retrievals typically\n finish within 3–5 hours for objects stored in the S3 Glacier Flexible\n Retrieval storage class or S3 Intelligent-Tiering Archive tier. They typically finish within\n 12 hours for objects stored in the S3 Glacier Deep Archive storage class or\n S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in\n S3 Intelligent-Tiering.
\n Bulk
- Bulk retrievals free for objects stored in the S3 Glacier\n Flexible Retrieval and S3 Intelligent-Tiering storage classes, enabling you to\n retrieve large amounts, even petabytes, of data at no cost. Bulk retrievals typically\n finish within 5–12 hours for objects stored in the S3 Glacier\n Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier. Bulk retrievals are\n also the lowest-cost retrieval option when restoring objects from\n S3 Glacier Deep Archive. They typically finish within 48 hours for objects\n stored in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive\n tier.
For more information about archive retrieval options and provisioned capacity for\n Expedited
data access, see Restoring Archived Objects in\n the Amazon S3 User Guide.
You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed\n while it is in progress. For more information, see Upgrading the speed of an in-progress restore in the\n Amazon S3 User Guide.
\nTo get the status of object restoration, you can send a HEAD
request.\n Operations return the x-amz-restore
header, which provides information about\n the restoration status, in the response. You can use Amazon S3 event notifications to notify you\n when a restore is initiated or completed. For more information, see Configuring Amazon S3\n Event Notifications in the Amazon S3 User Guide.
After restoring an archived object, you can update the restoration period by reissuing\n the request with a new period. Amazon S3 updates the restoration period relative to the current\n time and charges only for the request-there are no data transfer charges. You cannot\n update the restoration period when Amazon S3 is actively processing your current restore request\n for the object.
\nIf your bucket has a lifecycle configuration with a rule that includes an expiration\n action, the object expiration overrides the life span that you specify in a restore\n request. For example, if you restore an object copy for 10 days, but the object is\n scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information\n about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management\n in Amazon S3 User Guide.
\n\n Responses\n
\nA successful action returns either the 200 OK
or 202 Accepted
\n status code.
If the object is not previously restored, then Amazon S3 returns 202\n Accepted
in the response.
If the object is previously restored, Amazon S3 returns 200 OK
in the\n response.
\n Special Errors\n
\n\n Code: RestoreAlreadyInProgress\n
\n\n Cause: Object restore is already in progress. (This error does not\n apply to SELECT type requests.)\n
\n\n HTTP Status Code: 409 Conflict\n
\n\n SOAP Fault Code Prefix: Client\n
\n\n Code: GlacierExpeditedRetrievalNotAvailable\n
\n\n Cause: expedited retrievals are currently not available. Try again\n later. (Returned if there is insufficient capacity to process the Expedited\n request. This error applies only to Expedited retrievals and not to\n S3 Standard or Bulk retrievals.)\n
\n\n HTTP Status Code: 503\n
\n\n SOAP Fault Code Prefix: N/A\n
\n\n Related Resources\n
\nThe bucket name containing the object to restore.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name containing the object to restore.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key\n to use for encrypting inventory reports.
", + "smithy.api#documentation": "Specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric encryption\n customer managed key to use for encrypting inventory reports.
", "smithy.api#required": {} } } @@ -32714,7 +32795,7 @@ "target": "com.amazonaws.s3#SelectObjectContentOutput" }, "traits": { - "smithy.api#documentation": "This action filters the contents of an Amazon S3 object based on a simple structured query\n language (SQL) statement. In the request, along with the SQL expression, you must also\n specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses\n this format to parse object data into records, and returns only records that match the\n specified SQL expression. You must also specify the data serialization format for the\n response.
\nThis action is not supported by Amazon S3 on Outposts.
\nFor more information about Amazon S3 Select,\n see Selecting Content from\n Objects and SELECT\n Command in the Amazon S3 User Guide.
\nFor more information about using SQL with Amazon S3 Select, see SQL Reference for Amazon S3 Select\n and S3 Glacier Select in the Amazon S3 User Guide.
\n \n\n Permissions\n
\nYou must have s3:GetObject
permission for this operation. Amazon S3 Select does\n not support anonymous access. For more information about permissions, see Specifying Permissions in a Policy\n in the Amazon S3 User Guide.
\n Object Data Formats\n
\nYou can use Amazon S3 Select to query objects that have the following format\n properties:
\n\n CSV, JSON, and Parquet - Objects must be in CSV, JSON, or\n Parquet format.
\n\n UTF-8 - UTF-8 is the only encoding type Amazon S3 Select\n supports.
\n\n GZIP or BZIP2 - CSV and JSON files can be compressed using\n GZIP or BZIP2. GZIP and BZIP2 are the only compression formats that Amazon S3 Select\n supports for CSV and JSON files. Amazon S3 Select supports columnar compression for\n Parquet using GZIP or Snappy. Amazon S3 Select does not support whole-object compression\n for Parquet objects.
\n\n Server-side encryption - Amazon S3 Select supports querying\n objects that are protected with server-side encryption.
\nFor objects that are encrypted with customer-provided encryption keys (SSE-C), you\n must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side Encryption\n (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.
\nFor objects that are encrypted with Amazon S3 managed encryption keys (SSE-S3) and\n Amazon Web Services KMS keys (SSE-KMS),\n server-side encryption is handled transparently, so you don't need to specify\n anything. For more information about server-side encryption, including SSE-S3 and\n SSE-KMS, see Protecting Data Using\n Server-Side Encryption in the Amazon S3 User Guide.
\n\n Working with the Response Body\n
\nGiven the response size is unknown, Amazon S3 Select streams the response as a series of\n messages and includes a Transfer-Encoding
header with chunked
as\n its value in the response. For more information, see Appendix: SelectObjectContent\n Response.
\n GetObject Support\n
\nThe SelectObjectContent
action does not support the following\n GetObject
functionality. For more information, see GetObject.
\n Range
: Although you can specify a scan range for an Amazon S3 Select request\n (see SelectObjectContentRequest - ScanRange in the request parameters),\n you cannot specify the range of bytes of an object to return.
GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot specify\n the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY
storage classes. For\n more information, about storage classes see Storage Classes\n in the Amazon S3 User Guide.
\n Special Errors\n
\nFor a list of special errors for this operation, see List of\n SELECT Object Content Error Codes\n
\n\n Related Resources\n
\n\n GetObject\n
\nThis action filters the contents of an Amazon S3 object based on a simple structured query\n language (SQL) statement. In the request, along with the SQL expression, you must also\n specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses\n this format to parse object data into records, and returns only records that match the\n specified SQL expression. You must also specify the data serialization format for the\n response.
\nThis action is not supported by Amazon S3 on Outposts.
\nFor more information about Amazon S3 Select, see Selecting Content from\n Objects and SELECT\n Command in the Amazon S3 User Guide.
\n \n\n Permissions\n
\nYou must have s3:GetObject
permission for this operation. Amazon S3 Select does\n not support anonymous access. For more information about permissions, see Specifying\n Permissions in a Policy in the Amazon S3 User Guide.
\n Object Data Formats\n
\nYou can use Amazon S3 Select to query objects that have the following format\n properties:
\n\n CSV, JSON, and Parquet - Objects must be in CSV, JSON, or\n Parquet format.
\n\n UTF-8 - UTF-8 is the only encoding type Amazon S3 Select\n supports.
\n\n GZIP or BZIP2 - CSV and JSON files can be compressed using\n GZIP or BZIP2. GZIP and BZIP2 are the only compression formats that Amazon S3 Select\n supports for CSV and JSON files. Amazon S3 Select supports columnar compression for\n Parquet using GZIP or Snappy. Amazon S3 Select does not support whole-object compression\n for Parquet objects.
\n\n Server-side encryption - Amazon S3 Select supports querying\n objects that are protected with server-side encryption.
\nFor objects that are encrypted with customer-provided encryption keys (SSE-C), you\n must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side\n Encryption (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.
\nFor objects that are encrypted with Amazon S3 managed keys (SSE-S3) and Amazon Web Services KMS keys\n (SSE-KMS), server-side encryption is handled transparently, so you don't need to\n specify anything. For more information about server-side encryption, including SSE-S3\n and SSE-KMS, see Protecting Data Using\n Server-Side Encryption in the Amazon S3 User Guide.
\n\n Working with the Response Body\n
\nGiven the response size is unknown, Amazon S3 Select streams the response as a series of\n messages and includes a Transfer-Encoding
header with chunked
as\n its value in the response. For more information, see Appendix: SelectObjectContent\n Response.
\n GetObject Support\n
\nThe SelectObjectContent
action does not support the following\n GetObject
functionality. For more information, see GetObject.
\n Range
: Although you can specify a scan range for an Amazon S3 Select request\n (see SelectObjectContentRequest - ScanRange in the request parameters),\n you cannot specify the range of bytes of an object to return.
GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot specify\n the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY
storage classes. For\n more information, about storage classes see Storage\n Classes in the Amazon S3 User Guide.
\n Special Errors\n
\nFor a list of special errors for this operation, see List of\n SELECT Object Content Error Codes\n
\n\n Related Resources\n
\n\n GetObject\n
\nAmazon Web Services Key Management Service (KMS) customer Amazon Web Services KMS key ID to use for the default\n encryption. This parameter is allowed if and only if SSEAlgorithm
is set to\n aws:kms
.
You can specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if\n you are using encryption with cross-account or Amazon Web Services service operations you must use a fully qualified KMS\n key ARN. For more information, see Using encryption for cross-account operations.
\n\n For example:\n
\nKey ID: 1234abcd-12ab-34cd-56ef-1234567890ab
\n
Key ARN:\n arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n
Amazon S3 only supports symmetric KMS keys and not asymmetric KMS keys. For more information, see\n Using symmetric and\n asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
\nAmazon Web Services Key Management Service (KMS) customer Amazon Web Services KMS key ID to use for the default\n encryption. This parameter is allowed if and only if SSEAlgorithm
is set to\n aws:kms
.
You can specify the key ID or the Amazon Resource Name (ARN) of the KMS key. However, if\n you are using encryption with cross-account or Amazon Web Services service operations you must use a\n fully qualified KMS key ARN. For more information, see Using encryption for cross-account operations.
\n\n For example:\n
\nKey ID: 1234abcd-12ab-34cd-56ef-1234567890ab
\n
Key ARN:\n arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n
Amazon S3 only supports symmetric encryption KMS keys. For \n more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer\n Guide.
\nDescribes the default server-side encryption to apply to new objects in the bucket. If a\n PUT Object request doesn't specify any server-side encryption, this default encryption will\n be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates \n an Amazon Web Services KMS key in your Amazon Web Services account the first time that you add an object encrypted with\n SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more information, see PUT Bucket encryption in\n the Amazon S3 API Reference.
" + "smithy.api#documentation": "Describes the default server-side encryption to apply to new objects in the bucket. If a\n PUT Object request doesn't specify any server-side encryption, this default encryption will\n be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates\n an Amazon Web Services KMS key in your Amazon Web Services account the first time that you add an object encrypted\n with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more\n information, see PUT Bucket encryption in\n the Amazon S3 API Reference.
" } }, "com.amazonaws.s3#ServerSideEncryptionConfiguration": { @@ -32976,7 +33057,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled
element to true
causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
" + "smithy.api#documentation": "Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS\n (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the\n BucketKeyEnabled
element to true
causes Amazon S3 to use an S3\n Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the\n Amazon S3 User Guide.
" } } }, @@ -33014,7 +33095,7 @@ "SseKmsEncryptedObjects": { "target": "com.amazonaws.s3#SseKmsEncryptedObjects", "traits": { - "smithy.api#documentation": " A container for filter information for the selection of Amazon S3 objects encrypted with Amazon Web Services\n KMS. If you include SourceSelectionCriteria
in the replication configuration,\n this element is required.
A container for filter information for the selection of Amazon S3 objects encrypted with\n Amazon Web Services KMS. If you include SourceSelectionCriteria
in the replication\n configuration, this element is required.
A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer managed key stored in Amazon Web Services Key Management\n Service (SSE-KMS).
" + "smithy.api#documentation": "A container that describes additional filters for identifying the source objects that\n you want to replicate. You can choose to enable or disable the replication of these\n objects. Currently, Amazon S3 supports only the filter that you can specify for objects created\n with server-side encryption using a customer managed key stored in Amazon Web Services Key Management Service\n (SSE-KMS).
" } }, "com.amazonaws.s3#SseKmsEncryptedObjects": { @@ -33324,7 +33405,7 @@ } }, "traits": { - "smithy.api#documentation": "Container for granting information.
\nBuckets that use the bucket owner enforced setting for Object\n Ownership don't support target grants. For more information, see Permissions server access log delivery in the\n Amazon S3 User Guide.
" + "smithy.api#documentation": "Container for granting information.
\nBuckets that use the bucket owner enforced setting for Object Ownership don't support\n target grants. For more information, see Permissions server access log delivery in the\n Amazon S3 User Guide.
" } }, "com.amazonaws.s3#TargetGrants": { @@ -33376,7 +33457,7 @@ "AccessTier": { "target": "com.amazonaws.s3#IntelligentTieringAccessTier", "traits": { - "smithy.api#documentation": "S3 Intelligent-Tiering access tier. See Storage class for\n automatically optimizing frequently and infrequently accessed objects for a list\n of access tiers in the S3 Intelligent-Tiering storage class.
", + "smithy.api#documentation": "S3 Intelligent-Tiering access tier. See Storage class\n for automatically optimizing frequently and infrequently accessed objects for a\n list of access tiers in the S3 Intelligent-Tiering storage class.
", "smithy.api#required": {} } } @@ -33549,7 +33630,7 @@ "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" }, - "smithy.api#documentation": "Uploads a part in a multipart upload.
\nIn this operation, you provide part data in your request. However, you have an option\n to specify your existing Amazon S3 object as a data source for the part you are uploading. To\n upload a part from an existing object, you use the UploadPartCopy operation.\n
\nYou must initiate a multipart upload (see CreateMultipartUpload)\n before you can upload any part. In response to your initiate request, Amazon S3 returns an\n upload ID, a unique identifier, that you must include in your upload part request.
\nPart numbers can be any number from 1 to 10,000, inclusive. A part number uniquely\n identifies a part and also defines its position within the object being created. If you\n upload a new part using the same part number that was used with a previous part, the\n previously uploaded part is overwritten.
\nFor information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
\nTo ensure that data is not corrupted when traversing the network, specify the\n Content-MD5
header in the upload part request. Amazon S3 checks the part data\n against the provided MD5 value. If they do not match, Amazon S3 returns an error.
If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the\n x-amz-content-sha256
header as a checksum instead of\n Content-MD5
. For more information see Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature Version\n 4).
\n Note: After you initiate multipart upload and upload\n one or more parts, you must either complete or abort multipart upload in order to stop\n getting charged for storage of the uploaded parts. Only after you either complete or abort\n multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts\n storage.
\nFor more information on multipart uploads, go to Multipart Upload Overview in the\n Amazon S3 User Guide .
\nFor information on the permissions required to use the multipart upload API, go to\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.
\nYou can optionally request server-side encryption where Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it for you when you access it. You have\n the option of providing your own encryption key, or you can use the Amazon Web Services managed encryption\n keys. If you choose to provide your own encryption key, the request headers you provide in\n the request must match the headers you used in the request to initiate the upload by using\n CreateMultipartUpload. For more information, go to Using Server-Side Encryption in\n the Amazon S3 User Guide.
\nServer-side encryption is supported by the S3 Multipart Upload actions. Unless you are\n using a customer-provided encryption key, you don't need to specify the encryption\n parameters in each UploadPart request. Instead, you only need to specify the server-side\n encryption parameters in the initial Initiate Multipart request. For more information, see\n CreateMultipartUpload.
\nIf you requested server-side encryption using a customer-provided encryption key in your\n initiate multipart upload request, you must provide identical encryption information in\n each part upload using the following headers.
\nx-amz-server-side-encryption-customer-algorithm
\nx-amz-server-side-encryption-customer-key
\nx-amz-server-side-encryption-customer-key-MD5
\n\n Special Errors\n
\n\n Code: NoSuchUpload\n
\n\n Cause: The specified multipart upload does not exist. The upload\n ID might be invalid, or the multipart upload might have been aborted or\n completed.\n
\n\n HTTP Status Code: 404 Not Found \n
\n\n SOAP Fault Code Prefix: Client\n
\n\n Related Resources\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nUploads a part in a multipart upload.
\nIn this operation, you provide part data in your request. However, you have an option\n to specify your existing Amazon S3 object as a data source for the part you are uploading. To\n upload a part from an existing object, you use the UploadPartCopy operation.\n
\nYou must initiate a multipart upload (see CreateMultipartUpload)\n before you can upload any part. In response to your initiate request, Amazon S3 returns an\n upload ID, a unique identifier, that you must include in your upload part request.
\nPart numbers can be any number from 1 to 10,000, inclusive. A part number uniquely\n identifies a part and also defines its position within the object being created. If you\n upload a new part using the same part number that was used with a previous part, the\n previously uploaded part is overwritten.
\nFor information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.
\nTo ensure that data is not corrupted when traversing the network, specify the\n Content-MD5
header in the upload part request. Amazon S3 checks the part data\n against the provided MD5 value. If they do not match, Amazon S3 returns an error.
If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the\n x-amz-content-sha256
header as a checksum instead of\n Content-MD5
. For more information see Authenticating\n Requests: Using the Authorization Header (Amazon Web Services Signature Version 4).
\n Note: After you initiate multipart upload and upload\n one or more parts, you must either complete or abort multipart upload in order to stop\n getting charged for storage of the uploaded parts. Only after you either complete or abort\n multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts\n storage.
\nFor more information on multipart uploads, go to Multipart Upload Overview in the\n Amazon S3 User Guide .
\nFor information on the permissions required to use the multipart upload API, go to\n Multipart\n Upload and Permissions in the Amazon S3 User Guide.
\nServer-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it. You have three\n mutually exclusive options to protect data using server-side encryption in Amazon S3, depending\n on how you choose to manage the encryption keys. Specifically, the encryption key options\n are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys\n (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by\n default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption\n with other key options. The option you use depends on whether you want to use KMS keys\n (SSE-KMS) or provide your own encryption key (SSE-C). If you choose to provide your own\n encryption key, the request headers you provide in the request must match the headers you\n used in the request to initiate the upload by using CreateMultipartUpload.\n For more information, go to Using Server-Side\n Encryption in the Amazon S3 User Guide.
\nServer-side encryption is supported by the S3 Multipart Upload actions. Unless you are\n using a customer-provided encryption key (SSE-C), you don't need to specify the encryption\n parameters in each UploadPart request. Instead, you only need to specify the server-side\n encryption parameters in the initial Initiate Multipart request. For more information, see\n CreateMultipartUpload.
\nIf you requested server-side encryption using a customer-provided encryption key (SSE-C)\n in your initiate multipart upload request, you must provide identical encryption\n information in each part upload using the following headers.
\nx-amz-server-side-encryption-customer-algorithm
\nx-amz-server-side-encryption-customer-key
\nx-amz-server-side-encryption-customer-key-MD5
\n\n Special Errors\n
\n\n Code: NoSuchUpload\n
\n\n Cause: The specified multipart upload does not exist. The upload\n ID might be invalid, or the multipart upload might have been aborted or\n completed.\n
\n\n HTTP Status Code: 404 Not Found \n
\n\n SOAP Fault Code Prefix: Client\n
\n\n Related Resources\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nUploads a part by copying data from an existing object as data source. You specify the\n data source by adding the request header x-amz-copy-source
in your request and\n a byte range by adding the request header x-amz-copy-source-range
in your\n request.
For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
\nInstead of using an existing object as part data, you might use the UploadPart\n action and provide data in your request.
\nYou must initiate a multipart upload before you can upload any part. In response to your\n initiate request. Amazon S3 returns a unique identifier, the upload ID, that you must include in\n your upload part request.
\nFor more information about using the UploadPartCopy
operation, see the\n following:
For conceptual information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide.
\nFor information about permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.
\nFor information about copying objects using a single atomic action vs. a multipart\n upload, see Operations on Objects in\n the Amazon S3 User Guide.
\nFor information about using server-side encryption with customer-provided\n encryption keys with the UploadPartCopy
operation, see CopyObject and UploadPart.
Note the following additional considerations about the request headers\n x-amz-copy-source-if-match
, x-amz-copy-source-if-none-match
,\n x-amz-copy-source-if-unmodified-since
, and\n x-amz-copy-source-if-modified-since
:
\n
\n Consideration 1 - If both of the\n x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-match
condition evaluates to true
,\n and;
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
;
Amazon S3 returns 200 OK
and copies the data.\n
\n Consideration 2 - If both of the\n x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-none-match
condition evaluates to\n false
, and;
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
;
Amazon S3 returns 412 Precondition Failed
response code.\n
\n Versioning\n
\nIf your bucket has versioning enabled, you could have multiple versions of the same\n object. By default, x-amz-copy-source
identifies the current version of the\n object to copy. If the current version is a delete marker and you don't specify a versionId\n in the x-amz-copy-source
, Amazon S3 returns a 404 error, because the object does\n not exist. If you specify versionId in the x-amz-copy-source
and the versionId\n is a delete marker, Amazon S3 returns an HTTP 400 error, because you are not allowed to specify\n a delete marker as a version for the x-amz-copy-source
.
You can optionally specify a specific version of the source object to copy by adding the\n versionId
subresource as shown in the following example:
\n x-amz-copy-source: /bucket/object?versionId=version id
\n
\n Special Errors\n
\n\n Code: NoSuchUpload\n
\n\n Cause: The specified multipart upload does not exist. The upload\n ID might be invalid, or the multipart upload might have been aborted or\n completed.\n
\n\n HTTP Status Code: 404 Not Found\n
\n\n Code: InvalidRequest\n
\n\n Cause: The specified copy source is not supported as a byte-range\n copy source.\n
\n\n HTTP Status Code: 400 Bad Request\n
\n\n Related Resources\n
\n\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nUploads a part by copying data from an existing object as data source. You specify the\n data source by adding the request header x-amz-copy-source
in your request and\n a byte range by adding the request header x-amz-copy-source-range
in your\n request.
For information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.
\nInstead of using an existing object as part data, you might use the UploadPart\n action and provide data in your request.
\nYou must initiate a multipart upload before you can upload any part. In response to your\n initiate request. Amazon S3 returns a unique identifier, the upload ID, that you must include in\n your upload part request.
\nFor more information about using the UploadPartCopy
operation, see the\n following:
For conceptual information about multipart uploads, see Uploading\n Objects Using Multipart Upload in the\n Amazon S3 User Guide.
\nFor information about permissions required to use the multipart upload API, see\n Multipart Upload and Permissions in the\n Amazon S3 User Guide.
\nFor information about copying objects using a single atomic action vs. a multipart\n upload, see Operations on Objects in\n the Amazon S3 User Guide.
\nFor information about using server-side encryption with customer-provided\n encryption keys with the UploadPartCopy
operation, see CopyObject and UploadPart.
Note the following additional considerations about the request headers\n x-amz-copy-source-if-match
, x-amz-copy-source-if-none-match
,\n x-amz-copy-source-if-unmodified-since
, and\n x-amz-copy-source-if-modified-since
:
\n
\n Consideration 1 - If both of the\n x-amz-copy-source-if-match
and\n x-amz-copy-source-if-unmodified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-match
condition evaluates to true
,\n and;
\n x-amz-copy-source-if-unmodified-since
condition evaluates to\n false
;
Amazon S3 returns 200 OK
and copies the data.\n
\n Consideration 2 - If both of the\n x-amz-copy-source-if-none-match
and\n x-amz-copy-source-if-modified-since
headers are present in the\n request as follows:
\n x-amz-copy-source-if-none-match
condition evaluates to\n false
, and;
\n x-amz-copy-source-if-modified-since
condition evaluates to\n true
;
Amazon S3 returns 412 Precondition Failed
response code.\n
\n Versioning\n
\nIf your bucket has versioning enabled, you could have multiple versions of the same\n object. By default, x-amz-copy-source
identifies the current version of the\n object to copy. If the current version is a delete marker and you don't specify a versionId\n in the x-amz-copy-source
, Amazon S3 returns a 404 error, because the object does\n not exist. If you specify versionId in the x-amz-copy-source
and the versionId\n is a delete marker, Amazon S3 returns an HTTP 400 error, because you are not allowed to specify\n a delete marker as a version for the x-amz-copy-source
.
You can optionally specify a specific version of the source object to copy by adding the\n versionId
subresource as shown in the following example:
\n x-amz-copy-source: /bucket/object?versionId=version id
\n
\n Special Errors\n
\n\n Code: NoSuchUpload\n
\n\n Cause: The specified multipart upload does not exist. The upload\n ID might be invalid, or the multipart upload might have been aborted or\n completed.\n
\n\n HTTP Status Code: 404 Not Found\n
\n\n Code: InvalidRequest\n
\n\n Cause: The specified copy source is not supported as a byte-range\n copy source.\n
\n\n HTTP Status Code: 400 Bad Request\n
\n\n Related Resources\n
\n\n UploadPart\n
\n\n AbortMultipartUpload\n
\n\n ListParts\n
\n\n ListMultipartUploads\n
\nThe server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n customer managed key that was used for the object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for the object.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -33623,7 +33704,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -33644,7 +33725,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The bucket name.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The bucket name.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms).
", + "smithy.api#documentation": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example,\n AES256, aws:kms
).
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n customer managed key was used for the object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key was used for the object.
", "smithy.api#httpHeader": "x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -33857,7 +33938,7 @@ "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
", + "smithy.api#documentation": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption\n with Amazon Web Services KMS (SSE-KMS).
", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } }, @@ -33886,7 +33967,7 @@ "Bucket": { "target": "com.amazonaws.s3#BucketName", "traits": { - "smithy.api#documentation": "The name of the bucket to which the multipart upload was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When using this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using Amazon S3 on Outposts in the Amazon S3 User Guide.
The name of the bucket to which the multipart upload was initiated.
\nWhen using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
\nWhen you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form \n AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com
. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts in the Amazon S3 User Guide.
Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any\n additional functionality if not using the SDK. When sending this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
This checksum algorithm must be the same for all parts and it match the checksum\n value supplied in the CreateMultipartUpload
request.
Indicates the algorithm used to create the checksum for the object when using the SDK. This header will not provide any\n additional functionality if not using the SDK. When sending this header, there must be a corresponding x-amz-checksum
or\n x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm
parameter.
This checksum algorithm must be the same for all parts and it match the checksum value\n supplied in the CreateMultipartUpload
request.
Passes transformed\n objects to a GetObject
operation when using Object Lambda access points. For information about\n Object Lambda access points, see Transforming objects with\n Object Lambda access points in the Amazon S3 User Guide.
This operation supports metadata that can be returned by GetObject, in addition to\n RequestRoute
, RequestToken
, StatusCode
,\n ErrorCode
, and ErrorMessage
. The GetObject
\n response metadata is supported so that the WriteGetObjectResponse
caller,\n typically an Lambda function, can provide the same metadata when it internally invokes\n GetObject
. When WriteGetObjectResponse
is called by a\n customer-owned Lambda function, the metadata returned to the end user\n GetObject
call might differ from what Amazon S3 would normally return.
You can include any number of metadata headers. When including a metadata header, it should be\n prefaced with x-amz-meta
. For example, x-amz-meta-my-custom-header: MyCustomValue
.\n The primary use case for this is to forward GetObject
metadata.
Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to detect and redact\n personally identifiable information (PII) and decompress S3 objects. These Lambda functions\n are available in the Amazon Web Services Serverless Application Repository, and can be selected through the Amazon Web Services Management Console when you create your\n Object Lambda access point.
\nExample 1: PII Access Control - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically detects personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket.
\nExample 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically redacts personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket.
\nExample 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is equipped to decompress objects stored in S3 in one of six compressed file formats including bzip2, gzip, snappy, zlib, zstandard and ZIP.
\nFor information on how to view and use these functions, see Using Amazon Web Services built Lambda functions in the Amazon S3 User Guide.
", + "smithy.api#documentation": "Passes transformed objects to a GetObject
operation when using Object Lambda access points. For\n information about Object Lambda access points, see Transforming objects with\n Object Lambda access points in the Amazon S3 User Guide.
This operation supports metadata that can be returned by GetObject, in addition to\n RequestRoute
, RequestToken
, StatusCode
,\n ErrorCode
, and ErrorMessage
. The GetObject
\n response metadata is supported so that the WriteGetObjectResponse
caller,\n typically an Lambda function, can provide the same metadata when it internally invokes\n GetObject
. When WriteGetObjectResponse
is called by a\n customer-owned Lambda function, the metadata returned to the end user\n GetObject
call might differ from what Amazon S3 would normally return.
You can include any number of metadata headers. When including a metadata header, it\n should be prefaced with x-amz-meta
. For example,\n x-amz-meta-my-custom-header: MyCustomValue
. The primary use case for this\n is to forward GetObject
metadata.
Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to\n detect and redact personally identifiable information (PII) and decompress S3 objects.\n These Lambda functions are available in the Amazon Web Services Serverless Application Repository, and\n can be selected through the Amazon Web Services Management Console when you create your Object Lambda access point.
\nExample 1: PII Access Control - This Lambda function uses Amazon Comprehend, a\n natural language processing (NLP) service using machine learning to find insights and\n relationships in text. It automatically detects personally identifiable information (PII)\n such as names, addresses, dates, credit card numbers, and social security numbers from\n documents in your Amazon S3 bucket.
\nExample 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural\n language processing (NLP) service using machine learning to find insights and relationships\n in text. It automatically redacts personally identifiable information (PII) such as names,\n addresses, dates, credit card numbers, and social security numbers from documents in your\n Amazon S3 bucket.
\nExample 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is\n equipped to decompress objects stored in S3 in one of six compressed file formats including\n bzip2, gzip, snappy, zlib, zstandard and ZIP.
\nFor information on how to view and use these functions, see Using Amazon Web Services built Lambda\n functions in the Amazon S3 User Guide.
", "smithy.api#endpoint": { "hostPrefix": "{RequestRoute}." }, @@ -34186,7 +34267,7 @@ "ContentEncoding": { "target": "com.amazonaws.s3#ContentEncoding", "traits": { - "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.
", + "smithy.api#documentation": "Specifies what content encodings have been applied to the object and thus what decoding\n mechanisms must be applied to obtain the media-type referenced by the Content-Type header\n field.
", "smithy.api#httpHeader": "x-amz-fwd-header-Content-Encoding" } }, @@ -34222,28 +34303,28 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the\n same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32 checksum\n of the object returned by the Object Lambda function. This may not match the checksum for the\n object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original\n GetObject
request required checksum validation. For more information about checksums, see\n Checking\n object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple\n checksum headers, this request will fail.
\n ", + "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
\n ", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the\n same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C checksum\n of the object returned by the Object Lambda function. This may not match the checksum for the\n object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original\n GetObject
request required checksum validation. For more information about checksums, see\n Checking\n object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple\n checksum headers, this request will fail.
", + "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC32C\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-crc32c" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the\n same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1 digest\n of the object returned by the Object Lambda function. This may not match the checksum for the\n object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original\n GetObject
request required checksum validation. For more information about checksums, see\n Checking\n object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple\n checksum headers, this request will fail.
", + "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is the\n same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256 digest\n of the object returned by the Object Lambda function. This may not match the checksum for the\n object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original\n GetObject
request required checksum validation. For more information about checksums, see\n Checking\n object integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple\n checksum headers, this request will fail.
", + "smithy.api#documentation": "This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject
request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.
Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-sha256" } }, @@ -34272,7 +34353,7 @@ "Expiration": { "target": "com.amazonaws.s3#Expiration", "traits": { - "smithy.api#documentation": "If the object expiration is configured (see PUT Bucket lifecycle), the response\n includes this header. It includes the expiry-date
and rule-id
\n key-value pairs that provide the object expiration information. The value of the\n rule-id
is URL-encoded.
If the object expiration is configured (see PUT Bucket lifecycle), the response includes\n this header. It includes the expiry-date
and rule-id
key-value\n pairs that provide the object expiration information. The value of the rule-id
\n is URL-encoded.
Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more\n information about S3 Object Lock, see Object Lock.
", + "smithy.api#documentation": "Indicates whether an object stored in Amazon S3 has Object Lock enabled. For more information\n about S3 Object Lock, see Object Lock.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-object-lock-mode" } }, @@ -34330,7 +34411,7 @@ "ReplicationStatus": { "target": "com.amazonaws.s3#ReplicationStatus", "traits": { - "smithy.api#documentation": "Indicates if request involves bucket that is either a source or destination in a Replication rule. For more\n information about S3 Replication, see Replication.
", + "smithy.api#documentation": "Indicates if request involves bucket that is either a source or destination in a\n Replication rule. For more information about S3 Replication, see Replication.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-replication-status" } }, @@ -34343,28 +34424,28 @@ "Restore": { "target": "com.amazonaws.s3#Restore", "traits": { - "smithy.api#documentation": "Provides information about object restoration operation and expiration time of the\n restored object copy.
", + "smithy.api#documentation": "Provides information about object restoration operation and expiration time of the\n restored object copy.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-restore" } }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { - "smithy.api#documentation": "The server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256, aws:kms).
", + "smithy.api#documentation": " The server-side encryption algorithm used when storing requested object in Amazon S3 (for\n example, AES256, aws:kms
).
Encryption algorithm used if server-side encryption with a customer-provided encryption key was specified for object stored in Amazon S3.
", + "smithy.api#documentation": "Encryption algorithm used if server-side encryption with a customer-provided encryption\n key was specified for object stored in Amazon S3.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm" } }, "SSEKMSKeyId": { "target": "com.amazonaws.s3#SSEKMSKeyId", "traits": { - "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for stored in Amazon S3 object.
", + "smithy.api#documentation": "If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric\n encryption customer managed key that was used for stored in Amazon S3 object.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id" } }, @@ -34378,7 +34459,7 @@ "StorageClass": { "target": "com.amazonaws.s3#StorageClass", "traits": { - "smithy.api#documentation": "Provides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage\n Classes.
", + "smithy.api#documentation": "Provides storage class information of the object. Amazon S3 returns this header for all\n objects except for S3 Standard storage class objects.
\nFor more information, see Storage Classes.
", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-storage-class" } },