Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns configuration information for the specified event source mapping (see CreateEventSourceMapping
).
This operation requires permission for the 'lambda:GetEventSourceMapping' action.
http://docs.aws.amazon.com/lambda/latest/dg/API_GetEventSourceMapping.html
- data GetEventSourceMapping
- getEventSourceMapping :: Text -> GetEventSourceMapping
- gesmUUID :: Lens' GetEventSourceMapping Text
- data GetEventSourceMappingResponse
- getEventSourceMappingResponse :: GetEventSourceMappingResponse
- gesmrBatchSize :: Lens' GetEventSourceMappingResponse (Maybe Natural)
- gesmrEventSourceArn :: Lens' GetEventSourceMappingResponse (Maybe Text)
- gesmrFunctionArn :: Lens' GetEventSourceMappingResponse (Maybe Text)
- gesmrLastModified :: Lens' GetEventSourceMappingResponse (Maybe UTCTime)
- gesmrLastProcessingResult :: Lens' GetEventSourceMappingResponse (Maybe Text)
- gesmrState :: Lens' GetEventSourceMappingResponse (Maybe Text)
- gesmrStateTransitionReason :: Lens' GetEventSourceMappingResponse (Maybe Text)
- gesmrUUID :: Lens' GetEventSourceMappingResponse (Maybe Text)
Request
data GetEventSourceMapping Source
Request constructor
GetEventSourceMapping
constructor.
The fields accessible through corresponding lenses are:
Request lenses
gesmUUID :: Lens' GetEventSourceMapping Text Source
The AWS Lambda assigned ID of the event source mapping.
Response
Response constructor
getEventSourceMappingResponse :: GetEventSourceMappingResponse Source
GetEventSourceMappingResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
gesmrBatchSize :: Lens' GetEventSourceMappingResponse (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.
gesmrEventSourceArn :: Lens' GetEventSourceMappingResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
gesmrFunctionArn :: Lens' GetEventSourceMappingResponse (Maybe Text) Source
The Lambda function to invoke when AWS Lambda detects an event on the stream.
gesmrLastModified :: Lens' GetEventSourceMappingResponse (Maybe UTCTime) Source
The UTC time string indicating the last time the event mapping was updated.
gesmrLastProcessingResult :: Lens' GetEventSourceMappingResponse (Maybe Text) Source
The result of the last AWS Lambda invocation of your Lambda function.
gesmrStateTransitionReason :: Lens' GetEventSourceMappingResponse (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.