CloudFront / Client / delete_monitoring_subscription

delete_monitoring_subscription#

CloudFront.Client.delete_monitoring_subscription(**kwargs)#

Disables additional CloudWatch metrics for the specified CloudFront distribution.

See also: AWS API Documentation

Request Syntax

response = client.delete_monitoring_subscription(
    DistributionId='string'
)
Parameters:

DistributionId (string) –

[REQUIRED]

The ID of the distribution that you are disabling metrics for.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • CloudFront.Client.exceptions.AccessDenied

  • CloudFront.Client.exceptions.NoSuchDistribution

  • CloudFront.Client.exceptions.NoSuchMonitoringSubscription

  • CloudFront.Client.exceptions.UnsupportedOperation