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 dashboards for an IoT SiteWise Monitor project.
This operation returns paginated results.
Synopsis
- data ListDashboards = ListDashboards' {}
- newListDashboards :: Text -> ListDashboards
- listDashboards_nextToken :: Lens' ListDashboards (Maybe Text)
- listDashboards_maxResults :: Lens' ListDashboards (Maybe Natural)
- listDashboards_projectId :: Lens' ListDashboards Text
- data ListDashboardsResponse = ListDashboardsResponse' {}
- newListDashboardsResponse :: Int -> ListDashboardsResponse
- listDashboardsResponse_nextToken :: Lens' ListDashboardsResponse (Maybe Text)
- listDashboardsResponse_httpStatus :: Lens' ListDashboardsResponse Int
- listDashboardsResponse_dashboardSummaries :: Lens' ListDashboardsResponse [DashboardSummary]
Creating a Request
data ListDashboards Source #
See: newListDashboards
smart constructor.
Instances
Create a value of ListDashboards
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:ListDashboards'
, listDashboards_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListDashboards'
, listDashboards_maxResults
- The maximum number of results to return for each paginated request.
Default: 50
$sel:projectId:ListDashboards'
, listDashboards_projectId
- The ID of the project.
Request Lenses
listDashboards_nextToken :: Lens' ListDashboards (Maybe Text) Source #
The token to be used for the next set of paginated results.
listDashboards_maxResults :: Lens' ListDashboards (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
listDashboards_projectId :: Lens' ListDashboards Text Source #
The ID of the project.
Destructuring the Response
data ListDashboardsResponse Source #
See: newListDashboardsResponse
smart constructor.
ListDashboardsResponse' | |
|
Instances
newListDashboardsResponse Source #
Create a value of ListDashboardsResponse
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:ListDashboards'
, listDashboardsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListDashboardsResponse'
, listDashboardsResponse_httpStatus
- The response's http status code.
$sel:dashboardSummaries:ListDashboardsResponse'
, listDashboardsResponse_dashboardSummaries
- A list that summarizes each dashboard in the project.
Response Lenses
listDashboardsResponse_nextToken :: Lens' ListDashboardsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listDashboardsResponse_httpStatus :: Lens' ListDashboardsResponse Int Source #
The response's http status code.
listDashboardsResponse_dashboardSummaries :: Lens' ListDashboardsResponse [DashboardSummary] Source #
A list that summarizes each dashboard in the project.