deleteMonitoringSubscription2020_05_31 method
Disables additional CloudWatch metrics for the specified CloudFront distribution.
May throw AccessDenied. May throw NoSuchDistribution.
Parameter distributionId
:
The ID of the distribution that you are disabling metrics for.
Implementation
Future<void> deleteMonitoringSubscription2020_05_31({
required String distributionId,
}) async {
ArgumentError.checkNotNull(distributionId, 'distributionId');
await _protocol.send(
method: 'DELETE',
requestUri:
'/2020-05-31/distributions/${Uri.encodeComponent(distributionId)}/monitoring-subscription',
exceptionFnMap: _exceptionFns,
);
}