|
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": [
|
|
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": "2014-10-09T22:57:28.000Z", |
| 735 | + "ContentLength": "3191", |
| 736 | + "ContentType": "image/jpeg", |
| 737 | + "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"", |
| 738 | + "LastModified": "2016-12-15T01:19:41.000Z", |
741 | 739 | "Metadata": {
|
742 | 740 | },
|
| 741 | + "TagCount": 2, |
743 | 742 | "VersionId": "null"
|
744 | 743 | },
|
745 | 744 | "comments": {
|
|
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": "2016-12-15T01:19:41.000Z", |
| 762 | + "ContentLength": "10", |
| 763 | + "ContentRange": "bytes 0-9/43", |
| 764 | + "ContentType": "text/plain", |
| 765 | + "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"", |
| 766 | + "LastModified": "2014-10-09T22:57:28.000Z", |
766 | 767 | "Metadata": {
|
767 | 768 | },
|
768 |
| - "TagCount": 2, |
769 | 769 | "VersionId": "null"
|
770 | 770 | },
|
771 | 771 | "comments": {
|
|
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 | 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": {
|
860 | 857 | },
|
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": {
|
885 | 885 | },
|
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 | 1567 | "PutObject": [
|
1568 | 1568 | {
|
1569 | 1569 | "input": {
|
1570 |
| - "Body": "c:\\HappyFace.jpg", |
| 1570 | + "Body": "filetoupload", |
1571 | 1571 | "Bucket": "examplebucket",
|
1572 |
| - "Key": "HappyFace.jpg", |
| 1572 | + "Key": "exampleobject", |
| 1573 | + "ServerSideEncryption": "AES256", |
1573 | 1574 | "Tagging": "key1=value1&key2=value2"
|
1574 | 1575 | },
|
1575 | 1576 | "output": {
|
1576 | 1577 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1577 |
| - "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" |
| 1578 | + "ServerSideEncryption": "AES256", |
| 1579 | + "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" |
1578 | 1580 | },
|
1579 | 1581 | "comments": {
|
1580 | 1582 | "input": {
|
1581 | 1583 | },
|
1582 | 1584 | "output": {
|
1583 | 1585 | }
|
1584 | 1586 | },
|
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 | + "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.", |
| 1588 | + "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831", |
| 1589 | + "title": "To upload an object and specify server-side encryption and object tags" |
1588 | 1590 | },
|
1589 | 1591 | {
|
1590 | 1592 | "input": {
|
1591 |
| - "ACL": "authenticated-read", |
1592 |
| - "Body": "filetoupload", |
| 1593 | + "Body": "HappyFace.jpg", |
1593 | 1594 | "Bucket": "examplebucket",
|
1594 |
| - "Key": "exampleobject" |
| 1595 | + "Key": "HappyFace.jpg" |
1595 | 1596 | },
|
1596 | 1597 | "output": {
|
1597 | 1598 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1598 |
| - "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" |
| 1599 | + "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" |
1599 | 1600 | },
|
1600 | 1601 | "comments": {
|
1601 | 1602 | "input": {
|
1602 | 1603 | },
|
1603 | 1604 | "output": {
|
1604 | 1605 | }
|
1605 | 1606 | },
|
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." |
| 1607 | + "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.", |
| 1608 | + "id": "to-upload-an-object-1481760101010", |
| 1609 | + "title": "To upload an object" |
1609 | 1610 | },
|
1610 | 1611 | {
|
1611 | 1612 | "input": {
|
1612 |
| - "Body": "HappyFace.jpg", |
| 1613 | + "Body": "c:\\HappyFace.jpg", |
1613 | 1614 | "Bucket": "examplebucket",
|
1614 |
| - "Key": "HappyFace.jpg" |
| 1615 | + "Key": "HappyFace.jpg", |
| 1616 | + "Tagging": "key1=value1&key2=value2" |
1615 | 1617 | },
|
1616 | 1618 | "output": {
|
1617 | 1619 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1618 |
| - "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk" |
| 1620 | + "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a" |
1619 | 1621 | },
|
1620 | 1622 | "comments": {
|
1621 | 1623 | "input": {
|
1622 | 1624 | },
|
1623 | 1625 | "output": {
|
1624 | 1626 | }
|
1625 | 1627 | },
|
1626 |
| - "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.", |
1627 |
| - "id": "to-upload-an-object-1481760101010", |
1628 |
| - "title": "To upload an object" |
| 1628 | + "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.", |
| 1629 | + "id": "to-upload-an-object-and-specify-optional-tags-1481762310955", |
| 1630 | + "title": "To upload an object and specify optional tags" |
1629 | 1631 | },
|
1630 | 1632 | {
|
1631 | 1633 | "input": {
|
|
1653 | 1655 | },
|
1654 | 1656 | {
|
1655 | 1657 | "input": {
|
| 1658 | + "ACL": "authenticated-read", |
1656 | 1659 | "Body": "filetoupload",
|
1657 | 1660 | "Bucket": "examplebucket",
|
1658 |
| - "Key": "objectkey" |
| 1661 | + "Key": "exampleobject" |
1659 | 1662 | },
|
1660 | 1663 | "output": {
|
1661 | 1664 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1662 |
| - "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ" |
| 1665 | + "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr" |
1663 | 1666 | },
|
1664 | 1667 | "comments": {
|
1665 | 1668 | "input": {
|
1666 | 1669 | },
|
1667 | 1670 | "output": {
|
1668 | 1671 | }
|
1669 | 1672 | },
|
1670 |
| - "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.", |
1671 |
| - "id": "to-create-an-object-1483147613675", |
1672 |
| - "title": "To create an object." |
| 1673 | + "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.", |
| 1674 | + "id": "to-upload-an-object-and-specify-canned-acl-1483397779571", |
| 1675 | + "title": "To upload an object and specify canned ACL." |
1673 | 1676 | },
|
1674 | 1677 | {
|
1675 | 1678 | "input": {
|
|
1698 | 1701 | "input": {
|
1699 | 1702 | "Body": "filetoupload",
|
1700 | 1703 | "Bucket": "examplebucket",
|
1701 |
| - "Key": "exampleobject", |
1702 |
| - "ServerSideEncryption": "AES256", |
1703 |
| - "Tagging": "key1=value1&key2=value2" |
| 1704 | + "Key": "objectkey" |
1704 | 1705 | },
|
1705 | 1706 | "output": {
|
1706 | 1707 | "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1707 |
| - "ServerSideEncryption": "AES256", |
1708 |
| - "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt" |
| 1708 | + "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ" |
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 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" |
| 1716 | + "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.", |
| 1717 | + "id": "to-create-an-object-1483147613675", |
| 1718 | + "title": "To create an object." |
1719 | 1719 | }
|
1720 | 1720 | ],
|
1721 | 1721 | "PutObjectAcl": [
|
|
0 commit comments