Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns configuration information for the specified event source mapping (see AddEventSource
).
This operation requires permission for the 'lambda:GetEventSource' action.
http://docs.aws.amazon.com/lambda/latest/dg/API_GetEventSource.html
- data GetEventSource
- getEventSource :: Text -> GetEventSource
- gesUUID :: Lens' GetEventSource Text
- data GetEventSourceResponse
- getEventSourceResponse :: GetEventSourceResponse
- gesrBatchSize :: Lens' GetEventSourceResponse (Maybe Int)
- gesrEventSource :: Lens' GetEventSourceResponse (Maybe Text)
- gesrFunctionName :: Lens' GetEventSourceResponse (Maybe Text)
- gesrIsActive :: Lens' GetEventSourceResponse (Maybe Bool)
- gesrLastModified :: Lens' GetEventSourceResponse (Maybe UTCTime)
- gesrParameters :: Lens' GetEventSourceResponse (HashMap Text Text)
- gesrRole :: Lens' GetEventSourceResponse (Maybe Text)
- gesrStatus :: Lens' GetEventSourceResponse (Maybe Text)
- gesrUUID :: Lens' GetEventSourceResponse (Maybe Text)
Request
data GetEventSource Source
Request constructor
Request lenses
gesUUID :: Lens' GetEventSource Text Source
The AWS Lambda assigned ID of the event source mapping.
Response
Response constructor
getEventSourceResponse :: GetEventSourceResponse Source
GetEventSourceResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
gesrBatchSize :: Lens' GetEventSourceResponse (Maybe Int) Source
The largest number of records that AWS Lambda will POST in the invocation request to your function.
gesrEventSource :: Lens' GetEventSourceResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
gesrFunctionName :: Lens' GetEventSourceResponse (Maybe Text) Source
The Lambda function to invoke when AWS Lambda detects an event on the stream.
gesrIsActive :: Lens' GetEventSourceResponse (Maybe Bool) Source
Indicates whether the event source mapping is currently honored. Events are only processes if IsActive is true.
gesrLastModified :: Lens' GetEventSourceResponse (Maybe UTCTime) Source
The UTC time string indicating the last time the event mapping was updated.
gesrParameters :: Lens' GetEventSourceResponse (HashMap Text Text) Source
The map (key-value pairs) defining the configuration for AWS Lambda to use when reading the event source.
gesrRole :: Lens' GetEventSourceResponse (Maybe Text) Source
The ARN of the IAM role (invocation role) that AWS Lambda can assume to read from the stream and invoke the function.