getLoggerDefinition method
Retrieves information about a logger definition.
May throw BadRequestException.
Parameter loggerDefinitionId
:
The ID of the logger definition.
Implementation
Future<GetLoggerDefinitionResponse> getLoggerDefinition({
required String loggerDefinitionId,
}) async {
ArgumentError.checkNotNull(loggerDefinitionId, 'loggerDefinitionId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/definition/loggers/${Uri.encodeComponent(loggerDefinitionId)}',
exceptionFnMap: _exceptionFns,
);
return GetLoggerDefinitionResponse.fromJson(response);
}