Module Smaws_Client_MediaStore.PutLifecyclePolicy

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. It takes up to 20 minutes for the change to take effect.

For information about how to construct an object lifecycle policy, see Components of an Object Lifecycle Policy.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ContainerInUseException of Types.container_in_use_exception | `ContainerNotFoundException of Types.container_not_found_exception | `InternalServerError of Types.internal_server_error ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.put_lifecycle_policy_input -> (Types.put_lifecycle_policy_output, [> Smaws_Lib.Protocols.AwsJson.error | `ContainerInUseException of Types.container_in_use_exception | `ContainerNotFoundException of Types.container_not_found_exception | `InternalServerError of Types.internal_server_error ]) Stdlib.result