|
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": {
|
302 | 303 | },
|
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": {
|
321 | 321 | },
|
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 | 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": {
|
857 | 860 | },
|
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": {
|
885 | 885 | },
|
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": [
|
|
1565 | 1565 | }
|
1566 | 1566 | ],
|
1567 | 1567 | "PutObject": [
|
| 1568 | + { |
| 1569 | + "input": { |
| 1570 | + "Body": "HappyFace.jpg", |
| 1571 | + "Bucket": "examplebucket", |
| 1572 | + "Key": "HappyFace.jpg", |
| 1573 | + "ServerSideEncryption": "AES256", |
| 1574 | + "StorageClass": "STANDARD_IA" |
| 1575 | + }, |
| 1576 | + "output": { |
| 1577 | + "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", |
| 1578 | + "ServerSideEncryption": "AES256", |
| 1579 | + "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp" |
| 1580 | + }, |
| 1581 | + "comments": { |
| 1582 | + "input": { |
| 1583 | + }, |
| 1584 | + "output": { |
| 1585 | + } |
| 1586 | + }, |
| 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)" |
| 1590 | + }, |
1568 | 1591 | {
|
1569 | 1592 | "input": {
|
1570 | 1593 | "Body": "filetoupload",
|
|
1589 | 1612 | "input": {
|
1590 | 1613 | "Body": "HappyFace.jpg",
|
1591 | 1614 | "Bucket": "examplebucket",
|
1592 |
| - "Key": "HappyFace.jpg", |
1593 |
| - "ServerSideEncryption": "AES256", |
1594 |
| - "StorageClass": "STANDARD_IA" |
| 1615 | + "Key": "HappyFace.jpg" |
1595 | 1616 | },
|
1596 | 1617 | "output": {
|
1597 | 1618 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1598 |
| - "ServerSideEncryption": "AES256", |
1599 |
| - "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp" |
| 1619 | + "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" |
1600 | 1620 | },
|
1601 | 1621 | "comments": {
|
1602 | 1622 | "input": {
|
1603 | 1623 | },
|
1604 | 1624 | "output": {
|
1605 | 1625 | }
|
1606 | 1626 | },
|
1607 |
| - "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.", |
1608 |
| - "id": "to-upload-an-object-(specify-optional-headers)", |
1609 |
| - "title": "To upload an object (specify optional headers)" |
| 1627 | + "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.", |
| 1628 | + "id": "to-upload-an-object-1481760101010", |
| 1629 | + "title": "To upload an object" |
1610 | 1630 | },
|
1611 | 1631 | {
|
1612 | 1632 | "input": {
|
1613 |
| - "ACL": "authenticated-read", |
1614 |
| - "Body": "filetoupload", |
| 1633 | + "Body": "c:\\HappyFace.jpg", |
1615 | 1634 | "Bucket": "examplebucket",
|
1616 |
| - "Key": "exampleobject" |
| 1635 | + "Key": "HappyFace.jpg", |
| 1636 | + "Tagging": "key1=value1&key2=value2" |
1617 | 1637 | },
|
1618 | 1638 | "output": {
|
1619 | 1639 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1620 |
| - "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" |
| 1640 | + "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" |
1621 | 1641 | },
|
1622 | 1642 | "comments": {
|
1623 | 1643 | "input": {
|
1624 | 1644 | },
|
1625 | 1645 | "output": {
|
1626 | 1646 | }
|
1627 | 1647 | },
|
1628 |
| - "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.", |
1629 |
| - "id": "to-upload-an-object-and-specify-canned-acl-1483397779571", |
1630 |
| - "title": "To upload an object and specify canned ACL." |
| 1648 | + "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.", |
| 1649 | + "id": "to-upload-an-object-and-specify-optional-tags-1481762310955", |
| 1650 | + "title": "To upload an object and specify optional tags" |
1631 | 1651 | },
|
1632 | 1652 | {
|
1633 | 1653 | "input": {
|
| 1654 | + "ACL": "authenticated-read", |
1634 | 1655 | "Body": "filetoupload",
|
1635 | 1656 | "Bucket": "examplebucket",
|
1636 |
| - "Key": "exampleobject", |
1637 |
| - "ServerSideEncryption": "AES256", |
1638 |
| - "Tagging": "key1=value1&key2=value2" |
| 1657 | + "Key": "exampleobject" |
1639 | 1658 | },
|
1640 | 1659 | "output": {
|
1641 | 1660 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1642 |
| - "ServerSideEncryption": "AES256", |
1643 |
| - "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" |
| 1661 | + "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" |
1644 | 1662 | },
|
1645 | 1663 | "comments": {
|
1646 | 1664 | "input": {
|
1647 | 1665 | },
|
1648 | 1666 | "output": {
|
1649 | 1667 | }
|
1650 | 1668 | },
|
1651 |
| - "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.", |
1652 |
| - "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831", |
1653 |
| - "title": "To upload an object and specify server-side encryption and object tags" |
| 1669 | + "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.", |
| 1670 | + "id": "to-upload-an-object-and-specify-canned-acl-1483397779571", |
| 1671 | + "title": "To upload an object and specify canned ACL." |
1654 | 1672 | },
|
1655 | 1673 | {
|
1656 | 1674 | "input": {
|
|
1678 | 1696 | },
|
1679 | 1697 | {
|
1680 | 1698 | "input": {
|
1681 |
| - "Body": "HappyFace.jpg", |
1682 |
| - "Bucket": "examplebucket", |
1683 |
| - "Key": "HappyFace.jpg" |
1684 |
| - }, |
1685 |
| - "output": { |
1686 |
| - "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", |
1687 |
| - "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" |
1688 |
| - }, |
1689 |
| - "comments": { |
1690 |
| - "input": { |
1691 |
| - }, |
1692 |
| - "output": { |
1693 |
| - } |
1694 |
| - }, |
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" |
1698 |
| - }, |
1699 |
| - { |
1700 |
| - "input": { |
1701 |
| - "Body": "c:\\HappyFace.jpg", |
| 1699 | + "Body": "filetoupload", |
1702 | 1700 | "Bucket": "examplebucket",
|
1703 |
| - "Key": "HappyFace.jpg", |
| 1701 | + "Key": "exampleobject", |
| 1702 | + "ServerSideEncryption": "AES256", |
1704 | 1703 | "Tagging": "key1=value1&key2=value2"
|
1705 | 1704 | },
|
1706 | 1705 | "output": {
|
1707 | 1706 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1708 |
| - "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" |
| 1707 | + "ServerSideEncryption": "AES256", |
| 1708 | + "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" |
1709 | 1709 | },
|
1710 | 1710 | "comments": {
|
1711 | 1711 | "input": {
|
1712 | 1712 | },
|
1713 | 1713 | "output": {
|
1714 | 1714 | }
|
1715 | 1715 | },
|
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" |
| 1716 | + "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.", |
| 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": [
|
|
0 commit comments