| 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 |
Amazonka.CloudTrail.ListEventDataStores
Description
Returns information about all event data stores in the account, in the current region.
Synopsis
- data ListEventDataStores = ListEventDataStores' {}
- newListEventDataStores :: ListEventDataStores
- listEventDataStores_maxResults :: Lens' ListEventDataStores (Maybe Natural)
- listEventDataStores_nextToken :: Lens' ListEventDataStores (Maybe Text)
- data ListEventDataStoresResponse = ListEventDataStoresResponse' {}
- newListEventDataStoresResponse :: Int -> ListEventDataStoresResponse
- listEventDataStoresResponse_eventDataStores :: Lens' ListEventDataStoresResponse (Maybe [EventDataStore])
- listEventDataStoresResponse_nextToken :: Lens' ListEventDataStoresResponse (Maybe Text)
- listEventDataStoresResponse_httpStatus :: Lens' ListEventDataStoresResponse Int
Creating a Request
data ListEventDataStores Source #
See: newListEventDataStores smart constructor.
Constructors
| ListEventDataStores' | |
Instances
newListEventDataStores :: ListEventDataStores Source #
Create a value of ListEventDataStores 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:maxResults:ListEventDataStores', listEventDataStores_maxResults - The maximum number of event data stores to display on a single page.
ListEventDataStores, listEventDataStores_nextToken - A token you can use to get the next page of event data store results.
Request Lenses
listEventDataStores_maxResults :: Lens' ListEventDataStores (Maybe Natural) Source #
The maximum number of event data stores to display on a single page.
listEventDataStores_nextToken :: Lens' ListEventDataStores (Maybe Text) Source #
A token you can use to get the next page of event data store results.
Destructuring the Response
data ListEventDataStoresResponse Source #
See: newListEventDataStoresResponse smart constructor.
Constructors
| ListEventDataStoresResponse' | |
Fields
| |
Instances
newListEventDataStoresResponse Source #
Create a value of ListEventDataStoresResponse 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:eventDataStores:ListEventDataStoresResponse', listEventDataStoresResponse_eventDataStores - Contains information about event data stores in the account, in the
current region.
ListEventDataStores, listEventDataStoresResponse_nextToken - A token you can use to get the next page of results.
$sel:httpStatus:ListEventDataStoresResponse', listEventDataStoresResponse_httpStatus - The response's http status code.
Response Lenses
listEventDataStoresResponse_eventDataStores :: Lens' ListEventDataStoresResponse (Maybe [EventDataStore]) Source #
Contains information about event data stores in the account, in the current region.
listEventDataStoresResponse_nextToken :: Lens' ListEventDataStoresResponse (Maybe Text) Source #
A token you can use to get the next page of results.
listEventDataStoresResponse_httpStatus :: Lens' ListEventDataStoresResponse Int Source #
The response's http status code.