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