Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
You can use this to see all the partner event sources that have been shared with your Amazon Web Services account. For more information about partner event sources, see CreateEventBus.
Synopsis
- data ListEventSources = ListEventSources' {}
- newListEventSources :: ListEventSources
- listEventSources_limit :: Lens' ListEventSources (Maybe Natural)
- listEventSources_namePrefix :: Lens' ListEventSources (Maybe Text)
- listEventSources_nextToken :: Lens' ListEventSources (Maybe Text)
- data ListEventSourcesResponse = ListEventSourcesResponse' {
- eventSources :: Maybe [EventSource]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListEventSourcesResponse :: Int -> ListEventSourcesResponse
- listEventSourcesResponse_eventSources :: Lens' ListEventSourcesResponse (Maybe [EventSource])
- listEventSourcesResponse_nextToken :: Lens' ListEventSourcesResponse (Maybe Text)
- listEventSourcesResponse_httpStatus :: Lens' ListEventSourcesResponse Int
Creating a Request
data ListEventSources Source #
See: newListEventSources
smart constructor.
ListEventSources' | |
|
Instances
newListEventSources :: ListEventSources Source #
Create a value of ListEventSources
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:limit:ListEventSources'
, listEventSources_limit
- Specifying this limits the number of results returned by this operation.
The operation also returns a NextToken which you can use in a subsequent
operation to retrieve the next set of results.
$sel:namePrefix:ListEventSources'
, listEventSources_namePrefix
- Specifying this limits the results to only those partner event sources
with names that start with the specified prefix.
ListEventSources
, listEventSources_nextToken
- The token returned by a previous call to retrieve the next set of
results.
Request Lenses
listEventSources_limit :: Lens' ListEventSources (Maybe Natural) Source #
Specifying this limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
listEventSources_namePrefix :: Lens' ListEventSources (Maybe Text) Source #
Specifying this limits the results to only those partner event sources with names that start with the specified prefix.
listEventSources_nextToken :: Lens' ListEventSources (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
Destructuring the Response
data ListEventSourcesResponse Source #
See: newListEventSourcesResponse
smart constructor.
ListEventSourcesResponse' | |
|
Instances
newListEventSourcesResponse Source #
Create a value of ListEventSourcesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSources:ListEventSourcesResponse'
, listEventSourcesResponse_eventSources
- The list of event sources.
ListEventSources
, listEventSourcesResponse_nextToken
- A token you can use in a subsequent operation to retrieve the next set
of results.
$sel:httpStatus:ListEventSourcesResponse'
, listEventSourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listEventSourcesResponse_eventSources :: Lens' ListEventSourcesResponse (Maybe [EventSource]) Source #
The list of event sources.
listEventSourcesResponse_nextToken :: Lens' ListEventSourcesResponse (Maybe Text) Source #
A token you can use in a subsequent operation to retrieve the next set of results.
listEventSourcesResponse_httpStatus :: Lens' ListEventSourcesResponse Int Source #
The response's http status code.