@aws-sdk/client-s3 3.722.0 → 3.723.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +489 -369
- package/dist-es/S3Client.js +1 -0
- package/dist-es/models/models_0.js +18 -16
- package/dist-es/models/models_1.js +10 -10
- package/dist-types/commands/DeleteObjectCommand.d.ts +10 -10
- package/dist-types/commands/DeleteObjectsCommand.d.ts +22 -22
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +32 -32
- package/dist-types/commands/PutObjectCommand.d.ts +44 -44
- package/dist-types/commands/UploadPartCopyCommand.d.ts +13 -13
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +29 -11
- package/package.json +60 -60
package/dist-es/S3Client.js
CHANGED
|
@@ -19,6 +19,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
19
19
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
20
20
|
export { __Client };
|
|
21
21
|
export class S3Client extends __Client {
|
|
22
|
+
config;
|
|
22
23
|
constructor(...[configuration]) {
|
|
23
24
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
24
25
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -7,14 +7,14 @@ export const RequestPayer = {
|
|
|
7
7
|
requester: "requester",
|
|
8
8
|
};
|
|
9
9
|
export class NoSuchUpload extends __BaseException {
|
|
10
|
+
name = "NoSuchUpload";
|
|
11
|
+
$fault = "client";
|
|
10
12
|
constructor(opts) {
|
|
11
13
|
super({
|
|
12
14
|
name: "NoSuchUpload",
|
|
13
15
|
$fault: "client",
|
|
14
16
|
...opts,
|
|
15
17
|
});
|
|
16
|
-
this.name = "NoSuchUpload";
|
|
17
|
-
this.$fault = "client";
|
|
18
18
|
Object.setPrototypeOf(this, NoSuchUpload.prototype);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -87,38 +87,38 @@ export const TaggingDirective = {
|
|
|
87
87
|
REPLACE: "REPLACE",
|
|
88
88
|
};
|
|
89
89
|
export class ObjectNotInActiveTierError extends __BaseException {
|
|
90
|
+
name = "ObjectNotInActiveTierError";
|
|
91
|
+
$fault = "client";
|
|
90
92
|
constructor(opts) {
|
|
91
93
|
super({
|
|
92
94
|
name: "ObjectNotInActiveTierError",
|
|
93
95
|
$fault: "client",
|
|
94
96
|
...opts,
|
|
95
97
|
});
|
|
96
|
-
this.name = "ObjectNotInActiveTierError";
|
|
97
|
-
this.$fault = "client";
|
|
98
98
|
Object.setPrototypeOf(this, ObjectNotInActiveTierError.prototype);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
export class BucketAlreadyExists extends __BaseException {
|
|
102
|
+
name = "BucketAlreadyExists";
|
|
103
|
+
$fault = "client";
|
|
102
104
|
constructor(opts) {
|
|
103
105
|
super({
|
|
104
106
|
name: "BucketAlreadyExists",
|
|
105
107
|
$fault: "client",
|
|
106
108
|
...opts,
|
|
107
109
|
});
|
|
108
|
-
this.name = "BucketAlreadyExists";
|
|
109
|
-
this.$fault = "client";
|
|
110
110
|
Object.setPrototypeOf(this, BucketAlreadyExists.prototype);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
export class BucketAlreadyOwnedByYou extends __BaseException {
|
|
114
|
+
name = "BucketAlreadyOwnedByYou";
|
|
115
|
+
$fault = "client";
|
|
114
116
|
constructor(opts) {
|
|
115
117
|
super({
|
|
116
118
|
name: "BucketAlreadyOwnedByYou",
|
|
117
119
|
$fault: "client",
|
|
118
120
|
...opts,
|
|
119
121
|
});
|
|
120
|
-
this.name = "BucketAlreadyOwnedByYou";
|
|
121
|
-
this.$fault = "client";
|
|
122
122
|
Object.setPrototypeOf(this, BucketAlreadyOwnedByYou.prototype);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
@@ -179,14 +179,14 @@ export const SessionMode = {
|
|
|
179
179
|
ReadWrite: "ReadWrite",
|
|
180
180
|
};
|
|
181
181
|
export class NoSuchBucket extends __BaseException {
|
|
182
|
+
name = "NoSuchBucket";
|
|
183
|
+
$fault = "client";
|
|
182
184
|
constructor(opts) {
|
|
183
185
|
super({
|
|
184
186
|
name: "NoSuchBucket",
|
|
185
187
|
$fault: "client",
|
|
186
188
|
...opts,
|
|
187
189
|
});
|
|
188
|
-
this.name = "NoSuchBucket";
|
|
189
|
-
this.$fault = "client";
|
|
190
190
|
Object.setPrototypeOf(this, NoSuchBucket.prototype);
|
|
191
191
|
}
|
|
192
192
|
}
|
|
@@ -373,28 +373,30 @@ export const ChecksumMode = {
|
|
|
373
373
|
ENABLED: "ENABLED",
|
|
374
374
|
};
|
|
375
375
|
export class InvalidObjectState extends __BaseException {
|
|
376
|
+
name = "InvalidObjectState";
|
|
377
|
+
$fault = "client";
|
|
378
|
+
StorageClass;
|
|
379
|
+
AccessTier;
|
|
376
380
|
constructor(opts) {
|
|
377
381
|
super({
|
|
378
382
|
name: "InvalidObjectState",
|
|
379
383
|
$fault: "client",
|
|
380
384
|
...opts,
|
|
381
385
|
});
|
|
382
|
-
this.name = "InvalidObjectState";
|
|
383
|
-
this.$fault = "client";
|
|
384
386
|
Object.setPrototypeOf(this, InvalidObjectState.prototype);
|
|
385
387
|
this.StorageClass = opts.StorageClass;
|
|
386
388
|
this.AccessTier = opts.AccessTier;
|
|
387
389
|
}
|
|
388
390
|
}
|
|
389
391
|
export class NoSuchKey extends __BaseException {
|
|
392
|
+
name = "NoSuchKey";
|
|
393
|
+
$fault = "client";
|
|
390
394
|
constructor(opts) {
|
|
391
395
|
super({
|
|
392
396
|
name: "NoSuchKey",
|
|
393
397
|
$fault: "client",
|
|
394
398
|
...opts,
|
|
395
399
|
});
|
|
396
|
-
this.name = "NoSuchKey";
|
|
397
|
-
this.$fault = "client";
|
|
398
400
|
Object.setPrototypeOf(this, NoSuchKey.prototype);
|
|
399
401
|
}
|
|
400
402
|
}
|
|
@@ -413,14 +415,14 @@ export const ObjectLockRetentionMode = {
|
|
|
413
415
|
GOVERNANCE: "GOVERNANCE",
|
|
414
416
|
};
|
|
415
417
|
export class NotFound extends __BaseException {
|
|
418
|
+
name = "NotFound";
|
|
419
|
+
$fault = "client";
|
|
416
420
|
constructor(opts) {
|
|
417
421
|
super({
|
|
418
422
|
name: "NotFound",
|
|
419
423
|
$fault: "client",
|
|
420
424
|
...opts,
|
|
421
425
|
});
|
|
422
|
-
this.name = "NotFound";
|
|
423
|
-
this.$fault = "client";
|
|
424
426
|
Object.setPrototypeOf(this, NotFound.prototype);
|
|
425
427
|
}
|
|
426
428
|
}
|
|
@@ -6,62 +6,62 @@ export const MFADelete = {
|
|
|
6
6
|
Enabled: "Enabled",
|
|
7
7
|
};
|
|
8
8
|
export class EncryptionTypeMismatch extends __BaseException {
|
|
9
|
+
name = "EncryptionTypeMismatch";
|
|
10
|
+
$fault = "client";
|
|
9
11
|
constructor(opts) {
|
|
10
12
|
super({
|
|
11
13
|
name: "EncryptionTypeMismatch",
|
|
12
14
|
$fault: "client",
|
|
13
15
|
...opts,
|
|
14
16
|
});
|
|
15
|
-
this.name = "EncryptionTypeMismatch";
|
|
16
|
-
this.$fault = "client";
|
|
17
17
|
Object.setPrototypeOf(this, EncryptionTypeMismatch.prototype);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
export class InvalidRequest extends __BaseException {
|
|
21
|
+
name = "InvalidRequest";
|
|
22
|
+
$fault = "client";
|
|
21
23
|
constructor(opts) {
|
|
22
24
|
super({
|
|
23
25
|
name: "InvalidRequest",
|
|
24
26
|
$fault: "client",
|
|
25
27
|
...opts,
|
|
26
28
|
});
|
|
27
|
-
this.name = "InvalidRequest";
|
|
28
|
-
this.$fault = "client";
|
|
29
29
|
Object.setPrototypeOf(this, InvalidRequest.prototype);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
export class InvalidWriteOffset extends __BaseException {
|
|
33
|
+
name = "InvalidWriteOffset";
|
|
34
|
+
$fault = "client";
|
|
33
35
|
constructor(opts) {
|
|
34
36
|
super({
|
|
35
37
|
name: "InvalidWriteOffset",
|
|
36
38
|
$fault: "client",
|
|
37
39
|
...opts,
|
|
38
40
|
});
|
|
39
|
-
this.name = "InvalidWriteOffset";
|
|
40
|
-
this.$fault = "client";
|
|
41
41
|
Object.setPrototypeOf(this, InvalidWriteOffset.prototype);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
export class TooManyParts extends __BaseException {
|
|
45
|
+
name = "TooManyParts";
|
|
46
|
+
$fault = "client";
|
|
45
47
|
constructor(opts) {
|
|
46
48
|
super({
|
|
47
49
|
name: "TooManyParts",
|
|
48
50
|
$fault: "client",
|
|
49
51
|
...opts,
|
|
50
52
|
});
|
|
51
|
-
this.name = "TooManyParts";
|
|
52
|
-
this.$fault = "client";
|
|
53
53
|
Object.setPrototypeOf(this, TooManyParts.prototype);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
export class ObjectAlreadyInActiveTierError extends __BaseException {
|
|
57
|
+
name = "ObjectAlreadyInActiveTierError";
|
|
58
|
+
$fault = "client";
|
|
57
59
|
constructor(opts) {
|
|
58
60
|
super({
|
|
59
61
|
name: "ObjectAlreadyInActiveTierError",
|
|
60
62
|
$fault: "client",
|
|
61
63
|
...opts,
|
|
62
64
|
});
|
|
63
|
-
this.name = "ObjectAlreadyInActiveTierError";
|
|
64
|
-
this.$fault = "client";
|
|
65
65
|
Object.setPrototypeOf(this, ObjectAlreadyInActiveTierError.prototype);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -165,28 +165,28 @@ declare const DeleteObjectCommand_base: {
|
|
|
165
165
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
166
166
|
*
|
|
167
167
|
* @public
|
|
168
|
-
* @example To delete an object
|
|
168
|
+
* @example To delete an object (from a non-versioned bucket)
|
|
169
169
|
* ```javascript
|
|
170
|
-
* // The following example deletes an object from
|
|
170
|
+
* // The following example deletes an object from a non-versioned bucket.
|
|
171
171
|
* const input = {
|
|
172
|
-
* "Bucket": "
|
|
173
|
-
* "Key": "
|
|
172
|
+
* "Bucket": "ExampleBucket",
|
|
173
|
+
* "Key": "HappyFace.jpg"
|
|
174
174
|
* };
|
|
175
175
|
* const command = new DeleteObjectCommand(input);
|
|
176
176
|
* await client.send(command);
|
|
177
|
-
* // example id: to-delete-an-object-
|
|
177
|
+
* // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
|
|
178
178
|
* ```
|
|
179
179
|
*
|
|
180
|
-
* @example To delete an object
|
|
180
|
+
* @example To delete an object
|
|
181
181
|
* ```javascript
|
|
182
|
-
* // The following example deletes an object from
|
|
182
|
+
* // The following example deletes an object from an S3 bucket.
|
|
183
183
|
* const input = {
|
|
184
|
-
* "Bucket": "
|
|
185
|
-
* "Key": "
|
|
184
|
+
* "Bucket": "examplebucket",
|
|
185
|
+
* "Key": "objectkey.jpg"
|
|
186
186
|
* };
|
|
187
187
|
* const command = new DeleteObjectCommand(input);
|
|
188
188
|
* await client.send(command);
|
|
189
|
-
* // example id: to-delete-an-object-
|
|
189
|
+
* // example id: to-delete-an-object-1472850136595
|
|
190
190
|
* ```
|
|
191
191
|
*
|
|
192
192
|
*/
|
|
@@ -225,18 +225,20 @@ declare const DeleteObjectsCommand_base: {
|
|
|
225
225
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
226
226
|
*
|
|
227
227
|
* @public
|
|
228
|
-
* @example To delete multiple
|
|
228
|
+
* @example To delete multiple object versions from a versioned bucket
|
|
229
229
|
* ```javascript
|
|
230
|
-
* // The following example deletes objects from a bucket. The
|
|
230
|
+
* // The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.
|
|
231
231
|
* const input = {
|
|
232
232
|
* "Bucket": "examplebucket",
|
|
233
233
|
* "Delete": {
|
|
234
234
|
* "Objects": [
|
|
235
235
|
* {
|
|
236
|
-
* "Key": "
|
|
236
|
+
* "Key": "HappyFace.jpg",
|
|
237
|
+
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
|
237
238
|
* },
|
|
238
239
|
* {
|
|
239
|
-
* "Key": "
|
|
240
|
+
* "Key": "HappyFace.jpg",
|
|
241
|
+
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
|
240
242
|
* }
|
|
241
243
|
* ],
|
|
242
244
|
* "Quiet": false
|
|
@@ -248,35 +250,31 @@ declare const DeleteObjectsCommand_base: {
|
|
|
248
250
|
* {
|
|
249
251
|
* "Deleted": [
|
|
250
252
|
* {
|
|
251
|
-
* "
|
|
252
|
-
* "
|
|
253
|
-
* "Key": "objectkey1"
|
|
253
|
+
* "Key": "HappyFace.jpg",
|
|
254
|
+
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
|
254
255
|
* },
|
|
255
256
|
* {
|
|
256
|
-
* "
|
|
257
|
-
* "
|
|
258
|
-
* "Key": "objectkey2"
|
|
257
|
+
* "Key": "HappyFace.jpg",
|
|
258
|
+
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
|
259
259
|
* }
|
|
260
260
|
* ]
|
|
261
261
|
* }
|
|
262
262
|
* *\/
|
|
263
|
-
* // example id: to-delete-multiple-
|
|
263
|
+
* // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
|
|
264
264
|
* ```
|
|
265
265
|
*
|
|
266
|
-
* @example To delete multiple
|
|
266
|
+
* @example To delete multiple objects from a versioned bucket
|
|
267
267
|
* ```javascript
|
|
268
|
-
* // The following example deletes objects from a bucket. The request
|
|
268
|
+
* // The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
|
|
269
269
|
* const input = {
|
|
270
270
|
* "Bucket": "examplebucket",
|
|
271
271
|
* "Delete": {
|
|
272
272
|
* "Objects": [
|
|
273
273
|
* {
|
|
274
|
-
* "Key": "
|
|
275
|
-
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
|
274
|
+
* "Key": "objectkey1"
|
|
276
275
|
* },
|
|
277
276
|
* {
|
|
278
|
-
* "Key": "
|
|
279
|
-
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
|
277
|
+
* "Key": "objectkey2"
|
|
280
278
|
* }
|
|
281
279
|
* ],
|
|
282
280
|
* "Quiet": false
|
|
@@ -288,17 +286,19 @@ declare const DeleteObjectsCommand_base: {
|
|
|
288
286
|
* {
|
|
289
287
|
* "Deleted": [
|
|
290
288
|
* {
|
|
291
|
-
* "
|
|
292
|
-
* "
|
|
289
|
+
* "DeleteMarker": "true",
|
|
290
|
+
* "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
|
|
291
|
+
* "Key": "objectkey1"
|
|
293
292
|
* },
|
|
294
293
|
* {
|
|
295
|
-
* "
|
|
296
|
-
* "
|
|
294
|
+
* "DeleteMarker": "true",
|
|
295
|
+
* "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
|
|
296
|
+
* "Key": "objectkey2"
|
|
297
297
|
* }
|
|
298
298
|
* ]
|
|
299
299
|
* }
|
|
300
300
|
* *\/
|
|
301
|
-
* // example id: to-delete-multiple-
|
|
301
|
+
* // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
|
|
302
302
|
* ```
|
|
303
303
|
*
|
|
304
304
|
*/
|
|
@@ -228,104 +228,104 @@ declare const ListMultipartUploadsCommand_base: {
|
|
|
228
228
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
229
229
|
*
|
|
230
230
|
* @public
|
|
231
|
-
* @example
|
|
231
|
+
* @example List next set of multipart uploads when previous result is truncated
|
|
232
232
|
* ```javascript
|
|
233
|
-
* // The following example
|
|
233
|
+
* // The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.
|
|
234
234
|
* const input = {
|
|
235
|
-
* "Bucket": "examplebucket"
|
|
235
|
+
* "Bucket": "examplebucket",
|
|
236
|
+
* "KeyMarker": "nextkeyfrompreviousresponse",
|
|
237
|
+
* "MaxUploads": "2",
|
|
238
|
+
* "UploadIdMarker": "valuefrompreviousresponse"
|
|
236
239
|
* };
|
|
237
240
|
* const command = new ListMultipartUploadsCommand(input);
|
|
238
241
|
* const response = await client.send(command);
|
|
239
242
|
* /* response ==
|
|
240
243
|
* {
|
|
244
|
+
* "Bucket": "acl1",
|
|
245
|
+
* "IsTruncated": true,
|
|
246
|
+
* "KeyMarker": "",
|
|
247
|
+
* "MaxUploads": "2",
|
|
248
|
+
* "NextKeyMarker": "someobjectkey",
|
|
249
|
+
* "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
|
250
|
+
* "UploadIdMarker": "",
|
|
241
251
|
* "Uploads": [
|
|
242
252
|
* {
|
|
243
253
|
* "Initiated": "2014-05-01T05:40:58.000Z",
|
|
244
254
|
* "Initiator": {
|
|
245
|
-
* "DisplayName": "display-name",
|
|
255
|
+
* "DisplayName": "ownder-display-name",
|
|
246
256
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
247
257
|
* },
|
|
248
258
|
* "Key": "JavaFile",
|
|
249
259
|
* "Owner": {
|
|
250
|
-
* "DisplayName": "
|
|
251
|
-
* "ID": "
|
|
260
|
+
* "DisplayName": "mohanataws",
|
|
261
|
+
* "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
252
262
|
* },
|
|
253
263
|
* "StorageClass": "STANDARD",
|
|
254
|
-
* "UploadId": "
|
|
264
|
+
* "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
|
|
255
265
|
* },
|
|
256
266
|
* {
|
|
257
267
|
* "Initiated": "2014-05-01T05:41:27.000Z",
|
|
258
268
|
* "Initiator": {
|
|
259
|
-
* "DisplayName": "display-name",
|
|
269
|
+
* "DisplayName": "ownder-display-name",
|
|
260
270
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
261
271
|
* },
|
|
262
272
|
* "Key": "JavaFile",
|
|
263
273
|
* "Owner": {
|
|
264
|
-
* "DisplayName": "display-name",
|
|
274
|
+
* "DisplayName": "ownder-display-name",
|
|
265
275
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
266
276
|
* },
|
|
267
277
|
* "StorageClass": "STANDARD",
|
|
268
|
-
* "UploadId": "
|
|
278
|
+
* "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
|
|
269
279
|
* }
|
|
270
280
|
* ]
|
|
271
281
|
* }
|
|
272
282
|
* *\/
|
|
273
|
-
* // example id:
|
|
283
|
+
* // example id: list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748
|
|
274
284
|
* ```
|
|
275
285
|
*
|
|
276
|
-
* @example
|
|
286
|
+
* @example To list in-progress multipart uploads on a bucket
|
|
277
287
|
* ```javascript
|
|
278
|
-
* // The following example
|
|
288
|
+
* // The following example lists in-progress multipart uploads on a specific bucket.
|
|
279
289
|
* const input = {
|
|
280
|
-
* "Bucket": "examplebucket"
|
|
281
|
-
* "KeyMarker": "nextkeyfrompreviousresponse",
|
|
282
|
-
* "MaxUploads": "2",
|
|
283
|
-
* "UploadIdMarker": "valuefrompreviousresponse"
|
|
290
|
+
* "Bucket": "examplebucket"
|
|
284
291
|
* };
|
|
285
292
|
* const command = new ListMultipartUploadsCommand(input);
|
|
286
293
|
* const response = await client.send(command);
|
|
287
294
|
* /* response ==
|
|
288
295
|
* {
|
|
289
|
-
* "Bucket": "acl1",
|
|
290
|
-
* "IsTruncated": true,
|
|
291
|
-
* "KeyMarker": "",
|
|
292
|
-
* "MaxUploads": "2",
|
|
293
|
-
* "NextKeyMarker": "someobjectkey",
|
|
294
|
-
* "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
|
|
295
|
-
* "UploadIdMarker": "",
|
|
296
296
|
* "Uploads": [
|
|
297
297
|
* {
|
|
298
298
|
* "Initiated": "2014-05-01T05:40:58.000Z",
|
|
299
299
|
* "Initiator": {
|
|
300
|
-
* "DisplayName": "
|
|
300
|
+
* "DisplayName": "display-name",
|
|
301
301
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
302
302
|
* },
|
|
303
303
|
* "Key": "JavaFile",
|
|
304
304
|
* "Owner": {
|
|
305
|
-
* "DisplayName": "
|
|
306
|
-
* "ID": "
|
|
305
|
+
* "DisplayName": "display-name",
|
|
306
|
+
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
307
307
|
* },
|
|
308
308
|
* "StorageClass": "STANDARD",
|
|
309
|
-
* "UploadId": "
|
|
309
|
+
* "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
|
|
310
310
|
* },
|
|
311
311
|
* {
|
|
312
312
|
* "Initiated": "2014-05-01T05:41:27.000Z",
|
|
313
313
|
* "Initiator": {
|
|
314
|
-
* "DisplayName": "
|
|
314
|
+
* "DisplayName": "display-name",
|
|
315
315
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
316
316
|
* },
|
|
317
317
|
* "Key": "JavaFile",
|
|
318
318
|
* "Owner": {
|
|
319
|
-
* "DisplayName": "
|
|
319
|
+
* "DisplayName": "display-name",
|
|
320
320
|
* "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
|
321
321
|
* },
|
|
322
322
|
* "StorageClass": "STANDARD",
|
|
323
|
-
* "UploadId": "
|
|
323
|
+
* "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
|
|
324
324
|
* }
|
|
325
325
|
* ]
|
|
326
326
|
* }
|
|
327
327
|
* *\/
|
|
328
|
-
* // example id: list-
|
|
328
|
+
* // example id: to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260
|
|
329
329
|
* ```
|
|
330
330
|
*
|
|
331
331
|
*/
|