amazonka-lambda-0.1.4: Amazon Lambda SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.GetEventSource

Contents

Description

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

Synopsis

Request

Request constructor

getEventSource Source

Arguments

:: Text

gesUUID

-> GetEventSource 

GetEventSource constructor.

The fields accessible through corresponding lenses are:

Request lenses

gesUUID :: Lens' GetEventSource Text Source

The AWS Lambda assigned ID of the event source mapping.

Response

Response constructor

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.

gesrStatus :: Lens' GetEventSourceResponse (Maybe Text) Source

The description of the health of the event source mapping. Valid values are: PENDING, OK, and "PROBLEM:message". Initially this staus is PENDING. When AWS Lambda begins processing events, it changes the status to OK.

gesrUUID :: Lens' GetEventSourceResponse (Maybe Text) Source

The AWS Lambda assigned opaque identifier for the mapping.