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 |
Deletes a dashboard from IoT SiteWise Monitor.
Synopsis
- data DeleteDashboard = DeleteDashboard' {
- clientToken :: Maybe Text
- dashboardId :: Text
- newDeleteDashboard :: Text -> DeleteDashboard
- deleteDashboard_clientToken :: Lens' DeleteDashboard (Maybe Text)
- deleteDashboard_dashboardId :: Lens' DeleteDashboard Text
- data DeleteDashboardResponse = DeleteDashboardResponse' {
- httpStatus :: Int
- newDeleteDashboardResponse :: Int -> DeleteDashboardResponse
- deleteDashboardResponse_httpStatus :: Lens' DeleteDashboardResponse Int
Creating a Request
data DeleteDashboard Source #
See: newDeleteDashboard
smart constructor.
DeleteDashboard' | |
|
Instances
Create a value of DeleteDashboard
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:DeleteDashboard'
, deleteDashboard_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:dashboardId:DeleteDashboard'
, deleteDashboard_dashboardId
- The ID of the dashboard to delete.
Request Lenses
deleteDashboard_clientToken :: Lens' DeleteDashboard (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.
deleteDashboard_dashboardId :: Lens' DeleteDashboard Text Source #
The ID of the dashboard to delete.
Destructuring the Response
data DeleteDashboardResponse Source #
See: newDeleteDashboardResponse
smart constructor.
DeleteDashboardResponse' | |
|
Instances
newDeleteDashboardResponse Source #
Create a value of DeleteDashboardResponse
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:DeleteDashboardResponse'
, deleteDashboardResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDashboardResponse_httpStatus :: Lens' DeleteDashboardResponse Int Source #
The response's http status code.