2018/12/11 - AWS Elemental MediaStore - 3 new api methods
Changes Update mediastore client to latest version
Writes an object lifecycle policy to a container. If the container already has an object lifecycle policy, the service replaces the existing policy with the new policy.
See also: AWS API Documentation
Request Syntax
client.put_lifecycle_policy( ContainerName='string', LifecyclePolicy='string' )
string
[REQUIRED]
The name of the container that you want to assign the object lifecycle policy to.
string
[REQUIRED]
The object lifecycle policy to apply to the container.
dict
Response Syntax
{}
Response Structure
(dict) --
Retrieves the object lifecycle policy that is assigned to a container.
See also: AWS API Documentation
Request Syntax
client.get_lifecycle_policy( ContainerName='string' )
string
[REQUIRED]
The name of the container that the object lifecycle policy is assigned to.
dict
Response Syntax
{ 'LifecyclePolicy': 'string' }
Response Structure
(dict) --
LifecyclePolicy (string) --
The object lifecycle policy that is assigned to the container.
Removes an object lifecycle policy from a container.
See also: AWS API Documentation
Request Syntax
client.delete_lifecycle_policy( ContainerName='string' )
string
[REQUIRED]
The name of the container that holds the object lifecycle policy.
dict
Response Syntax
{}
Response Structure
(dict) --