deleteMonitor method
Deletes a specified monitor.
This action requires the monitorName parameter. Run
ListMonitors to get a list of monitor names.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter monitorName :
The name of the monitor to delete.
Implementation
Future<void> deleteMonitor({
required String monitorName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/monitors/${Uri.encodeComponent(monitorName)}',
exceptionFnMap: _exceptionFns,
);
}