MediaStore.Client.
delete_metric_policy
(**kwargs)¶Deletes the metric policy that is associated with the specified container. If there is no metric policy associated with the container, MediaStore doesn't send metrics to CloudWatch.
See also: AWS API Documentation
Request Syntax
response = client.delete_metric_policy(
ContainerName='string'
)
[REQUIRED]
The name of the container that is associated with the metric policy that you want to delete.
{}
Response Structure
Exceptions
MediaStore.Client.exceptions.ContainerInUseException
MediaStore.Client.exceptions.ContainerNotFoundException
MediaStore.Client.exceptions.PolicyNotFoundException
MediaStore.Client.exceptions.InternalServerError