getMonitorSettings method

Future<GetMonitorSettingsResponse> getMonitorSettings({
  1. required String monitorId,
})

Gets the settings for a Deadline Cloud monitor.

May throw AccessDeniedException. May throw InternalServerErrorException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter monitorId : The unique identifier of the monitor. This ID is returned by the CreateMonitor operation, and is included in the response to the ListMonitors operation.

Implementation

Future<GetMonitorSettingsResponse> getMonitorSettings({
  required String monitorId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/2023-10-12/monitors/${Uri.encodeComponent(monitorId)}/settings',
    exceptionFnMap: _exceptionFns,
  );
  return GetMonitorSettingsResponse.fromJson(response);
}