@aws-sdk/client-s3 3.775.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 (99) hide show
  1. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +9 -6
  2. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +16 -16
  3. package/dist-types/commands/CopyObjectCommand.d.ts +9 -9
  4. package/dist-types/commands/CreateBucketCommand.d.ts +15 -16
  5. package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -0
  6. package/dist-types/commands/CreateMultipartUploadCommand.d.ts +8 -8
  7. package/dist-types/commands/CreateSessionCommand.d.ts +1 -0
  8. package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -0
  9. package/dist-types/commands/DeleteBucketCommand.d.ts +7 -4
  10. package/dist-types/commands/DeleteBucketCorsCommand.d.ts +7 -4
  11. package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -0
  12. package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  13. package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +7 -4
  15. package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -0
  17. package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -0
  18. package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +7 -4
  19. package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +7 -4
  20. package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +7 -4
  21. package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +7 -4
  22. package/dist-types/commands/DeleteObjectCommand.d.ts +18 -13
  23. package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +11 -12
  24. package/dist-types/commands/DeleteObjectsCommand.d.ts +30 -31
  25. package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -0
  26. package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -0
  27. package/dist-types/commands/GetBucketAclCommand.d.ts +1 -0
  28. package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -0
  29. package/dist-types/commands/GetBucketCorsCommand.d.ts +9 -9
  30. package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -0
  31. package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  32. package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -0
  33. package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +11 -11
  34. package/dist-types/commands/GetBucketLocationCommand.d.ts +5 -5
  35. package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -0
  36. package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -0
  37. package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -0
  38. package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -0
  39. package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -0
  40. package/dist-types/commands/GetBucketPolicyCommand.d.ts +5 -5
  41. package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -0
  42. package/dist-types/commands/GetBucketReplicationCommand.d.ts +12 -12
  43. package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +5 -5
  44. package/dist-types/commands/GetBucketTaggingCommand.d.ts +9 -9
  45. package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -6
  46. package/dist-types/commands/GetBucketWebsiteCommand.d.ts +8 -8
  47. package/dist-types/commands/GetObjectAclCommand.d.ts +29 -29
  48. package/dist-types/commands/GetObjectAttributesCommand.d.ts +1 -0
  49. package/dist-types/commands/GetObjectCommand.d.ts +44 -30
  50. package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -0
  51. package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -0
  52. package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -0
  53. package/dist-types/commands/GetObjectTaggingCommand.d.ts +19 -20
  54. package/dist-types/commands/GetObjectTorrentCommand.d.ts +18 -5
  55. package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -0
  56. package/dist-types/commands/HeadBucketCommand.d.ts +7 -4
  57. package/dist-types/commands/HeadObjectCommand.d.ts +12 -12
  58. package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -0
  59. package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  60. package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -0
  61. package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -0
  62. package/dist-types/commands/ListBucketsCommand.d.ts +14 -14
  63. package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +1 -0
  64. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +62 -63
  65. package/dist-types/commands/ListObjectVersionsCommand.d.ts +26 -26
  66. package/dist-types/commands/ListObjectsCommand.d.ts +23 -23
  67. package/dist-types/commands/ListObjectsV2Command.d.ts +22 -22
  68. package/dist-types/commands/ListPartsCommand.d.ts +22 -22
  69. package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -0
  70. package/dist-types/commands/PutBucketAclCommand.d.ts +9 -6
  71. package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -0
  72. package/dist-types/commands/PutBucketCorsCommand.d.ts +19 -16
  73. package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -0
  74. package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  75. package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -0
  76. package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +18 -15
  77. package/dist-types/commands/PutBucketLoggingCommand.d.ts +16 -13
  78. package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -0
  79. package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +11 -8
  80. package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -0
  81. package/dist-types/commands/PutBucketPolicyCommand.d.ts +8 -5
  82. package/dist-types/commands/PutBucketReplicationCommand.d.ts +15 -12
  83. package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +9 -6
  84. package/dist-types/commands/PutBucketTaggingCommand.d.ts +13 -10
  85. package/dist-types/commands/PutBucketVersioningCommand.d.ts +10 -7
  86. package/dist-types/commands/PutBucketWebsiteCommand.d.ts +13 -10
  87. package/dist-types/commands/PutObjectAclCommand.d.ts +11 -8
  88. package/dist-types/commands/PutObjectCommand.d.ts +68 -74
  89. package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -0
  90. package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -0
  91. package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -0
  92. package/dist-types/commands/PutObjectTaggingCommand.d.ts +12 -12
  93. package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -0
  94. package/dist-types/commands/RestoreObjectCommand.d.ts +12 -9
  95. package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -0
  96. package/dist-types/commands/UploadPartCommand.d.ts +9 -9
  97. package/dist-types/commands/UploadPartCopyCommand.d.ts +21 -22
  98. package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -0
  99. package/package.json +2 -2
@@ -118,61 +118,61 @@ declare const GetObjectAclCommand_base: {
118
118
  * @throws {@link S3ServiceException}
119
119
  * <p>Base exception class for all service exceptions from S3 service.</p>
120
120
  *
121
- * @public
121
+ *
122
122
  * @example To retrieve object ACL
123
123
  * ```javascript
124
124
  * // The following example retrieves access control list (ACL) of an object.
125
125
  * const input = {
126
- * "Bucket": "examplebucket",
127
- * "Key": "HappyFace.jpg"
126
+ * Bucket: "examplebucket",
127
+ * Key: "HappyFace.jpg"
128
128
  * };
129
129
  * const command = new GetObjectAclCommand(input);
130
130
  * const response = await client.send(command);
131
- * /* response ==
131
+ * /* response is
132
132
  * {
133
- * "Grants": [
133
+ * Grants: [
134
134
  * {
135
- * "Grantee": {
136
- * "DisplayName": "owner-display-name",
137
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
138
- * "Type": "CanonicalUser"
135
+ * Grantee: {
136
+ * DisplayName: "owner-display-name",
137
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
138
+ * Type: "CanonicalUser"
139
139
  * },
140
- * "Permission": "WRITE"
140
+ * Permission: "WRITE"
141
141
  * },
142
142
  * {
143
- * "Grantee": {
144
- * "DisplayName": "owner-display-name",
145
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
146
- * "Type": "CanonicalUser"
143
+ * Grantee: {
144
+ * DisplayName: "owner-display-name",
145
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
146
+ * Type: "CanonicalUser"
147
147
  * },
148
- * "Permission": "WRITE_ACP"
148
+ * Permission: "WRITE_ACP"
149
149
  * },
150
150
  * {
151
- * "Grantee": {
152
- * "DisplayName": "owner-display-name",
153
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
154
- * "Type": "CanonicalUser"
151
+ * Grantee: {
152
+ * DisplayName: "owner-display-name",
153
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
154
+ * Type: "CanonicalUser"
155
155
  * },
156
- * "Permission": "READ"
156
+ * Permission: "READ"
157
157
  * },
158
158
  * {
159
- * "Grantee": {
160
- * "DisplayName": "owner-display-name",
161
- * "ID": "852b113eexamplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
162
- * "Type": "CanonicalUser"
159
+ * Grantee: {
160
+ * DisplayName: "owner-display-name",
161
+ * ID: "852b113eexamplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
162
+ * Type: "CanonicalUser"
163
163
  * },
164
- * "Permission": "READ_ACP"
164
+ * Permission: "READ_ACP"
165
165
  * }
166
166
  * ],
167
- * "Owner": {
168
- * "DisplayName": "owner-display-name",
169
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
167
+ * Owner: {
168
+ * DisplayName: "owner-display-name",
169
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
170
170
  * }
171
171
  * }
172
172
  * *\/
173
- * // example id: to-retrieve-object-acl-1481833557740
174
173
  * ```
175
174
  *
175
+ * @public
176
176
  */
177
177
  export declare class GetObjectAclCommand extends GetObjectAclCommand_base {
178
178
  /** @internal type navigation helper, not in runtime. */
@@ -312,6 +312,7 @@ declare const GetObjectAttributesCommand_base: {
312
312
  * @throws {@link S3ServiceException}
313
313
  * <p>Base exception class for all service exceptions from S3 service.</p>
314
314
  *
315
+ *
315
316
  * @public
316
317
  */
317
318
  export declare class GetObjectAttributesCommand extends GetObjectAttributesCommand_base {
@@ -235,6 +235,11 @@ declare const GetObjectCommand_base: {
235
235
  * };
236
236
  * const command = new GetObjectCommand(input);
237
237
  * const response = await client.send(command);
238
+ * // consume or destroy the stream to free the socket.
239
+ * const bytes = await response.Body.transformToByteArray();
240
+ * // const str = await response.Body.transformToString();
241
+ * // response.Body.destroy(); // only applicable to Node.js Readable streams.
242
+ *
238
243
  * // { // GetObjectOutput
239
244
  * // Body: "<SdkStream>", // see \@smithy/types -> StreamingBlobPayloadOutputTypes
240
245
  * // DeleteMarker: true || false,
@@ -303,56 +308,65 @@ declare const GetObjectCommand_base: {
303
308
  * @throws {@link S3ServiceException}
304
309
  * <p>Base exception class for all service exceptions from S3 service.</p>
305
310
  *
306
- * @public
307
- * @example To retrieve an object
311
+ *
312
+ * @example To retrieve a byte range of an object
308
313
  * ```javascript
309
- * // The following example retrieves an object for an S3 bucket.
314
+ * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
310
315
  * const input = {
311
- * "Bucket": "examplebucket",
312
- * "Key": "HappyFace.jpg"
316
+ * Bucket: "examplebucket",
317
+ * Key: "SampleFile.txt",
318
+ * Range: "bytes=0-9"
313
319
  * };
314
320
  * const command = new GetObjectCommand(input);
315
321
  * const response = await client.send(command);
316
- * /* response ==
322
+ * // consume or destroy the stream to free the socket.
323
+ * const bytes = await response.Body.transformToByteArray();
324
+ * // const str = await response.Body.transformToString();
325
+ * // response.Body.destroy(); // only applicable to Node.js Readable streams.
326
+ *
327
+ * /* response is
317
328
  * {
318
- * "AcceptRanges": "bytes",
319
- * "ContentLength": "3191",
320
- * "ContentType": "image/jpeg",
321
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
322
- * "LastModified": "2016-12-15T01:19:41.000Z",
323
- * "Metadata": {},
324
- * "TagCount": 2,
325
- * "VersionId": "null"
329
+ * AcceptRanges: "bytes",
330
+ * ContentLength: 10,
331
+ * ContentRange: "bytes 0-9/43",
332
+ * ContentType: "text/plain",
333
+ * ETag: `"0d94420ffd0bc68cd3d152506b97a9cc"`,
334
+ * LastModified: "2014-10-09T22:57:28.000Z",
335
+ * Metadata: { /* empty *\/ },
336
+ * VersionId: "null"
326
337
  * }
327
338
  * *\/
328
- * // example id: to-retrieve-an-object-1481827837012
329
339
  * ```
330
340
  *
331
- * @example To retrieve a byte range of an object
341
+ * @example To retrieve an object
332
342
  * ```javascript
333
- * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
343
+ * // The following example retrieves an object for an S3 bucket.
334
344
  * const input = {
335
- * "Bucket": "examplebucket",
336
- * "Key": "SampleFile.txt",
337
- * "Range": "bytes=0-9"
345
+ * Bucket: "examplebucket",
346
+ * Key: "HappyFace.jpg"
338
347
  * };
339
348
  * const command = new GetObjectCommand(input);
340
349
  * const response = await client.send(command);
341
- * /* response ==
350
+ * // consume or destroy the stream to free the socket.
351
+ * const bytes = await response.Body.transformToByteArray();
352
+ * // const str = await response.Body.transformToString();
353
+ * // response.Body.destroy(); // only applicable to Node.js Readable streams.
354
+ *
355
+ * /* response is
342
356
  * {
343
- * "AcceptRanges": "bytes",
344
- * "ContentLength": "10",
345
- * "ContentRange": "bytes 0-9/43",
346
- * "ContentType": "text/plain",
347
- * "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
348
- * "LastModified": "2014-10-09T22:57:28.000Z",
349
- * "Metadata": {},
350
- * "VersionId": "null"
357
+ * AcceptRanges: "bytes",
358
+ * ContentLength: 3191,
359
+ * ContentType: "image/jpeg",
360
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
361
+ * LastModified: "2016-12-15T01:19:41.000Z",
362
+ * Metadata: { /* empty *\/ },
363
+ * TagCount: 2,
364
+ * VersionId: "null"
351
365
  * }
352
366
  * *\/
353
- * // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
354
367
  * ```
355
368
  *
369
+ * @public
356
370
  */
357
371
  export declare class GetObjectCommand extends GetObjectCommand_base {
358
372
  /** @internal type navigation helper, not in runtime. */
@@ -73,6 +73,7 @@ declare const GetObjectLegalHoldCommand_base: {
73
73
  * @throws {@link S3ServiceException}
74
74
  * <p>Base exception class for all service exceptions from S3 service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class GetObjectLegalHoldCommand extends GetObjectLegalHoldCommand_base {
@@ -77,6 +77,7 @@ declare const GetObjectLockConfigurationCommand_base: {
77
77
  * @throws {@link S3ServiceException}
78
78
  * <p>Base exception class for all service exceptions from S3 service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class GetObjectLockConfigurationCommand extends GetObjectLockConfigurationCommand_base {
@@ -74,6 +74,7 @@ declare const GetObjectRetentionCommand_base: {
74
74
  * @throws {@link S3ServiceException}
75
75
  * <p>Base exception class for all service exceptions from S3 service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class GetObjectRetentionCommand extends GetObjectRetentionCommand_base {
@@ -95,58 +95,57 @@ declare const GetObjectTaggingCommand_base: {
95
95
  * @throws {@link S3ServiceException}
96
96
  * <p>Base exception class for all service exceptions from S3 service.</p>
97
97
  *
98
- * @public
98
+ *
99
99
  * @example To retrieve tag set of a specific object version
100
100
  * ```javascript
101
101
  * // The following example retrieves tag set of an object. The request specifies object version.
102
102
  * const input = {
103
- * "Bucket": "examplebucket",
104
- * "Key": "exampleobject",
105
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
103
+ * Bucket: "examplebucket",
104
+ * Key: "exampleobject",
105
+ * VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
106
106
  * };
107
107
  * const command = new GetObjectTaggingCommand(input);
108
108
  * const response = await client.send(command);
109
- * /* response ==
109
+ * /* response is
110
110
  * {
111
- * "TagSet": [
111
+ * TagSet: [
112
112
  * {
113
- * "Key": "Key1",
114
- * "Value": "Value1"
113
+ * Key: "Key1",
114
+ * Value: "Value1"
115
115
  * }
116
116
  * ],
117
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
117
+ * VersionId: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
118
118
  * }
119
119
  * *\/
120
- * // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
121
120
  * ```
122
121
  *
123
122
  * @example To retrieve tag set of an object
124
123
  * ```javascript
125
124
  * // The following example retrieves tag set of an object.
126
125
  * const input = {
127
- * "Bucket": "examplebucket",
128
- * "Key": "HappyFace.jpg"
126
+ * Bucket: "examplebucket",
127
+ * Key: "HappyFace.jpg"
129
128
  * };
130
129
  * const command = new GetObjectTaggingCommand(input);
131
130
  * const response = await client.send(command);
132
- * /* response ==
131
+ * /* response is
133
132
  * {
134
- * "TagSet": [
133
+ * TagSet: [
135
134
  * {
136
- * "Key": "Key4",
137
- * "Value": "Value4"
135
+ * Key: "Key4",
136
+ * Value: "Value4"
138
137
  * },
139
138
  * {
140
- * "Key": "Key3",
141
- * "Value": "Value3"
139
+ * Key: "Key3",
140
+ * Value: "Value3"
142
141
  * }
143
142
  * ],
144
- * "VersionId": "null"
143
+ * VersionId: "null"
145
144
  * }
146
145
  * *\/
147
- * // example id: to-retrieve-tag-set-of-an-object-1481833847896
148
146
  * ```
149
147
  *
148
+ * @public
150
149
  */
151
150
  export declare class GetObjectTaggingCommand extends GetObjectTaggingCommand_base {
152
151
  /** @internal type navigation helper, not in runtime. */
@@ -62,6 +62,11 @@ declare const GetObjectTorrentCommand_base: {
62
62
  * };
63
63
  * const command = new GetObjectTorrentCommand(input);
64
64
  * const response = await client.send(command);
65
+ * // consume or destroy the stream to free the socket.
66
+ * const bytes = await response.Body.transformToByteArray();
67
+ * // const str = await response.Body.transformToString();
68
+ * // response.Body.destroy(); // only applicable to Node.js Readable streams.
69
+ *
65
70
  * // { // GetObjectTorrentOutput
66
71
  * // Body: "<SdkStream>", // see \@smithy/types -> StreamingBlobPayloadOutputTypes
67
72
  * // RequestCharged: "requester",
@@ -78,19 +83,27 @@ declare const GetObjectTorrentCommand_base: {
78
83
  * @throws {@link S3ServiceException}
79
84
  * <p>Base exception class for all service exceptions from S3 service.</p>
80
85
  *
81
- * @public
86
+ *
82
87
  * @example To retrieve torrent files for an object
83
88
  * ```javascript
84
89
  * // The following example retrieves torrent files of an object.
85
90
  * const input = {
86
- * "Bucket": "examplebucket",
87
- * "Key": "HappyFace.jpg"
91
+ * Bucket: "examplebucket",
92
+ * Key: "HappyFace.jpg"
88
93
  * };
89
94
  * const command = new GetObjectTorrentCommand(input);
90
- * await client.send(command);
91
- * // example id: to-retrieve-torrent-files-for-an-object-1481834115959
95
+ * const response = await client.send(command);
96
+ * // consume or destroy the stream to free the socket.
97
+ * const bytes = await response.Body.transformToByteArray();
98
+ * // const str = await response.Body.transformToString();
99
+ * // response.Body.destroy(); // only applicable to Node.js Readable streams.
100
+ *
101
+ * /* response is
102
+ * { /* empty *\/ }
103
+ * *\/
92
104
  * ```
93
105
  *
106
+ * @public
94
107
  */
95
108
  export declare class GetObjectTorrentCommand extends GetObjectTorrentCommand_base {
96
109
  /** @internal type navigation helper, not in runtime. */
@@ -99,6 +99,7 @@ declare const GetPublicAccessBlockCommand_base: {
99
99
  * @throws {@link S3ServiceException}
100
100
  * <p>Base exception class for all service exceptions from S3 service.</p>
101
101
  *
102
+ *
102
103
  * @public
103
104
  */
104
105
  export declare class GetPublicAccessBlockCommand extends GetPublicAccessBlockCommand_base {
@@ -129,18 +129,21 @@ declare const HeadBucketCommand_base: {
129
129
  * @throws {@link S3ServiceException}
130
130
  * <p>Base exception class for all service exceptions from S3 service.</p>
131
131
  *
132
- * @public
132
+ *
133
133
  * @example To determine if bucket exists
134
134
  * ```javascript
135
135
  * // This operation checks to see if a bucket exists.
136
136
  * const input = {
137
- * "Bucket": "acl1"
137
+ * Bucket: "acl1"
138
138
  * };
139
139
  * const command = new HeadBucketCommand(input);
140
- * await client.send(command);
141
- * // example id: to-determine-if-bucket-exists-1473110292262
140
+ * const response = await client.send(command);
141
+ * /* response is
142
+ * { /* metadata only *\/ }
143
+ * *\/
142
144
  * ```
143
145
  *
146
+ * @public
144
147
  */
145
148
  export declare class HeadBucketCommand extends HeadBucketCommand_base {
146
149
  /** @internal type navigation helper, not in runtime. */
@@ -278,30 +278,30 @@ declare const HeadObjectCommand_base: {
278
278
  * @throws {@link S3ServiceException}
279
279
  * <p>Base exception class for all service exceptions from S3 service.</p>
280
280
  *
281
- * @public
281
+ *
282
282
  * @example To retrieve metadata of an object without returning the object itself
283
283
  * ```javascript
284
284
  * // The following example retrieves an object metadata.
285
285
  * const input = {
286
- * "Bucket": "examplebucket",
287
- * "Key": "HappyFace.jpg"
286
+ * Bucket: "examplebucket",
287
+ * Key: "HappyFace.jpg"
288
288
  * };
289
289
  * const command = new HeadObjectCommand(input);
290
290
  * const response = await client.send(command);
291
- * /* response ==
291
+ * /* response is
292
292
  * {
293
- * "AcceptRanges": "bytes",
294
- * "ContentLength": "3191",
295
- * "ContentType": "image/jpeg",
296
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
297
- * "LastModified": "2016-12-15T01:19:41.000Z",
298
- * "Metadata": {},
299
- * "VersionId": "null"
293
+ * AcceptRanges: "bytes",
294
+ * ContentLength: 3191,
295
+ * ContentType: "image/jpeg",
296
+ * ETag: `"6805f2cfc46c0f04559748bb039d69ae"`,
297
+ * LastModified: "2016-12-15T01:19:41.000Z",
298
+ * Metadata: { /* empty *\/ },
299
+ * VersionId: "null"
300
300
  * }
301
301
  * *\/
302
- * // example id: to-retrieve-metadata-of-an-object-without-returning-the-object-itself-1481834820480
303
302
  * ```
304
303
  *
304
+ * @public
305
305
  */
306
306
  export declare class HeadObjectCommand extends HeadObjectCommand_base {
307
307
  /** @internal type navigation helper, not in runtime. */
@@ -130,6 +130,7 @@ declare const ListBucketAnalyticsConfigurationsCommand_base: {
130
130
  * @throws {@link S3ServiceException}
131
131
  * <p>Base exception class for all service exceptions from S3 service.</p>
132
132
  *
133
+ *
133
134
  * @public
134
135
  */
135
136
  export declare class ListBucketAnalyticsConfigurationsCommand extends ListBucketAnalyticsConfigurationsCommand_base {
@@ -109,6 +109,7 @@ declare const ListBucketIntelligentTieringConfigurationsCommand_base: {
109
109
  * @throws {@link S3ServiceException}
110
110
  * <p>Base exception class for all service exceptions from S3 service.</p>
111
111
  *
112
+ *
112
113
  * @public
113
114
  */
114
115
  export declare class ListBucketIntelligentTieringConfigurationsCommand extends ListBucketIntelligentTieringConfigurationsCommand_base {
@@ -125,6 +125,7 @@ declare const ListBucketInventoryConfigurationsCommand_base: {
125
125
  * @throws {@link S3ServiceException}
126
126
  * <p>Base exception class for all service exceptions from S3 service.</p>
127
127
  *
128
+ *
128
129
  * @public
129
130
  */
130
131
  export declare class ListBucketInventoryConfigurationsCommand extends ListBucketInventoryConfigurationsCommand_base {
@@ -119,6 +119,7 @@ declare const ListBucketMetricsConfigurationsCommand_base: {
119
119
  * @throws {@link S3ServiceException}
120
120
  * <p>Base exception class for all service exceptions from S3 service.</p>
121
121
  *
122
+ *
122
123
  * @public
123
124
  */
124
125
  export declare class ListBucketMetricsConfigurationsCommand extends ListBucketMetricsConfigurationsCommand_base {
@@ -82,38 +82,38 @@ declare const ListBucketsCommand_base: {
82
82
  * @throws {@link S3ServiceException}
83
83
  * <p>Base exception class for all service exceptions from S3 service.</p>
84
84
  *
85
- * @public
85
+ *
86
86
  * @example To list all buckets
87
87
  * ```javascript
88
88
  * // The following example returns all the buckets owned by the sender of this request.
89
- * const input = {};
89
+ * const input = { /* empty *\/ };
90
90
  * const command = new ListBucketsCommand(input);
91
91
  * const response = await client.send(command);
92
- * /* response ==
92
+ * /* response is
93
93
  * {
94
- * "Buckets": [
94
+ * Buckets: [
95
95
  * {
96
- * "CreationDate": "2012-02-15T21:03:02.000Z",
97
- * "Name": "examplebucket"
96
+ * CreationDate: "2012-02-15T21:03:02.000Z",
97
+ * Name: "examplebucket"
98
98
  * },
99
99
  * {
100
- * "CreationDate": "2011-07-24T19:33:50.000Z",
101
- * "Name": "examplebucket2"
100
+ * CreationDate: "2011-07-24T19:33:50.000Z",
101
+ * Name: "examplebucket2"
102
102
  * },
103
103
  * {
104
- * "CreationDate": "2010-12-17T00:56:49.000Z",
105
- * "Name": "examplebucket3"
104
+ * CreationDate: "2010-12-17T00:56:49.000Z",
105
+ * Name: "examplebucket3"
106
106
  * }
107
107
  * ],
108
- * "Owner": {
109
- * "DisplayName": "own-display-name",
110
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31"
108
+ * Owner: {
109
+ * DisplayName: "own-display-name",
110
+ * ID: "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31"
111
111
  * }
112
112
  * }
113
113
  * *\/
114
- * // example id: to-list-buckets-1481910996058
115
114
  * ```
116
115
  *
116
+ * @public
117
117
  */
118
118
  export declare class ListBucketsCommand extends ListBucketsCommand_base {
119
119
  /** @internal type navigation helper, not in runtime. */
@@ -90,6 +90,7 @@ declare const ListDirectoryBucketsCommand_base: {
90
90
  * @throws {@link S3ServiceException}
91
91
  * <p>Base exception class for all service exceptions from S3 service.</p>
92
92
  *
93
+ *
93
94
  * @public
94
95
  */
95
96
  export declare class ListDirectoryBucketsCommand extends ListDirectoryBucketsCommand_base {