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