deleteAppMonitor method

Future<void> deleteAppMonitor({
  1. required String name,
})

Deletes an existing app monitor. This immediately stops the collection of data.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter name : The name of the app monitor to delete.

Implementation

Future<void> deleteAppMonitor({
  required String name,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/appmonitor/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
}