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 of the contact lists available.
Synopsis
- data ListContactLists = ListContactLists' {}
- newListContactLists :: ListContactLists
- listContactLists_nextToken :: Lens' ListContactLists (Maybe Text)
- listContactLists_pageSize :: Lens' ListContactLists (Maybe Int)
- data ListContactListsResponse = ListContactListsResponse' {
- nextToken :: Maybe Text
- contactLists :: Maybe [ContactList]
- httpStatus :: Int
- newListContactListsResponse :: Int -> ListContactListsResponse
- listContactListsResponse_nextToken :: Lens' ListContactListsResponse (Maybe Text)
- listContactListsResponse_contactLists :: Lens' ListContactListsResponse (Maybe [ContactList])
- listContactListsResponse_httpStatus :: Lens' ListContactListsResponse Int
Creating a Request
data ListContactLists Source #
See: newListContactLists
smart constructor.
ListContactLists' | |
|
Instances
newListContactLists :: ListContactLists Source #
Create a value of ListContactLists
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:ListContactLists'
, listContactLists_nextToken
- A string token indicating that there might be additional contact lists
available to be listed. Use the token provided in the Response to use in
the subsequent call to ListContactLists with the same parameters to
retrieve the next page of contact lists.
$sel:pageSize:ListContactLists'
, listContactLists_pageSize
- Maximum number of contact lists to return at once. Use this parameter to
paginate results. If additional contact lists exist beyond the specified
limit, the NextToken
element is sent in the response. Use the
NextToken
value in subsequent requests to retrieve additional lists.
Request Lenses
listContactLists_nextToken :: Lens' ListContactLists (Maybe Text) Source #
A string token indicating that there might be additional contact lists available to be listed. Use the token provided in the Response to use in the subsequent call to ListContactLists with the same parameters to retrieve the next page of contact lists.
listContactLists_pageSize :: Lens' ListContactLists (Maybe Int) Source #
Maximum number of contact lists to return at once. Use this parameter to
paginate results. If additional contact lists exist beyond the specified
limit, the NextToken
element is sent in the response. Use the
NextToken
value in subsequent requests to retrieve additional lists.
Destructuring the Response
data ListContactListsResponse Source #
See: newListContactListsResponse
smart constructor.
ListContactListsResponse' | |
|
Instances
newListContactListsResponse Source #
Create a value of ListContactListsResponse
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:ListContactLists'
, listContactListsResponse_nextToken
- A string token indicating that there might be additional contact lists
available to be listed. Copy this token to a subsequent call to
ListContactLists
with the same parameters to retrieve the next page of
contact lists.
$sel:contactLists:ListContactListsResponse'
, listContactListsResponse_contactLists
- The available contact lists.
$sel:httpStatus:ListContactListsResponse'
, listContactListsResponse_httpStatus
- The response's http status code.
Response Lenses
listContactListsResponse_nextToken :: Lens' ListContactListsResponse (Maybe Text) Source #
A string token indicating that there might be additional contact lists
available to be listed. Copy this token to a subsequent call to
ListContactLists
with the same parameters to retrieve the next page of
contact lists.
listContactListsResponse_contactLists :: Lens' ListContactListsResponse (Maybe [ContactList]) Source #
The available contact lists.
listContactListsResponse_httpStatus :: Lens' ListContactListsResponse Int Source #
The response's http status code.