@Override
    public GetMonitoringSubscriptionResult getMonitoringSubscription(GetMonitoringSubscriptionRequest request) {
        request = beforeClientExecution(request);
        return executeGetMonitoringSubscription(request);
    }
<p>
Gets information about whether additional CloudWatch metrics are enabled for the specified CloudFront
distribution.
</p>

@param getMonitoringSubscriptionRequest
@return Result of the GetMonitoringSubscription operation returned by the service.
@throws AccessDeniedException
        Access denied.
@throws NoSuchDistributionException
        The specified distribution does not exist.
@throws NoSuchMonitoringSubscriptionException
        A monitoring subscription does not exist for the specified distribution.
@throws UnsupportedOperationException
        This operation is not supported in this region.
@sample AmazonCloudFront.GetMonitoringSubscription
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription"
     target="_top">AWS API Documentation</a>
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/AmazonCloudFrontClient.java