|
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": {
|
97 | 94 | },
|
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": {
|
114 | 114 | },
|
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 | 257 | "DeleteObject": [
|
258 | 258 | {
|
259 | 259 | "input": {
|
260 |
| - "Bucket": "examplebucket", |
261 |
| - "Key": "objectkey.jpg" |
262 |
| - }, |
263 |
| - "output": { |
| 260 | + "Bucket": "ExampleBucket", |
| 261 | + "Key": "HappyFace.jpg" |
264 | 262 | },
|
265 | 263 | "comments": {
|
266 | 264 | "input": {
|
267 | 265 | },
|
268 | 266 | "output": {
|
269 | 267 | }
|
270 | 268 | },
|
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" |
| 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)" |
274 | 272 | },
|
275 | 273 | {
|
276 | 274 | "input": {
|
277 |
| - "Bucket": "ExampleBucket", |
278 |
| - "Key": "HappyFace.jpg" |
| 275 | + "Bucket": "examplebucket", |
| 276 | + "Key": "objectkey.jpg" |
| 277 | + }, |
| 278 | + "output": { |
279 | 279 | },
|
280 | 280 | "comments": {
|
281 | 281 | "input": {
|
282 | 282 | },
|
283 | 283 | "output": {
|
284 | 284 | }
|
285 | 285 | },
|
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)" |
| 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 | 289 | }
|
290 | 290 | ],
|
291 | 291 | "DeleteObjectTagging": [
|
|
334 | 334 | "Delete": {
|
335 | 335 | "Objects": [
|
336 | 336 | {
|
337 |
| - "Key": "HappyFace.jpg", |
338 |
| - "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" |
| 337 | + "Key": "objectkey1" |
339 | 338 | },
|
340 | 339 | {
|
341 |
| - "Key": "HappyFace.jpg", |
342 |
| - "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" |
| 340 | + "Key": "objectkey2" |
343 | 341 | }
|
344 | 342 | ],
|
345 | 343 | "Quiet": false
|
|
348 | 346 | "output": {
|
349 | 347 | "Deleted": [
|
350 | 348 | {
|
351 |
| - "Key": "HappyFace.jpg", |
352 |
| - "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" |
| 349 | + "DeleteMarker": "true", |
| 350 | + "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F", |
| 351 | + "Key": "objectkey1" |
353 | 352 | },
|
354 | 353 | {
|
355 |
| - "Key": "HappyFace.jpg", |
356 |
| - "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" |
| 354 | + "DeleteMarker": "true", |
| 355 | + "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt", |
| 356 | + "Key": "objectkey2" |
357 | 357 | }
|
358 | 358 | ]
|
359 | 359 | },
|
|
363 | 363 | "output": {
|
364 | 364 | }
|
365 | 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" |
| 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" |
369 | 369 | },
|
370 | 370 | {
|
371 | 371 | "input": {
|
372 | 372 | "Bucket": "examplebucket",
|
373 | 373 | "Delete": {
|
374 | 374 | "Objects": [
|
375 | 375 | {
|
376 |
| - "Key": "objectkey1" |
| 376 | + "Key": "HappyFace.jpg", |
| 377 | + "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" |
377 | 378 | },
|
378 | 379 | {
|
379 |
| - "Key": "objectkey2" |
| 380 | + "Key": "HappyFace.jpg", |
| 381 | + "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" |
380 | 382 | }
|
381 | 383 | ],
|
382 | 384 | "Quiet": false
|
|
385 | 387 | "output": {
|
386 | 388 | "Deleted": [
|
387 | 389 | {
|
388 |
| - "DeleteMarker": "true", |
389 |
| - "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F", |
390 |
| - "Key": "objectkey1" |
| 390 | + "Key": "HappyFace.jpg", |
| 391 | + "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd" |
391 | 392 | },
|
392 | 393 | {
|
393 |
| - "DeleteMarker": "true", |
394 |
| - "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt", |
395 |
| - "Key": "objectkey2" |
| 394 | + "Key": "HappyFace.jpg", |
| 395 | + "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b" |
396 | 396 | }
|
397 | 397 | ]
|
398 | 398 | },
|
|
402 | 402 | "output": {
|
403 | 403 | }
|
404 | 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" |
| 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" |
408 | 408 | }
|
409 | 409 | ],
|
410 | 410 | "GetBucketCors": [
|
|
1587 | 1587 | },
|
1588 | 1588 | {
|
1589 | 1589 | "input": {
|
1590 |
| - "Body": "HappyFace.jpg", |
| 1590 | + "Body": "c:\\HappyFace.jpg", |
1591 | 1591 | "Bucket": "examplebucket",
|
1592 |
| - "Key": "HappyFace.jpg" |
| 1592 | + "Key": "HappyFace.jpg", |
| 1593 | + "Tagging": "key1=value1&key2=value2" |
1593 | 1594 | },
|
1594 | 1595 | "output": {
|
1595 | 1596 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1596 |
| - "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" |
| 1597 | + "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" |
1597 | 1598 | },
|
1598 | 1599 | "comments": {
|
1599 | 1600 | "input": {
|
1600 | 1601 | },
|
1601 | 1602 | "output": {
|
1602 | 1603 | }
|
1603 | 1604 | },
|
1604 |
| - "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.", |
1605 |
| - "id": "to-upload-an-object-1481760101010", |
1606 |
| - "title": "To upload an object" |
| 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" |
1607 | 1608 | },
|
1608 | 1609 | {
|
1609 | 1610 | "input": {
|
1610 | 1611 | "Body": "filetoupload",
|
1611 | 1612 | "Bucket": "examplebucket",
|
1612 | 1613 | "Key": "exampleobject",
|
1613 |
| - "ServerSideEncryption": "AES256", |
1614 |
| - "Tagging": "key1=value1&key2=value2" |
| 1614 | + "Metadata": { |
| 1615 | + "metadata1": "value1", |
| 1616 | + "metadata2": "value2" |
| 1617 | + } |
1615 | 1618 | },
|
1616 | 1619 | "output": {
|
1617 | 1620 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1618 |
| - "ServerSideEncryption": "AES256", |
1619 |
| - "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" |
| 1621 | + "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0" |
1620 | 1622 | },
|
1621 | 1623 | "comments": {
|
1622 | 1624 | "input": {
|
1623 | 1625 | },
|
1624 | 1626 | "output": {
|
1625 | 1627 | }
|
1626 | 1628 | },
|
1627 |
| - "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.", |
1628 |
| - "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831", |
1629 |
| - "title": "To upload an object and specify server-side encryption and object tags" |
| 1629 | + "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.", |
| 1630 | + "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757", |
| 1631 | + "title": "To upload object and specify user-defined metadata" |
1630 | 1632 | },
|
1631 | 1633 | {
|
1632 | 1634 | "input": {
|
1633 |
| - "Body": "filetoupload", |
| 1635 | + "Body": "HappyFace.jpg", |
1634 | 1636 | "Bucket": "examplebucket",
|
1635 |
| - "Key": "exampleobject", |
1636 |
| - "Metadata": { |
1637 |
| - "metadata1": "value1", |
1638 |
| - "metadata2": "value2" |
1639 |
| - } |
| 1637 | + "Key": "HappyFace.jpg" |
1640 | 1638 | },
|
1641 | 1639 | "output": {
|
1642 | 1640 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1643 |
| - "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0" |
| 1641 | + "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" |
1644 | 1642 | },
|
1645 | 1643 | "comments": {
|
1646 | 1644 | "input": {
|
1647 | 1645 | },
|
1648 | 1646 | "output": {
|
1649 | 1647 | }
|
1650 | 1648 | },
|
1651 |
| - "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.", |
1652 |
| - "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757", |
1653 |
| - "title": "To upload object and specify user-defined metadata" |
| 1649 | + "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.", |
| 1650 | + "id": "to-upload-an-object-1481760101010", |
| 1651 | + "title": "To upload an object" |
1654 | 1652 | },
|
1655 | 1653 | {
|
1656 | 1654 | "input": {
|
1657 |
| - "Body": "c:\\HappyFace.jpg", |
| 1655 | + "Body": "filetoupload", |
1658 | 1656 | "Bucket": "examplebucket",
|
1659 |
| - "Key": "HappyFace.jpg", |
| 1657 | + "Key": "exampleobject", |
| 1658 | + "ServerSideEncryption": "AES256", |
1660 | 1659 | "Tagging": "key1=value1&key2=value2"
|
1661 | 1660 | },
|
1662 | 1661 | "output": {
|
1663 | 1662 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1664 |
| - "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" |
| 1663 | + "ServerSideEncryption": "AES256", |
| 1664 | + "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" |
1665 | 1665 | },
|
1666 | 1666 | "comments": {
|
1667 | 1667 | "input": {
|
1668 | 1668 | },
|
1669 | 1669 | "output": {
|
1670 | 1670 | }
|
1671 | 1671 | },
|
1672 |
| - "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.", |
1673 |
| - "id": "to-upload-an-object-and-specify-optional-tags-1481762310955", |
1674 |
| - "title": "To upload an object and specify optional tags" |
| 1672 | + "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.", |
| 1673 | + "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831", |
| 1674 | + "title": "To upload an object and specify server-side encryption and object tags" |
1675 | 1675 | },
|
1676 | 1676 | {
|
1677 | 1677 | "input": {
|
|
0 commit comments