Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists all the event buses in your account, including the default event bus, custom event buses, and partner event buses.
Synopsis
- data ListEventBuses = ListEventBuses' {}
- newListEventBuses :: ListEventBuses
- listEventBuses_nextToken :: Lens' ListEventBuses (Maybe Text)
- listEventBuses_namePrefix :: Lens' ListEventBuses (Maybe Text)
- listEventBuses_limit :: Lens' ListEventBuses (Maybe Natural)
- data ListEventBusesResponse = ListEventBusesResponse' {
- eventBuses :: Maybe [EventBus]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListEventBusesResponse :: Int -> ListEventBusesResponse
- listEventBusesResponse_eventBuses :: Lens' ListEventBusesResponse (Maybe [EventBus])
- listEventBusesResponse_nextToken :: Lens' ListEventBusesResponse (Maybe Text)
- listEventBusesResponse_httpStatus :: Lens' ListEventBusesResponse Int
Creating a Request
data ListEventBuses Source #
See: newListEventBuses
smart constructor.
ListEventBuses' | |
|
Instances
newListEventBuses :: ListEventBuses Source #
Create a value of ListEventBuses
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:nextToken:ListEventBuses'
, listEventBuses_nextToken
- The token returned by a previous call to retrieve the next set of
results.
$sel:namePrefix:ListEventBuses'
, listEventBuses_namePrefix
- Specifying this limits the results to only those event buses with names
that start with the specified prefix.
$sel:limit:ListEventBuses'
, listEventBuses_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.
Request Lenses
listEventBuses_nextToken :: Lens' ListEventBuses (Maybe Text) Source #
The token returned by a previous call to retrieve the next set of results.
listEventBuses_namePrefix :: Lens' ListEventBuses (Maybe Text) Source #
Specifying this limits the results to only those event buses with names that start with the specified prefix.
listEventBuses_limit :: Lens' ListEventBuses (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.
Destructuring the Response
data ListEventBusesResponse Source #
See: newListEventBusesResponse
smart constructor.
ListEventBusesResponse' | |
|
Instances
newListEventBusesResponse Source #
Create a value of ListEventBusesResponse
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:eventBuses:ListEventBusesResponse'
, listEventBusesResponse_eventBuses
- This list of event buses.
$sel:nextToken:ListEventBuses'
, listEventBusesResponse_nextToken
- A token you can use in a subsequent operation to retrieve the next set
of results.
$sel:httpStatus:ListEventBusesResponse'
, listEventBusesResponse_httpStatus
- The response's http status code.
Response Lenses
listEventBusesResponse_eventBuses :: Lens' ListEventBusesResponse (Maybe [EventBus]) Source #
This list of event buses.
listEventBusesResponse_nextToken :: Lens' ListEventBusesResponse (Maybe Text) Source #
A token you can use in a subsequent operation to retrieve the next set of results.
listEventBusesResponse_httpStatus :: Lens' ListEventBusesResponse Int Source #
The response's http status code.