Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data ListEventSources
- listEventSources :: ListEventSources
- lesEventSourceArn :: Lens' ListEventSources (Maybe Text)
- lesFunctionName :: Lens' ListEventSources (Maybe Text)
- lesMarker :: Lens' ListEventSources (Maybe Text)
- lesMaxItems :: Lens' ListEventSources (Maybe Natural)
- data ListEventSourcesResponse
- listEventSourcesResponse :: ListEventSourcesResponse
- lesrEventSources :: Lens' ListEventSourcesResponse [EventSourceConfiguration]
- lesrNextMarker :: Lens' ListEventSourcesResponse (Maybe Text)
Request
data ListEventSources Source
Eq ListEventSources | |
Ord ListEventSources | |
Read ListEventSources | |
Show ListEventSources | |
ToJSON ListEventSources | |
AWSRequest ListEventSources | |
ToQuery ListEventSources | |
ToPath ListEventSources | |
ToHeaders ListEventSources | |
type Sv ListEventSources = Lambda | |
type Rs ListEventSources = ListEventSourcesResponse |
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
listEventSourcesResponse :: ListEventSourcesResponse Source
ListEventSourcesResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
lesrEventSources :: Lens' ListEventSourcesResponse [EventSourceConfiguration] Source
An arrary of EventSourceConfiguration
objects.
lesrNextMarker :: Lens' ListEventSourcesResponse (Maybe Text) Source
A string, present if there are more event source mappings.