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