MediaStore / Client / delete_container_policy

delete_container_policy#

MediaStore.Client.delete_container_policy(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.delete_container_policy(
    ContainerName='string'
)
Parameters:

ContainerName (string) –

[REQUIRED]

The name of the container that holds the policy.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • MediaStore.Client.exceptions.ContainerInUseException

  • MediaStore.Client.exceptions.ContainerNotFoundException

  • MediaStore.Client.exceptions.PolicyNotFoundException

  • MediaStore.Client.exceptions.InternalServerError