aws-sdk-core 2.11.248 → 2.11.249

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,8 @@
17
17
  "name":"AbortMultipartUpload",
18
18
  "http":{
19
19
  "method":"DELETE",
20
- "requestUri":"/{Bucket}/{Key+}"
20
+ "requestUri":"/{Bucket}/{Key+}",
21
+ "responseCode":204
21
22
  },
22
23
  "input":{"shape":"AbortMultipartUploadRequest"},
23
24
  "output":{"shape":"AbortMultipartUploadOutput"},
@@ -80,7 +81,8 @@
80
81
  "name":"DeleteBucket",
81
82
  "http":{
82
83
  "method":"DELETE",
83
- "requestUri":"/{Bucket}"
84
+ "requestUri":"/{Bucket}",
85
+ "responseCode":204
84
86
  },
85
87
  "input":{"shape":"DeleteBucketRequest"},
86
88
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETE.html"
@@ -89,7 +91,8 @@
89
91
  "name":"DeleteBucketAnalyticsConfiguration",
90
92
  "http":{
91
93
  "method":"DELETE",
92
- "requestUri":"/{Bucket}?analytics"
94
+ "requestUri":"/{Bucket}?analytics",
95
+ "responseCode":204
93
96
  },
94
97
  "input":{"shape":"DeleteBucketAnalyticsConfigurationRequest"}
95
98
  },
@@ -97,7 +100,8 @@
97
100
  "name":"DeleteBucketCors",
98
101
  "http":{
99
102
  "method":"DELETE",
100
- "requestUri":"/{Bucket}?cors"
103
+ "requestUri":"/{Bucket}?cors",
104
+ "responseCode":204
101
105
  },
102
106
  "input":{"shape":"DeleteBucketCorsRequest"},
103
107
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEcors.html"
@@ -106,7 +110,8 @@
106
110
  "name":"DeleteBucketEncryption",
107
111
  "http":{
108
112
  "method":"DELETE",
109
- "requestUri":"/{Bucket}?encryption"
113
+ "requestUri":"/{Bucket}?encryption",
114
+ "responseCode":204
110
115
  },
111
116
  "input":{"shape":"DeleteBucketEncryptionRequest"}
112
117
  },
@@ -114,7 +119,8 @@
114
119
  "name":"DeleteBucketInventoryConfiguration",
115
120
  "http":{
116
121
  "method":"DELETE",
117
- "requestUri":"/{Bucket}?inventory"
122
+ "requestUri":"/{Bucket}?inventory",
123
+ "responseCode":204
118
124
  },
119
125
  "input":{"shape":"DeleteBucketInventoryConfigurationRequest"}
120
126
  },
@@ -122,7 +128,8 @@
122
128
  "name":"DeleteBucketLifecycle",
123
129
  "http":{
124
130
  "method":"DELETE",
125
- "requestUri":"/{Bucket}?lifecycle"
131
+ "requestUri":"/{Bucket}?lifecycle",
132
+ "responseCode":204
126
133
  },
127
134
  "input":{"shape":"DeleteBucketLifecycleRequest"},
128
135
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETElifecycle.html"
@@ -131,7 +138,8 @@
131
138
  "name":"DeleteBucketMetricsConfiguration",
132
139
  "http":{
133
140
  "method":"DELETE",
134
- "requestUri":"/{Bucket}?metrics"
141
+ "requestUri":"/{Bucket}?metrics",
142
+ "responseCode":204
135
143
  },
136
144
  "input":{"shape":"DeleteBucketMetricsConfigurationRequest"}
137
145
  },
@@ -139,7 +147,8 @@
139
147
  "name":"DeleteBucketPolicy",
140
148
  "http":{
141
149
  "method":"DELETE",
142
- "requestUri":"/{Bucket}?policy"
150
+ "requestUri":"/{Bucket}?policy",
151
+ "responseCode":204
143
152
  },
144
153
  "input":{"shape":"DeleteBucketPolicyRequest"},
145
154
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEpolicy.html"
@@ -148,7 +157,8 @@
148
157
  "name":"DeleteBucketReplication",
149
158
  "http":{
150
159
  "method":"DELETE",
151
- "requestUri":"/{Bucket}?replication"
160
+ "requestUri":"/{Bucket}?replication",
161
+ "responseCode":204
152
162
  },
153
163
  "input":{"shape":"DeleteBucketReplicationRequest"}
154
164
  },
@@ -156,7 +166,8 @@
156
166
  "name":"DeleteBucketTagging",
157
167
  "http":{
158
168
  "method":"DELETE",
159
- "requestUri":"/{Bucket}?tagging"
169
+ "requestUri":"/{Bucket}?tagging",
170
+ "responseCode":204
160
171
  },
161
172
  "input":{"shape":"DeleteBucketTaggingRequest"},
162
173
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEtagging.html"
@@ -165,7 +176,8 @@
165
176
  "name":"DeleteBucketWebsite",
166
177
  "http":{
167
178
  "method":"DELETE",
168
- "requestUri":"/{Bucket}?website"
179
+ "requestUri":"/{Bucket}?website",
180
+ "responseCode":204
169
181
  },
170
182
  "input":{"shape":"DeleteBucketWebsiteRequest"},
171
183
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketDELETEwebsite.html"
@@ -174,7 +186,8 @@
174
186
  "name":"DeleteObject",
175
187
  "http":{
176
188
  "method":"DELETE",
177
- "requestUri":"/{Bucket}/{Key+}"
189
+ "requestUri":"/{Bucket}/{Key+}",
190
+ "responseCode":204
178
191
  },
179
192
  "input":{"shape":"DeleteObjectRequest"},
180
193
  "output":{"shape":"DeleteObjectOutput"},
@@ -184,7 +197,8 @@
184
197
  "name":"DeleteObjectTagging",
185
198
  "http":{
186
199
  "method":"DELETE",
187
- "requestUri":"/{Bucket}/{Key+}?tagging"
200
+ "requestUri":"/{Bucket}/{Key+}?tagging",
201
+ "responseCode":204
188
202
  },
189
203
  "input":{"shape":"DeleteObjectTaggingRequest"},
190
204
  "output":{"shape":"DeleteObjectTaggingOutput"}
@@ -204,7 +218,8 @@
204
218
  "name":"DeletePublicAccessBlock",
205
219
  "http":{
206
220
  "method":"DELETE",
207
- "requestUri":"/{Bucket}?publicAccessBlock"
221
+ "requestUri":"/{Bucket}?publicAccessBlock",
222
+ "responseCode":204
208
223
  },
209
224
  "input":{"shape":"DeletePublicAccessBlockRequest"}
210
225
  },
@@ -4484,7 +4499,8 @@
4484
4499
  "GLACIER",
4485
4500
  "STANDARD_IA",
4486
4501
  "ONEZONE_IA",
4487
- "INTELLIGENT_TIERING"
4502
+ "INTELLIGENT_TIERING",
4503
+ "DEEP_ARCHIVE"
4488
4504
  ]
4489
4505
  },
4490
4506
  "ObjectVersion":{
@@ -6094,7 +6110,8 @@
6094
6110
  "STANDARD_IA",
6095
6111
  "ONEZONE_IA",
6096
6112
  "INTELLIGENT_TIERING",
6097
- "GLACIER"
6113
+ "GLACIER",
6114
+ "DEEP_ARCHIVE"
6098
6115
  ]
6099
6116
  },
6100
6117
  "StorageClassAnalysis":{
@@ -6237,7 +6254,8 @@
6237
6254
  "GLACIER",
6238
6255
  "STANDARD_IA",
6239
6256
  "ONEZONE_IA",
6240
- "INTELLIGENT_TIERING"
6257
+ "INTELLIGENT_TIERING",
6258
+ "DEEP_ARCHIVE"
6241
6259
  ]
6242
6260
  },
6243
6261
  "Type":{
@@ -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.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.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": [
@@ -728,18 +728,17 @@
728
728
  {
729
729
  "input": {
730
730
  "Bucket": "examplebucket",
731
- "Key": "SampleFile.txt",
732
- "Range": "bytes=0-9"
731
+ "Key": "HappyFace.jpg"
733
732
  },
734
733
  "output": {
735
734
  "AcceptRanges": "bytes",
736
- "ContentLength": "10",
737
- "ContentRange": "bytes 0-9/43",
738
- "ContentType": "text/plain",
739
- "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
740
- "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
735
+ "ContentLength": "3191",
736
+ "ContentType": "image/jpeg",
737
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
738
+ "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
741
739
  "Metadata": {
742
740
  },
741
+ "TagCount": 2,
743
742
  "VersionId": "null"
744
743
  },
745
744
  "comments": {
@@ -748,24 +747,25 @@
748
747
  "output": {
749
748
  }
750
749
  },
751
- "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.",
752
- "id": "to-retrieve-a-byte-range-of-an-object--1481832674603",
753
- "title": "To retrieve a byte range of an object "
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"
754
753
  },
755
754
  {
756
755
  "input": {
757
756
  "Bucket": "examplebucket",
758
- "Key": "HappyFace.jpg"
757
+ "Key": "SampleFile.txt",
758
+ "Range": "bytes=0-9"
759
759
  },
760
760
  "output": {
761
761
  "AcceptRanges": "bytes",
762
- "ContentLength": "3191",
763
- "ContentType": "image/jpeg",
764
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
765
- "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
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",
766
767
  "Metadata": {
767
768
  },
768
- "TagCount": 2,
769
769
  "VersionId": "null"
770
770
  },
771
771
  "comments": {
@@ -774,9 +774,9 @@
774
774
  "output": {
775
775
  }
776
776
  },
777
- "description": "The following example retrieves an object for an S3 bucket.",
778
- "id": "to-retrieve-an-object-1481827837012",
779
- "title": "To retrieve an object"
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
780
  }
781
781
  ],
782
782
  "GetObjectAcl": [
@@ -840,20 +840,17 @@
840
840
  {
841
841
  "input": {
842
842
  "Bucket": "examplebucket",
843
- "Key": "HappyFace.jpg"
843
+ "Key": "exampleobject",
844
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
844
845
  },
845
846
  "output": {
846
847
  "TagSet": [
847
848
  {
848
- "Key": "Key4",
849
- "Value": "Value4"
850
- },
851
- {
852
- "Key": "Key3",
853
- "Value": "Value3"
849
+ "Key": "Key1",
850
+ "Value": "Value1"
854
851
  }
855
852
  ],
856
- "VersionId": "null"
853
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
857
854
  },
858
855
  "comments": {
859
856
  "input": {
@@ -861,24 +858,27 @@
861
858
  "output": {
862
859
  }
863
860
  },
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"
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"
867
864
  },
868
865
  {
869
866
  "input": {
870
867
  "Bucket": "examplebucket",
871
- "Key": "exampleobject",
872
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
868
+ "Key": "HappyFace.jpg"
873
869
  },
874
870
  "output": {
875
871
  "TagSet": [
876
872
  {
877
- "Key": "Key1",
878
- "Value": "Value1"
873
+ "Key": "Key4",
874
+ "Value": "Value4"
875
+ },
876
+ {
877
+ "Key": "Key3",
878
+ "Value": "Value3"
879
879
  }
880
880
  ],
881
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
881
+ "VersionId": "null"
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. 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"
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"
892
892
  }
893
893
  ],
894
894
  "GetObjectTorrent": [
@@ -1567,14 +1567,14 @@
1567
1567
  "PutObject": [
1568
1568
  {
1569
1569
  "input": {
1570
- "ACL": "authenticated-read",
1571
- "Body": "filetoupload",
1570
+ "Body": "c:\\HappyFace.jpg",
1572
1571
  "Bucket": "examplebucket",
1573
- "Key": "exampleobject"
1572
+ "Key": "HappyFace.jpg",
1573
+ "Tagging": "key1=value1&key2=value2"
1574
1574
  },
1575
1575
  "output": {
1576
1576
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1577
- "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1577
+ "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1578
1578
  },
1579
1579
  "comments": {
1580
1580
  "input": {
@@ -1582,19 +1582,20 @@
1582
1582
  "output": {
1583
1583
  }
1584
1584
  },
1585
- "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.",
1586
- "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
1587
- "title": "To upload an object and specify canned ACL."
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"
1588
1588
  },
1589
1589
  {
1590
1590
  "input": {
1591
- "Body": "HappyFace.jpg",
1591
+ "ACL": "authenticated-read",
1592
+ "Body": "filetoupload",
1592
1593
  "Bucket": "examplebucket",
1593
- "Key": "HappyFace.jpg"
1594
+ "Key": "exampleobject"
1594
1595
  },
1595
1596
  "output": {
1596
1597
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1597
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1598
+ "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
1598
1599
  },
1599
1600
  "comments": {
1600
1601
  "input": {
@@ -1602,9 +1603,9 @@
1602
1603
  "output": {
1603
1604
  }
1604
1605
  },
1605
- "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.",
1606
- "id": "to-upload-an-object-1481760101010",
1607
- "title": "To upload an object"
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."
1608
1609
  },
1609
1610
  {
1610
1611
  "input": {
@@ -1628,17 +1629,16 @@
1628
1629
  },
1629
1630
  {
1630
1631
  "input": {
1631
- "Body": "filetoupload",
1632
+ "Body": "HappyFace.jpg",
1632
1633
  "Bucket": "examplebucket",
1633
- "Key": "exampleobject",
1634
- "Metadata": {
1635
- "metadata1": "value1",
1636
- "metadata2": "value2"
1637
- }
1634
+ "Key": "HappyFace.jpg",
1635
+ "ServerSideEncryption": "AES256",
1636
+ "StorageClass": "STANDARD_IA"
1638
1637
  },
1639
1638
  "output": {
1640
1639
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1641
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1640
+ "ServerSideEncryption": "AES256",
1641
+ "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1642
1642
  },
1643
1643
  "comments": {
1644
1644
  "input": {
@@ -1646,20 +1646,19 @@
1646
1646
  "output": {
1647
1647
  }
1648
1648
  },
1649
- "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.",
1650
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1651
- "title": "To upload object and specify user-defined metadata"
1649
+ "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.",
1650
+ "id": "to-upload-an-object-(specify-optional-headers)",
1651
+ "title": "To upload an object (specify optional headers)"
1652
1652
  },
1653
1653
  {
1654
1654
  "input": {
1655
- "Body": "c:\\HappyFace.jpg",
1655
+ "Body": "HappyFace.jpg",
1656
1656
  "Bucket": "examplebucket",
1657
- "Key": "HappyFace.jpg",
1658
- "Tagging": "key1=value1&key2=value2"
1657
+ "Key": "HappyFace.jpg"
1659
1658
  },
1660
1659
  "output": {
1661
1660
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1662
- "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1661
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1663
1662
  },
1664
1663
  "comments": {
1665
1664
  "input": {
@@ -1667,22 +1666,23 @@
1667
1666
  "output": {
1668
1667
  }
1669
1668
  },
1670
- "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.",
1671
- "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1672
- "title": "To upload an object and specify optional tags"
1669
+ "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.",
1670
+ "id": "to-upload-an-object-1481760101010",
1671
+ "title": "To upload an object"
1673
1672
  },
1674
1673
  {
1675
1674
  "input": {
1676
1675
  "Body": "filetoupload",
1677
1676
  "Bucket": "examplebucket",
1678
1677
  "Key": "exampleobject",
1679
- "ServerSideEncryption": "AES256",
1680
- "Tagging": "key1=value1&key2=value2"
1678
+ "Metadata": {
1679
+ "metadata1": "value1",
1680
+ "metadata2": "value2"
1681
+ }
1681
1682
  },
1682
1683
  "output": {
1683
1684
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1684
- "ServerSideEncryption": "AES256",
1685
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1685
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1686
1686
  },
1687
1687
  "comments": {
1688
1688
  "input": {
@@ -1690,22 +1690,22 @@
1690
1690
  "output": {
1691
1691
  }
1692
1692
  },
1693
- "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.",
1694
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1695
- "title": "To upload an object and specify server-side encryption and object tags"
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
1696
  },
1697
1697
  {
1698
1698
  "input": {
1699
- "Body": "HappyFace.jpg",
1699
+ "Body": "filetoupload",
1700
1700
  "Bucket": "examplebucket",
1701
- "Key": "HappyFace.jpg",
1701
+ "Key": "exampleobject",
1702
1702
  "ServerSideEncryption": "AES256",
1703
- "StorageClass": "STANDARD_IA"
1703
+ "Tagging": "key1=value1&key2=value2"
1704
1704
  },
1705
1705
  "output": {
1706
1706
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1707
1707
  "ServerSideEncryption": "AES256",
1708
- "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1708
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
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 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)"
1716
+ "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.",
1717
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1718
+ "title": "To upload an object and specify server-side encryption and object tags"
1719
1719
  }
1720
1720
  ],
1721
1721
  "PutObjectAcl": [