getRuntimeLogConfiguration method

Future<GetRuntimeLogConfigurationResponse> getRuntimeLogConfiguration({
  1. required String managedThingId,
})

Get the runtime log configuration for a specific managed thing.

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

Parameter managedThingId : The id for a managed thing.

Implementation

Future<GetRuntimeLogConfigurationResponse> getRuntimeLogConfiguration({
  required String managedThingId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/runtime-log-configurations/${Uri.encodeComponent(managedThingId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetRuntimeLogConfigurationResponse.fromJson(response);
}