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 |
Retrieves a subset of information about all the allow lists for an account.
This operation returns paginated results.
Synopsis
- data ListAllowLists = ListAllowLists' {}
- newListAllowLists :: ListAllowLists
- listAllowLists_maxResults :: Lens' ListAllowLists (Maybe Natural)
- listAllowLists_nextToken :: Lens' ListAllowLists (Maybe Text)
- data ListAllowListsResponse = ListAllowListsResponse' {
- allowLists :: Maybe [AllowListSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListAllowListsResponse :: Int -> ListAllowListsResponse
- listAllowListsResponse_allowLists :: Lens' ListAllowListsResponse (Maybe [AllowListSummary])
- listAllowListsResponse_nextToken :: Lens' ListAllowListsResponse (Maybe Text)
- listAllowListsResponse_httpStatus :: Lens' ListAllowListsResponse Int
Creating a Request
data ListAllowLists Source #
See: newListAllowLists
smart constructor.
Instances
newListAllowLists :: ListAllowLists Source #
Create a value of ListAllowLists
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:ListAllowLists'
, listAllowLists_maxResults
- The maximum number of items to include in each page of a paginated
response.
ListAllowLists
, listAllowLists_nextToken
- The nextToken string that specifies which page of results to return in a
paginated response.
Request Lenses
listAllowLists_maxResults :: Lens' ListAllowLists (Maybe Natural) Source #
The maximum number of items to include in each page of a paginated response.
listAllowLists_nextToken :: Lens' ListAllowLists (Maybe Text) Source #
The nextToken string that specifies which page of results to return in a paginated response.
Destructuring the Response
data ListAllowListsResponse Source #
See: newListAllowListsResponse
smart constructor.
ListAllowListsResponse' | |
|
Instances
newListAllowListsResponse Source #
Create a value of ListAllowListsResponse
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:allowLists:ListAllowListsResponse'
, listAllowListsResponse_allowLists
- An array of objects, one for each allow list.
ListAllowLists
, listAllowListsResponse_nextToken
- The string to use in a subsequent request to get the next page of
results in a paginated response. This value is null if there are no
additional pages.
$sel:httpStatus:ListAllowListsResponse'
, listAllowListsResponse_httpStatus
- The response's http status code.
Response Lenses
listAllowListsResponse_allowLists :: Lens' ListAllowListsResponse (Maybe [AllowListSummary]) Source #
An array of objects, one for each allow list.
listAllowListsResponse_nextToken :: Lens' ListAllowListsResponse (Maybe Text) Source #
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
listAllowListsResponse_httpStatus :: Lens' ListAllowListsResponse Int Source #
The response's http status code.