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 |
Updates an IoT SiteWise Monitor dashboard.
Synopsis
- data UpdateDashboard = UpdateDashboard' {}
- newUpdateDashboard :: Text -> Text -> Text -> UpdateDashboard
- updateDashboard_clientToken :: Lens' UpdateDashboard (Maybe Text)
- updateDashboard_dashboardDescription :: Lens' UpdateDashboard (Maybe Text)
- updateDashboard_dashboardId :: Lens' UpdateDashboard Text
- updateDashboard_dashboardName :: Lens' UpdateDashboard Text
- updateDashboard_dashboardDefinition :: Lens' UpdateDashboard Text
- data UpdateDashboardResponse = UpdateDashboardResponse' {
- httpStatus :: Int
- newUpdateDashboardResponse :: Int -> UpdateDashboardResponse
- updateDashboardResponse_httpStatus :: Lens' UpdateDashboardResponse Int
Creating a Request
data UpdateDashboard Source #
See: newUpdateDashboard
smart constructor.
UpdateDashboard' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UpdateDashboard |
Create a value of UpdateDashboard
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:clientToken:UpdateDashboard'
, updateDashboard_clientToken
- A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new
idempotent request is required.
$sel:dashboardDescription:UpdateDashboard'
, updateDashboard_dashboardDescription
- A new description for the dashboard.
$sel:dashboardId:UpdateDashboard'
, updateDashboard_dashboardId
- The ID of the dashboard to update.
$sel:dashboardName:UpdateDashboard'
, updateDashboard_dashboardName
- A new friendly name for the dashboard.
$sel:dashboardDefinition:UpdateDashboard'
, updateDashboard_dashboardDefinition
- The new dashboard definition, as specified in a JSON literal. For
detailed information, see
Creating dashboards (CLI)
in the IoT SiteWise User Guide.
Request Lenses
updateDashboard_clientToken :: Lens' UpdateDashboard (Maybe Text) Source #
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
updateDashboard_dashboardDescription :: Lens' UpdateDashboard (Maybe Text) Source #
A new description for the dashboard.
updateDashboard_dashboardId :: Lens' UpdateDashboard Text Source #
The ID of the dashboard to update.
updateDashboard_dashboardName :: Lens' UpdateDashboard Text Source #
A new friendly name for the dashboard.
updateDashboard_dashboardDefinition :: Lens' UpdateDashboard Text Source #
The new dashboard definition, as specified in a JSON literal. For detailed information, see Creating dashboards (CLI) in the IoT SiteWise User Guide.
Destructuring the Response
data UpdateDashboardResponse Source #
See: newUpdateDashboardResponse
smart constructor.
UpdateDashboardResponse' | |
|
Instances
newUpdateDashboardResponse Source #
Create a value of UpdateDashboardResponse
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:httpStatus:UpdateDashboardResponse'
, updateDashboardResponse_httpStatus
- The response's http status code.
Response Lenses
updateDashboardResponse_httpStatus :: Lens' UpdateDashboardResponse Int Source #
The response's http status code.