**To upload an object** The following ``put-object`` example uploads an object to the specified container. You can specify a folder path where the object will be saved within the container. If the folder already exists, AWS Elemental MediaStore stores the object in the folder. If the folder doesn't exist, the service creates it, and then stores the object in the folder. :: aws mediastore-data put-object \ --endpoint https://aaabbbcccdddee.data.mediastore.us-west-2.amazonaws.com \ --body README.md \ --path /folder_name/README.md \ --cache-control "max-age=6, public" \ --content-type binary/octet-stream Output:: { "ContentSHA256": "74b5fdb517f423ed750ef214c44adfe2be36e37d861eafe9c842cbe1bf387a9d", "StorageClass": "TEMPORAL", "ETag": "af3e4731af032167a106015d1f2fe934e68b32ed1aa297a9e325f5c64979277b" } For more information, see `Uploading an Object <https://docs.aws.amazon.com/mediastore/latest/ug/objects-upload.html>`__ in the *AWS Elemental MediaStore User Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
create-container.rst | File | 651 B | 0644 |
|
delete-container-policy.rst | File | 573 B | 0644 |
|
delete-container.rst | File | 447 B | 0644 |
|
delete-cors-policy.rst | File | 472 B | 0644 |
|
delete-lifecycle-policy.rst | File | 540 B | 0644 |
|
describe-container.rst | File | 804 B | 0644 |
|
describe-object.rst | File | 772 B | 0644 |
|
get-container-policy.rst | File | 1.19 KB | 0644 |
|
get-cors-policy.rst | File | 846 B | 0644 |
|
get-lifecycle-policy.rst | File | 1.2 KB | 0644 |
|
get-object.rst | File | 1.33 KB | 0644 |
|
list-containers.rst | File | 1.17 KB | 0644 |
|
list-items.rst | File | 1.71 KB | 0644 |
|
list-tags-for-resource.rst | File | 723 B | 0644 |
|
put-container-policy.rst | File | 580 B | 0644 |
|
put-cors-policy.rst | File | 1 KB | 0644 |
|
put-lifecycle-policy.rst | File | 814 B | 0644 |
|
put-object.rst | File | 1.03 KB | 0644 |
|
start-access-logging.rst | File | 465 B | 0644 |
|
stop-access-logging.rst | File | 468 B | 0644 |
|
tag-resource.rst | File | 555 B | 0644 |
|
untag-resource.rst | File | 520 B | 0644 |
|