| 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 |
Amazonka.QuickSight.DeleteDashboard
Description
Deletes a dashboard.
Synopsis
- data DeleteDashboard = DeleteDashboard' {}
- newDeleteDashboard :: Text -> Text -> DeleteDashboard
- deleteDashboard_versionNumber :: Lens' DeleteDashboard (Maybe Natural)
- deleteDashboard_awsAccountId :: Lens' DeleteDashboard Text
- deleteDashboard_dashboardId :: Lens' DeleteDashboard Text
- data DeleteDashboardResponse = DeleteDashboardResponse' {}
- newDeleteDashboardResponse :: Int -> DeleteDashboardResponse
- deleteDashboardResponse_requestId :: Lens' DeleteDashboardResponse (Maybe Text)
- deleteDashboardResponse_arn :: Lens' DeleteDashboardResponse (Maybe Text)
- deleteDashboardResponse_dashboardId :: Lens' DeleteDashboardResponse (Maybe Text)
- deleteDashboardResponse_status :: Lens' DeleteDashboardResponse Int
Creating a Request
data DeleteDashboard Source #
See: newDeleteDashboard smart constructor.
Constructors
| DeleteDashboard' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteDashboard |
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:versionNumber:DeleteDashboard', deleteDashboard_versionNumber - The version number of the dashboard. If the version number property is
provided, only the specified version of the dashboard is deleted.
$sel:awsAccountId:DeleteDashboard', deleteDashboard_awsAccountId - The ID of the Amazon Web Services account that contains the dashboard
that you're deleting.
$sel:dashboardId:DeleteDashboard', deleteDashboard_dashboardId - The ID for the dashboard.
Request Lenses
deleteDashboard_versionNumber :: Lens' DeleteDashboard (Maybe Natural) Source #
The version number of the dashboard. If the version number property is provided, only the specified version of the dashboard is deleted.
deleteDashboard_awsAccountId :: Lens' DeleteDashboard Text Source #
The ID of the Amazon Web Services account that contains the dashboard that you're deleting.
deleteDashboard_dashboardId :: Lens' DeleteDashboard Text Source #
The ID for the dashboard.
Destructuring the Response
data DeleteDashboardResponse Source #
See: newDeleteDashboardResponse smart constructor.
Constructors
| 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:requestId:DeleteDashboardResponse', deleteDashboardResponse_requestId - The Amazon Web Services request ID for this operation.
$sel:arn:DeleteDashboardResponse', deleteDashboardResponse_arn - The Secure Socket Layer (SSL) properties that apply for the resource.
$sel:dashboardId:DeleteDashboard', deleteDashboardResponse_dashboardId - The ID of the dashboard.
$sel:status:DeleteDashboardResponse', deleteDashboardResponse_status - The HTTP status of the request.
Response Lenses
deleteDashboardResponse_requestId :: Lens' DeleteDashboardResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteDashboardResponse_arn :: Lens' DeleteDashboardResponse (Maybe Text) Source #
The Secure Socket Layer (SSL) properties that apply for the resource.
deleteDashboardResponse_dashboardId :: Lens' DeleteDashboardResponse (Maybe Text) Source #
The ID of the dashboard.
deleteDashboardResponse_status :: Lens' DeleteDashboardResponse Int Source #
The HTTP status of the request.