aws-sdk-core 2.9.25 → 2.9.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,6 +75,16 @@
75
75
  "output_token": "NextToken",
76
76
  "limit_key": "MaxResults"
77
77
  },
78
+ "ListTypedLinkFacetAttributes": {
79
+ "input_token": "NextToken",
80
+ "output_token": "NextToken",
81
+ "limit_key": "MaxResults"
82
+ },
83
+ "ListTypedLinkFacetNames": {
84
+ "input_token": "NextToken",
85
+ "output_token": "NextToken",
86
+ "limit_key": "MaxResults"
87
+ },
78
88
  "LookupPolicy": {
79
89
  "input_token": "NextToken",
80
90
  "output_token": "NextToken",
@@ -1,5 +1,1876 @@
1
1
  {
2
2
  "version": "1.0",
3
3
  "examples": {
4
+ "AbortMultipartUpload": [
5
+ {
6
+ "input": {
7
+ "Bucket": "examplebucket",
8
+ "Key": "bigobject",
9
+ "UploadId": "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
10
+ },
11
+ "output": {
12
+ },
13
+ "comments": {
14
+ "input": {
15
+ },
16
+ "output": {
17
+ }
18
+ },
19
+ "description": "The following example aborts a multipart upload.",
20
+ "id": "to-abort-a-multipart-upload-1481853354987",
21
+ "title": "To abort a multipart upload"
22
+ }
23
+ ],
24
+ "CompleteMultipartUpload": [
25
+ {
26
+ "input": {
27
+ "Bucket": "examplebucket",
28
+ "Key": "bigobject",
29
+ "MultipartUpload": {
30
+ "Parts": [
31
+ {
32
+ "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
33
+ "PartNumber": "1"
34
+ },
35
+ {
36
+ "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
37
+ "PartNumber": "2"
38
+ }
39
+ ]
40
+ },
41
+ "UploadId": "7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
42
+ },
43
+ "output": {
44
+ "Bucket": "acexamplebucket",
45
+ "ETag": "\"4d9031c7644d8081c2829f4ea23c55f7-2\"",
46
+ "Key": "bigobject",
47
+ "Location": "https://examplebucket.s3.amazonaws.com/bigobject"
48
+ },
49
+ "comments": {
50
+ "input": {
51
+ },
52
+ "output": {
53
+ }
54
+ },
55
+ "description": "The following example completes a multipart upload.",
56
+ "id": "to-complete-multipart-upload-1481851590483",
57
+ "title": "To complete multipart upload"
58
+ }
59
+ ],
60
+ "CopyObject": [
61
+ {
62
+ "input": {
63
+ "Bucket": "destinationbucket",
64
+ "CopySource": "/sourcebucket/HappyFacejpg",
65
+ "Key": "HappyFaceCopyjpg"
66
+ },
67
+ "output": {
68
+ "CopyObjectResult": {
69
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
70
+ "LastModified": "2016-12-15T17:38:53.000Z"
71
+ }
72
+ },
73
+ "comments": {
74
+ "input": {
75
+ },
76
+ "output": {
77
+ }
78
+ },
79
+ "description": "The following example copies an object from one bucket to another.",
80
+ "id": "to-copy-an-object-1481823186878",
81
+ "title": "To copy an object"
82
+ }
83
+ ],
84
+ "CreateBucket": [
85
+ {
86
+ "input": {
87
+ "Bucket": "examplebucket",
88
+ "CreateBucketConfiguration": {
89
+ "LocationConstraint": "eu-west-1"
90
+ }
91
+ },
92
+ "output": {
93
+ "Location": "http://examplebucket.s3.amazonaws.com/"
94
+ },
95
+ "comments": {
96
+ "input": {
97
+ },
98
+ "output": {
99
+ }
100
+ },
101
+ "description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.",
102
+ "id": "to-create-a-bucket-in-a-specific-region-1483399072992",
103
+ "title": "To create a bucket in a specific region"
104
+ },
105
+ {
106
+ "input": {
107
+ "Bucket": "examplebucket"
108
+ },
109
+ "output": {
110
+ "Location": "/examplebucket"
111
+ },
112
+ "comments": {
113
+ "input": {
114
+ },
115
+ "output": {
116
+ }
117
+ },
118
+ "description": "The following example creates a bucket.",
119
+ "id": "to-create-a-bucket--1472851826060",
120
+ "title": "To create a bucket "
121
+ }
122
+ ],
123
+ "CreateMultipartUpload": [
124
+ {
125
+ "input": {
126
+ "Bucket": "examplebucket",
127
+ "Key": "largeobject"
128
+ },
129
+ "output": {
130
+ "Bucket": "examplebucket",
131
+ "Key": "largeobject",
132
+ "UploadId": "ibZBv_75gd9r8lH_gqXatLdxMVpAlj6ZQjEs.OwyF3953YdwbcQnMA2BLGn8Lx12fQNICtMw5KyteFeHw.Sjng--"
133
+ },
134
+ "comments": {
135
+ "input": {
136
+ },
137
+ "output": {
138
+ }
139
+ },
140
+ "description": "The following example initiates a multipart upload.",
141
+ "id": "to-initiate-a-multipart-upload-1481836794513",
142
+ "title": "To initiate a multipart upload"
143
+ }
144
+ ],
145
+ "DeleteBucket": [
146
+ {
147
+ "input": {
148
+ "Bucket": "forrandall2"
149
+ },
150
+ "comments": {
151
+ "input": {
152
+ },
153
+ "output": {
154
+ }
155
+ },
156
+ "description": "The following example deletes the specified bucket.",
157
+ "id": "to-delete-a-bucket-1473108514262",
158
+ "title": "To delete a bucket"
159
+ }
160
+ ],
161
+ "DeleteBucketCors": [
162
+ {
163
+ "input": {
164
+ "Bucket": "examplebucket"
165
+ },
166
+ "comments": {
167
+ "input": {
168
+ },
169
+ "output": {
170
+ }
171
+ },
172
+ "description": "The following example deletes CORS configuration on a bucket.",
173
+ "id": "to-delete-cors-configuration-on-a-bucket-1483042856112",
174
+ "title": "To delete cors configuration on a bucket."
175
+ }
176
+ ],
177
+ "DeleteBucketLifecycle": [
178
+ {
179
+ "input": {
180
+ "Bucket": "examplebucket"
181
+ },
182
+ "comments": {
183
+ "input": {
184
+ },
185
+ "output": {
186
+ }
187
+ },
188
+ "description": "The following example deletes lifecycle configuration on a bucket.",
189
+ "id": "to-delete-lifecycle-configuration-on-a-bucket-1483043310583",
190
+ "title": "To delete lifecycle configuration on a bucket."
191
+ }
192
+ ],
193
+ "DeleteBucketPolicy": [
194
+ {
195
+ "input": {
196
+ "Bucket": "examplebucket"
197
+ },
198
+ "comments": {
199
+ "input": {
200
+ },
201
+ "output": {
202
+ }
203
+ },
204
+ "description": "The following example deletes bucket policy on the specified bucket.",
205
+ "id": "to-delete-bucket-policy-1483043406577",
206
+ "title": "To delete bucket policy"
207
+ }
208
+ ],
209
+ "DeleteBucketReplication": [
210
+ {
211
+ "input": {
212
+ "Bucket": "example"
213
+ },
214
+ "comments": {
215
+ "input": {
216
+ },
217
+ "output": {
218
+ }
219
+ },
220
+ "description": "The following example deletes replication configuration set on bucket.",
221
+ "id": "to-delete-bucket-replication-configuration-1483043684668",
222
+ "title": "To delete bucket replication configuration"
223
+ }
224
+ ],
225
+ "DeleteBucketTagging": [
226
+ {
227
+ "input": {
228
+ "Bucket": "examplebucket"
229
+ },
230
+ "comments": {
231
+ "input": {
232
+ },
233
+ "output": {
234
+ }
235
+ },
236
+ "description": "The following example deletes bucket tags.",
237
+ "id": "to-delete-bucket-tags-1483043846509",
238
+ "title": "To delete bucket tags"
239
+ }
240
+ ],
241
+ "DeleteBucketWebsite": [
242
+ {
243
+ "input": {
244
+ "Bucket": "examplebucket"
245
+ },
246
+ "comments": {
247
+ "input": {
248
+ },
249
+ "output": {
250
+ }
251
+ },
252
+ "description": "The following example deletes bucket website configuration.",
253
+ "id": "to-delete-bucket-website-configuration-1483043937825",
254
+ "title": "To delete bucket website configuration"
255
+ }
256
+ ],
257
+ "DeleteObject": [
258
+ {
259
+ "input": {
260
+ "Bucket": "ExampleBucket",
261
+ "Key": "HappyFace.jpg"
262
+ },
263
+ "comments": {
264
+ "input": {
265
+ },
266
+ "output": {
267
+ }
268
+ },
269
+ "description": "The following example deletes an object from a non-versioned bucket.",
270
+ "id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089",
271
+ "title": "To delete an object (from a non-versioned bucket)"
272
+ },
273
+ {
274
+ "input": {
275
+ "Bucket": "examplebucket",
276
+ "Key": "objectkey.jpg"
277
+ },
278
+ "output": {
279
+ },
280
+ "comments": {
281
+ "input": {
282
+ },
283
+ "output": {
284
+ }
285
+ },
286
+ "description": "The following example deletes an object from an S3 bucket.",
287
+ "id": "to-delete-an-object-1472850136595",
288
+ "title": "To delete an object"
289
+ }
290
+ ],
291
+ "DeleteObjectTagging": [
292
+ {
293
+ "input": {
294
+ "Bucket": "examplebucket",
295
+ "Key": "HappyFace.jpg",
296
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
297
+ },
298
+ "output": {
299
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
300
+ },
301
+ "comments": {
302
+ "input": {
303
+ },
304
+ "output": {
305
+ }
306
+ },
307
+ "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
308
+ "id": "to-remove-tag-set-from-an-object-version-1483145285913",
309
+ "title": "To remove tag set from an object version"
310
+ },
311
+ {
312
+ "input": {
313
+ "Bucket": "examplebucket",
314
+ "Key": "HappyFace.jpg"
315
+ },
316
+ "output": {
317
+ "VersionId": "null"
318
+ },
319
+ "comments": {
320
+ "input": {
321
+ },
322
+ "output": {
323
+ }
324
+ },
325
+ "description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
326
+ "id": "to-remove-tag-set-from-an-object-1483145342862",
327
+ "title": "To remove tag set from an object"
328
+ }
329
+ ],
330
+ "DeleteObjects": [
331
+ {
332
+ "input": {
333
+ "Bucket": "examplebucket",
334
+ "Delete": {
335
+ "Objects": [
336
+ {
337
+ "Key": "HappyFace.jpg",
338
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
339
+ },
340
+ {
341
+ "Key": "HappyFace.jpg",
342
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
343
+ }
344
+ ],
345
+ "Quiet": false
346
+ }
347
+ },
348
+ "output": {
349
+ "Deleted": [
350
+ {
351
+ "Key": "HappyFace.jpg",
352
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
353
+ },
354
+ {
355
+ "Key": "HappyFace.jpg",
356
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
357
+ }
358
+ ]
359
+ },
360
+ "comments": {
361
+ "input": {
362
+ },
363
+ "output": {
364
+ }
365
+ },
366
+ "description": "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.",
367
+ "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
368
+ "title": "To delete multiple object versions from a versioned bucket"
369
+ },
370
+ {
371
+ "input": {
372
+ "Bucket": "examplebucket",
373
+ "Delete": {
374
+ "Objects": [
375
+ {
376
+ "Key": "objectkey1"
377
+ },
378
+ {
379
+ "Key": "objectkey2"
380
+ }
381
+ ],
382
+ "Quiet": false
383
+ }
384
+ },
385
+ "output": {
386
+ "Deleted": [
387
+ {
388
+ "DeleteMarker": "true",
389
+ "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
390
+ "Key": "objectkey1"
391
+ },
392
+ {
393
+ "DeleteMarker": "true",
394
+ "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
395
+ "Key": "objectkey2"
396
+ }
397
+ ]
398
+ },
399
+ "comments": {
400
+ "input": {
401
+ },
402
+ "output": {
403
+ }
404
+ },
405
+ "description": "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.",
406
+ "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
407
+ "title": "To delete multiple objects from a versioned bucket"
408
+ }
409
+ ],
410
+ "GetBucketCors": [
411
+ {
412
+ "input": {
413
+ "Bucket": "examplebucket"
414
+ },
415
+ "output": {
416
+ "CORSRules": [
417
+ {
418
+ "AllowedHeaders": [
419
+ "Authorization"
420
+ ],
421
+ "AllowedMethods": [
422
+ "GET"
423
+ ],
424
+ "AllowedOrigins": [
425
+ "*"
426
+ ],
427
+ "MaxAgeSeconds": 3000
428
+ }
429
+ ]
430
+ },
431
+ "comments": {
432
+ "input": {
433
+ },
434
+ "output": {
435
+ }
436
+ },
437
+ "description": "The following example returns cross-origin resource sharing (CORS) configuration set on a bucket.",
438
+ "id": "to-get-cors-configuration-set-on-a-bucket-1481596855475",
439
+ "title": "To get cors configuration set on a bucket"
440
+ }
441
+ ],
442
+ "GetBucketLifecycle": [
443
+ {
444
+ "input": {
445
+ "Bucket": "acl1"
446
+ },
447
+ "output": {
448
+ "Rules": [
449
+ {
450
+ "Expiration": {
451
+ "Days": 1
452
+ },
453
+ "ID": "delete logs",
454
+ "Prefix": "123/",
455
+ "Status": "Enabled"
456
+ }
457
+ ]
458
+ },
459
+ "comments": {
460
+ "input": {
461
+ },
462
+ "output": {
463
+ }
464
+ },
465
+ "description": "The following example gets ACL on the specified bucket.",
466
+ "id": "to-get-a-bucket-acl-1474413606503",
467
+ "title": "To get a bucket acl"
468
+ }
469
+ ],
470
+ "GetBucketLifecycleConfiguration": [
471
+ {
472
+ "input": {
473
+ "Bucket": "examplebucket"
474
+ },
475
+ "output": {
476
+ "Rules": [
477
+ {
478
+ "ID": "Rule for TaxDocs/",
479
+ "Prefix": "TaxDocs",
480
+ "Status": "Enabled",
481
+ "Transitions": [
482
+ {
483
+ "Days": 365,
484
+ "StorageClass": "STANDARD_IA"
485
+ }
486
+ ]
487
+ }
488
+ ]
489
+ },
490
+ "comments": {
491
+ "input": {
492
+ },
493
+ "output": {
494
+ }
495
+ },
496
+ "description": "The following example retrieves lifecycle configuration on set on a bucket. ",
497
+ "id": "to-get-lifecycle-configuration-on-a-bucket-1481666063200",
498
+ "title": "To get lifecycle configuration on a bucket"
499
+ }
500
+ ],
501
+ "GetBucketLocation": [
502
+ {
503
+ "input": {
504
+ "Bucket": "examplebucket"
505
+ },
506
+ "output": {
507
+ "LocationConstraint": "us-west-2"
508
+ },
509
+ "comments": {
510
+ "input": {
511
+ },
512
+ "output": {
513
+ }
514
+ },
515
+ "description": "The following example returns bucket location.",
516
+ "id": "to-get-bucket-location-1481594573609",
517
+ "title": "To get bucket location"
518
+ }
519
+ ],
520
+ "GetBucketNotification": [
521
+ {
522
+ "input": {
523
+ "Bucket": "examplebucket"
524
+ },
525
+ "output": {
526
+ "QueueConfiguration": {
527
+ "Event": "s3:ObjectCreated:Put",
528
+ "Events": [
529
+ "s3:ObjectCreated:Put"
530
+ ],
531
+ "Id": "MDQ2OGQ4NDEtOTBmNi00YTM4LTk0NzYtZDIwN2I3NWQ1NjIx",
532
+ "Queue": "arn:aws:sqs:us-east-1:acct-id:S3ObjectCreatedEventQueue"
533
+ },
534
+ "TopicConfiguration": {
535
+ "Event": "s3:ObjectCreated:Copy",
536
+ "Events": [
537
+ "s3:ObjectCreated:Copy"
538
+ ],
539
+ "Id": "YTVkMWEzZGUtNTY1NS00ZmE2LWJjYjktMmRlY2QwODFkNTJi",
540
+ "Topic": "arn:aws:sns:us-east-1:acct-id:S3ObjectCreatedEventTopic"
541
+ }
542
+ },
543
+ "comments": {
544
+ "input": {
545
+ },
546
+ "output": {
547
+ }
548
+ },
549
+ "description": "The following example returns notification configuration set on a bucket.",
550
+ "id": "to-get-notification-configuration-set-on-a-bucket-1481594028667",
551
+ "title": "To get notification configuration set on a bucket"
552
+ },
553
+ {
554
+ "input": {
555
+ "Bucket": "examplebucket"
556
+ },
557
+ "output": {
558
+ "QueueConfiguration": {
559
+ "Event": "s3:ObjectCreated:Put",
560
+ "Events": [
561
+ "s3:ObjectCreated:Put"
562
+ ],
563
+ "Id": "MDQ2OGQ4NDEtOTBmNi00YTM4LTk0NzYtZDIwN2I3NWQ1NjIx",
564
+ "Queue": "arn:aws:sqs:us-east-1:acct-id:S3ObjectCreatedEventQueue"
565
+ },
566
+ "TopicConfiguration": {
567
+ "Event": "s3:ObjectCreated:Copy",
568
+ "Events": [
569
+ "s3:ObjectCreated:Copy"
570
+ ],
571
+ "Id": "YTVkMWEzZGUtNTY1NS00ZmE2LWJjYjktMmRlY2QwODFkNTJi",
572
+ "Topic": "arn:aws:sns:us-east-1:acct-id:S3ObjectCreatedEventTopic"
573
+ }
574
+ },
575
+ "comments": {
576
+ "input": {
577
+ },
578
+ "output": {
579
+ }
580
+ },
581
+ "description": "The following example returns notification configuration set on a bucket.",
582
+ "id": "to-get-notification-configuration-set-on-a-bucket-1481594028667",
583
+ "title": "To get notification configuration set on a bucket"
584
+ }
585
+ ],
586
+ "GetBucketPolicy": [
587
+ {
588
+ "input": {
589
+ "Bucket": "examplebucket"
590
+ },
591
+ "output": {
592
+ "Policy": "{\"Version\":\"2008-10-17\",\"Id\":\"LogPolicy\",\"Statement\":[{\"Sid\":\"Enables the log delivery group to publish logs to your bucket \",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"111122223333\"},\"Action\":[\"s3:GetBucketAcl\",\"s3:GetObjectAcl\",\"s3:PutObject\"],\"Resource\":[\"arn:aws:s3:::policytest1/*\",\"arn:aws:s3:::policytest1\"]}]}"
593
+ },
594
+ "comments": {
595
+ "input": {
596
+ },
597
+ "output": {
598
+ }
599
+ },
600
+ "description": "The following example returns bucket policy associated with a bucket.",
601
+ "id": "to-get-bucket-policy-1481595098424",
602
+ "title": "To get bucket policy"
603
+ }
604
+ ],
605
+ "GetBucketReplication": [
606
+ {
607
+ "input": {
608
+ "Bucket": "examplebucket"
609
+ },
610
+ "output": {
611
+ "ReplicationConfiguration": {
612
+ "Role": "arn:aws:iam::acct-id:role/example-role",
613
+ "Rules": [
614
+ {
615
+ "Destination": {
616
+ "Bucket": "arn:aws:s3:::destination-bucket"
617
+ },
618
+ "ID": "MWIwNTkwZmItMTE3MS00ZTc3LWJkZDEtNzRmODQwYzc1OTQy",
619
+ "Prefix": "Tax",
620
+ "Status": "Enabled"
621
+ }
622
+ ]
623
+ }
624
+ },
625
+ "comments": {
626
+ "input": {
627
+ },
628
+ "output": {
629
+ }
630
+ },
631
+ "description": "The following example returns replication configuration set on a bucket.",
632
+ "id": "to-get-replication-configuration-set-on-a-bucket-1481593597175",
633
+ "title": "To get replication configuration set on a bucket"
634
+ }
635
+ ],
636
+ "GetBucketRequestPayment": [
637
+ {
638
+ "input": {
639
+ "Bucket": "examplebucket"
640
+ },
641
+ "output": {
642
+ "Payer": "BucketOwner"
643
+ },
644
+ "comments": {
645
+ "input": {
646
+ },
647
+ "output": {
648
+ }
649
+ },
650
+ "description": "The following example retrieves bucket versioning configuration.",
651
+ "id": "to-get-bucket-versioning-configuration-1483037183929",
652
+ "title": "To get bucket versioning configuration"
653
+ }
654
+ ],
655
+ "GetBucketTagging": [
656
+ {
657
+ "input": {
658
+ "Bucket": "examplebucket"
659
+ },
660
+ "output": {
661
+ "TagSet": [
662
+ {
663
+ "Key": "key1",
664
+ "Value": "value1"
665
+ },
666
+ {
667
+ "Key": "key2",
668
+ "Value": "value2"
669
+ }
670
+ ]
671
+ },
672
+ "comments": {
673
+ "input": {
674
+ },
675
+ "output": {
676
+ }
677
+ },
678
+ "description": "The following example returns tag set associated with a bucket",
679
+ "id": "to-get-tag-set-associated-with-a-bucket-1481593232107",
680
+ "title": "To get tag set associated with a bucket"
681
+ }
682
+ ],
683
+ "GetBucketVersioning": [
684
+ {
685
+ "input": {
686
+ "Bucket": "examplebucket"
687
+ },
688
+ "output": {
689
+ "MFADelete": "Disabled",
690
+ "Status": "Enabled"
691
+ },
692
+ "comments": {
693
+ "input": {
694
+ },
695
+ "output": {
696
+ }
697
+ },
698
+ "description": "The following example retrieves bucket versioning configuration.",
699
+ "id": "to-get-bucket-versioning-configuration-1483037183929",
700
+ "title": "To get bucket versioning configuration"
701
+ }
702
+ ],
703
+ "GetBucketWebsite": [
704
+ {
705
+ "input": {
706
+ "Bucket": "examplebucket"
707
+ },
708
+ "output": {
709
+ "ErrorDocument": {
710
+ "Key": "error.html"
711
+ },
712
+ "IndexDocument": {
713
+ "Suffix": "index.html"
714
+ }
715
+ },
716
+ "comments": {
717
+ "input": {
718
+ },
719
+ "output": {
720
+ }
721
+ },
722
+ "description": "The following example retrieves website configuration of a bucket.",
723
+ "id": "to-get-bucket-website-configuration-1483037016926",
724
+ "title": "To get bucket website configuration"
725
+ }
726
+ ],
727
+ "GetObject": [
728
+ {
729
+ "input": {
730
+ "Bucket": "examplebucket",
731
+ "Key": "HappyFace.jpg"
732
+ },
733
+ "output": {
734
+ "AcceptRanges": "bytes",
735
+ "ContentLength": "3191",
736
+ "ContentType": "image/jpeg",
737
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
738
+ "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
739
+ "Metadata": {
740
+ },
741
+ "TagCount": 2,
742
+ "VersionId": "null"
743
+ },
744
+ "comments": {
745
+ "input": {
746
+ },
747
+ "output": {
748
+ }
749
+ },
750
+ "description": "The following example retrieves an object for an S3 bucket.",
751
+ "id": "to-retrieve-an-object-1481827837012",
752
+ "title": "To retrieve an object"
753
+ },
754
+ {
755
+ "input": {
756
+ "Bucket": "examplebucket",
757
+ "Key": "SampleFile.txt",
758
+ "Range": "bytes=0-9"
759
+ },
760
+ "output": {
761
+ "AcceptRanges": "bytes",
762
+ "ContentLength": "10",
763
+ "ContentRange": "bytes 0-9/43",
764
+ "ContentType": "text/plain",
765
+ "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
766
+ "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
767
+ "Metadata": {
768
+ },
769
+ "VersionId": "null"
770
+ },
771
+ "comments": {
772
+ "input": {
773
+ },
774
+ "output": {
775
+ }
776
+ },
777
+ "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.",
778
+ "id": "to-retrieve-a-byte-range-of-an-object--1481832674603",
779
+ "title": "To retrieve a byte range of an object "
780
+ }
781
+ ],
782
+ "GetObjectAcl": [
783
+ {
784
+ "input": {
785
+ "Bucket": "examplebucket",
786
+ "Key": "HappyFace.jpg"
787
+ },
788
+ "output": {
789
+ "Grants": [
790
+ {
791
+ "Grantee": {
792
+ "DisplayName": "owner-display-name",
793
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
794
+ "Type": "CanonicalUser"
795
+ },
796
+ "Permission": "WRITE"
797
+ },
798
+ {
799
+ "Grantee": {
800
+ "DisplayName": "owner-display-name",
801
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
802
+ "Type": "CanonicalUser"
803
+ },
804
+ "Permission": "WRITE_ACP"
805
+ },
806
+ {
807
+ "Grantee": {
808
+ "DisplayName": "owner-display-name",
809
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
810
+ "Type": "CanonicalUser"
811
+ },
812
+ "Permission": "READ"
813
+ },
814
+ {
815
+ "Grantee": {
816
+ "DisplayName": "owner-display-name",
817
+ "ID": "852b113eexamplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc",
818
+ "Type": "CanonicalUser"
819
+ },
820
+ "Permission": "READ_ACP"
821
+ }
822
+ ],
823
+ "Owner": {
824
+ "DisplayName": "owner-display-name",
825
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
826
+ }
827
+ },
828
+ "comments": {
829
+ "input": {
830
+ },
831
+ "output": {
832
+ }
833
+ },
834
+ "description": "The following example retrieves access control list (ACL) of an object.",
835
+ "id": "to-retrieve-object-acl-1481833557740",
836
+ "title": "To retrieve object ACL"
837
+ }
838
+ ],
839
+ "GetObjectTagging": [
840
+ {
841
+ "input": {
842
+ "Bucket": "examplebucket",
843
+ "Key": "HappyFace.jpg"
844
+ },
845
+ "output": {
846
+ "TagSet": [
847
+ {
848
+ "Key": "Key4",
849
+ "Value": "Value4"
850
+ },
851
+ {
852
+ "Key": "Key3",
853
+ "Value": "Value3"
854
+ }
855
+ ],
856
+ "VersionId": "null"
857
+ },
858
+ "comments": {
859
+ "input": {
860
+ },
861
+ "output": {
862
+ }
863
+ },
864
+ "description": "The following example retrieves tag set of an object.",
865
+ "id": "to-retrieve-tag-set-of-an-object-1481833847896",
866
+ "title": "To retrieve tag set of an object"
867
+ },
868
+ {
869
+ "input": {
870
+ "Bucket": "examplebucket",
871
+ "Key": "exampleobject",
872
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
873
+ },
874
+ "output": {
875
+ "TagSet": [
876
+ {
877
+ "Key": "Key1",
878
+ "Value": "Value1"
879
+ }
880
+ ],
881
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
882
+ },
883
+ "comments": {
884
+ "input": {
885
+ },
886
+ "output": {
887
+ }
888
+ },
889
+ "description": "The following example retrieves tag set of an object. The request specifies object version.",
890
+ "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
891
+ "title": "To retrieve tag set of a specific object version"
892
+ }
893
+ ],
894
+ "GetObjectTorrent": [
895
+ {
896
+ "input": {
897
+ "Bucket": "examplebucket",
898
+ "Key": "HappyFace.jpg"
899
+ },
900
+ "output": {
901
+ },
902
+ "comments": {
903
+ "input": {
904
+ },
905
+ "output": {
906
+ }
907
+ },
908
+ "description": "The following example retrieves torrent files of an object.",
909
+ "id": "to-retrieve-torrent-files-for-an-object-1481834115959",
910
+ "title": "To retrieve torrent files for an object"
911
+ }
912
+ ],
913
+ "HeadBucket": [
914
+ {
915
+ "input": {
916
+ "Bucket": "acl1"
917
+ },
918
+ "comments": {
919
+ "input": {
920
+ },
921
+ "output": {
922
+ }
923
+ },
924
+ "description": "This operation checks to see if a bucket exists.",
925
+ "id": "to-determine-if-bucket-exists-1473110292262",
926
+ "title": "To determine if bucket exists"
927
+ }
928
+ ],
929
+ "HeadObject": [
930
+ {
931
+ "input": {
932
+ "Bucket": "examplebucket",
933
+ "Key": "HappyFace.jpg"
934
+ },
935
+ "output": {
936
+ "AcceptRanges": "bytes",
937
+ "ContentLength": "3191",
938
+ "ContentType": "image/jpeg",
939
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
940
+ "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
941
+ "Metadata": {
942
+ },
943
+ "VersionId": "null"
944
+ },
945
+ "comments": {
946
+ "input": {
947
+ },
948
+ "output": {
949
+ }
950
+ },
951
+ "description": "The following example retrieves an object metadata.",
952
+ "id": "to-retrieve-metadata-of-an-object-without-returning-the-object-itself-1481834820480",
953
+ "title": "To retrieve metadata of an object without returning the object itself"
954
+ }
955
+ ],
956
+ "ListBuckets": [
957
+ {
958
+ "output": {
959
+ "Buckets": [
960
+ {
961
+ "CreationDate": "2012-02-15T21: 03: 02.000Z",
962
+ "Name": "examplebucket"
963
+ },
964
+ {
965
+ "CreationDate": "2011-07-24T19: 33: 50.000Z",
966
+ "Name": "examplebucket2"
967
+ },
968
+ {
969
+ "CreationDate": "2010-12-17T00: 56: 49.000Z",
970
+ "Name": "examplebucket3"
971
+ }
972
+ ],
973
+ "Owner": {
974
+ "DisplayName": "own-display-name",
975
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31"
976
+ }
977
+ },
978
+ "comments": {
979
+ "input": {
980
+ },
981
+ "output": {
982
+ }
983
+ },
984
+ "description": "The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.",
985
+ "id": "to-list-object-versions-1481910996058",
986
+ "title": "To list object versions"
987
+ }
988
+ ],
989
+ "ListMultipartUploads": [
990
+ {
991
+ "input": {
992
+ "Bucket": "examplebucket"
993
+ },
994
+ "output": {
995
+ "Uploads": [
996
+ {
997
+ "Initiated": "2014-05-01T05:40:58.000Z",
998
+ "Initiator": {
999
+ "DisplayName": "display-name",
1000
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1001
+ },
1002
+ "Key": "JavaFile",
1003
+ "Owner": {
1004
+ "DisplayName": "display-name",
1005
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1006
+ },
1007
+ "StorageClass": "STANDARD",
1008
+ "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1009
+ },
1010
+ {
1011
+ "Initiated": "2014-05-01T05:41:27.000Z",
1012
+ "Initiator": {
1013
+ "DisplayName": "display-name",
1014
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1015
+ },
1016
+ "Key": "JavaFile",
1017
+ "Owner": {
1018
+ "DisplayName": "display-name",
1019
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1020
+ },
1021
+ "StorageClass": "STANDARD",
1022
+ "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1023
+ }
1024
+ ]
1025
+ },
1026
+ "comments": {
1027
+ "input": {
1028
+ },
1029
+ "output": {
1030
+ }
1031
+ },
1032
+ "description": "The following example lists in-progress multipart uploads on a specific bucket.",
1033
+ "id": "to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260",
1034
+ "title": "To list in-progress multipart uploads on a bucket"
1035
+ },
1036
+ {
1037
+ "input": {
1038
+ "Bucket": "examplebucket",
1039
+ "KeyMarker": "nextkeyfrompreviousresponse",
1040
+ "MaxUploads": "2",
1041
+ "UploadIdMarker": "valuefrompreviousresponse"
1042
+ },
1043
+ "output": {
1044
+ "Bucket": "acl1",
1045
+ "IsTruncated": true,
1046
+ "KeyMarker": "",
1047
+ "MaxUploads": "2",
1048
+ "NextKeyMarker": "someobjectkey",
1049
+ "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
1050
+ "UploadIdMarker": "",
1051
+ "Uploads": [
1052
+ {
1053
+ "Initiated": "2014-05-01T05:40:58.000Z",
1054
+ "Initiator": {
1055
+ "DisplayName": "ownder-display-name",
1056
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1057
+ },
1058
+ "Key": "JavaFile",
1059
+ "Owner": {
1060
+ "DisplayName": "mohanataws",
1061
+ "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1062
+ },
1063
+ "StorageClass": "STANDARD",
1064
+ "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1065
+ },
1066
+ {
1067
+ "Initiated": "2014-05-01T05:41:27.000Z",
1068
+ "Initiator": {
1069
+ "DisplayName": "ownder-display-name",
1070
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1071
+ },
1072
+ "Key": "JavaFile",
1073
+ "Owner": {
1074
+ "DisplayName": "ownder-display-name",
1075
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1076
+ },
1077
+ "StorageClass": "STANDARD",
1078
+ "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1079
+ }
1080
+ ]
1081
+ },
1082
+ "comments": {
1083
+ "input": {
1084
+ },
1085
+ "output": {
1086
+ }
1087
+ },
1088
+ "description": "The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.",
1089
+ "id": "list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748",
1090
+ "title": "List next set of multipart uploads when previous result is truncated"
1091
+ }
1092
+ ],
1093
+ "ListObjectVersions": [
1094
+ {
1095
+ "input": {
1096
+ "Bucket": "examplebucket",
1097
+ "Prefix": "HappyFace.jpg"
1098
+ },
1099
+ "output": {
1100
+ "Versions": [
1101
+ {
1102
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1103
+ "IsLatest": true,
1104
+ "Key": "HappyFace.jpg",
1105
+ "LastModified": "2016-12-15T01:19:41.000Z",
1106
+ "Owner": {
1107
+ "DisplayName": "owner-display-name",
1108
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1109
+ },
1110
+ "Size": 3191,
1111
+ "StorageClass": "STANDARD",
1112
+ "VersionId": "null"
1113
+ },
1114
+ {
1115
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1116
+ "IsLatest": false,
1117
+ "Key": "HappyFace.jpg",
1118
+ "LastModified": "2016-12-13T00:58:26.000Z",
1119
+ "Owner": {
1120
+ "DisplayName": "owner-display-name",
1121
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1122
+ },
1123
+ "Size": 3191,
1124
+ "StorageClass": "STANDARD",
1125
+ "VersionId": "PHtexPGjH2y.zBgT8LmB7wwLI2mpbz.k"
1126
+ }
1127
+ ]
1128
+ },
1129
+ "comments": {
1130
+ "input": {
1131
+ },
1132
+ "output": {
1133
+ }
1134
+ },
1135
+ "description": "The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.",
1136
+ "id": "to-list-object-versions-1481910996058",
1137
+ "title": "To list object versions"
1138
+ }
1139
+ ],
1140
+ "ListObjects": [
1141
+ {
1142
+ "input": {
1143
+ "Bucket": "examplebucket",
1144
+ "MaxKeys": "2"
1145
+ },
1146
+ "output": {
1147
+ "Contents": [
1148
+ {
1149
+ "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"",
1150
+ "Key": "example1.jpg",
1151
+ "LastModified": "2014-11-21T19:40:05.000Z",
1152
+ "Owner": {
1153
+ "DisplayName": "myname",
1154
+ "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1155
+ },
1156
+ "Size": 11,
1157
+ "StorageClass": "STANDARD"
1158
+ },
1159
+ {
1160
+ "ETag": "\"9c8af9a76df052144598c115ef33e511\"",
1161
+ "Key": "example2.jpg",
1162
+ "LastModified": "2013-11-15T01:10:49.000Z",
1163
+ "Owner": {
1164
+ "DisplayName": "myname",
1165
+ "ID": "12345example25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1166
+ },
1167
+ "Size": 713193,
1168
+ "StorageClass": "STANDARD"
1169
+ }
1170
+ ],
1171
+ "NextMarker": "eyJNYXJrZXIiOiBudWxsLCAiYm90b190cnVuY2F0ZV9hbW91bnQiOiAyfQ=="
1172
+ },
1173
+ "comments": {
1174
+ "input": {
1175
+ },
1176
+ "output": {
1177
+ }
1178
+ },
1179
+ "description": "The following example list two objects in a bucket.",
1180
+ "id": "to-list-objects-in-a-bucket-1473447646507",
1181
+ "title": "To list objects in a bucket"
1182
+ }
1183
+ ],
1184
+ "ListObjectsV2": [
1185
+ {
1186
+ "input": {
1187
+ "Bucket": "examplebucket",
1188
+ "MaxKeys": "2"
1189
+ },
1190
+ "output": {
1191
+ "Contents": [
1192
+ {
1193
+ "ETag": "\"70ee1738b6b21e2c8a43f3a5ab0eee71\"",
1194
+ "Key": "happyface.jpg",
1195
+ "LastModified": "2014-11-21T19:40:05.000Z",
1196
+ "Size": 11,
1197
+ "StorageClass": "STANDARD"
1198
+ },
1199
+ {
1200
+ "ETag": "\"becf17f89c30367a9a44495d62ed521a-1\"",
1201
+ "Key": "test.jpg",
1202
+ "LastModified": "2014-05-02T04:51:50.000Z",
1203
+ "Size": 4192256,
1204
+ "StorageClass": "STANDARD"
1205
+ }
1206
+ ],
1207
+ "IsTruncated": true,
1208
+ "KeyCount": "2",
1209
+ "MaxKeys": "2",
1210
+ "Name": "examplebucket",
1211
+ "NextContinuationToken": "1w41l63U0xa8q7smH50vCxyTQqdxo69O3EmK28Bi5PcROI4wI/EyIJg==",
1212
+ "Prefix": ""
1213
+ },
1214
+ "comments": {
1215
+ "input": {
1216
+ },
1217
+ "output": {
1218
+ }
1219
+ },
1220
+ "description": "The following example retrieves object list. The request specifies max keys to limit response to include only 2 object keys. ",
1221
+ "id": "to-get-object-list",
1222
+ "title": "To get object list"
1223
+ }
1224
+ ],
1225
+ "ListParts": [
1226
+ {
1227
+ "input": {
1228
+ "Bucket": "examplebucket",
1229
+ "Key": "bigobject",
1230
+ "UploadId": "example7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
1231
+ },
1232
+ "output": {
1233
+ "Initiator": {
1234
+ "DisplayName": "owner-display-name",
1235
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1236
+ },
1237
+ "Owner": {
1238
+ "DisplayName": "owner-display-name",
1239
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1240
+ },
1241
+ "Parts": [
1242
+ {
1243
+ "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
1244
+ "LastModified": "2016-12-16T00:11:42.000Z",
1245
+ "PartNumber": "1",
1246
+ "Size": 26246026
1247
+ },
1248
+ {
1249
+ "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\"",
1250
+ "LastModified": "2016-12-16T00:15:01.000Z",
1251
+ "PartNumber": "2",
1252
+ "Size": 26246026
1253
+ }
1254
+ ],
1255
+ "StorageClass": "STANDARD"
1256
+ },
1257
+ "comments": {
1258
+ "input": {
1259
+ },
1260
+ "output": {
1261
+ }
1262
+ },
1263
+ "description": "The following example lists parts uploaded for a specific multipart upload.",
1264
+ "id": "to-list-parts-of-a-multipart-upload-1481852006923",
1265
+ "title": "To list parts of a multipart upload."
1266
+ }
1267
+ ],
1268
+ "PutBucketAcl": [
1269
+ {
1270
+ "input": {
1271
+ "Bucket": "examplebucket",
1272
+ "GrantFullControl": "id=examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484",
1273
+ "GrantWrite": "uri=http://acs.amazonaws.com/groups/s3/LogDelivery"
1274
+ },
1275
+ "comments": {
1276
+ "input": {
1277
+ },
1278
+ "output": {
1279
+ }
1280
+ },
1281
+ "description": "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.",
1282
+ "id": "put-bucket-acl-1482260397033",
1283
+ "title": "Put bucket acl"
1284
+ }
1285
+ ],
1286
+ "PutBucketCors": [
1287
+ {
1288
+ "input": {
1289
+ "Bucket": "",
1290
+ "CORSConfiguration": {
1291
+ "CORSRules": [
1292
+ {
1293
+ "AllowedHeaders": [
1294
+ "*"
1295
+ ],
1296
+ "AllowedMethods": [
1297
+ "PUT",
1298
+ "POST",
1299
+ "DELETE"
1300
+ ],
1301
+ "AllowedOrigins": [
1302
+ "http://www.example.com"
1303
+ ],
1304
+ "ExposeHeaders": [
1305
+ "x-amz-server-side-encryption"
1306
+ ],
1307
+ "MaxAgeSeconds": 3000
1308
+ },
1309
+ {
1310
+ "AllowedHeaders": [
1311
+ "Authorization"
1312
+ ],
1313
+ "AllowedMethods": [
1314
+ "GET"
1315
+ ],
1316
+ "AllowedOrigins": [
1317
+ "*"
1318
+ ],
1319
+ "MaxAgeSeconds": 3000
1320
+ }
1321
+ ]
1322
+ },
1323
+ "ContentMD5": ""
1324
+ },
1325
+ "comments": {
1326
+ "input": {
1327
+ },
1328
+ "output": {
1329
+ }
1330
+ },
1331
+ "description": "The following example enables PUT, POST, and DELETE requests from www.example.com, and enables GET requests from any domain.",
1332
+ "id": "to-set-cors-configuration-on-a-bucket-1483037818805",
1333
+ "title": "To set cors configuration on a bucket."
1334
+ }
1335
+ ],
1336
+ "PutBucketLifecycleConfiguration": [
1337
+ {
1338
+ "input": {
1339
+ "Bucket": "examplebucket",
1340
+ "LifecycleConfiguration": {
1341
+ "Rules": [
1342
+ {
1343
+ "Expiration": {
1344
+ "Days": 3650
1345
+ },
1346
+ "Filter": {
1347
+ "Prefix": "documents/"
1348
+ },
1349
+ "ID": "TestOnly",
1350
+ "Status": "Enabled",
1351
+ "Transitions": [
1352
+ {
1353
+ "Days": 365,
1354
+ "StorageClass": "GLACIER"
1355
+ }
1356
+ ]
1357
+ }
1358
+ ]
1359
+ }
1360
+ },
1361
+ "comments": {
1362
+ "input": {
1363
+ },
1364
+ "output": {
1365
+ }
1366
+ },
1367
+ "description": "The following example replaces existing lifecycle configuration, if any, on the specified bucket. ",
1368
+ "id": "put-bucket-lifecycle-1482264533092",
1369
+ "title": "Put bucket lifecycle"
1370
+ }
1371
+ ],
1372
+ "PutBucketLogging": [
1373
+ {
1374
+ "input": {
1375
+ "Bucket": "sourcebucket",
1376
+ "BucketLoggingStatus": {
1377
+ "LoggingEnabled": {
1378
+ "TargetBucket": "targetbucket",
1379
+ "TargetGrants": [
1380
+ {
1381
+ "Grantee": {
1382
+ "Type": "Group",
1383
+ "URI": "http://acs.amazonaws.com/groups/global/AllUsers"
1384
+ },
1385
+ "Permission": "READ"
1386
+ }
1387
+ ],
1388
+ "TargetPrefix": "MyBucketLogs/"
1389
+ }
1390
+ }
1391
+ },
1392
+ "comments": {
1393
+ "input": {
1394
+ },
1395
+ "output": {
1396
+ }
1397
+ },
1398
+ "description": "The following example sets logging policy on a bucket. For the Log Delivery group to deliver logs to the destination bucket, it needs permission for the READ_ACP action which the policy grants.",
1399
+ "id": "set-logging-configuration-for-a-bucket-1482269119909",
1400
+ "title": "Set logging configuration for a bucket"
1401
+ }
1402
+ ],
1403
+ "PutBucketNotificationConfiguration": [
1404
+ {
1405
+ "input": {
1406
+ "Bucket": "examplebucket",
1407
+ "NotificationConfiguration": {
1408
+ "TopicConfigurations": [
1409
+ {
1410
+ "Events": [
1411
+ "s3:ObjectCreated:*"
1412
+ ],
1413
+ "TopicArn": "arn:aws:sns:us-west-2:123456789012:s3-notification-topic"
1414
+ }
1415
+ ]
1416
+ }
1417
+ },
1418
+ "comments": {
1419
+ "input": {
1420
+ },
1421
+ "output": {
1422
+ }
1423
+ },
1424
+ "description": "The following example sets notification configuration on a bucket to publish the object created events to an SNS topic.",
1425
+ "id": "set-notification-configuration-for-a-bucket-1482270296426",
1426
+ "title": "Set notification configuration for a bucket"
1427
+ }
1428
+ ],
1429
+ "PutBucketPolicy": [
1430
+ {
1431
+ "input": {
1432
+ "Bucket": "examplebucket",
1433
+ "Policy": "{\"Version\": \"2012-10-17\", \"Statement\": [{ \"Sid\": \"id-1\",\"Effect\": \"Allow\",\"Principal\": {\"AWS\": \"arn:aws:iam::123456789012:root\"}, \"Action\": [ \"s3:PutObject\",\"s3:PutObjectAcl\"], \"Resource\": [\"arn:aws:s3:::acl3/*\" ] } ]}"
1434
+ },
1435
+ "comments": {
1436
+ "input": {
1437
+ },
1438
+ "output": {
1439
+ }
1440
+ },
1441
+ "description": "The following example sets a permission policy on a bucket.",
1442
+ "id": "set-bucket-policy-1482448903302",
1443
+ "title": "Set bucket policy"
1444
+ }
1445
+ ],
1446
+ "PutBucketReplication": [
1447
+ {
1448
+ "input": {
1449
+ "Bucket": "examplebucket",
1450
+ "ReplicationConfiguration": {
1451
+ "Role": "arn:aws:iam::123456789012:role/examplerole",
1452
+ "Rules": [
1453
+ {
1454
+ "Destination": {
1455
+ "Bucket": "arn:aws:s3:::destinationbucket",
1456
+ "StorageClass": "STANDARD"
1457
+ },
1458
+ "Prefix": "",
1459
+ "Status": "Enabled"
1460
+ }
1461
+ ]
1462
+ }
1463
+ },
1464
+ "comments": {
1465
+ "input": {
1466
+ },
1467
+ "output": {
1468
+ }
1469
+ },
1470
+ "description": "The following example sets replication configuration on a bucket.",
1471
+ "id": "id-1",
1472
+ "title": "Set replication configuration on a bucket"
1473
+ }
1474
+ ],
1475
+ "PutBucketRequestPayment": [
1476
+ {
1477
+ "input": {
1478
+ "Bucket": "examplebucket",
1479
+ "RequestPaymentConfiguration": {
1480
+ "Payer": "Requester"
1481
+ }
1482
+ },
1483
+ "comments": {
1484
+ "input": {
1485
+ },
1486
+ "output": {
1487
+ }
1488
+ },
1489
+ "description": "The following example sets request payment configuration on a bucket so that person requesting the download is charged.",
1490
+ "id": "set-request-payment-configuration-on-a-bucket-1482343596680",
1491
+ "title": "Set request payment configuration on a bucket."
1492
+ }
1493
+ ],
1494
+ "PutBucketTagging": [
1495
+ {
1496
+ "input": {
1497
+ "Bucket": "examplebucket",
1498
+ "Tagging": {
1499
+ "TagSet": [
1500
+ {
1501
+ "Key": "Key1",
1502
+ "Value": "Value1"
1503
+ },
1504
+ {
1505
+ "Key": "Key2",
1506
+ "Value": "Value2"
1507
+ }
1508
+ ]
1509
+ }
1510
+ },
1511
+ "comments": {
1512
+ "input": {
1513
+ },
1514
+ "output": {
1515
+ }
1516
+ },
1517
+ "description": "The following example sets tags on a bucket. Any existing tags are replaced.",
1518
+ "id": "set-tags-on-a-bucket-1482346269066",
1519
+ "title": "Set tags on a bucket"
1520
+ }
1521
+ ],
1522
+ "PutBucketVersioning": [
1523
+ {
1524
+ "input": {
1525
+ "Bucket": "examplebucket",
1526
+ "VersioningConfiguration": {
1527
+ "MFADelete": "Disabled",
1528
+ "Status": "Enabled"
1529
+ }
1530
+ },
1531
+ "comments": {
1532
+ "input": {
1533
+ },
1534
+ "output": {
1535
+ }
1536
+ },
1537
+ "description": "The following example sets versioning configuration on bucket. The configuration enables versioning on the bucket.",
1538
+ "id": "set-versioning-configuration-on-a-bucket-1482344186279",
1539
+ "title": "Set versioning configuration on a bucket"
1540
+ }
1541
+ ],
1542
+ "PutBucketWebsite": [
1543
+ {
1544
+ "input": {
1545
+ "Bucket": "examplebucket",
1546
+ "ContentMD5": "",
1547
+ "WebsiteConfiguration": {
1548
+ "ErrorDocument": {
1549
+ "Key": "error.html"
1550
+ },
1551
+ "IndexDocument": {
1552
+ "Suffix": "index.html"
1553
+ }
1554
+ }
1555
+ },
1556
+ "comments": {
1557
+ "input": {
1558
+ },
1559
+ "output": {
1560
+ }
1561
+ },
1562
+ "description": "The following example adds website configuration to a bucket.",
1563
+ "id": "set-website-configuration-on-a-bucket-1482346836261",
1564
+ "title": "Set website configuration on a bucket"
1565
+ }
1566
+ ],
1567
+ "PutObject": [
1568
+ {
1569
+ "input": {
1570
+ "Body": "filetoupload",
1571
+ "Bucket": "examplebucket",
1572
+ "Key": "exampleobject",
1573
+ "ServerSideEncryption": "AES256",
1574
+ "Tagging": "key1=value1&key2=value2"
1575
+ },
1576
+ "output": {
1577
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1578
+ "ServerSideEncryption": "AES256",
1579
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1580
+ },
1581
+ "comments": {
1582
+ "input": {
1583
+ },
1584
+ "output": {
1585
+ }
1586
+ },
1587
+ "description": "The following example uploads and 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.",
1588
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1589
+ "title": "To upload an object and specify server-side encryption and object tags"
1590
+ },
1591
+ {
1592
+ "input": {
1593
+ "ACL": "authenticated-read",
1594
+ "Body": "filetoupload",
1595
+ "Bucket": "examplebucket",
1596
+ "Key": "exampleobject"
1597
+ },
1598
+ "output": {
1599
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1600
+ "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1601
+ },
1602
+ "comments": {
1603
+ "input": {
1604
+ },
1605
+ "output": {
1606
+ }
1607
+ },
1608
+ "description": "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.",
1609
+ "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1610
+ "title": "To upload an object and specify canned ACL."
1611
+ },
1612
+ {
1613
+ "input": {
1614
+ "Body": "HappyFace.jpg",
1615
+ "Bucket": "examplebucket",
1616
+ "Key": "HappyFace.jpg"
1617
+ },
1618
+ "output": {
1619
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1620
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1621
+ },
1622
+ "comments": {
1623
+ "input": {
1624
+ },
1625
+ "output": {
1626
+ }
1627
+ },
1628
+ "description": "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.",
1629
+ "id": "to-upload-an-object-1481760101010",
1630
+ "title": "To upload an object"
1631
+ },
1632
+ {
1633
+ "input": {
1634
+ "Body": "filetoupload",
1635
+ "Bucket": "examplebucket",
1636
+ "Key": "objectkey"
1637
+ },
1638
+ "output": {
1639
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1640
+ "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1641
+ },
1642
+ "comments": {
1643
+ "input": {
1644
+ },
1645
+ "output": {
1646
+ }
1647
+ },
1648
+ "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1649
+ "id": "to-create-an-object-1483147613675",
1650
+ "title": "To create an object."
1651
+ },
1652
+ {
1653
+ "input": {
1654
+ "Body": "c:\\HappyFace.jpg",
1655
+ "Bucket": "examplebucket",
1656
+ "Key": "HappyFace.jpg",
1657
+ "Tagging": "key1=value1&key2=value2"
1658
+ },
1659
+ "output": {
1660
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1661
+ "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1662
+ },
1663
+ "comments": {
1664
+ "input": {
1665
+ },
1666
+ "output": {
1667
+ }
1668
+ },
1669
+ "description": "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.",
1670
+ "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1671
+ "title": "To upload an object and specify optional tags"
1672
+ },
1673
+ {
1674
+ "input": {
1675
+ "Body": "filetoupload",
1676
+ "Bucket": "examplebucket",
1677
+ "Key": "exampleobject",
1678
+ "Metadata": {
1679
+ "metadata1": "value1",
1680
+ "metadata2": "value2"
1681
+ }
1682
+ },
1683
+ "output": {
1684
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1685
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1686
+ },
1687
+ "comments": {
1688
+ "input": {
1689
+ },
1690
+ "output": {
1691
+ }
1692
+ },
1693
+ "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1694
+ "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1695
+ "title": "To upload object and specify user-defined metadata"
1696
+ },
1697
+ {
1698
+ "input": {
1699
+ "Body": "HappyFace.jpg",
1700
+ "Bucket": "examplebucket",
1701
+ "Key": "HappyFace.jpg",
1702
+ "ServerSideEncryption": "AES256",
1703
+ "StorageClass": "STANDARD_IA"
1704
+ },
1705
+ "output": {
1706
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1707
+ "ServerSideEncryption": "AES256",
1708
+ "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1709
+ },
1710
+ "comments": {
1711
+ "input": {
1712
+ },
1713
+ "output": {
1714
+ }
1715
+ },
1716
+ "description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.",
1717
+ "id": "to-upload-an-object-(specify-optional-headers)",
1718
+ "title": "To upload an object (specify optional headers)"
1719
+ }
1720
+ ],
1721
+ "PutObjectAcl": [
1722
+ {
1723
+ "input": {
1724
+ "AccessControlPolicy": {
1725
+ },
1726
+ "Bucket": "examplebucket",
1727
+ "GrantFullControl": "emailaddress=user1@example.com,emailaddress=user2@example.com",
1728
+ "GrantRead": "uri=http://acs.amazonaws.com/groups/global/AllUsers",
1729
+ "Key": "HappyFace.jpg"
1730
+ },
1731
+ "output": {
1732
+ },
1733
+ "comments": {
1734
+ "input": {
1735
+ },
1736
+ "output": {
1737
+ }
1738
+ },
1739
+ "description": "The following example adds grants to an object ACL. The first permission grants user1 and user2 FULL_CONTROL and the AllUsers group READ permission.",
1740
+ "id": "to-grant-permissions-using-object-acl-1481835549285",
1741
+ "title": "To grant permissions using object ACL"
1742
+ }
1743
+ ],
1744
+ "PutObjectTagging": [
1745
+ {
1746
+ "input": {
1747
+ "Bucket": "examplebucket",
1748
+ "Key": "HappyFace.jpg",
1749
+ "Tagging": {
1750
+ "TagSet": [
1751
+ {
1752
+ "Key": "Key3",
1753
+ "Value": "Value3"
1754
+ },
1755
+ {
1756
+ "Key": "Key4",
1757
+ "Value": "Value4"
1758
+ }
1759
+ ]
1760
+ }
1761
+ },
1762
+ "output": {
1763
+ "VersionId": "null"
1764
+ },
1765
+ "comments": {
1766
+ "input": {
1767
+ },
1768
+ "output": {
1769
+ }
1770
+ },
1771
+ "description": "The following example adds tags to an existing object.",
1772
+ "id": "to-add-tags-to-an-existing-object-1481764668793",
1773
+ "title": "To add tags to an existing object"
1774
+ }
1775
+ ],
1776
+ "RestoreObject": [
1777
+ {
1778
+ "input": {
1779
+ "Bucket": "examplebucket",
1780
+ "Key": "archivedobjectkey",
1781
+ "RestoreRequest": {
1782
+ "Days": 1,
1783
+ "GlacierJobParameters": {
1784
+ "Tier": "Expedited"
1785
+ }
1786
+ }
1787
+ },
1788
+ "output": {
1789
+ },
1790
+ "comments": {
1791
+ "input": {
1792
+ },
1793
+ "output": {
1794
+ }
1795
+ },
1796
+ "description": "The following example restores for one day an archived copy of an object back into Amazon S3 bucket.",
1797
+ "id": "to-restore-an-archived-object-1483049329953",
1798
+ "title": "To restore an archived object"
1799
+ }
1800
+ ],
1801
+ "UploadPart": [
1802
+ {
1803
+ "input": {
1804
+ "Body": "fileToUpload",
1805
+ "Bucket": "examplebucket",
1806
+ "Key": "examplelargeobject",
1807
+ "PartNumber": "1",
1808
+ "UploadId": "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
1809
+ },
1810
+ "output": {
1811
+ "ETag": "\"d8c2eafd90c266e19ab9dcacc479f8af\""
1812
+ },
1813
+ "comments": {
1814
+ "input": {
1815
+ },
1816
+ "output": {
1817
+ }
1818
+ },
1819
+ "description": "The following example uploads part 1 of a multipart upload. The example specifies a file name for the part data. The Upload ID is same that is returned by the initiate multipart upload.",
1820
+ "id": "to-upload-a-part-1481847914943",
1821
+ "title": "To upload a part"
1822
+ }
1823
+ ],
1824
+ "UploadPartCopy": [
1825
+ {
1826
+ "input": {
1827
+ "Bucket": "examplebucket",
1828
+ "CopySource": "/bucketname/sourceobjectkey",
1829
+ "CopySourceRange": "bytes=1-100000",
1830
+ "Key": "examplelargeobject",
1831
+ "PartNumber": "2",
1832
+ "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
1833
+ },
1834
+ "output": {
1835
+ "CopyPartResult": {
1836
+ "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
1837
+ "LastModified": "2016-12-29T21:44:28.000Z"
1838
+ }
1839
+ },
1840
+ "comments": {
1841
+ "input": {
1842
+ },
1843
+ "output": {
1844
+ }
1845
+ },
1846
+ "description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.",
1847
+ "id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594",
1848
+ "title": "To upload a part by copying byte range from an existing object as data source"
1849
+ },
1850
+ {
1851
+ "input": {
1852
+ "Bucket": "examplebucket",
1853
+ "CopySource": "bucketname/sourceobjectkey",
1854
+ "Key": "examplelargeobject",
1855
+ "PartNumber": "1",
1856
+ "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
1857
+ },
1858
+ "output": {
1859
+ "CopyPartResult": {
1860
+ "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
1861
+ "LastModified": "2016-12-29T21:24:43.000Z"
1862
+ }
1863
+ },
1864
+ "comments": {
1865
+ "input": {
1866
+ },
1867
+ "output": {
1868
+ }
1869
+ },
1870
+ "description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
1871
+ "id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
1872
+ "title": "To upload a part by copying data from an existing object as data source"
1873
+ }
1874
+ ]
4
1875
  }
5
1876
  }