aws-sdk 2.1398.0 → 2.1399.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,13 +84,10 @@
84
84
  "CreateBucket": [
85
85
  {
86
86
  "input": {
87
- "Bucket": "examplebucket",
88
- "CreateBucketConfiguration": {
89
- "LocationConstraint": "eu-west-1"
90
- }
87
+ "Bucket": "examplebucket"
91
88
  },
92
89
  "output": {
93
- "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
90
+ "Location": "/examplebucket"
94
91
  },
95
92
  "comments": {
96
93
  "input": {
@@ -98,16 +95,19 @@
98
95
  "output": {
99
96
  }
100
97
  },
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"
98
+ "description": "The following example creates a bucket.",
99
+ "id": "to-create-a-bucket--1472851826060",
100
+ "title": "To create a bucket "
104
101
  },
105
102
  {
106
103
  "input": {
107
- "Bucket": "examplebucket"
104
+ "Bucket": "examplebucket",
105
+ "CreateBucketConfiguration": {
106
+ "LocationConstraint": "eu-west-1"
107
+ }
108
108
  },
109
109
  "output": {
110
- "Location": "/examplebucket"
110
+ "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
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.",
119
- "id": "to-create-a-bucket--1472851826060",
120
- "title": "To create a bucket "
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"
121
121
  }
122
122
  ],
123
123
  "CreateMultipartUpload": [
@@ -257,8 +257,10 @@
257
257
  "DeleteObject": [
258
258
  {
259
259
  "input": {
260
- "Bucket": "ExampleBucket",
261
- "Key": "HappyFace.jpg"
260
+ "Bucket": "examplebucket",
261
+ "Key": "objectkey.jpg"
262
+ },
263
+ "output": {
262
264
  },
263
265
  "comments": {
264
266
  "input": {
@@ -266,16 +268,14 @@
266
268
  "output": {
267
269
  }
268
270
  },
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)"
271
+ "description": "The following example deletes an object from an S3 bucket.",
272
+ "id": "to-delete-an-object-1472850136595",
273
+ "title": "To delete an object"
272
274
  },
273
275
  {
274
276
  "input": {
275
- "Bucket": "examplebucket",
276
- "Key": "objectkey.jpg"
277
- },
278
- "output": {
277
+ "Bucket": "ExampleBucket",
278
+ "Key": "HappyFace.jpg"
279
279
  },
280
280
  "comments": {
281
281
  "input": {
@@ -283,19 +283,20 @@
283
283
  "output": {
284
284
  }
285
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"
286
+ "description": "The following example deletes an object from a non-versioned bucket.",
287
+ "id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089",
288
+ "title": "To delete an object (from a non-versioned bucket)"
289
289
  }
290
290
  ],
291
291
  "DeleteObjectTagging": [
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": [
@@ -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,14 @@
1567
1567
  "PutObject": [
1568
1568
  {
1569
1569
  "input": {
1570
- "Body": "HappyFace.jpg",
1570
+ "Body": "c:\\HappyFace.jpg",
1571
1571
  "Bucket": "examplebucket",
1572
- "Key": "HappyFace.jpg"
1572
+ "Key": "HappyFace.jpg",
1573
+ "Tagging": "key1=value1&key2=value2"
1573
1574
  },
1574
1575
  "output": {
1575
1576
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1576
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1577
+ "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1577
1578
  },
1578
1579
  "comments": {
1579
1580
  "input": {
@@ -1581,23 +1582,20 @@
1581
1582
  "output": {
1582
1583
  }
1583
1584
  },
1584
- "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.",
1585
- "id": "to-upload-an-object-1481760101010",
1586
- "title": "To upload an object"
1585
+ "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.",
1586
+ "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1587
+ "title": "To upload an object and specify optional tags"
1587
1588
  },
1588
1589
  {
1589
1590
  "input": {
1591
+ "ACL": "authenticated-read",
1590
1592
  "Body": "filetoupload",
1591
1593
  "Bucket": "examplebucket",
1592
- "Key": "exampleobject",
1593
- "Metadata": {
1594
- "metadata1": "value1",
1595
- "metadata2": "value2"
1596
- }
1594
+ "Key": "exampleobject"
1597
1595
  },
1598
1596
  "output": {
1599
1597
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1600
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1598
+ "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1601
1599
  },
1602
1600
  "comments": {
1603
1601
  "input": {
@@ -1605,22 +1603,19 @@
1605
1603
  "output": {
1606
1604
  }
1607
1605
  },
1608
- "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.",
1609
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1610
- "title": "To upload object and specify user-defined metadata"
1606
+ "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.",
1607
+ "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1608
+ "title": "To upload an object and specify canned ACL."
1611
1609
  },
1612
1610
  {
1613
1611
  "input": {
1614
- "Body": "HappyFace.jpg",
1612
+ "Body": "filetoupload",
1615
1613
  "Bucket": "examplebucket",
1616
- "Key": "HappyFace.jpg",
1617
- "ServerSideEncryption": "AES256",
1618
- "StorageClass": "STANDARD_IA"
1614
+ "Key": "objectkey"
1619
1615
  },
1620
1616
  "output": {
1621
1617
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1622
- "ServerSideEncryption": "AES256",
1623
- "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1618
+ "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1624
1619
  },
1625
1620
  "comments": {
1626
1621
  "input": {
@@ -1628,19 +1623,22 @@
1628
1623
  "output": {
1629
1624
  }
1630
1625
  },
1631
- "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.",
1632
- "id": "to-upload-an-object-(specify-optional-headers)",
1633
- "title": "To upload an object (specify optional headers)"
1626
+ "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1627
+ "id": "to-create-an-object-1483147613675",
1628
+ "title": "To create an object."
1634
1629
  },
1635
1630
  {
1636
1631
  "input": {
1637
1632
  "Body": "filetoupload",
1638
1633
  "Bucket": "examplebucket",
1639
- "Key": "objectkey"
1634
+ "Key": "exampleobject",
1635
+ "ServerSideEncryption": "AES256",
1636
+ "Tagging": "key1=value1&key2=value2"
1640
1637
  },
1641
1638
  "output": {
1642
1639
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1643
- "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1640
+ "ServerSideEncryption": "AES256",
1641
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1644
1642
  },
1645
1643
  "comments": {
1646
1644
  "input": {
@@ -1648,22 +1646,23 @@
1648
1646
  "output": {
1649
1647
  }
1650
1648
  },
1651
- "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1652
- "id": "to-create-an-object-1483147613675",
1653
- "title": "To create an object."
1649
+ "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
1650
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1651
+ "title": "To upload an object and specify server-side encryption and object tags"
1654
1652
  },
1655
1653
  {
1656
1654
  "input": {
1657
1655
  "Body": "filetoupload",
1658
1656
  "Bucket": "examplebucket",
1659
1657
  "Key": "exampleobject",
1660
- "ServerSideEncryption": "AES256",
1661
- "Tagging": "key1=value1&key2=value2"
1658
+ "Metadata": {
1659
+ "metadata1": "value1",
1660
+ "metadata2": "value2"
1661
+ }
1662
1662
  },
1663
1663
  "output": {
1664
1664
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1665
- "ServerSideEncryption": "AES256",
1666
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1665
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1667
1666
  },
1668
1667
  "comments": {
1669
1668
  "input": {
@@ -1671,20 +1670,19 @@
1671
1670
  "output": {
1672
1671
  }
1673
1672
  },
1674
- "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
1675
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1676
- "title": "To upload an object and specify server-side encryption and object tags"
1673
+ "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.",
1674
+ "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1675
+ "title": "To upload object and specify user-defined metadata"
1677
1676
  },
1678
1677
  {
1679
1678
  "input": {
1680
- "Body": "c:\\HappyFace.jpg",
1679
+ "Body": "HappyFace.jpg",
1681
1680
  "Bucket": "examplebucket",
1682
- "Key": "HappyFace.jpg",
1683
- "Tagging": "key1=value1&key2=value2"
1681
+ "Key": "HappyFace.jpg"
1684
1682
  },
1685
1683
  "output": {
1686
1684
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1687
- "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1685
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1688
1686
  },
1689
1687
  "comments": {
1690
1688
  "input": {
@@ -1692,20 +1690,22 @@
1692
1690
  "output": {
1693
1691
  }
1694
1692
  },
1695
- "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.",
1696
- "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1697
- "title": "To upload an object and specify optional tags"
1693
+ "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.",
1694
+ "id": "to-upload-an-object-1481760101010",
1695
+ "title": "To upload an object"
1698
1696
  },
1699
1697
  {
1700
1698
  "input": {
1701
- "ACL": "authenticated-read",
1702
- "Body": "filetoupload",
1699
+ "Body": "HappyFace.jpg",
1703
1700
  "Bucket": "examplebucket",
1704
- "Key": "exampleobject"
1701
+ "Key": "HappyFace.jpg",
1702
+ "ServerSideEncryption": "AES256",
1703
+ "StorageClass": "STANDARD_IA"
1705
1704
  },
1706
1705
  "output": {
1707
1706
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1708
- "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1707
+ "ServerSideEncryption": "AES256",
1708
+ "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1709
1709
  },
1710
1710
  "comments": {
1711
1711
  "input": {
@@ -1713,9 +1713,9 @@
1713
1713
  "output": {
1714
1714
  }
1715
1715
  },
1716
- "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.",
1717
- "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1718
- "title": "To upload an object and specify canned ACL."
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
1719
  }
1720
1720
  ],
1721
1721
  "PutObjectAcl": [
@@ -1358,13 +1358,21 @@
1358
1358
  "ExpectedBucketOwner": {
1359
1359
  "location": "header",
1360
1360
  "locationName": "x-amz-expected-bucket-owner"
1361
+ },
1362
+ "RequestPayer": {
1363
+ "location": "header",
1364
+ "locationName": "x-amz-request-payer"
1361
1365
  }
1362
1366
  }
1363
1367
  },
1364
1368
  "output": {
1365
1369
  "type": "structure",
1366
1370
  "members": {
1367
- "Status": {}
1371
+ "Status": {},
1372
+ "RequestCharged": {
1373
+ "location": "header",
1374
+ "locationName": "x-amz-request-charged"
1375
+ }
1368
1376
  }
1369
1377
  }
1370
1378
  },
@@ -3322,6 +3330,10 @@
3322
3330
  "ExpectedBucketOwner": {
3323
3331
  "location": "header",
3324
3332
  "locationName": "x-amz-expected-bucket-owner"
3333
+ },
3334
+ "RequestPayer": {
3335
+ "location": "header",
3336
+ "locationName": "x-amz-request-payer"
3325
3337
  }
3326
3338
  }
3327
3339
  },
@@ -3367,7 +3379,11 @@
3367
3379
  "CommonPrefixes": {
3368
3380
  "shape": "Sbs"
3369
3381
  },
3370
- "EncodingType": {}
3382
+ "EncodingType": {},
3383
+ "RequestCharged": {
3384
+ "location": "header",
3385
+ "locationName": "x-amz-request-charged"
3386
+ }
3371
3387
  }
3372
3388
  }
3373
3389
  },
@@ -3417,6 +3433,10 @@
3417
3433
  "ExpectedBucketOwner": {
3418
3434
  "location": "header",
3419
3435
  "locationName": "x-amz-expected-bucket-owner"
3436
+ },
3437
+ "RequestPayer": {
3438
+ "location": "header",
3439
+ "locationName": "x-amz-request-payer"
3420
3440
  }
3421
3441
  }
3422
3442
  },
@@ -3489,7 +3509,11 @@
3489
3509
  "CommonPrefixes": {
3490
3510
  "shape": "Sbs"
3491
3511
  },
3492
- "EncodingType": {}
3512
+ "EncodingType": {},
3513
+ "RequestCharged": {
3514
+ "location": "header",
3515
+ "locationName": "x-amz-request-charged"
3516
+ }
3493
3517
  }
3494
3518
  },
3495
3519
  "alias": "GetBucketObjectVersions"
@@ -3563,7 +3587,11 @@
3563
3587
  "CommonPrefixes": {
3564
3588
  "shape": "Sbs"
3565
3589
  },
3566
- "EncodingType": {}
3590
+ "EncodingType": {},
3591
+ "RequestCharged": {
3592
+ "location": "header",
3593
+ "locationName": "x-amz-request-charged"
3594
+ }
3567
3595
  }
3568
3596
  },
3569
3597
  "alias": "GetBucket"
@@ -3650,7 +3678,11 @@
3650
3678
  },
3651
3679
  "ContinuationToken": {},
3652
3680
  "NextContinuationToken": {},
3653
- "StartAfter": {}
3681
+ "StartAfter": {},
3682
+ "RequestCharged": {
3683
+ "location": "header",
3684
+ "locationName": "x-amz-request-charged"
3685
+ }
3654
3686
  }
3655
3687
  }
3656
3688
  },