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 list or web portals.
Synopsis
- data ListPortals = ListPortals' {}
- newListPortals :: ListPortals
- listPortals_maxResults :: Lens' ListPortals (Maybe Natural)
- listPortals_nextToken :: Lens' ListPortals (Maybe Text)
- data ListPortalsResponse = ListPortalsResponse' {
- nextToken :: Maybe Text
- portals :: Maybe [PortalSummary]
- httpStatus :: Int
- newListPortalsResponse :: Int -> ListPortalsResponse
- listPortalsResponse_nextToken :: Lens' ListPortalsResponse (Maybe Text)
- listPortalsResponse_portals :: Lens' ListPortalsResponse (Maybe [PortalSummary])
- 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:maxResults:ListPortals'
, listPortals_maxResults
- The maximum number of results to be included in the next page.
ListPortals
, listPortals_nextToken
- The pagination token used to retrieve the next page of results for this
operation.
Request Lenses
listPortals_maxResults :: Lens' ListPortals (Maybe Natural) Source #
The maximum number of results to be included in the next page.
listPortals_nextToken :: Lens' ListPortals (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
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:
ListPortals
, listPortalsResponse_nextToken
- The pagination token used to retrieve the next page of results for this
operation.
$sel:portals:ListPortalsResponse'
, listPortalsResponse_portals
- The portals in the list.
$sel:httpStatus:ListPortalsResponse'
, listPortalsResponse_httpStatus
- The response's http status code.
Response Lenses
listPortalsResponse_nextToken :: Lens' ListPortalsResponse (Maybe Text) Source #
The pagination token used to retrieve the next page of results for this operation.
listPortalsResponse_portals :: Lens' ListPortalsResponse (Maybe [PortalSummary]) Source #
The portals in the list.
listPortalsResponse_httpStatus :: Lens' ListPortalsResponse Int Source #
The response's http status code.