@Override
    public PutContainerPolicyResult putContainerPolicy(PutContainerPolicyRequest request) {
        request = beforeClientExecution(request);
        return executePutContainerPolicy(request);
    }
@ Override public PutContainerPolicyResult putContainerPolicy ( PutContainerPolicyRequest request ) { request = beforeClientExecution ( request ) ; return executePutContainerPolicy ( request ) ; }
<p>
Creates an access policy for the specified container to restrict the users and clients that can access it. For
information about the data that is included in an access policy, see the <a
href="https://aws.amazon.com/documentation/iam/">AWS Identity and Access Management User Guide</a>.
</p>
<p>
For this release of the REST API, you can create only one policy for a container. If you enter
<code>PutContainerPolicy</code> twice, the second command modifies the existing policy.
</p>

@param putContainerPolicyRequest
@return Result of the PutContainerPolicy operation returned by the service.
@throws ContainerNotFoundException
The container that you specified in the request does not exist.
@throws ContainerInUseException
The container that you specified in the request already exists or is being updated.
@throws InternalServerErrorException
The service is temporarily unavailable.
@sample AWSMediaStore.PutContainerPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicy" target="_top">AWS
API Documentation</a>