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 the sites for the specified AWS account.
Synopsis
- data ListSites = ListSites' {}
- newListSites :: ListSites
- listSites_nextToken :: Lens' ListSites (Maybe Text)
- listSites_maxResults :: Lens' ListSites (Maybe Natural)
- data ListSitesResponse = ListSitesResponse' {}
- newListSitesResponse :: Int -> ListSitesResponse
- listSitesResponse_nextToken :: Lens' ListSitesResponse (Maybe Text)
- listSitesResponse_sites :: Lens' ListSitesResponse (Maybe [Site])
- listSitesResponse_httpStatus :: Lens' ListSitesResponse Int
Creating a Request
See: newListSites
smart constructor.
Instances
newListSites :: ListSites Source #
Create a value of ListSites
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:ListSites'
, listSites_nextToken
- Undocumented member.
$sel:maxResults:ListSites'
, listSites_maxResults
- Undocumented member.
Request Lenses
Destructuring the Response
data ListSitesResponse Source #
See: newListSitesResponse
smart constructor.
Instances
Create a value of ListSitesResponse
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:ListSites'
, listSitesResponse_nextToken
- Undocumented member.
$sel:sites:ListSitesResponse'
, listSitesResponse_sites
- Undocumented member.
$sel:httpStatus:ListSitesResponse'
, listSitesResponse_httpStatus
- The response's http status code.
Response Lenses
listSitesResponse_nextToken :: Lens' ListSitesResponse (Maybe Text) Source #
Undocumented member.
listSitesResponse_sites :: Lens' ListSitesResponse (Maybe [Site]) Source #
Undocumented member.
listSitesResponse_httpStatus :: Lens' ListSitesResponse Int Source #
The response's http status code.