@Override
    public GetResponseHeadersPolicyResult getResponseHeadersPolicy(GetResponseHeadersPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeGetResponseHeadersPolicy(request);
    }
<p>
Gets a response headers policy, including metadata (the policy's identifier and the date and time when the policy
was last modified).
</p>
<p>
To get a response headers policy, you must provide the policy's identifier. If the response headers policy is
attached to a distribution's cache behavior, you can get the policy's identifier using
<code>ListDistributions</code> or <code>GetDistribution</code>. If the response headers policy is not attached to
a cache behavior, you can get the identifier using <code>ListResponseHeadersPolicies</code>.
</p>

@param getResponseHeadersPolicyRequest
@return Result of the GetResponseHeadersPolicy operation returned by the service.
@throws AccessDeniedException
        Access denied.
@throws NoSuchResponseHeadersPolicyException
        The response headers policy does not exist.
@sample AmazonCloudFront.GetResponseHeadersPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java