@aws-sdk/client-s3 3.774.0 → 3.777.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 (105) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/S3Client.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +9 -6
  8. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +16 -16
  9. package/dist-types/commands/CopyObjectCommand.d.ts +9 -9
  10. package/dist-types/commands/CreateBucketCommand.d.ts +15 -16
  11. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +8 -8
  13. package/dist-types/commands/CreateSessionCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -0
  15. package/dist-types/commands/DeleteBucketCommand.d.ts +7 -4
  16. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +7 -4
  17. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  19. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +7 -4
  21. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -0
  22. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -0
  24. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +7 -4
  25. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +7 -4
  26. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +7 -4
  27. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -4
  28. package/dist-types/commands/DeleteObjectCommand.d.ts +18 -13
  29. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -12
  30. package/dist-types/commands/DeleteObjectsCommand.d.ts +30 -31
  31. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
  32. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -0
  33. package/dist-types/commands/GetBucketAclCommand.d.ts +1 -0
  34. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -0
  35. package/dist-types/commands/GetBucketCorsCommand.d.ts +9 -9
  36. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -0
  37. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  38. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -0
  39. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +11 -11
  40. package/dist-types/commands/GetBucketLocationCommand.d.ts +5 -5
  41. package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -0
  42. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -0
  43. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -0
  44. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -0
  45. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -0
  46. package/dist-types/commands/GetBucketPolicyCommand.d.ts +5 -5
  47. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -0
  48. package/dist-types/commands/GetBucketReplicationCommand.d.ts +12 -12
  49. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +5 -5
  50. package/dist-types/commands/GetBucketTaggingCommand.d.ts +9 -9
  51. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -6
  52. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +8 -8
  53. package/dist-types/commands/GetObjectAclCommand.d.ts +29 -29
  54. package/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -0
  55. package/dist-types/commands/GetObjectCommand.d.ts +44 -30
  56. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -0
  57. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -0
  58. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -0
  59. package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -20
  60. package/dist-types/commands/GetObjectTorrentCommand.d.ts +18 -5
  61. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -0
  62. package/dist-types/commands/HeadBucketCommand.d.ts +7 -4
  63. package/dist-types/commands/HeadObjectCommand.d.ts +12 -12
  64. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -0
  65. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  66. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -0
  67. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -0
  68. package/dist-types/commands/ListBucketsCommand.d.ts +14 -14
  69. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +1 -0
  70. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +62 -63
  71. package/dist-types/commands/ListObjectVersionsCommand.d.ts +26 -26
  72. package/dist-types/commands/ListObjectsCommand.d.ts +23 -23
  73. package/dist-types/commands/ListObjectsV2Command.d.ts +22 -22
  74. package/dist-types/commands/ListPartsCommand.d.ts +22 -22
  75. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -0
  76. package/dist-types/commands/PutBucketAclCommand.d.ts +9 -6
  77. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -0
  78. package/dist-types/commands/PutBucketCorsCommand.d.ts +19 -16
  79. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -0
  80. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  81. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -0
  82. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +18 -15
  83. package/dist-types/commands/PutBucketLoggingCommand.d.ts +16 -13
  84. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -0
  85. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +11 -8
  86. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
  87. package/dist-types/commands/PutBucketPolicyCommand.d.ts +8 -5
  88. package/dist-types/commands/PutBucketReplicationCommand.d.ts +15 -12
  89. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +9 -6
  90. package/dist-types/commands/PutBucketTaggingCommand.d.ts +13 -10
  91. package/dist-types/commands/PutBucketVersioningCommand.d.ts +10 -7
  92. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +13 -10
  93. package/dist-types/commands/PutObjectAclCommand.d.ts +11 -8
  94. package/dist-types/commands/PutObjectCommand.d.ts +68 -74
  95. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -0
  96. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -0
  97. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -0
  98. package/dist-types/commands/PutObjectTaggingCommand.d.ts +12 -12
  99. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
  100. package/dist-types/commands/RestoreObjectCommand.d.ts +12 -9
  101. package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -0
  102. package/dist-types/commands/UploadPartCommand.d.ts +9 -9
  103. package/dist-types/commands/UploadPartCopyCommand.d.ts +21 -22
  104. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -0
  105. package/package.json +50 -50
@@ -228,107 +228,106 @@ declare const ListMultipartUploadsCommand_base: {
228
228
  * @throws {@link S3ServiceException}
229
229
  * <p>Base exception class for all service exceptions from S3 service.</p>
230
230
  *
231
- * @public
232
- * @example To list in-progress multipart uploads on a bucket
231
+ *
232
+ * @example List next set of multipart uploads when previous result is truncated
233
233
  * ```javascript
234
- * // The following example lists in-progress multipart uploads on a specific bucket.
234
+ * // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
235
235
  * const input = {
236
- * "Bucket": "examplebucket"
236
+ * Bucket: "examplebucket",
237
+ * KeyMarker: "nextkeyfrompreviousresponse",
238
+ * MaxUploads: 2,
239
+ * UploadIdMarker: "valuefrompreviousresponse"
237
240
  * };
238
241
  * const command = new ListMultipartUploadsCommand(input);
239
242
  * const response = await client.send(command);
240
- * /* response ==
243
+ * /* response is
241
244
  * {
242
- * "Uploads": [
245
+ * Bucket: "acl1",
246
+ * IsTruncated: true,
247
+ * KeyMarker: "",
248
+ * MaxUploads: 2,
249
+ * NextKeyMarker: "someobjectkey",
250
+ * NextUploadIdMarker: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
251
+ * UploadIdMarker: "",
252
+ * Uploads: [
243
253
  * {
244
- * "Initiated": "2014-05-01T05:40:58.000Z",
245
- * "Initiator": {
246
- * "DisplayName": "display-name",
247
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
254
+ * Initiated: "2014-05-01T05:40:58.000Z",
255
+ * Initiator: {
256
+ * DisplayName: "ownder-display-name",
257
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
248
258
  * },
249
- * "Key": "JavaFile",
250
- * "Owner": {
251
- * "DisplayName": "display-name",
252
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
259
+ * Key: "JavaFile",
260
+ * Owner: {
261
+ * DisplayName: "mohanataws",
262
+ * ID: "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
253
263
  * },
254
- * "StorageClass": "STANDARD",
255
- * "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
264
+ * StorageClass: "STANDARD",
265
+ * UploadId: "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
256
266
  * },
257
267
  * {
258
- * "Initiated": "2014-05-01T05:41:27.000Z",
259
- * "Initiator": {
260
- * "DisplayName": "display-name",
261
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
268
+ * Initiated: "2014-05-01T05:41:27.000Z",
269
+ * Initiator: {
270
+ * DisplayName: "ownder-display-name",
271
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
262
272
  * },
263
- * "Key": "JavaFile",
264
- * "Owner": {
265
- * "DisplayName": "display-name",
266
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
273
+ * Key: "JavaFile",
274
+ * Owner: {
275
+ * DisplayName: "ownder-display-name",
276
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
267
277
  * },
268
- * "StorageClass": "STANDARD",
269
- * "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
278
+ * StorageClass: "STANDARD",
279
+ * UploadId: "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
270
280
  * }
271
281
  * ]
272
282
  * }
273
283
  * *\/
274
- * // example id: to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260
275
284
  * ```
276
285
  *
277
- * @example List next set of multipart uploads when previous result is truncated
286
+ * @example To list in-progress multipart uploads on a bucket
278
287
  * ```javascript
279
- * // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
288
+ * // The following example lists in-progress multipart uploads on a specific bucket.
280
289
  * const input = {
281
- * "Bucket": "examplebucket",
282
- * "KeyMarker": "nextkeyfrompreviousresponse",
283
- * "MaxUploads": "2",
284
- * "UploadIdMarker": "valuefrompreviousresponse"
290
+ * Bucket: "examplebucket"
285
291
  * };
286
292
  * const command = new ListMultipartUploadsCommand(input);
287
293
  * const response = await client.send(command);
288
- * /* response ==
294
+ * /* response is
289
295
  * {
290
- * "Bucket": "acl1",
291
- * "IsTruncated": true,
292
- * "KeyMarker": "",
293
- * "MaxUploads": "2",
294
- * "NextKeyMarker": "someobjectkey",
295
- * "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
296
- * "UploadIdMarker": "",
297
- * "Uploads": [
296
+ * Uploads: [
298
297
  * {
299
- * "Initiated": "2014-05-01T05:40:58.000Z",
300
- * "Initiator": {
301
- * "DisplayName": "ownder-display-name",
302
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
298
+ * Initiated: "2014-05-01T05:40:58.000Z",
299
+ * Initiator: {
300
+ * DisplayName: "display-name",
301
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
303
302
  * },
304
- * "Key": "JavaFile",
305
- * "Owner": {
306
- * "DisplayName": "mohanataws",
307
- * "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
303
+ * Key: "JavaFile",
304
+ * Owner: {
305
+ * DisplayName: "display-name",
306
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
308
307
  * },
309
- * "StorageClass": "STANDARD",
310
- * "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
308
+ * StorageClass: "STANDARD",
309
+ * UploadId: "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
311
310
  * },
312
311
  * {
313
- * "Initiated": "2014-05-01T05:41:27.000Z",
314
- * "Initiator": {
315
- * "DisplayName": "ownder-display-name",
316
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
312
+ * Initiated: "2014-05-01T05:41:27.000Z",
313
+ * Initiator: {
314
+ * DisplayName: "display-name",
315
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
317
316
  * },
318
- * "Key": "JavaFile",
319
- * "Owner": {
320
- * "DisplayName": "ownder-display-name",
321
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
317
+ * Key: "JavaFile",
318
+ * Owner: {
319
+ * DisplayName: "display-name",
320
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
322
321
  * },
323
- * "StorageClass": "STANDARD",
324
- * "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
322
+ * StorageClass: "STANDARD",
323
+ * UploadId: "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
325
324
  * }
326
325
  * ]
327
326
  * }
328
327
  * *\/
329
- * // example id: list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748
330
328
  * ```
331
329
  *
330
+ * @public
332
331
  */
333
332
  export declare class ListMultipartUploadsCommand extends ListMultipartUploadsCommand_base {
334
333
  /** @internal type navigation helper, not in runtime. */
@@ -153,51 +153,51 @@ declare const ListObjectVersionsCommand_base: {
153
153
  * @throws {@link S3ServiceException}
154
154
  * <p>Base exception class for all service exceptions from S3 service.</p>
155
155
  *
156
- * @public
156
+ *
157
157
  * @example To list object versions
158
158
  * ```javascript
159
159
  * // The following example returns versions of an object with specific key name prefix.
160
160
  * const input = {
161
- * "Bucket": "examplebucket",
162
- * "Prefix": "HappyFace.jpg"
161
+ * Bucket: "examplebucket",
162
+ * Prefix: "HappyFace.jpg"
163
163
  * };
164
164
  * const command = new ListObjectVersionsCommand(input);
165
165
  * const response = await client.send(command);
166
- * /* response ==
166
+ * /* response is
167
167
  * {
168
- * "Versions": [
168
+ * Versions: [
169
169
  * {
170
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
171
- * "IsLatest": true,
172
- * "Key": "HappyFace.jpg",
173
- * "LastModified": "2016-12-15T01:19:41.000Z",
174
- * "Owner": {
175
- * "DisplayName": "owner-display-name",
176
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
170
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
171
+ * IsLatest: true,
172
+ * Key: "HappyFace.jpg",
173
+ * LastModified: "2016-12-15T01:19:41.000Z",
174
+ * Owner: {
175
+ * DisplayName: "owner-display-name",
176
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
177
177
  * },
178
- * "Size": 3191,
179
- * "StorageClass": "STANDARD",
180
- * "VersionId": "null"
178
+ * Size: 3191,
179
+ * StorageClass: "STANDARD",
180
+ * VersionId: "null"
181
181
  * },
182
182
  * {
183
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
184
- * "IsLatest": false,
185
- * "Key": "HappyFace.jpg",
186
- * "LastModified": "2016-12-13T00:58:26.000Z",
187
- * "Owner": {
188
- * "DisplayName": "owner-display-name",
189
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
183
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
184
+ * IsLatest: false,
185
+ * Key: "HappyFace.jpg",
186
+ * LastModified: "2016-12-13T00:58:26.000Z",
187
+ * Owner: {
188
+ * DisplayName: "owner-display-name",
189
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
190
190
  * },
191
- * "Size": 3191,
192
- * "StorageClass": "STANDARD",
193
- * "VersionId": "PHtexPGjH2y.zBgT8LmB7wwLI2mpbz.k"
191
+ * Size: 3191,
192
+ * StorageClass: "STANDARD",
193
+ * VersionId: "PHtexPGjH2y.zBgT8LmB7wwLI2mpbz.k"
194
194
  * }
195
195
  * ]
196
196
  * }
197
197
  * *\/
198
- * // example id: to-list-object-versions-1481910996058
199
198
  * ```
200
199
  *
200
+ * @public
201
201
  */
202
202
  export declare class ListObjectVersionsCommand extends ListObjectVersionsCommand_base {
203
203
  /** @internal type navigation helper, not in runtime. */
@@ -139,48 +139,48 @@ declare const ListObjectsCommand_base: {
139
139
  * @throws {@link S3ServiceException}
140
140
  * <p>Base exception class for all service exceptions from S3 service.</p>
141
141
  *
142
- * @public
142
+ *
143
143
  * @example To list objects in a bucket
144
144
  * ```javascript
145
145
  * // The following example list two objects in a bucket.
146
146
  * const input = {
147
- * "Bucket": "examplebucket",
148
- * "MaxKeys": "2"
147
+ * Bucket: "examplebucket",
148
+ * MaxKeys: 2
149
149
  * };
150
150
  * const command = new ListObjectsCommand(input);
151
151
  * const response = await client.send(command);
152
- * /* response ==
152
+ * /* response is
153
153
  * {
154
- * "Contents": [
154
+ * Contents: [
155
155
  * {
156
- * "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"",
157
- * "Key": "example1.jpg",
158
- * "LastModified": "2014-11-21T19:40:05.000Z",
159
- * "Owner": {
160
- * "DisplayName": "myname",
161
- * "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
156
+ * ETag: `"70ee1738b6b21e2c8a43f3a5ab0eee71"`,
157
+ * Key: "example1.jpg",
158
+ * LastModified: "2014-11-21T19:40:05.000Z",
159
+ * Owner: {
160
+ * DisplayName: "myname",
161
+ * ID: "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
162
162
  * },
163
- * "Size": 11,
164
- * "StorageClass": "STANDARD"
163
+ * Size: 11,
164
+ * StorageClass: "STANDARD"
165
165
  * },
166
166
  * {
167
- * "ETag": "\"9c8af9a76df052144598c115ef33e511\"",
168
- * "Key": "example2.jpg",
169
- * "LastModified": "2013-11-15T01:10:49.000Z",
170
- * "Owner": {
171
- * "DisplayName": "myname",
172
- * "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
167
+ * ETag: `"9c8af9a76df052144598c115ef33e511"`,
168
+ * Key: "example2.jpg",
169
+ * LastModified: "2013-11-15T01:10:49.000Z",
170
+ * Owner: {
171
+ * DisplayName: "myname",
172
+ * ID: "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
173
173
  * },
174
- * "Size": 713193,
175
- * "StorageClass": "STANDARD"
174
+ * Size: 713193,
175
+ * StorageClass: "STANDARD"
176
176
  * }
177
177
  * ],
178
- * "NextMarker": "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ=="
178
+ * NextMarker: "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ=="
179
179
  * }
180
180
  * *\/
181
- * // example id: to-list-objects-in-a-bucket-1473447646507
182
181
  * ```
183
182
  *
183
+ * @public
184
184
  */
185
185
  export declare class ListObjectsCommand extends ListObjectsCommand_base {
186
186
  /** @internal type navigation helper, not in runtime. */
@@ -207,45 +207,45 @@ declare const ListObjectsV2Command_base: {
207
207
  * @throws {@link S3ServiceException}
208
208
  * <p>Base exception class for all service exceptions from S3 service.</p>
209
209
  *
210
- * @public
210
+ *
211
211
  * @example To get object list
212
212
  * ```javascript
213
213
  * // The following example retrieves object list. The request specifies max keys to limit response to include only 2 object keys.
214
214
  * const input = {
215
- * "Bucket": "DOC-EXAMPLE-BUCKET",
216
- * "MaxKeys": "2"
215
+ * Bucket: "DOC-EXAMPLE-BUCKET",
216
+ * MaxKeys: 2
217
217
  * };
218
218
  * const command = new ListObjectsV2Command(input);
219
219
  * const response = await client.send(command);
220
- * /* response ==
220
+ * /* response is
221
221
  * {
222
- * "Contents": [
222
+ * Contents: [
223
223
  * {
224
- * "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"",
225
- * "Key": "happyface.jpg",
226
- * "LastModified": "2014-11-21T19:40:05.000Z",
227
- * "Size": 11,
228
- * "StorageClass": "STANDARD"
224
+ * ETag: `"70ee1738b6b21e2c8a43f3a5ab0eee71"`,
225
+ * Key: "happyface.jpg",
226
+ * LastModified: "2014-11-21T19:40:05.000Z",
227
+ * Size: 11,
228
+ * StorageClass: "STANDARD"
229
229
  * },
230
230
  * {
231
- * "ETag": "\"becf17f89c30367a9a44495d62ed521a-1\"",
232
- * "Key": "test.jpg",
233
- * "LastModified": "2014-05-02T04:51:50.000Z",
234
- * "Size": 4192256,
235
- * "StorageClass": "STANDARD"
231
+ * ETag: `"becf17f89c30367a9a44495d62ed521a-1"`,
232
+ * Key: "test.jpg",
233
+ * LastModified: "2014-05-02T04:51:50.000Z",
234
+ * Size: 4192256,
235
+ * StorageClass: "STANDARD"
236
236
  * }
237
237
  * ],
238
- * "IsTruncated": true,
239
- * "KeyCount": "2",
240
- * "MaxKeys": "2",
241
- * "Name": "DOC-EXAMPLE-BUCKET",
242
- * "NextContinuationToken": "1w41l63U0xa8q7smH50vCxyTQqdxo69O3EmK28Bi5PcROI4wI/EyIJg==",
243
- * "Prefix": ""
238
+ * IsTruncated: true,
239
+ * KeyCount: 2,
240
+ * MaxKeys: 2,
241
+ * Name: "DOC-EXAMPLE-BUCKET",
242
+ * NextContinuationToken: "1w41l63U0xa8q7smH50vCxyTQqdxo69O3EmK28Bi5PcROI4wI/EyIJg==",
243
+ * Prefix: ""
244
244
  * }
245
245
  * *\/
246
- * // example id: to-get-object-list
247
246
  * ```
248
247
  *
248
+ * @public
249
249
  */
250
250
  export declare class ListObjectsV2Command extends ListObjectsV2Command_base {
251
251
  /** @internal type navigation helper, not in runtime. */
@@ -183,47 +183,47 @@ declare const ListPartsCommand_base: {
183
183
  * @throws {@link S3ServiceException}
184
184
  * <p>Base exception class for all service exceptions from S3 service.</p>
185
185
  *
186
- * @public
186
+ *
187
187
  * @example To list parts of a multipart upload.
188
188
  * ```javascript
189
189
  * // The following example lists parts uploaded for a specific multipart upload.
190
190
  * const input = {
191
- * "Bucket": "examplebucket",
192
- * "Key": "bigobject",
193
- * "UploadId": "example7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
191
+ * Bucket: "examplebucket",
192
+ * Key: "bigobject",
193
+ * UploadId: "example7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
194
194
  * };
195
195
  * const command = new ListPartsCommand(input);
196
196
  * const response = await client.send(command);
197
- * /* response ==
197
+ * /* response is
198
198
  * {
199
- * "Initiator": {
200
- * "DisplayName": "owner-display-name",
201
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
199
+ * Initiator: {
200
+ * DisplayName: "owner-display-name",
201
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
202
202
  * },
203
- * "Owner": {
204
- * "DisplayName": "owner-display-name",
205
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
203
+ * Owner: {
204
+ * DisplayName: "owner-display-name",
205
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
206
206
  * },
207
- * "Parts": [
207
+ * Parts: [
208
208
  * {
209
- * "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
210
- * "LastModified": "2016-12-16T00:11:42.000Z",
211
- * "PartNumber": "1",
212
- * "Size": 26246026
209
+ * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`,
210
+ * LastModified: "2016-12-16T00:11:42.000Z",
211
+ * PartNumber: 1,
212
+ * Size: 26246026
213
213
  * },
214
214
  * {
215
- * "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
216
- * "LastModified": "2016-12-16T00:15:01.000Z",
217
- * "PartNumber": "2",
218
- * "Size": 26246026
215
+ * ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`,
216
+ * LastModified: "2016-12-16T00:15:01.000Z",
217
+ * PartNumber: 2,
218
+ * Size: 26246026
219
219
  * }
220
220
  * ],
221
- * "StorageClass": "STANDARD"
221
+ * StorageClass: "STANDARD"
222
222
  * }
223
223
  * *\/
224
- * // example id: to-list-parts-of-a-multipart-upload-1481852006923
225
224
  * ```
226
225
  *
226
+ * @public
227
227
  */
228
228
  export declare class ListPartsCommand extends ListPartsCommand_base {
229
229
  /** @internal type navigation helper, not in runtime. */
@@ -98,6 +98,7 @@ declare const PutBucketAccelerateConfigurationCommand_base: {
98
98
  * @throws {@link S3ServiceException}
99
99
  * <p>Base exception class for all service exceptions from S3 service.</p>
100
100
  *
101
+ *
101
102
  * @public
102
103
  */
103
104
  export declare class PutBucketAccelerateConfigurationCommand extends PutBucketAccelerateConfigurationCommand_base {
@@ -279,20 +279,23 @@ declare const PutBucketAclCommand_base: {
279
279
  * @throws {@link S3ServiceException}
280
280
  * <p>Base exception class for all service exceptions from S3 service.</p>
281
281
  *
282
- * @public
282
+ *
283
283
  * @example Put bucket acl
284
284
  * ```javascript
285
285
  * // The following example replaces existing ACL on a bucket. The ACL grants the bucket owner (specified using the owner ID) and write permission to the LogDelivery group. Because this is a replace operation, you must specify all the grants in your request. To incrementally add or remove ACL grants, you might use the console.
286
286
  * const input = {
287
- * "Bucket": "examplebucket",
288
- * "GrantFullControl": "id=examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484",
289
- * "GrantWrite": "uri=http://acs.amazonaws.com/groups/s3/LogDelivery"
287
+ * Bucket: "examplebucket",
288
+ * GrantFullControl: "id=examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484",
289
+ * GrantWrite: "uri=http://acs.amazonaws.com/groups/s3/LogDelivery"
290
290
  * };
291
291
  * const command = new PutBucketAclCommand(input);
292
- * await client.send(command);
293
- * // example id: put-bucket-acl-1482260397033
292
+ * const response = await client.send(command);
293
+ * /* response is
294
+ * { /* metadata only *\/ }
295
+ * *\/
294
296
  * ```
295
297
  *
298
+ * @public
296
299
  */
297
300
  export declare class PutBucketAclCommand extends PutBucketAclCommand_base {
298
301
  /** @internal type navigation helper, not in runtime. */
@@ -191,6 +191,7 @@ declare const PutBucketAnalyticsConfigurationCommand_base: {
191
191
  * @throws {@link S3ServiceException}
192
192
  * <p>Base exception class for all service exceptions from S3 service.</p>
193
193
  *
194
+ *
194
195
  * @public
195
196
  */
196
197
  export declare class PutBucketAnalyticsConfigurationCommand extends PutBucketAnalyticsConfigurationCommand_base {
@@ -131,52 +131,55 @@ declare const PutBucketCorsCommand_base: {
131
131
  * @throws {@link S3ServiceException}
132
132
  * <p>Base exception class for all service exceptions from S3 service.</p>
133
133
  *
134
- * @public
134
+ *
135
135
  * @example To set cors configuration on a bucket.
136
136
  * ```javascript
137
137
  * // The following example enables PUT, POST, and DELETE requests from www.example.com, and enables GET requests from any domain.
138
138
  * const input = {
139
- * "Bucket": "",
140
- * "CORSConfiguration": {
141
- * "CORSRules": [
139
+ * Bucket: "",
140
+ * CORSConfiguration: {
141
+ * CORSRules: [
142
142
  * {
143
- * "AllowedHeaders": [
143
+ * AllowedHeaders: [
144
144
  * "*"
145
145
  * ],
146
- * "AllowedMethods": [
146
+ * AllowedMethods: [
147
147
  * "PUT",
148
148
  * "POST",
149
149
  * "DELETE"
150
150
  * ],
151
- * "AllowedOrigins": [
151
+ * AllowedOrigins: [
152
152
  * "http://www.example.com"
153
153
  * ],
154
- * "ExposeHeaders": [
154
+ * ExposeHeaders: [
155
155
  * "x-amz-server-side-encryption"
156
156
  * ],
157
- * "MaxAgeSeconds": 3000
157
+ * MaxAgeSeconds: 3000
158
158
  * },
159
159
  * {
160
- * "AllowedHeaders": [
160
+ * AllowedHeaders: [
161
161
  * "Authorization"
162
162
  * ],
163
- * "AllowedMethods": [
163
+ * AllowedMethods: [
164
164
  * "GET"
165
165
  * ],
166
- * "AllowedOrigins": [
166
+ * AllowedOrigins: [
167
167
  * "*"
168
168
  * ],
169
- * "MaxAgeSeconds": 3000
169
+ * MaxAgeSeconds: 3000
170
170
  * }
171
171
  * ]
172
172
  * },
173
- * "ContentMD5": ""
173
+ * ContentMD5: ""
174
174
  * };
175
175
  * const command = new PutBucketCorsCommand(input);
176
- * await client.send(command);
177
- * // example id: to-set-cors-configuration-on-a-bucket-1483037818805
176
+ * const response = await client.send(command);
177
+ * /* response is
178
+ * { /* metadata only *\/ }
179
+ * *\/
178
180
  * ```
179
181
  *
182
+ * @public
180
183
  */
181
184
  export declare class PutBucketCorsCommand extends PutBucketCorsCommand_base {
182
185
  /** @internal type navigation helper, not in runtime. */
@@ -192,6 +192,7 @@ declare const PutBucketEncryptionCommand_base: {
192
192
  * @throws {@link S3ServiceException}
193
193
  * <p>Base exception class for all service exceptions from S3 service.</p>
194
194
  *
195
+ *
195
196
  * @public
196
197
  */
197
198
  export declare class PutBucketEncryptionCommand extends PutBucketEncryptionCommand_base {
@@ -136,6 +136,7 @@ declare const PutBucketIntelligentTieringConfigurationCommand_base: {
136
136
  * @throws {@link S3ServiceException}
137
137
  * <p>Base exception class for all service exceptions from S3 service.</p>
138
138
  *
139
+ *
139
140
  * @public
140
141
  */
141
142
  export declare class PutBucketIntelligentTieringConfigurationCommand extends PutBucketIntelligentTieringConfigurationCommand_base {
@@ -168,6 +168,7 @@ declare const PutBucketInventoryConfigurationCommand_base: {
168
168
  * @throws {@link S3ServiceException}
169
169
  * <p>Base exception class for all service exceptions from S3 service.</p>
170
170
  *
171
+ *
171
172
  * @public
172
173
  */
173
174
  export declare class PutBucketInventoryConfigurationCommand extends PutBucketInventoryConfigurationCommand_base {