**To view an object lifecycle policy** The following ``get-lifecycle-policy`` example displays the object lifecycle policy attached to the specified container. :: aws mediastore get-lifecycle-policy \ --container-name LiveEvents Output:: { "LifecyclePolicy": { "rules": [ { "definition": { "path": [ { "prefix": "Football/" }, { "prefix": "Baseball/" } ], "days_since_create": [ { "numeric": [ ">", 28 ] } ] }, "action": "EXPIRE" } ] } } For more information, see `Viewing an Object Lifecycle Policy <https://docs.aws.amazon.com/mediastore/latest/ug/policies-object-lifecycle-view.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 |
|