@aws-sdk/client-s3 3.844.0 → 3.846.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/index.js +594 -121
- package/dist-es/S3.js +10 -0
- package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
- package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
- package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
- package/dist-es/commands/ListPartsCommand.js +1 -1
- package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
- package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +16 -24
- package/dist-es/models/models_1.js +24 -0
- package/dist-es/protocols/Aws_restXml.js +325 -3
- package/dist-types/S3.d.ts +35 -0
- package/dist-types/S3Client.d.ts +7 -2
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +46 -57
- package/dist-types/commands/CopyObjectCommand.d.ts +95 -106
- package/dist-types/commands/CreateBucketCommand.d.ts +70 -82
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +88 -113
- package/dist-types/commands/CreateSessionCommand.d.ts +45 -50
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
- package/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
- package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
- package/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
- package/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
- package/dist-types/commands/GetBucketAclCommand.d.ts +9 -11
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
- package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +16 -19
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
- package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
- package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +9 -8
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +11 -12
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
- package/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +55 -70
- package/dist-types/commands/GetObjectCommand.d.ts +66 -81
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/HeadBucketCommand.d.ts +33 -35
- package/dist-types/commands/HeadObjectCommand.d.ts +50 -62
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
- package/dist-types/commands/ListBucketsCommand.d.ts +10 -9
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +9 -9
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +41 -49
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +7 -9
- package/dist-types/commands/ListObjectsCommand.d.ts +8 -7
- package/dist-types/commands/ListObjectsV2Command.d.ts +28 -31
- package/dist-types/commands/ListPartsCommand.d.ts +21 -24
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
- package/dist-types/commands/PutBucketAclCommand.d.ts +51 -62
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
- package/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +40 -48
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +11 -12
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +26 -33
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +31 -38
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
- package/dist-types/commands/PutObjectAclCommand.d.ts +53 -61
- package/dist-types/commands/PutObjectCommand.d.ts +56 -66
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
- package/dist-types/commands/RenameObjectCommand.d.ts +34 -40
- package/dist-types/commands/RestoreObjectCommand.d.ts +76 -85
- package/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
- package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
- package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
- package/dist-types/commands/UploadPartCommand.d.ts +64 -74
- package/dist-types/commands/UploadPartCopyCommand.d.ts +80 -96
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +29 -33
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +2688 -3603
- package/dist-types/models/models_1.d.ts +2120 -743
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/S3.d.ts +109 -0
- package/dist-types/ts3.4/S3Client.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -206
- package/dist-types/ts3.4/models/models_1.d.ts +238 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +15 -15
|
@@ -27,8 +27,7 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>This operation configures default encryption and Amazon S3 Bucket Keys for an existing
|
|
31
|
-
* bucket.</p>
|
|
30
|
+
* <p>This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket.</p>
|
|
32
31
|
* <note>
|
|
33
32
|
* <p>
|
|
34
33
|
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
@@ -37,8 +36,8 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
37
36
|
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
|
|
38
37
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
39
38
|
* </note>
|
|
40
|
-
* <p>By default, all buckets have a default encryption configuration that uses server-side
|
|
41
|
-
*
|
|
39
|
+
* <p>By default, all buckets have a default encryption configuration that uses server-side encryption
|
|
40
|
+
* with Amazon S3 managed keys (SSE-S3).</p>
|
|
42
41
|
* <note>
|
|
43
42
|
* <ul>
|
|
44
43
|
* <li>
|
|
@@ -47,35 +46,32 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
47
46
|
* </p>
|
|
48
47
|
* <ul>
|
|
49
48
|
* <li>
|
|
50
|
-
* <p>You can optionally configure default encryption for a bucket by using
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* Encryption</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
49
|
+
* <p>You can optionally configure default encryption for a bucket by using server-side
|
|
50
|
+
* encryption with Key Management Service (KMS) keys (SSE-KMS) or dual-layer server-side encryption with
|
|
51
|
+
* Amazon Web Services KMS keys (DSSE-KMS). If you specify default encryption by using SSE-KMS, you can also
|
|
52
|
+
* configure <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html">Amazon S3 Bucket
|
|
53
|
+
* Keys</a>. For information about the bucket default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default
|
|
54
|
+
* Encryption</a> in the <i>Amazon S3 User Guide</i>. </p>
|
|
57
55
|
* </li>
|
|
58
56
|
* <li>
|
|
59
|
-
* <p>If you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* PutBucketEncryption requests.</p>
|
|
57
|
+
* <p>If you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket encryption</a> to
|
|
58
|
+
* SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 doesn't validate the
|
|
59
|
+
* KMS key ID provided in PutBucketEncryption requests.</p>
|
|
63
60
|
* </li>
|
|
64
61
|
* </ul>
|
|
65
62
|
* </li>
|
|
66
63
|
* <li>
|
|
67
64
|
* <p>
|
|
68
|
-
* <b>Directory buckets </b> - You can
|
|
69
|
-
*
|
|
70
|
-
*
|
|
65
|
+
* <b>Directory buckets </b> - You can optionally configure
|
|
66
|
+
* default encryption for a bucket by using server-side encryption with Key Management Service (KMS) keys
|
|
67
|
+
* (SSE-KMS).</p>
|
|
71
68
|
* <ul>
|
|
72
69
|
* <li>
|
|
73
|
-
* <p>We recommend that the bucket's default encryption uses the desired
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* For more information about the encryption overriding behaviors in directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html">Specifying server-side encryption with KMS for new object uploads</a>.</p>
|
|
70
|
+
* <p>We recommend that the bucket's default encryption uses the desired encryption
|
|
71
|
+
* configuration and you don't override the bucket default encryption in your
|
|
72
|
+
* <code>CreateSession</code> requests or <code>PUT</code> object requests. Then, new objects
|
|
73
|
+
* are automatically encrypted with the desired encryption settings.
|
|
74
|
+
* For more information about the encryption overriding behaviors in directory buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html">Specifying server-side encryption with KMS for new object uploads</a>.</p>
|
|
79
75
|
* </li>
|
|
80
76
|
* <li>
|
|
81
77
|
* <p>Your SSE-KMS configuration can only support 1 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">customer managed key</a> per directory bucket's lifetime.
|
|
@@ -91,21 +87,21 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
91
87
|
* <p>When you specify an <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk">KMS customer managed key</a> for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.</p>
|
|
92
88
|
* </li>
|
|
93
89
|
* <li>
|
|
94
|
-
* <p>For directory buckets, if you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket
|
|
95
|
-
*
|
|
90
|
+
* <p>For directory buckets, if you use PutBucketEncryption to set your <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">default bucket
|
|
91
|
+
* encryption</a> to SSE-KMS, Amazon S3 validates the KMS key ID provided in
|
|
92
|
+
* PutBucketEncryption requests.</p>
|
|
96
93
|
* </li>
|
|
97
94
|
* </ul>
|
|
98
95
|
* </li>
|
|
99
96
|
* </ul>
|
|
100
97
|
* </note>
|
|
101
98
|
* <important>
|
|
102
|
-
* <p>If you're specifying a customer managed KMS key, we recommend using a fully
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* <p>Also, this action requires Amazon Web Services Signature Version 4. For more information, see
|
|
107
|
-
*
|
|
108
|
-
* Requests (Amazon Web Services Signature Version 4)</a>. </p>
|
|
99
|
+
* <p>If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key
|
|
100
|
+
* ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account.
|
|
101
|
+
* This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and
|
|
102
|
+
* not the bucket owner.</p>
|
|
103
|
+
* <p>Also, this action requires Amazon Web Services Signature Version 4. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html"> Authenticating
|
|
104
|
+
* Requests (Amazon Web Services Signature Version 4)</a>. </p>
|
|
109
105
|
* </important>
|
|
110
106
|
* <dl>
|
|
111
107
|
* <dt>Permissions</dt>
|
|
@@ -114,24 +110,20 @@ declare const PutBucketEncryptionCommand_base: {
|
|
|
114
110
|
* <li>
|
|
115
111
|
* <p>
|
|
116
112
|
* <b>General purpose bucket permissions</b> - The
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* Permissions to Your Amazon S3 Resources</a> in the
|
|
122
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
113
|
+
* <code>s3:PutEncryptionConfiguration</code> permission is required in a policy. The bucket
|
|
114
|
+
* owner has this permission by default. The bucket owner can grant this permission to others.
|
|
115
|
+
* For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to Your
|
|
116
|
+
* Amazon S3 Resources</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
123
117
|
* </li>
|
|
124
118
|
* <li>
|
|
125
119
|
* <p>
|
|
126
|
-
* <b>Directory bucket permissions</b> -
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
* permissions in IAM identity-based policies and KMS key policies for the
|
|
134
|
-
* target KMS key.</p>
|
|
120
|
+
* <b>Directory bucket permissions</b> - To grant access to
|
|
121
|
+
* this API operation, you must have the <code>s3express:PutEncryptionConfiguration</code>
|
|
122
|
+
* permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.
|
|
123
|
+
* For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
124
|
+
* <p>To set a directory bucket default encryption with SSE-KMS, you must also have the
|
|
125
|
+
* <code>kms:GenerateDataKey</code> and the <code>kms:Decrypt</code> permissions in IAM
|
|
126
|
+
* identity-based policies and KMS key policies for the target KMS key.</p>
|
|
135
127
|
* </li>
|
|
136
128
|
* </ul>
|
|
137
129
|
* </dd>
|
|
@@ -30,8 +30,8 @@ declare const PutBucketIntelligentTieringConfigurationCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to
|
|
34
|
-
*
|
|
33
|
+
* <p>Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to 1,000
|
|
34
|
+
* S3 Intelligent-Tiering configurations per bucket.</p>
|
|
35
35
|
* <p>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.</p>
|
|
36
36
|
* <p>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.</p>
|
|
37
37
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access">Storage class for automatically optimizing frequently and infrequently accessed objects</a>.</p>
|
|
@@ -54,13 +54,12 @@ declare const PutBucketIntelligentTieringConfigurationCommand_base: {
|
|
|
54
54
|
* </li>
|
|
55
55
|
* </ul>
|
|
56
56
|
* <note>
|
|
57
|
-
* <p>You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically
|
|
58
|
-
*
|
|
59
|
-
*
|
|
57
|
+
* <p>You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically move objects
|
|
58
|
+
* stored in the S3 Intelligent-Tiering storage class to the Archive Access or Deep Archive Access
|
|
59
|
+
* tier.</p>
|
|
60
60
|
* </note>
|
|
61
61
|
* <p>
|
|
62
|
-
* <code>PutBucketIntelligentTieringConfiguration</code> has the following special
|
|
63
|
-
* errors:</p>
|
|
62
|
+
* <code>PutBucketIntelligentTieringConfiguration</code> has the following special errors:</p>
|
|
64
63
|
* <dl>
|
|
65
64
|
* <dt>HTTP 400 Bad Request Error</dt>
|
|
66
65
|
* <dd>
|
|
@@ -74,15 +73,15 @@ declare const PutBucketIntelligentTieringConfigurationCommand_base: {
|
|
|
74
73
|
* <p>
|
|
75
74
|
* <i>Code:</i> TooManyConfigurations</p>
|
|
76
75
|
* <p>
|
|
77
|
-
* <i>Cause:</i> You are attempting to create a new configuration
|
|
78
|
-
*
|
|
76
|
+
* <i>Cause:</i> You are attempting to create a new configuration but have already
|
|
77
|
+
* reached the 1,000-configuration limit. </p>
|
|
79
78
|
* </dd>
|
|
80
79
|
* <dt>HTTP 403 Forbidden Error</dt>
|
|
81
80
|
* <dd>
|
|
82
81
|
* <p>
|
|
83
|
-
* <i>Cause:</i> You are not the owner of the specified bucket, or
|
|
84
|
-
*
|
|
85
|
-
*
|
|
82
|
+
* <i>Cause:</i> You are not the owner of the specified bucket, or you do not have
|
|
83
|
+
* the <code>s3:PutIntelligentTieringConfiguration</code> bucket permission to set the configuration
|
|
84
|
+
* on the bucket. </p>
|
|
86
85
|
* </dd>
|
|
87
86
|
* </dl>
|
|
88
87
|
* @example
|
|
@@ -30,43 +30,40 @@ declare const PutBucketInventoryConfigurationCommand_base: {
|
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>This operation is not supported for directory buckets.</p>
|
|
32
32
|
* </note>
|
|
33
|
-
* <p>This implementation of the <code>PUT</code> action adds an
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* metadata to include and whether to inventory all object versions or only current versions.
|
|
46
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html">Amazon S3 Inventory</a> in the
|
|
47
|
-
* Amazon S3 User Guide.</p>
|
|
33
|
+
* <p>This implementation of the <code>PUT</code> action adds an S3 Inventory configuration (identified by
|
|
34
|
+
* the inventory ID) to the bucket. You can have up to 1,000 inventory configurations per bucket. </p>
|
|
35
|
+
* <p>Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly basis, and
|
|
36
|
+
* the results are published to a flat file. The bucket that is inventoried is called the
|
|
37
|
+
* <i>source</i> bucket, and the bucket where the inventory flat file is stored is called
|
|
38
|
+
* the <i>destination</i> bucket. The <i>destination</i> bucket must be in the
|
|
39
|
+
* same Amazon Web Services Region as the <i>source</i> bucket. </p>
|
|
40
|
+
* <p>When you configure an inventory for a <i>source</i> bucket, you specify the
|
|
41
|
+
* <i>destination</i> bucket where you want the inventory to be stored, and whether to
|
|
42
|
+
* generate the inventory daily or weekly. You can also configure what object metadata to include and
|
|
43
|
+
* whether to inventory all object versions or only current versions. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html">Amazon S3 Inventory</a> in the
|
|
44
|
+
* Amazon S3 User Guide.</p>
|
|
48
45
|
* <important>
|
|
49
|
-
* <p>You must create a bucket policy on the <i>destination</i> bucket to
|
|
50
|
-
*
|
|
51
|
-
*
|
|
46
|
+
* <p>You must create a bucket policy on the <i>destination</i> bucket to grant
|
|
47
|
+
* permissions to Amazon S3 to write objects to the bucket in the defined location. For an example policy, see
|
|
48
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html#example-bucket-policies-use-case-9"> Granting
|
|
49
|
+
* Permissions for Amazon S3 Inventory and Storage Class Analysis</a>.</p>
|
|
52
50
|
* </important>
|
|
53
51
|
* <dl>
|
|
54
52
|
* <dt>Permissions</dt>
|
|
55
53
|
* <dd>
|
|
56
54
|
* <p>To use this operation, you must have permission to perform the
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* <p>The <code>s3:PutInventoryConfiguration</code> permission allows a user to
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* the destination bucket can also access all object metadata fields that are
|
|
64
|
-
* available in the inventory report. </p>
|
|
55
|
+
* <code>s3:PutInventoryConfiguration</code> action. The bucket owner has this permission by
|
|
56
|
+
* default and can grant this permission to others. </p>
|
|
57
|
+
* <p>The <code>s3:PutInventoryConfiguration</code> permission allows a user to create an <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-inventory.html">S3 Inventory</a>
|
|
58
|
+
* report that includes all object metadata fields available and to specify the destination bucket to
|
|
59
|
+
* store the inventory. A user with read access to objects in the destination bucket can also access
|
|
60
|
+
* all object metadata fields that are available in the inventory report. </p>
|
|
65
61
|
* <p>To restrict access to an inventory report, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-use-case-10">Restricting access to an Amazon S3 Inventory report</a> in the
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
62
|
+
* <i>Amazon S3 User Guide</i>. For more information about the metadata fields available
|
|
63
|
+
* in S3 Inventory, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/storage-inventory.html#storage-inventory-contents">Amazon S3 Inventory
|
|
64
|
+
* lists</a> in the <i>Amazon S3 User Guide</i>. For more information about
|
|
65
|
+
* permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions related to bucket subresource operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Identity and access management in
|
|
66
|
+
* Amazon S3</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
70
67
|
* </dd>
|
|
71
68
|
* </dl>
|
|
72
69
|
* <p>
|
|
@@ -84,19 +81,18 @@ declare const PutBucketInventoryConfigurationCommand_base: {
|
|
|
84
81
|
* <p>
|
|
85
82
|
* <i>Code:</i> TooManyConfigurations</p>
|
|
86
83
|
* <p>
|
|
87
|
-
* <i>Cause:</i> You are attempting to create a new configuration
|
|
88
|
-
*
|
|
84
|
+
* <i>Cause:</i> You are attempting to create a new configuration but have already
|
|
85
|
+
* reached the 1,000-configuration limit. </p>
|
|
89
86
|
* </dd>
|
|
90
87
|
* <dt>HTTP 403 Forbidden Error</dt>
|
|
91
88
|
* <dd>
|
|
92
89
|
* <p>
|
|
93
|
-
* <i>Cause:</i> You are not the owner of the specified bucket, or
|
|
94
|
-
*
|
|
95
|
-
*
|
|
90
|
+
* <i>Cause:</i> You are not the owner of the specified bucket, or you do not have
|
|
91
|
+
* the <code>s3:PutInventoryConfiguration</code> bucket permission to set the configuration on the
|
|
92
|
+
* bucket. </p>
|
|
96
93
|
* </dd>
|
|
97
94
|
* </dl>
|
|
98
|
-
* <p>The following operations are related to
|
|
99
|
-
* <code>PutBucketInventoryConfiguration</code>:</p>
|
|
95
|
+
* <p>The following operations are related to <code>PutBucketInventoryConfiguration</code>:</p>
|
|
100
96
|
* <ul>
|
|
101
97
|
* <li>
|
|
102
98
|
* <p>
|
|
@@ -28,73 +28,69 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
31
|
+
* configuration. Keep in mind that this will overwrite an existing lifecycle configuration, so if you want
|
|
32
|
+
* to retain any configuration details, they must be included in the new lifecycle configuration. For
|
|
33
|
+
* information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing your storage
|
|
34
|
+
* lifecycle</a>.</p>
|
|
35
35
|
* <note>
|
|
36
|
-
* <p>Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name
|
|
37
|
-
*
|
|
36
|
+
* <p>Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name
|
|
37
|
+
* prefix, one or more object tags, object size, or any combination of these. Accordingly, this section
|
|
38
|
+
* describes the latest API. The previous version of the API supported filtering based only on an object
|
|
39
|
+
* key name prefix, which is supported for backward compatibility. For the related API description, see
|
|
40
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>.</p>
|
|
38
41
|
* </note>
|
|
39
42
|
* <dl>
|
|
40
43
|
* <dt>Rules</dt>
|
|
41
44
|
* <dt>Permissions</dt>
|
|
42
45
|
* <dt>HTTP Host header syntax</dt>
|
|
43
46
|
* <dd>
|
|
44
|
-
* <p>You specify the lifecycle configuration in your request body. The lifecycle
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* supported for backward compatibility for general purpose buckets. For the related
|
|
53
|
-
* API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>. </p>
|
|
47
|
+
* <p>You specify the lifecycle configuration in your request body. The lifecycle configuration is
|
|
48
|
+
* specified as XML consisting of one or more rules. An Amazon S3 Lifecycle configuration can have up to
|
|
49
|
+
* 1,000 rules. This limit is not adjustable.</p>
|
|
50
|
+
* <p>Bucket lifecycle configuration supports specifying a lifecycle rule using an object key name
|
|
51
|
+
* prefix, one or more object tags, object size, or any combination of these. Accordingly, this
|
|
52
|
+
* section describes the latest API. The previous version of the API supported filtering based only
|
|
53
|
+
* on an object key name prefix, which is supported for backward compatibility for general purpose
|
|
54
|
+
* buckets. For the related API description, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>. </p>
|
|
54
55
|
* <note>
|
|
55
|
-
* <p>Lifecyle configurations for directory buckets only support expiring objects and
|
|
56
|
-
*
|
|
57
|
-
*
|
|
56
|
+
* <p>Lifecyle configurations for directory buckets only support expiring objects and cancelling
|
|
57
|
+
* multipart uploads. Expiring of versioned objects,transitions and tag filters are not
|
|
58
|
+
* supported.</p>
|
|
58
59
|
* </note>
|
|
59
60
|
* <p>A lifecycle rule consists of the following:</p>
|
|
60
61
|
* <ul>
|
|
61
62
|
* <li>
|
|
62
|
-
* <p>A filter identifying a subset of objects to which the rule applies. The
|
|
63
|
-
*
|
|
64
|
-
* combination of these.</p>
|
|
63
|
+
* <p>A filter identifying a subset of objects to which the rule applies. The filter can be
|
|
64
|
+
* based on a key name prefix, object tags, object size, or any combination of these.</p>
|
|
65
65
|
* </li>
|
|
66
66
|
* <li>
|
|
67
67
|
* <p>A status indicating whether the rule is in effect.</p>
|
|
68
68
|
* </li>
|
|
69
69
|
* <li>
|
|
70
|
-
* <p>One or more lifecycle transition and expiration actions that you want
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* and noncurrent object versions.</p>
|
|
70
|
+
* <p>One or more lifecycle transition and expiration actions that you want Amazon S3 to perform on
|
|
71
|
+
* the objects identified by the filter. If the state of your bucket is versioning-enabled or
|
|
72
|
+
* versioning-suspended, you can have many versions of the same object (one current version and
|
|
73
|
+
* zero or more noncurrent versions). Amazon S3 provides predefined actions that you can specify for
|
|
74
|
+
* current and noncurrent object versions.</p>
|
|
76
75
|
* </li>
|
|
77
76
|
* </ul>
|
|
78
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object Lifecycle
|
|
79
|
-
*
|
|
80
|
-
*
|
|
77
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html">Object Lifecycle Management</a> and
|
|
78
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html">Lifecycle
|
|
79
|
+
* Configuration Elements</a>.</p>
|
|
81
80
|
* </dd>
|
|
82
81
|
* <dd>
|
|
83
82
|
* <ul>
|
|
84
83
|
* <li>
|
|
85
84
|
* <p>
|
|
86
|
-
* <b>General purpose bucket permissions</b> - By
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
* supersedes any other permissions. If you want to block users or accounts
|
|
96
|
-
* from removing or deleting objects from your bucket, you must deny them
|
|
97
|
-
* permissions for the following actions:</p>
|
|
85
|
+
* <b>General purpose bucket permissions</b> - By default, all Amazon S3
|
|
86
|
+
* resources are private, including buckets, objects, and related subresources (for example,
|
|
87
|
+
* lifecycle configuration and website configuration). Only the resource owner (that is, the
|
|
88
|
+
* Amazon Web Services account that created it) can access the resource. The resource owner can optionally
|
|
89
|
+
* grant access permissions to others by writing an access policy. For this operation, a user
|
|
90
|
+
* must have the <code>s3:PutLifecycleConfiguration</code> permission.</p>
|
|
91
|
+
* <p>You can also explicitly deny permissions. An explicit deny also supersedes any other
|
|
92
|
+
* permissions. If you want to block users or accounts from removing or deleting objects from
|
|
93
|
+
* your bucket, you must deny them permissions for the following actions:</p>
|
|
98
94
|
* <ul>
|
|
99
95
|
* <li>
|
|
100
96
|
* <p>
|
|
@@ -110,8 +106,8 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
110
106
|
* <p>
|
|
111
107
|
* <code>s3:PutLifecycleConfiguration</code>
|
|
112
108
|
* </p>
|
|
113
|
-
* <p>For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
114
|
-
*
|
|
109
|
+
* <p>For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing Access Permissions to
|
|
110
|
+
* Your Amazon S3 Resources</a>.</p>
|
|
115
111
|
* </li>
|
|
116
112
|
* </ul>
|
|
117
113
|
* </li>
|
|
@@ -119,16 +115,13 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
119
115
|
* <ul>
|
|
120
116
|
* <li>
|
|
121
117
|
* <p>
|
|
122
|
-
* <b>Directory bucket permissions</b> -
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* <p>For more information about directory bucket policies and permissions, see
|
|
130
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Authorizing Regional endpoint APIs with IAM</a> in the
|
|
131
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
118
|
+
* <b>Directory bucket permissions</b> - You must have the
|
|
119
|
+
* <code>s3express:PutLifecycleConfiguration</code> permission in an IAM identity-based policy
|
|
120
|
+
* to use this operation. Cross-account access to this API operation isn't supported. The
|
|
121
|
+
* resource owner can optionally grant access permissions to others by creating a role or user
|
|
122
|
+
* for them as long as they are within the same account as the owner and resource.</p>
|
|
123
|
+
* <p>For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Authorizing Regional endpoint APIs with IAM</a> in the <i>Amazon S3 User
|
|
124
|
+
* Guide</i>.</p>
|
|
132
125
|
* <note>
|
|
133
126
|
* <p>
|
|
134
127
|
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region-code</i>.amazonaws.com/<i>bucket-name</i>
|
|
@@ -142,11 +135,9 @@ declare const PutBucketLifecycleConfigurationCommand_base: {
|
|
|
142
135
|
* </dd>
|
|
143
136
|
* <dd>
|
|
144
137
|
* <p>
|
|
145
|
-
* <b>Directory buckets </b> - The HTTP Host
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* <p>The following operations are related to
|
|
149
|
-
* <code>PutBucketLifecycleConfiguration</code>:</p>
|
|
138
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is
|
|
139
|
+
* <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
140
|
+
* <p>The following operations are related to <code>PutBucketLifecycleConfiguration</code>:</p>
|
|
150
141
|
* <ul>
|
|
151
142
|
* <li>
|
|
152
143
|
* <p>
|
|
@@ -38,36 +38,32 @@ declare const PutBucketLoggingCommand_base: {
|
|
|
38
38
|
* <note>
|
|
39
39
|
* <p>This operation is not supported for directory buckets.</p>
|
|
40
40
|
* </note>
|
|
41
|
-
* <p>Set the logging parameters for a bucket and to specify permissions for who can view and
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* <code>Permissions</code> request element specifies the kind of access the grantee has to
|
|
48
|
-
* the logs.</p>
|
|
41
|
+
* <p>Set the logging parameters for a bucket and to specify permissions for who can view and modify the
|
|
42
|
+
* logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as the source bucket. To set
|
|
43
|
+
* the logging status of a bucket, you must be the bucket owner.</p>
|
|
44
|
+
* <p>The bucket owner is automatically granted FULL_CONTROL to all logs. You use the <code>Grantee</code>
|
|
45
|
+
* request element to grant access to other people. The <code>Permissions</code> request element specifies
|
|
46
|
+
* the kind of access the grantee has to the logs.</p>
|
|
49
47
|
* <important>
|
|
50
|
-
* <p>If the target bucket for log delivery uses the bucket owner enforced setting for S3
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
48
|
+
* <p>If the target bucket for log delivery uses the bucket owner enforced setting for S3 Object
|
|
49
|
+
* Ownership, you can't use the <code>Grantee</code> request element to grant access to others.
|
|
50
|
+
* Permissions can only be granted using policies. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general">Permissions for server access log delivery</a> in the
|
|
51
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
55
52
|
* </important>
|
|
56
53
|
* <dl>
|
|
57
54
|
* <dt>Grantee Values</dt>
|
|
58
55
|
* <dd>
|
|
59
|
-
* <p>You can specify the person (grantee) to whom you're assigning access rights (by
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
56
|
+
* <p>You can specify the person (grantee) to whom you're assigning access rights (by using request
|
|
57
|
+
* elements) in the following ways. For examples of how to specify these grantee values in JSON
|
|
58
|
+
* format, see the Amazon Web Services CLI example in <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html"> Enabling Amazon S3 server
|
|
59
|
+
* access logging</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
64
60
|
* <ul>
|
|
65
61
|
* <li>
|
|
66
62
|
* <p>By the person's ID:</p>
|
|
67
63
|
* <p>
|
|
68
64
|
* <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
69
|
-
*
|
|
70
|
-
*
|
|
65
|
+
* xsi:type="CanonicalUser"><ID><>ID<></ID><DisplayName><>GranteesEmail<></DisplayName>
|
|
66
|
+
* </Grantee></code>
|
|
71
67
|
* </p>
|
|
72
68
|
* <p>
|
|
73
69
|
* <code>DisplayName</code> is optional and ignored in the request.</p>
|
|
@@ -76,33 +72,30 @@ declare const PutBucketLoggingCommand_base: {
|
|
|
76
72
|
* <p>By Email address:</p>
|
|
77
73
|
* <p>
|
|
78
74
|
* <code> <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
79
|
-
*
|
|
75
|
+
* xsi:type="AmazonCustomerByEmail"><EmailAddress><>Grantees@email.com<></EmailAddress></Grantee></code>
|
|
80
76
|
* </p>
|
|
81
|
-
* <p>The grantee is resolved to the <code>CanonicalUser</code> and, in a
|
|
82
|
-
*
|
|
83
|
-
* CanonicalUser.</p>
|
|
77
|
+
* <p>The grantee is resolved to the <code>CanonicalUser</code> and, in a response to a
|
|
78
|
+
* <code>GETObjectAcl</code> request, appears as the CanonicalUser.</p>
|
|
84
79
|
* </li>
|
|
85
80
|
* <li>
|
|
86
81
|
* <p>By URI:</p>
|
|
87
82
|
* <p>
|
|
88
83
|
* <code><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
89
|
-
*
|
|
84
|
+
* xsi:type="Group"><URI><>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<></URI></Grantee></code>
|
|
90
85
|
* </p>
|
|
91
86
|
* </li>
|
|
92
87
|
* </ul>
|
|
93
88
|
* </dd>
|
|
94
89
|
* </dl>
|
|
95
|
-
* <p>To enable logging, you use <code>LoggingEnabled</code> and its children request
|
|
96
|
-
*
|
|
97
|
-
* element:</p>
|
|
90
|
+
* <p>To enable logging, you use <code>LoggingEnabled</code> and its children request elements. To disable
|
|
91
|
+
* logging, you use an empty <code>BucketLoggingStatus</code> request element:</p>
|
|
98
92
|
* <p>
|
|
99
|
-
* <code><BucketLoggingStatus xmlns="http://doc.s3.amazonaws.com/2006-03-01"
|
|
100
|
-
* /></code>
|
|
93
|
+
* <code><BucketLoggingStatus xmlns="http://doc.s3.amazonaws.com/2006-03-01" /></code>
|
|
101
94
|
* </p>
|
|
102
95
|
* <p>For more information about server access logging, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerLogs.html">Server Access Logging</a> in the
|
|
103
|
-
*
|
|
104
|
-
* <p>For more information about creating a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a>. For more
|
|
105
|
-
*
|
|
96
|
+
* <i>Amazon S3 User Guide</i>. </p>
|
|
97
|
+
* <p>For more information about creating a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html">CreateBucket</a>. For more information about
|
|
98
|
+
* returning the logging status of a bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html">GetBucketLogging</a>.</p>
|
|
106
99
|
* <p>The following operations are related to <code>PutBucketLogging</code>:</p>
|
|
107
100
|
* <ul>
|
|
108
101
|
* <li>
|