Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns a list of event source mappings you created using the CreateEventSourceMapping
(see CreateEventSourceMapping
), where you identify a stream as an 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:ListEventSourceMappings' action.
http://docs.aws.amazon.com/lambda/latest/dg/API_ListEventSourceMappings.html
- data ListEventSourceMappings
- listEventSourceMappings :: ListEventSourceMappings
- lesmEventSourceArn :: Lens' ListEventSourceMappings (Maybe Text)
- lesmFunctionName :: Lens' ListEventSourceMappings (Maybe Text)
- lesmMarker :: Lens' ListEventSourceMappings (Maybe Text)
- lesmMaxItems :: Lens' ListEventSourceMappings (Maybe Natural)
- data ListEventSourceMappingsResponse
- listEventSourceMappingsResponse :: ListEventSourceMappingsResponse
- lesmrEventSourceMappings :: Lens' ListEventSourceMappingsResponse [EventSourceMappingConfiguration]
- lesmrNextMarker :: Lens' ListEventSourceMappingsResponse (Maybe Text)
Request
data ListEventSourceMappings Source
Request constructor
listEventSourceMappings :: ListEventSourceMappings Source
ListEventSourceMappings
constructor.
The fields accessible through corresponding lenses are:
Request lenses
lesmEventSourceArn :: Lens' ListEventSourceMappings (Maybe Text) Source
The Amazon Resource Name (ARN) of the Amazon Kinesis stream.
lesmFunctionName :: Lens' ListEventSourceMappings (Maybe Text) Source
The name of the Lambda function.
You can specify an unqualified function name (for example, Thumbnail) or you can specify Amazon Resource Name (ARN) of the function (for example, "arn:aws:lambda:us-west-2:account-id:function:ThumbNail"). AWS Lambda also allows you to specify only the account ID qualifier (for example, "account-id:Thumbnail"). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
lesmMarker :: Lens' ListEventSourceMappings (Maybe Text) Source
Optional string. An opaque pagination token returned from a previous ListEventSourceMappings
operation. If present, specifies to continue the list from where the
returning call left off.
lesmMaxItems :: Lens' ListEventSourceMappings (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
listEventSourceMappingsResponse :: ListEventSourceMappingsResponse Source
ListEventSourceMappingsResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
lesmrEventSourceMappings :: Lens' ListEventSourceMappingsResponse [EventSourceMappingConfiguration] Source
An array of EventSourceMappingConfiguration
objects.
lesmrNextMarker :: Lens' ListEventSourceMappingsResponse (Maybe Text) Source
A string, present if there are more event source mappings.