removeEventSource method
Removes an event source mapping. This means AWS Lambda will no longer invoke the function for events in the associated source.
This operation requires permission for the
lambda:RemoveEventSource
action.
May throw ServiceException. May throw ResourceNotFoundException. May throw InvalidParameterValueException.
Parameter uuid
:
The event source mapping ID.
Implementation
Future<void> removeEventSource({
required String uuid,
}) async {
ArgumentError.checkNotNull(uuid, 'uuid');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/2014-11-13/event-source-mappings/${Uri.encodeComponent(uuid)}',
exceptionFnMap: _exceptionFns,
);
}