@aws-sdk/client-s3 3.693.0 → 3.696.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.
@@ -282,53 +282,53 @@ declare const GetObjectCommand_base: {
282
282
  * <p>Base exception class for all service exceptions from S3 service.</p>
283
283
  *
284
284
  * @public
285
- * @example To retrieve a byte range of an object
285
+ * @example To retrieve an object
286
286
  * ```javascript
287
- * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
287
+ * // The following example retrieves an object for an S3 bucket.
288
288
  * const input = {
289
289
  * "Bucket": "examplebucket",
290
- * "Key": "SampleFile.txt",
291
- * "Range": "bytes=0-9"
290
+ * "Key": "HappyFace.jpg"
292
291
  * };
293
292
  * const command = new GetObjectCommand(input);
294
293
  * const response = await client.send(command);
295
294
  * /* response ==
296
295
  * {
297
296
  * "AcceptRanges": "bytes",
298
- * "ContentLength": "10",
299
- * "ContentRange": "bytes 0-9/43",
300
- * "ContentType": "text/plain",
301
- * "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
302
- * "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
297
+ * "ContentLength": "3191",
298
+ * "ContentType": "image/jpeg",
299
+ * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
300
+ * "LastModified": "2016-12-15T01:19:41.000Z",
303
301
  * "Metadata": {},
302
+ * "TagCount": 2,
304
303
  * "VersionId": "null"
305
304
  * }
306
305
  * *\/
307
- * // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
306
+ * // example id: to-retrieve-an-object-1481827837012
308
307
  * ```
309
308
  *
310
- * @example To retrieve an object
309
+ * @example To retrieve a byte range of an object
311
310
  * ```javascript
312
- * // The following example retrieves an object for an S3 bucket.
311
+ * // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
313
312
  * const input = {
314
313
  * "Bucket": "examplebucket",
315
- * "Key": "HappyFace.jpg"
314
+ * "Key": "SampleFile.txt",
315
+ * "Range": "bytes=0-9"
316
316
  * };
317
317
  * const command = new GetObjectCommand(input);
318
318
  * const response = await client.send(command);
319
319
  * /* response ==
320
320
  * {
321
321
  * "AcceptRanges": "bytes",
322
- * "ContentLength": "3191",
323
- * "ContentType": "image/jpeg",
324
- * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
325
- * "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
322
+ * "ContentLength": "10",
323
+ * "ContentRange": "bytes 0-9/43",
324
+ * "ContentType": "text/plain",
325
+ * "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
326
+ * "LastModified": "2014-10-09T22:57:28.000Z",
326
327
  * "Metadata": {},
327
- * "TagCount": 2,
328
328
  * "VersionId": "null"
329
329
  * }
330
330
  * *\/
331
- * // example id: to-retrieve-an-object-1481827837012
331
+ * // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
332
332
  * ```
333
333
  *
334
334
  */
@@ -96,13 +96,12 @@ declare const GetObjectTaggingCommand_base: {
96
96
  * <p>Base exception class for all service exceptions from S3 service.</p>
97
97
  *
98
98
  * @public
99
- * @example To retrieve tag set of a specific object version
99
+ * @example To retrieve tag set of an object
100
100
  * ```javascript
101
- * // The following example retrieves tag set of an object. The request specifies object version.
101
+ * // The following example retrieves tag set of an object.
102
102
  * const input = {
103
103
  * "Bucket": "examplebucket",
104
- * "Key": "exampleobject",
105
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
104
+ * "Key": "HappyFace.jpg"
106
105
  * };
107
106
  * const command = new GetObjectTaggingCommand(input);
108
107
  * const response = await client.send(command);
@@ -110,22 +109,27 @@ declare const GetObjectTaggingCommand_base: {
110
109
  * {
111
110
  * "TagSet": [
112
111
  * {
113
- * "Key": "Key1",
114
- * "Value": "Value1"
112
+ * "Key": "Key4",
113
+ * "Value": "Value4"
114
+ * },
115
+ * {
116
+ * "Key": "Key3",
117
+ * "Value": "Value3"
115
118
  * }
116
119
  * ],
117
- * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
120
+ * "VersionId": "null"
118
121
  * }
119
122
  * *\/
120
- * // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
123
+ * // example id: to-retrieve-tag-set-of-an-object-1481833847896
121
124
  * ```
122
125
  *
123
- * @example To retrieve tag set of an object
126
+ * @example To retrieve tag set of a specific object version
124
127
  * ```javascript
125
- * // The following example retrieves tag set of an object.
128
+ * // The following example retrieves tag set of an object. The request specifies object version.
126
129
  * const input = {
127
130
  * "Bucket": "examplebucket",
128
- * "Key": "HappyFace.jpg"
131
+ * "Key": "exampleobject",
132
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
129
133
  * };
130
134
  * const command = new GetObjectTaggingCommand(input);
131
135
  * const response = await client.send(command);
@@ -133,18 +137,14 @@ declare const GetObjectTaggingCommand_base: {
133
137
  * {
134
138
  * "TagSet": [
135
139
  * {
136
- * "Key": "Key4",
137
- * "Value": "Value4"
138
- * },
139
- * {
140
- * "Key": "Key3",
141
- * "Value": "Value3"
140
+ * "Key": "Key1",
141
+ * "Value": "Value1"
142
142
  * }
143
143
  * ],
144
- * "VersionId": "null"
144
+ * "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
145
145
  * }
146
146
  * *\/
147
- * // example id: to-retrieve-tag-set-of-an-object-1481833847896
147
+ * // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
148
148
  * ```
149
149
  *
150
150
  */
@@ -268,7 +268,7 @@ declare const HeadObjectCommand_base: {
268
268
  * "ContentLength": "3191",
269
269
  * "ContentType": "image/jpeg",
270
270
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
271
- * "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
271
+ * "LastModified": "2016-12-15T01:19:41.000Z",
272
272
  * "Metadata": {},
273
273
  * "VersionId": "null"
274
274
  * }
@@ -210,104 +210,104 @@ declare const ListMultipartUploadsCommand_base: {
210
210
  * <p>Base exception class for all service exceptions from S3 service.</p>
211
211
  *
212
212
  * @public
213
- * @example To list in-progress multipart uploads on a bucket
213
+ * @example List next set of multipart uploads when previous result is truncated
214
214
  * ```javascript
215
- * // The following example lists in-progress multipart uploads on a specific bucket.
215
+ * // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
216
216
  * const input = {
217
- * "Bucket": "examplebucket"
217
+ * "Bucket": "examplebucket",
218
+ * "KeyMarker": "nextkeyfrompreviousresponse",
219
+ * "MaxUploads": "2",
220
+ * "UploadIdMarker": "valuefrompreviousresponse"
218
221
  * };
219
222
  * const command = new ListMultipartUploadsCommand(input);
220
223
  * const response = await client.send(command);
221
224
  * /* response ==
222
225
  * {
226
+ * "Bucket": "acl1",
227
+ * "IsTruncated": true,
228
+ * "KeyMarker": "",
229
+ * "MaxUploads": "2",
230
+ * "NextKeyMarker": "someobjectkey",
231
+ * "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
232
+ * "UploadIdMarker": "",
223
233
  * "Uploads": [
224
234
  * {
225
235
  * "Initiated": "2014-05-01T05:40:58.000Z",
226
236
  * "Initiator": {
227
- * "DisplayName": "display-name",
237
+ * "DisplayName": "ownder-display-name",
228
238
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
229
239
  * },
230
240
  * "Key": "JavaFile",
231
241
  * "Owner": {
232
- * "DisplayName": "display-name",
233
- * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
242
+ * "DisplayName": "mohanataws",
243
+ * "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
234
244
  * },
235
245
  * "StorageClass": "STANDARD",
236
- * "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
246
+ * "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
237
247
  * },
238
248
  * {
239
249
  * "Initiated": "2014-05-01T05:41:27.000Z",
240
250
  * "Initiator": {
241
- * "DisplayName": "display-name",
251
+ * "DisplayName": "ownder-display-name",
242
252
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
243
253
  * },
244
254
  * "Key": "JavaFile",
245
255
  * "Owner": {
246
- * "DisplayName": "display-name",
256
+ * "DisplayName": "ownder-display-name",
247
257
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
248
258
  * },
249
259
  * "StorageClass": "STANDARD",
250
- * "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
260
+ * "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
251
261
  * }
252
262
  * ]
253
263
  * }
254
264
  * *\/
255
- * // example id: to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260
265
+ * // example id: list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748
256
266
  * ```
257
267
  *
258
- * @example List next set of multipart uploads when previous result is truncated
268
+ * @example To list in-progress multipart uploads on a bucket
259
269
  * ```javascript
260
- * // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
270
+ * // The following example lists in-progress multipart uploads on a specific bucket.
261
271
  * const input = {
262
- * "Bucket": "examplebucket",
263
- * "KeyMarker": "nextkeyfrompreviousresponse",
264
- * "MaxUploads": "2",
265
- * "UploadIdMarker": "valuefrompreviousresponse"
272
+ * "Bucket": "examplebucket"
266
273
  * };
267
274
  * const command = new ListMultipartUploadsCommand(input);
268
275
  * const response = await client.send(command);
269
276
  * /* response ==
270
277
  * {
271
- * "Bucket": "acl1",
272
- * "IsTruncated": true,
273
- * "KeyMarker": "",
274
- * "MaxUploads": "2",
275
- * "NextKeyMarker": "someobjectkey",
276
- * "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
277
- * "UploadIdMarker": "",
278
278
  * "Uploads": [
279
279
  * {
280
280
  * "Initiated": "2014-05-01T05:40:58.000Z",
281
281
  * "Initiator": {
282
- * "DisplayName": "ownder-display-name",
282
+ * "DisplayName": "display-name",
283
283
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
284
284
  * },
285
285
  * "Key": "JavaFile",
286
286
  * "Owner": {
287
- * "DisplayName": "mohanataws",
288
- * "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
287
+ * "DisplayName": "display-name",
288
+ * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
289
289
  * },
290
290
  * "StorageClass": "STANDARD",
291
- * "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
291
+ * "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
292
292
  * },
293
293
  * {
294
294
  * "Initiated": "2014-05-01T05:41:27.000Z",
295
295
  * "Initiator": {
296
- * "DisplayName": "ownder-display-name",
296
+ * "DisplayName": "display-name",
297
297
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
298
298
  * },
299
299
  * "Key": "JavaFile",
300
300
  * "Owner": {
301
- * "DisplayName": "ownder-display-name",
301
+ * "DisplayName": "display-name",
302
302
  * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
303
303
  * },
304
304
  * "StorageClass": "STANDARD",
305
- * "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
305
+ * "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
306
306
  * }
307
307
  * ]
308
308
  * }
309
309
  * *\/
310
- * // example id: list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748
310
+ * // example id: to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260
311
311
  * ```
312
312
  *
313
313
  */
@@ -238,85 +238,89 @@ declare const PutObjectCommand_base: {
238
238
  * <p>Base exception class for all service exceptions from S3 service.</p>
239
239
  *
240
240
  * @public
241
- * @example To create an object.
241
+ * @example To upload an object and specify optional tags
242
242
  * ```javascript
243
- * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
243
+ * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
244
244
  * const input = {
245
- * "Body": "filetoupload",
245
+ * "Body": "c:\\HappyFace.jpg",
246
246
  * "Bucket": "examplebucket",
247
- * "Key": "objectkey"
247
+ * "Key": "HappyFace.jpg",
248
+ * "Tagging": "key1=value1&key2=value2"
248
249
  * };
249
250
  * const command = new PutObjectCommand(input);
250
251
  * const response = await client.send(command);
251
252
  * /* response ==
252
253
  * {
253
254
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
254
- * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
255
+ * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
255
256
  * }
256
257
  * *\/
257
- * // example id: to-create-an-object-1483147613675
258
+ * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
258
259
  * ```
259
260
  *
260
- * @example To upload object and specify user-defined metadata
261
+ * @example To upload an object and specify canned ACL.
261
262
  * ```javascript
262
- * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
263
+ * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
263
264
  * const input = {
265
+ * "ACL": "authenticated-read",
264
266
  * "Body": "filetoupload",
265
267
  * "Bucket": "examplebucket",
266
- * "Key": "exampleobject",
267
- * "Metadata": {
268
- * "metadata1": "value1",
269
- * "metadata2": "value2"
270
- * }
268
+ * "Key": "exampleobject"
271
269
  * };
272
270
  * const command = new PutObjectCommand(input);
273
271
  * const response = await client.send(command);
274
272
  * /* response ==
275
273
  * {
276
274
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
277
- * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
275
+ * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
278
276
  * }
279
277
  * *\/
280
- * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
278
+ * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
281
279
  * ```
282
280
  *
283
- * @example To upload an object
281
+ * @example To upload an object and specify server-side encryption and object tags
284
282
  * ```javascript
285
- * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
283
+ * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
286
284
  * const input = {
287
- * "Body": "HappyFace.jpg",
285
+ * "Body": "filetoupload",
288
286
  * "Bucket": "examplebucket",
289
- * "Key": "HappyFace.jpg"
287
+ * "Key": "exampleobject",
288
+ * "ServerSideEncryption": "AES256",
289
+ * "Tagging": "key1=value1&key2=value2"
290
290
  * };
291
291
  * const command = new PutObjectCommand(input);
292
292
  * const response = await client.send(command);
293
293
  * /* response ==
294
294
  * {
295
295
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
296
- * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
296
+ * "ServerSideEncryption": "AES256",
297
+ * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
297
298
  * }
298
299
  * *\/
299
- * // example id: to-upload-an-object-1481760101010
300
+ * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
300
301
  * ```
301
302
  *
302
- * @example To upload an object and specify canned ACL.
303
+ * @example To upload object and specify user-defined metadata
303
304
  * ```javascript
304
- * // The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
305
+ * // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
305
306
  * const input = {
306
- * "ACL": "authenticated-read",
307
307
  * "Body": "filetoupload",
308
308
  * "Bucket": "examplebucket",
309
- * "Key": "exampleobject"
309
+ * "Key": "exampleobject",
310
+ * "Metadata": {
311
+ * "metadata1": "value1",
312
+ * "metadata2": "value2"
313
+ * }
310
314
  * };
311
315
  * const command = new PutObjectCommand(input);
312
316
  * const response = await client.send(command);
313
317
  * /* response ==
314
318
  * {
315
319
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
316
- * "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
320
+ * "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
317
321
  * }
318
322
  * *\/
319
- * // example id: to-upload-an-object-and-specify-canned-acl-1483397779571
323
+ * // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
320
324
  * ```
321
325
  *
322
326
  * @example To upload an object (specify optional headers)
@@ -341,46 +345,42 @@ declare const PutObjectCommand_base: {
341
345
  * // example id: to-upload-an-object-(specify-optional-headers)
342
346
  * ```
343
347
  *
344
- * @example To upload an object and specify optional tags
348
+ * @example To create an object.
345
349
  * ```javascript
346
- * // The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.
350
+ * // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
347
351
  * const input = {
348
- * "Body": "c:\\HappyFace.jpg",
352
+ * "Body": "filetoupload",
349
353
  * "Bucket": "examplebucket",
350
- * "Key": "HappyFace.jpg",
351
- * "Tagging": "key1=value1&key2=value2"
354
+ * "Key": "objectkey"
352
355
  * };
353
356
  * const command = new PutObjectCommand(input);
354
357
  * const response = await client.send(command);
355
358
  * /* response ==
356
359
  * {
357
360
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
358
- * "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
361
+ * "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
359
362
  * }
360
363
  * *\/
361
- * // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
364
+ * // example id: to-create-an-object-1483147613675
362
365
  * ```
363
366
  *
364
- * @example To upload an object and specify server-side encryption and object tags
367
+ * @example To upload an object
365
368
  * ```javascript
366
- * // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
369
+ * // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
367
370
  * const input = {
368
- * "Body": "filetoupload",
371
+ * "Body": "HappyFace.jpg",
369
372
  * "Bucket": "examplebucket",
370
- * "Key": "exampleobject",
371
- * "ServerSideEncryption": "AES256",
372
- * "Tagging": "key1=value1&key2=value2"
373
+ * "Key": "HappyFace.jpg"
373
374
  * };
374
375
  * const command = new PutObjectCommand(input);
375
376
  * const response = await client.send(command);
376
377
  * /* response ==
377
378
  * {
378
379
  * "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
379
- * "ServerSideEncryption": "AES256",
380
- * "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
380
+ * "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
381
381
  * }
382
382
  * *\/
383
- * // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
383
+ * // example id: to-upload-an-object-1481760101010
384
384
  * ```
385
385
  *
386
386
  */
@@ -297,15 +297,14 @@ declare const UploadPartCopyCommand_base: {
297
297
  * <p>Base exception class for all service exceptions from S3 service.</p>
298
298
  *
299
299
  * @public
300
- * @example To upload a part by copying byte range from an existing object as data source
300
+ * @example To upload a part by copying data from an existing object as data source
301
301
  * ```javascript
302
- * // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.
302
+ * // The following example uploads a part of a multipart upload by copying data from an existing object as data source.
303
303
  * const input = {
304
304
  * "Bucket": "examplebucket",
305
305
  * "CopySource": "/bucketname/sourceobjectkey",
306
- * "CopySourceRange": "bytes=1-100000",
307
306
  * "Key": "examplelargeobject",
308
- * "PartNumber": "2",
307
+ * "PartNumber": "1",
309
308
  * "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
310
309
  * };
311
310
  * const command = new UploadPartCopyCommand(input);
@@ -313,22 +312,23 @@ declare const UploadPartCopyCommand_base: {
313
312
  * /* response ==
314
313
  * {
315
314
  * "CopyPartResult": {
316
- * "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
317
- * "LastModified": "2016-12-29T21:44:28.000Z"
315
+ * "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
316
+ * "LastModified": "2016-12-29T21:24:43.000Z"
318
317
  * }
319
318
  * }
320
319
  * *\/
321
- * // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594
320
+ * // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348
322
321
  * ```
323
322
  *
324
- * @example To upload a part by copying data from an existing object as data source
323
+ * @example To upload a part by copying byte range from an existing object as data source
325
324
  * ```javascript
326
- * // The following example uploads a part of a multipart upload by copying data from an existing object as data source.
325
+ * // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.
327
326
  * const input = {
328
327
  * "Bucket": "examplebucket",
329
328
  * "CopySource": "/bucketname/sourceobjectkey",
329
+ * "CopySourceRange": "bytes=1-100000",
330
330
  * "Key": "examplelargeobject",
331
- * "PartNumber": "1",
331
+ * "PartNumber": "2",
332
332
  * "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
333
333
  * };
334
334
  * const command = new UploadPartCopyCommand(input);
@@ -336,12 +336,12 @@ declare const UploadPartCopyCommand_base: {
336
336
  * /* response ==
337
337
  * {
338
338
  * "CopyPartResult": {
339
- * "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
340
- * "LastModified": "2016-12-29T21:24:43.000Z"
339
+ * "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
340
+ * "LastModified": "2016-12-29T21:44:28.000Z"
341
341
  * }
342
342
  * }
343
343
  * *\/
344
- * // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348
344
+ * // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594
345
345
  * ```
346
346
  *
347
347
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.693.0",
4
+ "version": "3.696.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -27,64 +27,64 @@
27
27
  "@aws-crypto/sha1-browser": "5.2.0",
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/client-sso-oidc": "3.693.0",
31
- "@aws-sdk/client-sts": "3.693.0",
32
- "@aws-sdk/core": "3.693.0",
33
- "@aws-sdk/credential-provider-node": "3.693.0",
34
- "@aws-sdk/middleware-bucket-endpoint": "3.693.0",
35
- "@aws-sdk/middleware-expect-continue": "3.693.0",
36
- "@aws-sdk/middleware-flexible-checksums": "3.693.0",
37
- "@aws-sdk/middleware-host-header": "3.693.0",
38
- "@aws-sdk/middleware-location-constraint": "3.693.0",
39
- "@aws-sdk/middleware-logger": "3.693.0",
40
- "@aws-sdk/middleware-recursion-detection": "3.693.0",
41
- "@aws-sdk/middleware-sdk-s3": "3.693.0",
42
- "@aws-sdk/middleware-ssec": "3.693.0",
43
- "@aws-sdk/middleware-user-agent": "3.693.0",
44
- "@aws-sdk/region-config-resolver": "3.693.0",
45
- "@aws-sdk/signature-v4-multi-region": "3.693.0",
46
- "@aws-sdk/types": "3.692.0",
47
- "@aws-sdk/util-endpoints": "3.693.0",
48
- "@aws-sdk/util-user-agent-browser": "3.693.0",
49
- "@aws-sdk/util-user-agent-node": "3.693.0",
50
- "@aws-sdk/xml-builder": "3.693.0",
51
- "@smithy/config-resolver": "^3.0.11",
52
- "@smithy/core": "^2.5.2",
53
- "@smithy/eventstream-serde-browser": "^3.0.12",
54
- "@smithy/eventstream-serde-config-resolver": "^3.0.9",
55
- "@smithy/eventstream-serde-node": "^3.0.11",
56
- "@smithy/fetch-http-handler": "^4.1.0",
57
- "@smithy/hash-blob-browser": "^3.1.8",
58
- "@smithy/hash-node": "^3.0.9",
59
- "@smithy/hash-stream-node": "^3.1.8",
60
- "@smithy/invalid-dependency": "^3.0.9",
61
- "@smithy/md5-js": "^3.0.9",
62
- "@smithy/middleware-content-length": "^3.0.11",
63
- "@smithy/middleware-endpoint": "^3.2.2",
64
- "@smithy/middleware-retry": "^3.0.26",
65
- "@smithy/middleware-serde": "^3.0.9",
66
- "@smithy/middleware-stack": "^3.0.9",
67
- "@smithy/node-config-provider": "^3.1.10",
68
- "@smithy/node-http-handler": "^3.3.0",
69
- "@smithy/protocol-http": "^4.1.6",
70
- "@smithy/smithy-client": "^3.4.3",
71
- "@smithy/types": "^3.7.0",
72
- "@smithy/url-parser": "^3.0.9",
30
+ "@aws-sdk/client-sso-oidc": "3.696.0",
31
+ "@aws-sdk/client-sts": "3.696.0",
32
+ "@aws-sdk/core": "3.696.0",
33
+ "@aws-sdk/credential-provider-node": "3.696.0",
34
+ "@aws-sdk/middleware-bucket-endpoint": "3.696.0",
35
+ "@aws-sdk/middleware-expect-continue": "3.696.0",
36
+ "@aws-sdk/middleware-flexible-checksums": "3.696.0",
37
+ "@aws-sdk/middleware-host-header": "3.696.0",
38
+ "@aws-sdk/middleware-location-constraint": "3.696.0",
39
+ "@aws-sdk/middleware-logger": "3.696.0",
40
+ "@aws-sdk/middleware-recursion-detection": "3.696.0",
41
+ "@aws-sdk/middleware-sdk-s3": "3.696.0",
42
+ "@aws-sdk/middleware-ssec": "3.696.0",
43
+ "@aws-sdk/middleware-user-agent": "3.696.0",
44
+ "@aws-sdk/region-config-resolver": "3.696.0",
45
+ "@aws-sdk/signature-v4-multi-region": "3.696.0",
46
+ "@aws-sdk/types": "3.696.0",
47
+ "@aws-sdk/util-endpoints": "3.696.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.696.0",
49
+ "@aws-sdk/util-user-agent-node": "3.696.0",
50
+ "@aws-sdk/xml-builder": "3.696.0",
51
+ "@smithy/config-resolver": "^3.0.12",
52
+ "@smithy/core": "^2.5.3",
53
+ "@smithy/eventstream-serde-browser": "^3.0.13",
54
+ "@smithy/eventstream-serde-config-resolver": "^3.0.10",
55
+ "@smithy/eventstream-serde-node": "^3.0.12",
56
+ "@smithy/fetch-http-handler": "^4.1.1",
57
+ "@smithy/hash-blob-browser": "^3.1.9",
58
+ "@smithy/hash-node": "^3.0.10",
59
+ "@smithy/hash-stream-node": "^3.1.9",
60
+ "@smithy/invalid-dependency": "^3.0.10",
61
+ "@smithy/md5-js": "^3.0.10",
62
+ "@smithy/middleware-content-length": "^3.0.12",
63
+ "@smithy/middleware-endpoint": "^3.2.3",
64
+ "@smithy/middleware-retry": "^3.0.27",
65
+ "@smithy/middleware-serde": "^3.0.10",
66
+ "@smithy/middleware-stack": "^3.0.10",
67
+ "@smithy/node-config-provider": "^3.1.11",
68
+ "@smithy/node-http-handler": "^3.3.1",
69
+ "@smithy/protocol-http": "^4.1.7",
70
+ "@smithy/smithy-client": "^3.4.4",
71
+ "@smithy/types": "^3.7.1",
72
+ "@smithy/url-parser": "^3.0.10",
73
73
  "@smithy/util-base64": "^3.0.0",
74
74
  "@smithy/util-body-length-browser": "^3.0.0",
75
75
  "@smithy/util-body-length-node": "^3.0.0",
76
- "@smithy/util-defaults-mode-browser": "^3.0.26",
77
- "@smithy/util-defaults-mode-node": "^3.0.26",
78
- "@smithy/util-endpoints": "^2.1.5",
79
- "@smithy/util-middleware": "^3.0.9",
80
- "@smithy/util-retry": "^3.0.9",
81
- "@smithy/util-stream": "^3.3.0",
76
+ "@smithy/util-defaults-mode-browser": "^3.0.27",
77
+ "@smithy/util-defaults-mode-node": "^3.0.27",
78
+ "@smithy/util-endpoints": "^2.1.6",
79
+ "@smithy/util-middleware": "^3.0.10",
80
+ "@smithy/util-retry": "^3.0.10",
81
+ "@smithy/util-stream": "^3.3.1",
82
82
  "@smithy/util-utf8": "^3.0.0",
83
- "@smithy/util-waiter": "^3.1.8",
83
+ "@smithy/util-waiter": "^3.1.9",
84
84
  "tslib": "^2.6.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@aws-sdk/signature-v4-crt": "3.693.0",
87
+ "@aws-sdk/signature-v4-crt": "3.696.0",
88
88
  "@tsconfig/node16": "16.1.3",
89
89
  "@types/node": "^16.18.96",
90
90
  "concurrently": "7.0.0",