@Override
    public CreateMonitoringSubscriptionResult createMonitoringSubscription(CreateMonitoringSubscriptionRequest request) {
        request = beforeClientExecution(request);
        return executeCreateMonitoringSubscription(request);
    }
<p>
Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an
additional cost.
</p>
<p>
For more information, see <a href=
"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional"
>Viewing additional CloudFront distribution metrics</a> in the <i>Amazon CloudFront Developer Guide</i>.
</p>

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