| 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.IoTSiteWise.ListDashboards
Description
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_maxResults :: Lens' ListDashboards (Maybe Natural)
- listDashboards_nextToken :: Lens' ListDashboards (Maybe Text)
- 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.
Constructors
| ListDashboards' | |
Instances
Arguments
| :: Text | |
| -> ListDashboards |
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:maxResults:ListDashboards', listDashboards_maxResults - The maximum number of results to return for each paginated request.
Default: 50
ListDashboards, listDashboards_nextToken - The token to be used for the next set of paginated results.
$sel:projectId:ListDashboards', listDashboards_projectId - The ID of the project.
Request Lenses
listDashboards_maxResults :: Lens' ListDashboards (Maybe Natural) Source #
The maximum number of results to return for each paginated request.
Default: 50
listDashboards_nextToken :: Lens' ListDashboards (Maybe Text) Source #
The token to be used for the next set of paginated results.
listDashboards_projectId :: Lens' ListDashboards Text Source #
The ID of the project.
Destructuring the Response
data ListDashboardsResponse Source #
See: newListDashboardsResponse smart constructor.
Constructors
| ListDashboardsResponse' | |
Fields
| |
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:
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.