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