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.
Example
Use a bare-bones client and the command you need to make an API call.
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.
Example
Use a bare-bones client and the command you need to make an API call.
Param
GetContainerPolicyCommandInput
Returns
GetContainerPolicyCommandOutput
See
input
shape.response
shape.config
shape.Throws
ContainerInUseException (client fault)
The container that you specified in the request already exists or is being updated.
Throws
ContainerNotFoundException (client fault)
The container that you specified in the request does not exist.
Throws
InternalServerError (server fault)
The service is temporarily unavailable.
Throws
PolicyNotFoundException (client fault)
The policy that you specified in the request does not exist.
Throws
MediaStoreServiceException
Base exception class for all service exceptions from MediaStore service.