@Override
    public GetAccessPointPolicyResult getAccessPointPolicy(GetAccessPointPolicyRequest request) {
        request = beforeClientExecution(request);
        return executeGetAccessPointPolicy(request);
    }
<note>
<p>
This operation is not supported by directory buckets.
</p>
</note>
<p>
Returns the access point policy associated with the specified access point.
</p>
<p>
The following actions are related to <code>GetAccessPointPolicy</code>:
</p>
<ul>
<li>
<p>
<a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html">
PutAccessPointPolicy</a>
</p>
</li>
<li>
<p>
<a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html">
DeleteAccessPointPolicy</a>
</p>
</li>
</ul>

@param getAccessPointPolicyRequest
@return Result of the GetAccessPointPolicy operation returned by the service.
@sample AWSS3Control.GetAccessPointPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicy" target="_top">AWS
     API Documentation</a>
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/AWSS3ControlClient.java