deleteMonitor method

Future<void> deleteMonitor({
  1. required String monitorName,
})

Deletes a monitor in Amazon CloudWatch Internet Monitor.

May throw AccessDeniedException. May throw InternalServerException. 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: '/v20210603/Monitors/${Uri.encodeComponent(monitorName)}',
    exceptionFnMap: _exceptionFns,
  );
}