| 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.IoTRoboRunner.ListSites
Description
Grants permission to list sites
This operation returns paginated results.
Synopsis
- data ListSites = ListSites' {}
- newListSites :: ListSites
- listSites_maxResults :: Lens' ListSites (Maybe Natural)
- listSites_nextToken :: Lens' ListSites (Maybe Text)
- 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.
Constructors
| ListSites' | |
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:maxResults:ListSites', listSites_maxResults - Undocumented member.
ListSites, listSites_nextToken - Undocumented member.
Request Lenses
Destructuring the Response
data ListSitesResponse Source #
See: newListSitesResponse smart constructor.
Constructors
| ListSitesResponse' | |
Instances
Arguments
| :: Int | |
| -> ListSitesResponse |
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:
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.