@aws-sdk/client-s3 3.299.0 → 3.300.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.
Files changed (94) hide show
  1. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +7 -0
  2. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +26 -0
  3. package/dist-types/commands/CopyObjectCommand.d.ts +45 -0
  4. package/dist-types/commands/CreateBucketCommand.d.ts +14 -0
  5. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +34 -0
  6. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +5 -0
  7. package/dist-types/commands/DeleteBucketCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -0
  11. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +5 -0
  12. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +4 -0
  13. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +5 -0
  14. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteObjectCommand.d.ts +9 -0
  20. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteObjectsCommand.d.ts +17 -0
  22. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +4 -0
  23. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -0
  24. package/dist-types/commands/GetBucketAclCommand.d.ts +4 -0
  25. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +5 -0
  26. package/dist-types/commands/GetBucketCorsCommand.d.ts +4 -0
  27. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +4 -0
  28. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -0
  29. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +5 -0
  30. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +4 -0
  31. package/dist-types/commands/GetBucketLocationCommand.d.ts +4 -0
  32. package/dist-types/commands/GetBucketLoggingCommand.d.ts +4 -0
  33. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +5 -0
  34. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +4 -0
  35. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -0
  36. package/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -0
  37. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +4 -0
  38. package/dist-types/commands/GetBucketReplicationCommand.d.ts +4 -0
  39. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +4 -0
  40. package/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -0
  41. package/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -0
  42. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +4 -0
  43. package/dist-types/commands/GetObjectAclCommand.d.ts +7 -0
  44. package/dist-types/commands/GetObjectAttributesCommand.d.ts +15 -0
  45. package/dist-types/commands/GetObjectCommand.d.ts +23 -0
  46. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +7 -0
  47. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -0
  48. package/dist-types/commands/GetObjectRetentionCommand.d.ts +7 -0
  49. package/dist-types/commands/GetObjectTaggingCommand.d.ts +7 -0
  50. package/dist-types/commands/GetObjectTorrentCommand.d.ts +6 -0
  51. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +4 -0
  52. package/dist-types/commands/HeadBucketCommand.d.ts +4 -0
  53. package/dist-types/commands/HeadObjectCommand.d.ts +17 -0
  54. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +5 -0
  55. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -0
  56. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +5 -0
  57. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +5 -0
  58. package/dist-types/commands/ListBucketsCommand.d.ts +1 -0
  59. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +10 -0
  60. package/dist-types/commands/ListObjectVersionsCommand.d.ts +10 -0
  61. package/dist-types/commands/ListObjectsCommand.d.ts +10 -0
  62. package/dist-types/commands/ListObjectsV2Command.d.ts +12 -0
  63. package/dist-types/commands/ListPartsCommand.d.ts +12 -0
  64. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +8 -0
  65. package/dist-types/commands/PutBucketAclCommand.d.ts +30 -0
  66. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +37 -0
  67. package/dist-types/commands/PutBucketCorsCommand.d.ts +26 -0
  68. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +17 -0
  69. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +30 -0
  70. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -0
  71. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +60 -0
  72. package/dist-types/commands/PutBucketLoggingCommand.d.ts +24 -0
  73. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +26 -0
  74. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +65 -0
  75. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +12 -0
  76. package/dist-types/commands/PutBucketPolicyCommand.d.ts +8 -0
  77. package/dist-types/commands/PutBucketReplicationCommand.d.ts +71 -0
  78. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +9 -0
  79. package/dist-types/commands/PutBucketTaggingCommand.d.ts +14 -0
  80. package/dist-types/commands/PutBucketVersioningCommand.d.ts +11 -0
  81. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +33 -0
  82. package/dist-types/commands/PutObjectAclCommand.d.ts +33 -0
  83. package/dist-types/commands/PutObjectCommand.d.ts +41 -0
  84. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +12 -0
  85. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +18 -0
  86. package/dist-types/commands/PutObjectRetentionCommand.d.ts +14 -0
  87. package/dist-types/commands/PutObjectTaggingCommand.d.ts +17 -0
  88. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +12 -0
  89. package/dist-types/commands/RestoreObjectCommand.d.ts +88 -0
  90. package/dist-types/commands/SelectObjectContentCommand.d.ts +45 -0
  91. package/dist-types/commands/UploadPartCommand.d.ts +19 -0
  92. package/dist-types/commands/UploadPartCopyCommand.d.ts +21 -0
  93. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +44 -0
  94. package/package.json +9 -9
@@ -64,6 +64,13 @@ export interface AbortMultipartUploadCommandOutput extends AbortMultipartUploadO
64
64
  * import { S3Client, AbortMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import
65
65
  * // const { S3Client, AbortMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import
66
66
  * const client = new S3Client(config);
67
+ * const input = {
68
+ * Bucket: "STRING_VALUE", // required
69
+ * Key: "STRING_VALUE", // required
70
+ * UploadId: "STRING_VALUE", // required
71
+ * RequestPayer: "requester",
72
+ * ExpectedBucketOwner: "STRING_VALUE",
73
+ * };
67
74
  * const command = new AbortMultipartUploadCommand(input);
68
75
  * const response = await client.send(command);
69
76
  * ```
@@ -136,6 +136,32 @@ export interface CompleteMultipartUploadCommandOutput extends CompleteMultipartU
136
136
  * import { S3Client, CompleteMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import
137
137
  * // const { S3Client, CompleteMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import
138
138
  * const client = new S3Client(config);
139
+ * const input = {
140
+ * Bucket: "STRING_VALUE", // required
141
+ * Key: "STRING_VALUE", // required
142
+ * MultipartUpload: {
143
+ * Parts: [
144
+ * {
145
+ * ETag: "STRING_VALUE",
146
+ * ChecksumCRC32: "STRING_VALUE",
147
+ * ChecksumCRC32C: "STRING_VALUE",
148
+ * ChecksumSHA1: "STRING_VALUE",
149
+ * ChecksumSHA256: "STRING_VALUE",
150
+ * PartNumber: Number("int"),
151
+ * },
152
+ * ],
153
+ * },
154
+ * UploadId: "STRING_VALUE", // required
155
+ * ChecksumCRC32: "STRING_VALUE",
156
+ * ChecksumCRC32C: "STRING_VALUE",
157
+ * ChecksumSHA1: "STRING_VALUE",
158
+ * ChecksumSHA256: "STRING_VALUE",
159
+ * RequestPayer: "requester",
160
+ * ExpectedBucketOwner: "STRING_VALUE",
161
+ * SSECustomerAlgorithm: "STRING_VALUE",
162
+ * SSECustomerKey: "STRING_VALUE",
163
+ * SSECustomerKeyMD5: "STRING_VALUE",
164
+ * };
139
165
  * const command = new CompleteMultipartUploadCommand(input);
140
166
  * const response = await client.send(command);
141
167
  * ```
@@ -209,6 +209,51 @@ export interface CopyObjectCommandOutput extends CopyObjectOutput, __MetadataBea
209
209
  * import { S3Client, CopyObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
210
210
  * // const { S3Client, CopyObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
211
211
  * const client = new S3Client(config);
212
+ * const input = {
213
+ * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control",
214
+ * Bucket: "STRING_VALUE", // required
215
+ * CacheControl: "STRING_VALUE",
216
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
217
+ * ContentDisposition: "STRING_VALUE",
218
+ * ContentEncoding: "STRING_VALUE",
219
+ * ContentLanguage: "STRING_VALUE",
220
+ * ContentType: "STRING_VALUE",
221
+ * CopySource: "STRING_VALUE", // required
222
+ * CopySourceIfMatch: "STRING_VALUE",
223
+ * CopySourceIfModifiedSince: new Date("TIMESTAMP"),
224
+ * CopySourceIfNoneMatch: "STRING_VALUE",
225
+ * CopySourceIfUnmodifiedSince: new Date("TIMESTAMP"),
226
+ * Expires: new Date("TIMESTAMP"),
227
+ * GrantFullControl: "STRING_VALUE",
228
+ * GrantRead: "STRING_VALUE",
229
+ * GrantReadACP: "STRING_VALUE",
230
+ * GrantWriteACP: "STRING_VALUE",
231
+ * Key: "STRING_VALUE", // required
232
+ * Metadata: {
233
+ * "<keys>": "STRING_VALUE",
234
+ * },
235
+ * MetadataDirective: "COPY" || "REPLACE",
236
+ * TaggingDirective: "COPY" || "REPLACE",
237
+ * ServerSideEncryption: "AES256" || "aws:kms",
238
+ * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR",
239
+ * WebsiteRedirectLocation: "STRING_VALUE",
240
+ * SSECustomerAlgorithm: "STRING_VALUE",
241
+ * SSECustomerKey: "STRING_VALUE",
242
+ * SSECustomerKeyMD5: "STRING_VALUE",
243
+ * SSEKMSKeyId: "STRING_VALUE",
244
+ * SSEKMSEncryptionContext: "STRING_VALUE",
245
+ * BucketKeyEnabled: true || false,
246
+ * CopySourceSSECustomerAlgorithm: "STRING_VALUE",
247
+ * CopySourceSSECustomerKey: "STRING_VALUE",
248
+ * CopySourceSSECustomerKeyMD5: "STRING_VALUE",
249
+ * RequestPayer: "requester",
250
+ * Tagging: "STRING_VALUE",
251
+ * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
252
+ * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
253
+ * ObjectLockLegalHoldStatus: "ON" || "OFF",
254
+ * ExpectedBucketOwner: "STRING_VALUE",
255
+ * ExpectedSourceBucketOwner: "STRING_VALUE",
256
+ * };
212
257
  * const command = new CopyObjectCommand(input);
213
258
  * const response = await client.send(command);
214
259
  * ```
@@ -171,6 +171,20 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
171
171
  * import { S3Client, CreateBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import
172
172
  * // const { S3Client, CreateBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import
173
173
  * const client = new S3Client(config);
174
+ * const input = {
175
+ * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read",
176
+ * Bucket: "STRING_VALUE", // required
177
+ * CreateBucketConfiguration: {
178
+ * LocationConstraint: "af-south-1" || "ap-east-1" || "ap-northeast-1" || "ap-northeast-2" || "ap-northeast-3" || "ap-south-1" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ca-central-1" || "cn-north-1" || "cn-northwest-1" || "EU" || "eu-central-1" || "eu-north-1" || "eu-south-1" || "eu-west-1" || "eu-west-2" || "eu-west-3" || "me-south-1" || "sa-east-1" || "us-east-2" || "us-gov-east-1" || "us-gov-west-1" || "us-west-1" || "us-west-2",
179
+ * },
180
+ * GrantFullControl: "STRING_VALUE",
181
+ * GrantRead: "STRING_VALUE",
182
+ * GrantReadACP: "STRING_VALUE",
183
+ * GrantWrite: "STRING_VALUE",
184
+ * GrantWriteACP: "STRING_VALUE",
185
+ * ObjectLockEnabledForBucket: true || false,
186
+ * ObjectOwnership: "BucketOwnerPreferred" || "ObjectWriter" || "BucketOwnerEnforced",
187
+ * };
174
188
  * const command = new CreateBucketCommand(input);
175
189
  * const response = await client.send(command);
176
190
  * ```
@@ -293,6 +293,40 @@ export interface CreateMultipartUploadCommandOutput extends CreateMultipartUploa
293
293
  * import { S3Client, CreateMultipartUploadCommand } from "@aws-sdk/client-s3"; // ES Modules import
294
294
  * // const { S3Client, CreateMultipartUploadCommand } = require("@aws-sdk/client-s3"); // CommonJS import
295
295
  * const client = new S3Client(config);
296
+ * const input = {
297
+ * ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control",
298
+ * Bucket: "STRING_VALUE", // required
299
+ * CacheControl: "STRING_VALUE",
300
+ * ContentDisposition: "STRING_VALUE",
301
+ * ContentEncoding: "STRING_VALUE",
302
+ * ContentLanguage: "STRING_VALUE",
303
+ * ContentType: "STRING_VALUE",
304
+ * Expires: new Date("TIMESTAMP"),
305
+ * GrantFullControl: "STRING_VALUE",
306
+ * GrantRead: "STRING_VALUE",
307
+ * GrantReadACP: "STRING_VALUE",
308
+ * GrantWriteACP: "STRING_VALUE",
309
+ * Key: "STRING_VALUE", // required
310
+ * Metadata: {
311
+ * "<keys>": "STRING_VALUE",
312
+ * },
313
+ * ServerSideEncryption: "AES256" || "aws:kms",
314
+ * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR",
315
+ * WebsiteRedirectLocation: "STRING_VALUE",
316
+ * SSECustomerAlgorithm: "STRING_VALUE",
317
+ * SSECustomerKey: "STRING_VALUE",
318
+ * SSECustomerKeyMD5: "STRING_VALUE",
319
+ * SSEKMSKeyId: "STRING_VALUE",
320
+ * SSEKMSEncryptionContext: "STRING_VALUE",
321
+ * BucketKeyEnabled: true || false,
322
+ * RequestPayer: "requester",
323
+ * Tagging: "STRING_VALUE",
324
+ * ObjectLockMode: "GOVERNANCE" || "COMPLIANCE",
325
+ * ObjectLockRetainUntilDate: new Date("TIMESTAMP"),
326
+ * ObjectLockLegalHoldStatus: "ON" || "OFF",
327
+ * ExpectedBucketOwner: "STRING_VALUE",
328
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
329
+ * };
296
330
  * const command = new CreateMultipartUploadCommand(input);
297
331
  * const response = await client.send(command);
298
332
  * ```
@@ -53,6 +53,11 @@ export interface DeleteBucketAnalyticsConfigurationCommandOutput extends __Metad
53
53
  * import { S3Client, DeleteBucketAnalyticsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
54
54
  * // const { S3Client, DeleteBucketAnalyticsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
55
55
  * const client = new S3Client(config);
56
+ * const input = {
57
+ * Bucket: "STRING_VALUE", // required
58
+ * Id: "STRING_VALUE", // required
59
+ * ExpectedBucketOwner: "STRING_VALUE",
60
+ * };
56
61
  * const command = new DeleteBucketAnalyticsConfigurationCommand(input);
57
62
  * const response = await client.send(command);
58
63
  * ```
@@ -42,6 +42,10 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
42
42
  * import { S3Client, DeleteBucketCommand } from "@aws-sdk/client-s3"; // ES Modules import
43
43
  * // const { S3Client, DeleteBucketCommand } = require("@aws-sdk/client-s3"); // CommonJS import
44
44
  * const client = new S3Client(config);
45
+ * const input = {
46
+ * Bucket: "STRING_VALUE", // required
47
+ * ExpectedBucketOwner: "STRING_VALUE",
48
+ * };
45
49
  * const command = new DeleteBucketCommand(input);
46
50
  * const response = await client.send(command);
47
51
  * ```
@@ -46,6 +46,10 @@ export interface DeleteBucketCorsCommandOutput extends __MetadataBearer {
46
46
  * import { S3Client, DeleteBucketCorsCommand } from "@aws-sdk/client-s3"; // ES Modules import
47
47
  * // const { S3Client, DeleteBucketCorsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
48
48
  * const client = new S3Client(config);
49
+ * const input = {
50
+ * Bucket: "STRING_VALUE", // required
51
+ * ExpectedBucketOwner: "STRING_VALUE",
52
+ * };
49
53
  * const command = new DeleteBucketCorsCommand(input);
50
54
  * const response = await client.send(command);
51
55
  * ```
@@ -48,6 +48,10 @@ export interface DeleteBucketEncryptionCommandOutput extends __MetadataBearer {
48
48
  * import { S3Client, DeleteBucketEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import
49
49
  * // const { S3Client, DeleteBucketEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import
50
50
  * const client = new S3Client(config);
51
+ * const input = {
52
+ * Bucket: "STRING_VALUE", // required
53
+ * ExpectedBucketOwner: "STRING_VALUE",
54
+ * };
51
55
  * const command = new DeleteBucketEncryptionCommand(input);
52
56
  * const response = await client.send(command);
53
57
  * ```
@@ -48,6 +48,10 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extend
48
48
  * import { S3Client, DeleteBucketIntelligentTieringConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
49
49
  * // const { S3Client, DeleteBucketIntelligentTieringConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
50
50
  * const client = new S3Client(config);
51
+ * const input = {
52
+ * Bucket: "STRING_VALUE", // required
53
+ * Id: "STRING_VALUE", // required
54
+ * };
51
55
  * const command = new DeleteBucketIntelligentTieringConfigurationCommand(input);
52
56
  * const response = await client.send(command);
53
57
  * ```
@@ -51,6 +51,11 @@ export interface DeleteBucketInventoryConfigurationCommandOutput extends __Metad
51
51
  * import { S3Client, DeleteBucketInventoryConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
52
52
  * // const { S3Client, DeleteBucketInventoryConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
53
53
  * const client = new S3Client(config);
54
+ * const input = {
55
+ * Bucket: "STRING_VALUE", // required
56
+ * Id: "STRING_VALUE", // required
57
+ * ExpectedBucketOwner: "STRING_VALUE",
58
+ * };
54
59
  * const command = new DeleteBucketInventoryConfigurationCommand(input);
55
60
  * const response = await client.send(command);
56
61
  * ```
@@ -49,6 +49,10 @@ export interface DeleteBucketLifecycleCommandOutput extends __MetadataBearer {
49
49
  * import { S3Client, DeleteBucketLifecycleCommand } from "@aws-sdk/client-s3"; // ES Modules import
50
50
  * // const { S3Client, DeleteBucketLifecycleCommand } = require("@aws-sdk/client-s3"); // CommonJS import
51
51
  * const client = new S3Client(config);
52
+ * const input = {
53
+ * Bucket: "STRING_VALUE", // required
54
+ * ExpectedBucketOwner: "STRING_VALUE",
55
+ * };
52
56
  * const command = new DeleteBucketLifecycleCommand(input);
53
57
  * const response = await client.send(command);
54
58
  * ```
@@ -59,6 +59,11 @@ export interface DeleteBucketMetricsConfigurationCommandOutput extends __Metadat
59
59
  * import { S3Client, DeleteBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
60
60
  * // const { S3Client, DeleteBucketMetricsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
61
61
  * const client = new S3Client(config);
62
+ * const input = {
63
+ * Bucket: "STRING_VALUE", // required
64
+ * Id: "STRING_VALUE", // required
65
+ * ExpectedBucketOwner: "STRING_VALUE",
66
+ * };
62
67
  * const command = new DeleteBucketMetricsConfigurationCommand(input);
63
68
  * const response = await client.send(command);
64
69
  * ```
@@ -44,6 +44,10 @@ export interface DeleteBucketOwnershipControlsCommandOutput extends __MetadataBe
44
44
  * import { S3Client, DeleteBucketOwnershipControlsCommand } from "@aws-sdk/client-s3"; // ES Modules import
45
45
  * // const { S3Client, DeleteBucketOwnershipControlsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
46
46
  * const client = new S3Client(config);
47
+ * const input = {
48
+ * Bucket: "STRING_VALUE", // required
49
+ * ExpectedBucketOwner: "STRING_VALUE",
50
+ * };
47
51
  * const command = new DeleteBucketOwnershipControlsCommand(input);
48
52
  * const response = await client.send(command);
49
53
  * ```
@@ -55,6 +55,10 @@ export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {
55
55
  * import { S3Client, DeleteBucketPolicyCommand } from "@aws-sdk/client-s3"; // ES Modules import
56
56
  * // const { S3Client, DeleteBucketPolicyCommand } = require("@aws-sdk/client-s3"); // CommonJS import
57
57
  * const client = new S3Client(config);
58
+ * const input = {
59
+ * Bucket: "STRING_VALUE", // required
60
+ * ExpectedBucketOwner: "STRING_VALUE",
61
+ * };
58
62
  * const command = new DeleteBucketPolicyCommand(input);
59
63
  * const response = await client.send(command);
60
64
  * ```
@@ -49,6 +49,10 @@ export interface DeleteBucketReplicationCommandOutput extends __MetadataBearer {
49
49
  * import { S3Client, DeleteBucketReplicationCommand } from "@aws-sdk/client-s3"; // ES Modules import
50
50
  * // const { S3Client, DeleteBucketReplicationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
51
51
  * const client = new S3Client(config);
52
+ * const input = {
53
+ * Bucket: "STRING_VALUE", // required
54
+ * ExpectedBucketOwner: "STRING_VALUE",
55
+ * };
52
56
  * const command = new DeleteBucketReplicationCommand(input);
53
57
  * const response = await client.send(command);
54
58
  * ```
@@ -42,6 +42,10 @@ export interface DeleteBucketTaggingCommandOutput extends __MetadataBearer {
42
42
  * import { S3Client, DeleteBucketTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
43
43
  * // const { S3Client, DeleteBucketTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
44
44
  * const client = new S3Client(config);
45
+ * const input = {
46
+ * Bucket: "STRING_VALUE", // required
47
+ * ExpectedBucketOwner: "STRING_VALUE",
48
+ * };
45
49
  * const command = new DeleteBucketTaggingCommand(input);
46
50
  * const response = await client.send(command);
47
51
  * ```
@@ -49,6 +49,10 @@ export interface DeleteBucketWebsiteCommandOutput extends __MetadataBearer {
49
49
  * import { S3Client, DeleteBucketWebsiteCommand } from "@aws-sdk/client-s3"; // ES Modules import
50
50
  * // const { S3Client, DeleteBucketWebsiteCommand } = require("@aws-sdk/client-s3"); // CommonJS import
51
51
  * const client = new S3Client(config);
52
+ * const input = {
53
+ * Bucket: "STRING_VALUE", // required
54
+ * ExpectedBucketOwner: "STRING_VALUE",
55
+ * };
52
56
  * const command = new DeleteBucketWebsiteCommand(input);
53
57
  * const response = await client.send(command);
54
58
  * ```
@@ -51,6 +51,15 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
51
51
  * import { S3Client, DeleteObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
52
52
  * // const { S3Client, DeleteObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
53
53
  * const client = new S3Client(config);
54
+ * const input = {
55
+ * Bucket: "STRING_VALUE", // required
56
+ * Key: "STRING_VALUE", // required
57
+ * MFA: "STRING_VALUE",
58
+ * VersionId: "STRING_VALUE",
59
+ * RequestPayer: "requester",
60
+ * BypassGovernanceRetention: true || false,
61
+ * ExpectedBucketOwner: "STRING_VALUE",
62
+ * };
54
63
  * const command = new DeleteObjectCommand(input);
55
64
  * const response = await client.send(command);
56
65
  * ```
@@ -47,6 +47,12 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut
47
47
  * import { S3Client, DeleteObjectTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
48
48
  * // const { S3Client, DeleteObjectTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
49
49
  * const client = new S3Client(config);
50
+ * const input = {
51
+ * Bucket: "STRING_VALUE", // required
52
+ * Key: "STRING_VALUE", // required
53
+ * VersionId: "STRING_VALUE",
54
+ * ExpectedBucketOwner: "STRING_VALUE",
55
+ * };
50
56
  * const command = new DeleteObjectTaggingCommand(input);
51
57
  * const response = await client.send(command);
52
58
  * ```
@@ -77,6 +77,23 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
77
77
  * import { S3Client, DeleteObjectsCommand } from "@aws-sdk/client-s3"; // ES Modules import
78
78
  * // const { S3Client, DeleteObjectsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
79
79
  * const client = new S3Client(config);
80
+ * const input = {
81
+ * Bucket: "STRING_VALUE", // required
82
+ * Delete: {
83
+ * Objects: [ // required
84
+ * {
85
+ * Key: "STRING_VALUE", // required
86
+ * VersionId: "STRING_VALUE",
87
+ * },
88
+ * ],
89
+ * Quiet: true || false,
90
+ * },
91
+ * MFA: "STRING_VALUE",
92
+ * RequestPayer: "requester",
93
+ * BypassGovernanceRetention: true || false,
94
+ * ExpectedBucketOwner: "STRING_VALUE",
95
+ * ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
96
+ * };
80
97
  * const command = new DeleteObjectsCommand(input);
81
98
  * const response = await client.send(command);
82
99
  * ```
@@ -53,6 +53,10 @@ export interface DeletePublicAccessBlockCommandOutput extends __MetadataBearer {
53
53
  * import { S3Client, DeletePublicAccessBlockCommand } from "@aws-sdk/client-s3"; // ES Modules import
54
54
  * // const { S3Client, DeletePublicAccessBlockCommand } = require("@aws-sdk/client-s3"); // CommonJS import
55
55
  * const client = new S3Client(config);
56
+ * const input = {
57
+ * Bucket: "STRING_VALUE", // required
58
+ * ExpectedBucketOwner: "STRING_VALUE",
59
+ * };
56
60
  * const command = new DeletePublicAccessBlockCommand(input);
57
61
  * const response = await client.send(command);
58
62
  * ```
@@ -51,6 +51,10 @@ export interface GetBucketAccelerateConfigurationCommandOutput extends GetBucket
51
51
  * import { S3Client, GetBucketAccelerateConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
52
52
  * // const { S3Client, GetBucketAccelerateConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
53
53
  * const client = new S3Client(config);
54
+ * const input = {
55
+ * Bucket: "STRING_VALUE", // required
56
+ * ExpectedBucketOwner: "STRING_VALUE",
57
+ * };
54
58
  * const command = new GetBucketAccelerateConfigurationCommand(input);
55
59
  * const response = await client.send(command);
56
60
  * ```
@@ -47,6 +47,10 @@ export interface GetBucketAclCommandOutput extends GetBucketAclOutput, __Metadat
47
47
  * import { S3Client, GetBucketAclCommand } from "@aws-sdk/client-s3"; // ES Modules import
48
48
  * // const { S3Client, GetBucketAclCommand } = require("@aws-sdk/client-s3"); // CommonJS import
49
49
  * const client = new S3Client(config);
50
+ * const input = {
51
+ * Bucket: "STRING_VALUE", // required
52
+ * ExpectedBucketOwner: "STRING_VALUE",
53
+ * };
50
54
  * const command = new GetBucketAclCommand(input);
51
55
  * const response = await client.send(command);
52
56
  * ```
@@ -54,6 +54,11 @@ export interface GetBucketAnalyticsConfigurationCommandOutput extends GetBucketA
54
54
  * import { S3Client, GetBucketAnalyticsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
55
55
  * // const { S3Client, GetBucketAnalyticsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
56
56
  * const client = new S3Client(config);
57
+ * const input = {
58
+ * Bucket: "STRING_VALUE", // required
59
+ * Id: "STRING_VALUE", // required
60
+ * ExpectedBucketOwner: "STRING_VALUE",
61
+ * };
57
62
  * const command = new GetBucketAnalyticsConfigurationCommand(input);
58
63
  * const response = await client.send(command);
59
64
  * ```
@@ -45,6 +45,10 @@ export interface GetBucketCorsCommandOutput extends GetBucketCorsOutput, __Metad
45
45
  * import { S3Client, GetBucketCorsCommand } from "@aws-sdk/client-s3"; // ES Modules import
46
46
  * // const { S3Client, GetBucketCorsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
47
47
  * const client = new S3Client(config);
48
+ * const input = {
49
+ * Bucket: "STRING_VALUE", // required
50
+ * ExpectedBucketOwner: "STRING_VALUE",
51
+ * };
48
52
  * const command = new GetBucketCorsCommand(input);
49
53
  * const response = await client.send(command);
50
54
  * ```
@@ -47,6 +47,10 @@ export interface GetBucketEncryptionCommandOutput extends GetBucketEncryptionOut
47
47
  * import { S3Client, GetBucketEncryptionCommand } from "@aws-sdk/client-s3"; // ES Modules import
48
48
  * // const { S3Client, GetBucketEncryptionCommand } = require("@aws-sdk/client-s3"); // CommonJS import
49
49
  * const client = new S3Client(config);
50
+ * const input = {
51
+ * Bucket: "STRING_VALUE", // required
52
+ * ExpectedBucketOwner: "STRING_VALUE",
53
+ * };
50
54
  * const command = new GetBucketEncryptionCommand(input);
51
55
  * const response = await client.send(command);
52
56
  * ```
@@ -48,6 +48,10 @@ export interface GetBucketIntelligentTieringConfigurationCommandOutput extends G
48
48
  * import { S3Client, GetBucketIntelligentTieringConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
49
49
  * // const { S3Client, GetBucketIntelligentTieringConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
50
50
  * const client = new S3Client(config);
51
+ * const input = {
52
+ * Bucket: "STRING_VALUE", // required
53
+ * Id: "STRING_VALUE", // required
54
+ * };
51
55
  * const command = new GetBucketIntelligentTieringConfigurationCommand(input);
52
56
  * const response = await client.send(command);
53
57
  * ```
@@ -52,6 +52,11 @@ export interface GetBucketInventoryConfigurationCommandOutput extends GetBucketI
52
52
  * import { S3Client, GetBucketInventoryConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
53
53
  * // const { S3Client, GetBucketInventoryConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
54
54
  * const client = new S3Client(config);
55
+ * const input = {
56
+ * Bucket: "STRING_VALUE", // required
57
+ * Id: "STRING_VALUE", // required
58
+ * ExpectedBucketOwner: "STRING_VALUE",
59
+ * };
55
60
  * const command = new GetBucketInventoryConfigurationCommand(input);
56
61
  * const response = await client.send(command);
57
62
  * ```
@@ -79,6 +79,10 @@ export interface GetBucketLifecycleConfigurationCommandOutput extends GetBucketL
79
79
  * import { S3Client, GetBucketLifecycleConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
80
80
  * // const { S3Client, GetBucketLifecycleConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
81
81
  * const client = new S3Client(config);
82
+ * const input = {
83
+ * Bucket: "STRING_VALUE", // required
84
+ * ExpectedBucketOwner: "STRING_VALUE",
85
+ * };
82
86
  * const command = new GetBucketLifecycleConfigurationCommand(input);
83
87
  * const response = await client.send(command);
84
88
  * ```
@@ -43,6 +43,10 @@ export interface GetBucketLocationCommandOutput extends GetBucketLocationOutput,
43
43
  * import { S3Client, GetBucketLocationCommand } from "@aws-sdk/client-s3"; // ES Modules import
44
44
  * // const { S3Client, GetBucketLocationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
45
45
  * const client = new S3Client(config);
46
+ * const input = {
47
+ * Bucket: "STRING_VALUE", // required
48
+ * ExpectedBucketOwner: "STRING_VALUE",
49
+ * };
46
50
  * const command = new GetBucketLocationCommand(input);
47
51
  * const response = await client.send(command);
48
52
  * ```
@@ -40,6 +40,10 @@ export interface GetBucketLoggingCommandOutput extends GetBucketLoggingOutput, _
40
40
  * import { S3Client, GetBucketLoggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
41
41
  * // const { S3Client, GetBucketLoggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
42
42
  * const client = new S3Client(config);
43
+ * const input = {
44
+ * Bucket: "STRING_VALUE", // required
45
+ * ExpectedBucketOwner: "STRING_VALUE",
46
+ * };
43
47
  * const command = new GetBucketLoggingCommand(input);
44
48
  * const response = await client.send(command);
45
49
  * ```
@@ -59,6 +59,11 @@ export interface GetBucketMetricsConfigurationCommandOutput extends GetBucketMet
59
59
  * import { S3Client, GetBucketMetricsConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
60
60
  * // const { S3Client, GetBucketMetricsConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
61
61
  * const client = new S3Client(config);
62
+ * const input = {
63
+ * Bucket: "STRING_VALUE", // required
64
+ * Id: "STRING_VALUE", // required
65
+ * ExpectedBucketOwner: "STRING_VALUE",
66
+ * };
62
67
  * const command = new GetBucketMetricsConfigurationCommand(input);
63
68
  * const response = await client.send(command);
64
69
  * ```
@@ -43,6 +43,10 @@ export interface GetBucketNotificationConfigurationCommandOutput extends Notific
43
43
  * import { S3Client, GetBucketNotificationConfigurationCommand } from "@aws-sdk/client-s3"; // ES Modules import
44
44
  * // const { S3Client, GetBucketNotificationConfigurationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
45
45
  * const client = new S3Client(config);
46
+ * const input = {
47
+ * Bucket: "STRING_VALUE", // required
48
+ * ExpectedBucketOwner: "STRING_VALUE",
49
+ * };
46
50
  * const command = new GetBucketNotificationConfigurationCommand(input);
47
51
  * const response = await client.send(command);
48
52
  * ```
@@ -43,6 +43,10 @@ export interface GetBucketOwnershipControlsCommandOutput extends GetBucketOwners
43
43
  * import { S3Client, GetBucketOwnershipControlsCommand } from "@aws-sdk/client-s3"; // ES Modules import
44
44
  * // const { S3Client, GetBucketOwnershipControlsCommand } = require("@aws-sdk/client-s3"); // CommonJS import
45
45
  * const client = new S3Client(config);
46
+ * const input = {
47
+ * Bucket: "STRING_VALUE", // required
48
+ * ExpectedBucketOwner: "STRING_VALUE",
49
+ * };
46
50
  * const command = new GetBucketOwnershipControlsCommand(input);
47
51
  * const response = await client.send(command);
48
52
  * ```
@@ -48,6 +48,10 @@ export interface GetBucketPolicyCommandOutput extends GetBucketPolicyOutput, __M
48
48
  * import { S3Client, GetBucketPolicyCommand } from "@aws-sdk/client-s3"; // ES Modules import
49
49
  * // const { S3Client, GetBucketPolicyCommand } = require("@aws-sdk/client-s3"); // CommonJS import
50
50
  * const client = new S3Client(config);
51
+ * const input = {
52
+ * Bucket: "STRING_VALUE", // required
53
+ * ExpectedBucketOwner: "STRING_VALUE",
54
+ * };
51
55
  * const command = new GetBucketPolicyCommand(input);
52
56
  * const response = await client.send(command);
53
57
  * ```
@@ -54,6 +54,10 @@ export interface GetBucketPolicyStatusCommandOutput extends GetBucketPolicyStatu
54
54
  * import { S3Client, GetBucketPolicyStatusCommand } from "@aws-sdk/client-s3"; // ES Modules import
55
55
  * // const { S3Client, GetBucketPolicyStatusCommand } = require("@aws-sdk/client-s3"); // CommonJS import
56
56
  * const client = new S3Client(config);
57
+ * const input = {
58
+ * Bucket: "STRING_VALUE", // required
59
+ * ExpectedBucketOwner: "STRING_VALUE",
60
+ * };
57
61
  * const command = new GetBucketPolicyStatusCommand(input);
58
62
  * const response = await client.send(command);
59
63
  * ```
@@ -55,6 +55,10 @@ export interface GetBucketReplicationCommandOutput extends GetBucketReplicationO
55
55
  * import { S3Client, GetBucketReplicationCommand } from "@aws-sdk/client-s3"; // ES Modules import
56
56
  * // const { S3Client, GetBucketReplicationCommand } = require("@aws-sdk/client-s3"); // CommonJS import
57
57
  * const client = new S3Client(config);
58
+ * const input = {
59
+ * Bucket: "STRING_VALUE", // required
60
+ * ExpectedBucketOwner: "STRING_VALUE",
61
+ * };
58
62
  * const command = new GetBucketReplicationCommand(input);
59
63
  * const response = await client.send(command);
60
64
  * ```
@@ -35,6 +35,10 @@ export interface GetBucketRequestPaymentCommandOutput extends GetBucketRequestPa
35
35
  * import { S3Client, GetBucketRequestPaymentCommand } from "@aws-sdk/client-s3"; // ES Modules import
36
36
  * // const { S3Client, GetBucketRequestPaymentCommand } = require("@aws-sdk/client-s3"); // CommonJS import
37
37
  * const client = new S3Client(config);
38
+ * const input = {
39
+ * Bucket: "STRING_VALUE", // required
40
+ * ExpectedBucketOwner: "STRING_VALUE",
41
+ * };
38
42
  * const command = new GetBucketRequestPaymentCommand(input);
39
43
  * const response = await client.send(command);
40
44
  * ```
@@ -55,6 +55,10 @@ export interface GetBucketTaggingCommandOutput extends GetBucketTaggingOutput, _
55
55
  * import { S3Client, GetBucketTaggingCommand } from "@aws-sdk/client-s3"; // ES Modules import
56
56
  * // const { S3Client, GetBucketTaggingCommand } = require("@aws-sdk/client-s3"); // CommonJS import
57
57
  * const client = new S3Client(config);
58
+ * const input = {
59
+ * Bucket: "STRING_VALUE", // required
60
+ * ExpectedBucketOwner: "STRING_VALUE",
61
+ * };
58
62
  * const command = new GetBucketTaggingCommand(input);
59
63
  * const response = await client.send(command);
60
64
  * ```