deleteCustomMetric method
Deletes a Device Defender detect custom metric.
Requires permission to access the DeleteCustomMetric action.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ThrottlingException.
Parameter metricName :
The name of the custom metric.
Implementation
Future<void> deleteCustomMetric({
required String metricName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/custom-metric/${Uri.encodeComponent(metricName)}',
exceptionFnMap: _exceptionFns,
);
}