| 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.CloudWatch.DeleteDashboards
Description
Deletes all dashboards that you specify. You can specify up to 100 dashboards to delete. If there is an error during this call, no dashboards are deleted.
Synopsis
- data DeleteDashboards = DeleteDashboards' {
- dashboardNames :: [Text]
- newDeleteDashboards :: DeleteDashboards
- deleteDashboards_dashboardNames :: Lens' DeleteDashboards [Text]
- data DeleteDashboardsResponse = DeleteDashboardsResponse' {
- httpStatus :: Int
- newDeleteDashboardsResponse :: Int -> DeleteDashboardsResponse
- deleteDashboardsResponse_httpStatus :: Lens' DeleteDashboardsResponse Int
Creating a Request
data DeleteDashboards Source #
See: newDeleteDashboards smart constructor.
Constructors
| DeleteDashboards' | |
Fields
| |
Instances
newDeleteDashboards :: DeleteDashboards Source #
Create a value of DeleteDashboards 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:dashboardNames:DeleteDashboards', deleteDashboards_dashboardNames - The dashboards to be deleted. This parameter is required.
Request Lenses
deleteDashboards_dashboardNames :: Lens' DeleteDashboards [Text] Source #
The dashboards to be deleted. This parameter is required.
Destructuring the Response
data DeleteDashboardsResponse Source #
See: newDeleteDashboardsResponse smart constructor.
Constructors
| DeleteDashboardsResponse' | |
Fields
| |
Instances
newDeleteDashboardsResponse Source #
Create a value of DeleteDashboardsResponse 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:DeleteDashboardsResponse', deleteDashboardsResponse_httpStatus - The response's http status code.
Response Lenses
deleteDashboardsResponse_httpStatus :: Lens' DeleteDashboardsResponse Int Source #
The response's http status code.