:doc:`MediaStore <../../mediastore>` / Client / delete_metric_policy

********************
delete_metric_policy
********************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteMetricPolicy>`_  


  **Request Syntax**
  ::

    response = client.delete_metric_policy(
        ContainerName='string'
    )
    
  :type ContainerName: string
  :param ContainerName: **[REQUIRED]** 

    The name of the container that is associated with the metric policy that you want to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`MediaStore.Client.exceptions.ContainerInUseException`

  
  *   :py:class:`MediaStore.Client.exceptions.ContainerNotFoundException`

  
  *   :py:class:`MediaStore.Client.exceptions.PolicyNotFoundException`

  
  *   :py:class:`MediaStore.Client.exceptions.InternalServerError`

  