@Override
    public SetDataRetrievalPolicyResult setDataRetrievalPolicy(SetDataRetrievalPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeSetDataRetrievalPolicy(request);
    }
<p>
This operation sets and then enacts a data retrieval policy in the region specified in the PUT request. You can
set one policy per region for an AWS account. The policy is enacted within a few minutes of a successful PUT
operation.
</p>
<p>
The set policy operation does not affect retrieval jobs that were in progress before the policy was enacted. For
more information about data retrieval policies, see <a
href="https://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html">Amazon Glacier Data
Retrieval Policies</a>.
</p>

@param setDataRetrievalPolicyRequest
       SetDataRetrievalPolicy input.
@return Result of the SetDataRetrievalPolicy operation returned by the service.
@throws InvalidParameterValueException
        Returned if a parameter of the request is incorrectly specified.
@throws MissingParameterValueException
        Returned if a required header or parameter is missing from the request.
@throws ServiceUnavailableException
        Returned if the service cannot complete the request.
@sample AmazonGlacier.SetDataRetrievalPolicy
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/AmazonGlacierClient.java