amazonka-lambda-0.3.2: Amazon Lambda SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.ListEventSources

Contents

Description

Returns a list of event source mappings you created using the AddEventSource (see AddEventSource), where you identify a stream as event source. This list does not include Amazon S3 event sources.

For each mapping, the API returns configuration information. You can optionally specify filters to retrieve specific event source mappings.

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

http://docs.aws.amazon.com/lambda/latest/dg/API_ListEventSources.html

Synopsis

Request

Request constructor

listEventSources :: ListEventSources Source

ListEventSources constructor.

The fields accessible through corresponding lenses are:

Request lenses

lesEventSourceArn :: Lens' ListEventSources (Maybe Text) Source

The Amazon Resource Name (ARN) of the Amazon Kinesis stream.

lesFunctionName :: Lens' ListEventSources (Maybe Text) Source

The name of the AWS Lambda function.

lesMarker :: Lens' ListEventSources (Maybe Text) Source

Optional string. An opaque pagination token returned from a previous ListEventSources operation. If present, specifies to continue the list from where the returning call left off.

lesMaxItems :: Lens' ListEventSources (Maybe Natural) Source

Optional integer. Specifies the maximum number of event sources to return in response. This value must be greater than 0.

Response

Response constructor

Response lenses

lesrNextMarker :: Lens' ListEventSourcesResponse (Maybe Text) Source

A string, present if there are more event source mappings.