aws-sdk 2.976.0 → 2.980.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.
@@ -84,10 +84,13 @@
84
84
  "CreateBucket": [
85
85
  {
86
86
  "input": {
87
- "Bucket": "examplebucket"
87
+ "Bucket": "examplebucket",
88
+ "CreateBucketConfiguration": {
89
+ "LocationConstraint": "eu-west-1"
90
+ }
88
91
  },
89
92
  "output": {
90
- "Location": "/examplebucket"
93
+ "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
91
94
  },
92
95
  "comments": {
93
96
  "input": {
@@ -95,19 +98,16 @@
95
98
  "output": {
96
99
  }
97
100
  },
98
- "description": "The following example creates a bucket.",
99
- "id": "to-create-a-bucket--1472851826060",
100
- "title": "To create a bucket "
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"
101
104
  },
102
105
  {
103
106
  "input": {
104
- "Bucket": "examplebucket",
105
- "CreateBucketConfiguration": {
106
- "LocationConstraint": "eu-west-1"
107
- }
107
+ "Bucket": "examplebucket"
108
108
  },
109
109
  "output": {
110
- "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
110
+ "Location": "/examplebucket"
111
111
  },
112
112
  "comments": {
113
113
  "input": {
@@ -115,9 +115,9 @@
115
115
  "output": {
116
116
  }
117
117
  },
118
- "description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.",
119
- "id": "to-create-a-bucket-in-a-specific-region-1483399072992",
120
- "title": "To create a bucket in a specific region"
118
+ "description": "The following example creates a bucket.",
119
+ "id": "to-create-a-bucket--1472851826060",
120
+ "title": "To create a bucket "
121
121
  }
122
122
  ],
123
123
  "CreateMultipartUpload": [
@@ -292,10 +292,11 @@
292
292
  {
293
293
  "input": {
294
294
  "Bucket": "examplebucket",
295
- "Key": "HappyFace.jpg"
295
+ "Key": "HappyFace.jpg",
296
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
296
297
  },
297
298
  "output": {
298
- "VersionId": "null"
299
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
299
300
  },
300
301
  "comments": {
301
302
  "input": {
@@ -303,18 +304,17 @@
303
304
  "output": {
304
305
  }
305
306
  },
306
- "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.",
307
- "id": "to-remove-tag-set-from-an-object-1483145342862",
308
- "title": "To remove tag set from an object"
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"
309
310
  },
310
311
  {
311
312
  "input": {
312
313
  "Bucket": "examplebucket",
313
- "Key": "HappyFace.jpg",
314
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
314
+ "Key": "HappyFace.jpg"
315
315
  },
316
316
  "output": {
317
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
317
+ "VersionId": "null"
318
318
  },
319
319
  "comments": {
320
320
  "input": {
@@ -322,9 +322,9 @@
322
322
  "output": {
323
323
  }
324
324
  },
325
- "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
326
- "id": "to-remove-tag-set-from-an-object-version-1483145285913",
327
- "title": "To remove tag set from an object version"
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
328
  }
329
329
  ],
330
330
  "DeleteObjects": [
@@ -334,10 +334,12 @@
334
334
  "Delete": {
335
335
  "Objects": [
336
336
  {
337
- "Key": "objectkey1"
337
+ "Key": "HappyFace.jpg",
338
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
338
339
  },
339
340
  {
340
- "Key": "objectkey2"
341
+ "Key": "HappyFace.jpg",
342
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
341
343
  }
342
344
  ],
343
345
  "Quiet": false
@@ -346,14 +348,12 @@
346
348
  "output": {
347
349
  "Deleted": [
348
350
  {
349
- "DeleteMarker": "true",
350
- "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
351
- "Key": "objectkey1"
351
+ "Key": "HappyFace.jpg",
352
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
352
353
  },
353
354
  {
354
- "DeleteMarker": "true",
355
- "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
356
- "Key": "objectkey2"
355
+ "Key": "HappyFace.jpg",
356
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
357
357
  }
358
358
  ]
359
359
  },
@@ -363,9 +363,9 @@
363
363
  "output": {
364
364
  }
365
365
  },
366
- "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.",
367
- "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
368
- "title": "To delete multiple objects from a versioned bucket"
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
369
  },
370
370
  {
371
371
  "input": {
@@ -373,12 +373,10 @@
373
373
  "Delete": {
374
374
  "Objects": [
375
375
  {
376
- "Key": "HappyFace.jpg",
377
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
376
+ "Key": "objectkey1"
378
377
  },
379
378
  {
380
- "Key": "HappyFace.jpg",
381
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
379
+ "Key": "objectkey2"
382
380
  }
383
381
  ],
384
382
  "Quiet": false
@@ -387,12 +385,14 @@
387
385
  "output": {
388
386
  "Deleted": [
389
387
  {
390
- "Key": "HappyFace.jpg",
391
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
388
+ "DeleteMarker": "true",
389
+ "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
390
+ "Key": "objectkey1"
392
391
  },
393
392
  {
394
- "Key": "HappyFace.jpg",
395
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
393
+ "DeleteMarker": "true",
394
+ "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
395
+ "Key": "objectkey2"
396
396
  }
397
397
  ]
398
398
  },
@@ -402,9 +402,9 @@
402
402
  "output": {
403
403
  }
404
404
  },
405
- "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.",
406
- "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
407
- "title": "To delete multiple object versions from a versioned bucket"
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
408
  }
409
409
  ],
410
410
  "GetBucketCors": [
@@ -840,17 +840,20 @@
840
840
  {
841
841
  "input": {
842
842
  "Bucket": "examplebucket",
843
- "Key": "exampleobject",
844
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
843
+ "Key": "HappyFace.jpg"
845
844
  },
846
845
  "output": {
847
846
  "TagSet": [
848
847
  {
849
- "Key": "Key1",
850
- "Value": "Value1"
848
+ "Key": "Key4",
849
+ "Value": "Value4"
850
+ },
851
+ {
852
+ "Key": "Key3",
853
+ "Value": "Value3"
851
854
  }
852
855
  ],
853
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
856
+ "VersionId": "null"
854
857
  },
855
858
  "comments": {
856
859
  "input": {
@@ -858,27 +861,24 @@
858
861
  "output": {
859
862
  }
860
863
  },
861
- "description": "The following example retrieves tag set of an object. The request specifies object version.",
862
- "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
863
- "title": "To retrieve tag set of a specific object version"
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"
864
867
  },
865
868
  {
866
869
  "input": {
867
870
  "Bucket": "examplebucket",
868
- "Key": "HappyFace.jpg"
871
+ "Key": "exampleobject",
872
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
869
873
  },
870
874
  "output": {
871
875
  "TagSet": [
872
876
  {
873
- "Key": "Key4",
874
- "Value": "Value4"
875
- },
876
- {
877
- "Key": "Key3",
878
- "Value": "Value3"
877
+ "Key": "Key1",
878
+ "Value": "Value1"
879
879
  }
880
880
  ],
881
- "VersionId": "null"
881
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
882
882
  },
883
883
  "comments": {
884
884
  "input": {
@@ -886,9 +886,9 @@
886
886
  "output": {
887
887
  }
888
888
  },
889
- "description": "The following example retrieves tag set of an object.",
890
- "id": "to-retrieve-tag-set-of-an-object-1481833847896",
891
- "title": "To retrieve tag set of an object"
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
892
  }
893
893
  ],
894
894
  "GetObjectTorrent": [
@@ -989,37 +989,47 @@
989
989
  "ListMultipartUploads": [
990
990
  {
991
991
  "input": {
992
- "Bucket": "examplebucket"
992
+ "Bucket": "examplebucket",
993
+ "KeyMarker": "nextkeyfrompreviousresponse",
994
+ "MaxUploads": "2",
995
+ "UploadIdMarker": "valuefrompreviousresponse"
993
996
  },
994
997
  "output": {
998
+ "Bucket": "acl1",
999
+ "IsTruncated": true,
1000
+ "KeyMarker": "",
1001
+ "MaxUploads": "2",
1002
+ "NextKeyMarker": "someobjectkey",
1003
+ "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
1004
+ "UploadIdMarker": "",
995
1005
  "Uploads": [
996
1006
  {
997
1007
  "Initiated": "2014-05-01T05:40:58.000Z",
998
1008
  "Initiator": {
999
- "DisplayName": "display-name",
1009
+ "DisplayName": "ownder-display-name",
1000
1010
  "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1001
1011
  },
1002
1012
  "Key": "JavaFile",
1003
1013
  "Owner": {
1004
- "DisplayName": "display-name",
1005
- "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1014
+ "DisplayName": "mohanataws",
1015
+ "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1006
1016
  },
1007
1017
  "StorageClass": "STANDARD",
1008
- "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1018
+ "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1009
1019
  },
1010
1020
  {
1011
1021
  "Initiated": "2014-05-01T05:41:27.000Z",
1012
1022
  "Initiator": {
1013
- "DisplayName": "display-name",
1023
+ "DisplayName": "ownder-display-name",
1014
1024
  "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1015
1025
  },
1016
1026
  "Key": "JavaFile",
1017
1027
  "Owner": {
1018
- "DisplayName": "display-name",
1028
+ "DisplayName": "ownder-display-name",
1019
1029
  "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1020
1030
  },
1021
1031
  "StorageClass": "STANDARD",
1022
- "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1032
+ "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1023
1033
  }
1024
1034
  ]
1025
1035
  },
@@ -1029,53 +1039,43 @@
1029
1039
  "output": {
1030
1040
  }
1031
1041
  },
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"
1042
+ "description": "The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.",
1043
+ "id": "list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748",
1044
+ "title": "List next set of multipart uploads when previous result is truncated"
1035
1045
  },
1036
1046
  {
1037
1047
  "input": {
1038
- "Bucket": "examplebucket",
1039
- "KeyMarker": "nextkeyfrompreviousresponse",
1040
- "MaxUploads": "2",
1041
- "UploadIdMarker": "valuefrompreviousresponse"
1048
+ "Bucket": "examplebucket"
1042
1049
  },
1043
1050
  "output": {
1044
- "Bucket": "acl1",
1045
- "IsTruncated": true,
1046
- "KeyMarker": "",
1047
- "MaxUploads": "2",
1048
- "NextKeyMarker": "someobjectkey",
1049
- "NextUploadIdMarker": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--",
1050
- "UploadIdMarker": "",
1051
1051
  "Uploads": [
1052
1052
  {
1053
1053
  "Initiated": "2014-05-01T05:40:58.000Z",
1054
1054
  "Initiator": {
1055
- "DisplayName": "ownder-display-name",
1055
+ "DisplayName": "display-name",
1056
1056
  "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1057
1057
  },
1058
1058
  "Key": "JavaFile",
1059
1059
  "Owner": {
1060
- "DisplayName": "mohanataws",
1061
- "ID": "852b113e7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1060
+ "DisplayName": "display-name",
1061
+ "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1062
1062
  },
1063
1063
  "StorageClass": "STANDARD",
1064
- "UploadId": "gZ30jIqlUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1064
+ "UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
1065
1065
  },
1066
1066
  {
1067
1067
  "Initiated": "2014-05-01T05:41:27.000Z",
1068
1068
  "Initiator": {
1069
- "DisplayName": "ownder-display-name",
1069
+ "DisplayName": "display-name",
1070
1070
  "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1071
1071
  },
1072
1072
  "Key": "JavaFile",
1073
1073
  "Owner": {
1074
- "DisplayName": "ownder-display-name",
1074
+ "DisplayName": "display-name",
1075
1075
  "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
1076
1076
  },
1077
1077
  "StorageClass": "STANDARD",
1078
- "UploadId": "b7tZSqIlo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1078
+ "UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
1079
1079
  }
1080
1080
  ]
1081
1081
  },
@@ -1085,9 +1085,9 @@
1085
1085
  "output": {
1086
1086
  }
1087
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"
1088
+ "description": "The following example lists in-progress multipart uploads on a specific bucket.",
1089
+ "id": "to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260",
1090
+ "title": "To list in-progress multipart uploads on a bucket"
1091
1091
  }
1092
1092
  ],
1093
1093
  "ListObjectVersions": [
@@ -1567,13 +1567,16 @@
1567
1567
  "PutObject": [
1568
1568
  {
1569
1569
  "input": {
1570
- "Body": "filetoupload",
1570
+ "Body": "HappyFace.jpg",
1571
1571
  "Bucket": "examplebucket",
1572
- "Key": "objectkey"
1572
+ "Key": "HappyFace.jpg",
1573
+ "ServerSideEncryption": "AES256",
1574
+ "StorageClass": "STANDARD_IA"
1573
1575
  },
1574
1576
  "output": {
1575
1577
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1576
- "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1578
+ "ServerSideEncryption": "AES256",
1579
+ "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1577
1580
  },
1578
1581
  "comments": {
1579
1582
  "input": {
@@ -1581,20 +1584,22 @@
1581
1584
  "output": {
1582
1585
  }
1583
1586
  },
1584
- "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1585
- "id": "to-create-an-object-1483147613675",
1586
- "title": "To create an object."
1587
+ "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.",
1588
+ "id": "to-upload-an-object-(specify-optional-headers)",
1589
+ "title": "To upload an object (specify optional headers)"
1587
1590
  },
1588
1591
  {
1589
1592
  "input": {
1590
- "Body": "c:\\HappyFace.jpg",
1593
+ "Body": "filetoupload",
1591
1594
  "Bucket": "examplebucket",
1592
- "Key": "HappyFace.jpg",
1595
+ "Key": "exampleobject",
1596
+ "ServerSideEncryption": "AES256",
1593
1597
  "Tagging": "key1=value1&key2=value2"
1594
1598
  },
1595
1599
  "output": {
1596
1600
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1597
- "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1601
+ "ServerSideEncryption": "AES256",
1602
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1598
1603
  },
1599
1604
  "comments": {
1600
1605
  "input": {
@@ -1602,19 +1607,19 @@
1602
1607
  "output": {
1603
1608
  }
1604
1609
  },
1605
- "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.",
1606
- "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1607
- "title": "To upload an object and specify optional tags"
1610
+ "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.",
1611
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1612
+ "title": "To upload an object and specify server-side encryption and object tags"
1608
1613
  },
1609
1614
  {
1610
1615
  "input": {
1611
- "Body": "HappyFace.jpg",
1616
+ "Body": "filetoupload",
1612
1617
  "Bucket": "examplebucket",
1613
- "Key": "HappyFace.jpg"
1618
+ "Key": "objectkey"
1614
1619
  },
1615
1620
  "output": {
1616
1621
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1617
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1622
+ "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1618
1623
  },
1619
1624
  "comments": {
1620
1625
  "input": {
@@ -1622,22 +1627,23 @@
1622
1627
  "output": {
1623
1628
  }
1624
1629
  },
1625
- "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.",
1626
- "id": "to-upload-an-object-1481760101010",
1627
- "title": "To upload an object"
1630
+ "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1631
+ "id": "to-create-an-object-1483147613675",
1632
+ "title": "To create an object."
1628
1633
  },
1629
1634
  {
1630
1635
  "input": {
1631
- "Body": "HappyFace.jpg",
1636
+ "Body": "filetoupload",
1632
1637
  "Bucket": "examplebucket",
1633
- "Key": "HappyFace.jpg",
1634
- "ServerSideEncryption": "AES256",
1635
- "StorageClass": "STANDARD_IA"
1638
+ "Key": "exampleobject",
1639
+ "Metadata": {
1640
+ "metadata1": "value1",
1641
+ "metadata2": "value2"
1642
+ }
1636
1643
  },
1637
1644
  "output": {
1638
1645
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1639
- "ServerSideEncryption": "AES256",
1640
- "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1646
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1641
1647
  },
1642
1648
  "comments": {
1643
1649
  "input": {
@@ -1645,22 +1651,20 @@
1645
1651
  "output": {
1646
1652
  }
1647
1653
  },
1648
- "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.",
1649
- "id": "to-upload-an-object-(specify-optional-headers)",
1650
- "title": "To upload an object (specify optional headers)"
1654
+ "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.",
1655
+ "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1656
+ "title": "To upload object and specify user-defined metadata"
1651
1657
  },
1652
1658
  {
1653
1659
  "input": {
1660
+ "ACL": "authenticated-read",
1654
1661
  "Body": "filetoupload",
1655
1662
  "Bucket": "examplebucket",
1656
- "Key": "exampleobject",
1657
- "ServerSideEncryption": "AES256",
1658
- "Tagging": "key1=value1&key2=value2"
1663
+ "Key": "exampleobject"
1659
1664
  },
1660
1665
  "output": {
1661
1666
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1662
- "ServerSideEncryption": "AES256",
1663
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1667
+ "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1664
1668
  },
1665
1669
  "comments": {
1666
1670
  "input": {
@@ -1668,20 +1672,19 @@
1668
1672
  "output": {
1669
1673
  }
1670
1674
  },
1671
- "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.",
1672
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1673
- "title": "To upload an object and specify server-side encryption and object tags"
1675
+ "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.",
1676
+ "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1677
+ "title": "To upload an object and specify canned ACL."
1674
1678
  },
1675
1679
  {
1676
1680
  "input": {
1677
- "ACL": "authenticated-read",
1678
- "Body": "filetoupload",
1681
+ "Body": "HappyFace.jpg",
1679
1682
  "Bucket": "examplebucket",
1680
- "Key": "exampleobject"
1683
+ "Key": "HappyFace.jpg"
1681
1684
  },
1682
1685
  "output": {
1683
1686
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1684
- "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1687
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1685
1688
  },
1686
1689
  "comments": {
1687
1690
  "input": {
@@ -1689,23 +1692,20 @@
1689
1692
  "output": {
1690
1693
  }
1691
1694
  },
1692
- "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.",
1693
- "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1694
- "title": "To upload an object and specify canned ACL."
1695
+ "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.",
1696
+ "id": "to-upload-an-object-1481760101010",
1697
+ "title": "To upload an object"
1695
1698
  },
1696
1699
  {
1697
1700
  "input": {
1698
- "Body": "filetoupload",
1701
+ "Body": "c:\\HappyFace.jpg",
1699
1702
  "Bucket": "examplebucket",
1700
- "Key": "exampleobject",
1701
- "Metadata": {
1702
- "metadata1": "value1",
1703
- "metadata2": "value2"
1704
- }
1703
+ "Key": "HappyFace.jpg",
1704
+ "Tagging": "key1=value1&key2=value2"
1705
1705
  },
1706
1706
  "output": {
1707
1707
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1708
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1708
+ "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1709
1709
  },
1710
1710
  "comments": {
1711
1711
  "input": {
@@ -1713,9 +1713,9 @@
1713
1713
  "output": {
1714
1714
  }
1715
1715
  },
1716
- "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.",
1717
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1718
- "title": "To upload object and specify user-defined metadata"
1716
+ "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.",
1717
+ "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1718
+ "title": "To upload an object and specify optional tags"
1719
1719
  }
1720
1720
  ],
1721
1721
  "PutObjectAcl": [
@@ -1826,14 +1826,15 @@
1826
1826
  "input": {
1827
1827
  "Bucket": "examplebucket",
1828
1828
  "CopySource": "/bucketname/sourceobjectkey",
1829
+ "CopySourceRange": "bytes=1-100000",
1829
1830
  "Key": "examplelargeobject",
1830
- "PartNumber": "1",
1831
+ "PartNumber": "2",
1831
1832
  "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
1832
1833
  },
1833
1834
  "output": {
1834
1835
  "CopyPartResult": {
1835
- "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
1836
- "LastModified": "2016-12-29T21:24:43.000Z"
1836
+ "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
1837
+ "LastModified": "2016-12-29T21:44:28.000Z"
1837
1838
  }
1838
1839
  },
1839
1840
  "comments": {
@@ -1842,23 +1843,22 @@
1842
1843
  "output": {
1843
1844
  }
1844
1845
  },
1845
- "description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
1846
- "id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
1847
- "title": "To upload a part by copying data from an existing object as data source"
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"
1848
1849
  },
1849
1850
  {
1850
1851
  "input": {
1851
1852
  "Bucket": "examplebucket",
1852
1853
  "CopySource": "/bucketname/sourceobjectkey",
1853
- "CopySourceRange": "bytes=1-100000",
1854
1854
  "Key": "examplelargeobject",
1855
- "PartNumber": "2",
1855
+ "PartNumber": "1",
1856
1856
  "UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
1857
1857
  },
1858
1858
  "output": {
1859
1859
  "CopyPartResult": {
1860
- "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
1861
- "LastModified": "2016-12-29T21:44:28.000Z"
1860
+ "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
1861
+ "LastModified": "2016-12-29T21:24:43.000Z"
1862
1862
  }
1863
1863
  },
1864
1864
  "comments": {
@@ -1867,9 +1867,9 @@
1867
1867
  "output": {
1868
1868
  }
1869
1869
  },
1870
- "description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.",
1871
- "id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594",
1872
- "title": "To upload a part by copying byte range from an existing object as data source"
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
1873
  }
1874
1874
  ]
1875
1875
  }