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

***********************
delete_container_policy
***********************



.. py:method:: MediaStore.Client.delete_container_policy(**kwargs)

  

  Deletes the access policy that is associated with the specified container.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicy>`_  


  **Request Syntax**
  ::

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

    The name of the container that holds the policy.

    

  
  
  :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`

  