amazonka-lambda-1.2.0: Amazon Lambda SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.GetEventSourceMapping

Contents

Description

Returns configuration information for the specified event source mapping (see CreateEventSourceMapping).

This operation requires permission for the 'lambda:GetEventSourceMapping' action.

See: AWS API Reference for GetEventSourceMapping.

Synopsis

Creating a Request

getEventSourceMapping Source

Creates a value of GetEventSourceMapping with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gesmUUId :: Lens' GetEventSourceMapping Text Source

The AWS Lambda assigned ID of the event source mapping.

Destructuring the Response

Response Lenses

esmcEventSourceARN :: Lens' EventSourceMappingConfiguration (Maybe Text) Source

The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.

esmcFunctionARN :: Lens' EventSourceMappingConfiguration (Maybe Text) Source

The Lambda function to invoke when AWS Lambda detects an event on the stream.

esmcState :: Lens' EventSourceMappingConfiguration (Maybe Text) Source

The state of the event source mapping. It can be "Creating", "Enabled", "Disabled", "Enabling", "Disabling", "Updating", or "Deleting".

esmcUUId :: Lens' EventSourceMappingConfiguration (Maybe Text) Source

The AWS Lambda assigned opaque identifier for the mapping.

esmcLastProcessingResult :: Lens' EventSourceMappingConfiguration (Maybe Text) Source

The result of the last AWS Lambda invocation of your Lambda function.

esmcBatchSize :: Lens' EventSourceMappingConfiguration (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.

esmcStateTransitionReason :: Lens' EventSourceMappingConfiguration (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.

esmcLastModified :: Lens' EventSourceMappingConfiguration (Maybe UTCTime) Source

The UTC time string indicating the last time the event mapping was updated.