getAppMonitor method

Future<GetAppMonitorResponse> getAppMonitor({
  1. required String name,
})

Retrieves the complete configuration information for one app monitor.

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

Parameter name : The app monitor to retrieve information for.

Implementation

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