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 |
Retrieves a paginated list of IoT SiteWise Monitor portals.
This operation returns paginated results.
Synopsis
- data ListPortals = ListPortals' {}
- newListPortals :: ListPortals
- listPortals_nextToken :: Lens' ListPortals (Maybe Text)
- listPortals_maxResults :: Lens' ListPortals (Maybe Natural)
- data ListPortalsResponse = ListPortalsResponse' {
- portalSummaries :: Maybe [PortalSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListPortalsResponse :: Int -> ListPortalsResponse
- listPortalsResponse_portalSummaries :: Lens' ListPortalsResponse (Maybe [PortalSummary])
- listPortalsResponse_nextToken :: Lens' ListPortalsResponse (Maybe Text)
- listPortalsResponse_httpStatus :: Lens' ListPortalsResponse Int
Creating a Request
data ListPortals Source #
See: newListPortals
smart constructor.
Instances
newListPortals :: ListPortals Source #
Create a value of ListPortals
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:ListPortals'
, listPortals_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListPortals'
, listPortals_maxResults
- The maximum number of results to return for each paginated request.
Default: 50
Request Lenses
listPortals_nextToken :: Lens' ListPortals (Maybe Text) Source #
The token to be used for the next set of paginated results.
listPortals_maxResults :: Lens' ListPortals (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
Destructuring the Response
data ListPortalsResponse Source #
See: newListPortalsResponse
smart constructor.
ListPortalsResponse' | |
|
Instances
newListPortalsResponse Source #
Create a value of ListPortalsResponse
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:portalSummaries:ListPortalsResponse'
, listPortalsResponse_portalSummaries
- A list that summarizes each portal.
$sel:nextToken:ListPortals'
, listPortalsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListPortalsResponse'
, listPortalsResponse_httpStatus
- The response's http status code.
Response Lenses
listPortalsResponse_portalSummaries :: Lens' ListPortalsResponse (Maybe [PortalSummary]) Source #
A list that summarizes each portal.
listPortalsResponse_nextToken :: Lens' ListPortalsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listPortalsResponse_httpStatus :: Lens' ListPortalsResponse Int Source #
The response's http status code.