Safe Haskell | None |
---|---|
Language | Haskell2010 |
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:DeleteEventSourceMapping' action.
http://docs.aws.amazon.com/lambda/latest/dg/API_DeleteEventSourceMapping.html
- data DeleteEventSourceMapping
- deleteEventSourceMapping :: Text -> DeleteEventSourceMapping
- desmUUID :: Lens' DeleteEventSourceMapping Text
- data DeleteEventSourceMappingResponse
- deleteEventSourceMappingResponse :: DeleteEventSourceMappingResponse
- desmrBatchSize :: Lens' DeleteEventSourceMappingResponse (Maybe Natural)
- desmrEventSourceArn :: Lens' DeleteEventSourceMappingResponse (Maybe Text)
- desmrFunctionArn :: Lens' DeleteEventSourceMappingResponse (Maybe Text)
- desmrLastModified :: Lens' DeleteEventSourceMappingResponse (Maybe UTCTime)
- desmrLastProcessingResult :: Lens' DeleteEventSourceMappingResponse (Maybe Text)
- desmrState :: Lens' DeleteEventSourceMappingResponse (Maybe Text)
- desmrStateTransitionReason :: Lens' DeleteEventSourceMappingResponse (Maybe Text)
- desmrUUID :: Lens' DeleteEventSourceMappingResponse (Maybe Text)
Request
data DeleteEventSourceMapping Source
Request constructor
deleteEventSourceMapping Source
DeleteEventSourceMapping
constructor.
The fields accessible through corresponding lenses are:
Request lenses
desmUUID :: Lens' DeleteEventSourceMapping Text Source
The event source mapping ID.
Response
Response constructor
deleteEventSourceMappingResponse :: DeleteEventSourceMappingResponse Source
DeleteEventSourceMappingResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
desmrBatchSize :: Lens' DeleteEventSourceMappingResponse (Maybe Natural) Source
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
desmrEventSourceArn :: Lens' DeleteEventSourceMappingResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
desmrFunctionArn :: Lens' DeleteEventSourceMappingResponse (Maybe Text) Source
The Lambda function to invoke when AWS Lambda detects an event on the stream.
desmrLastModified :: Lens' DeleteEventSourceMappingResponse (Maybe UTCTime) Source
The UTC time string indicating the last time the event mapping was updated.
desmrLastProcessingResult :: Lens' DeleteEventSourceMappingResponse (Maybe Text) Source
The result of the last AWS Lambda invocation of your Lambda function.
desmrStateTransitionReason :: Lens' DeleteEventSourceMappingResponse (Maybe Text) Source
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.