get_container_policy
(**kwargs)¶Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide.
See also: AWS API Documentation
Request Syntax
response = client.get_container_policy(
ContainerName='string'
)
[REQUIRED]
The name of the container.
{
'Policy': 'string'
}
Response Structure
The contents of the access policy.
Exceptions
MediaStore.Client.exceptions.ContainerInUseException
MediaStore.Client.exceptions.ContainerNotFoundException
MediaStore.Client.exceptions.PolicyNotFoundException
MediaStore.Client.exceptions.InternalServerError