Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteDashboardsCommand

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.

example

Use a bare-bones client and the command you need to make an API call.

import { CloudWatchClient, DeleteDashboardsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
// const { CloudWatchClient, DeleteDashboardsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
const client = new CloudWatchClient(config);
const command = new DeleteDashboardsCommand(input);
const response = await client.send(command);
see

DeleteDashboardsCommandInput for command's input shape.

see

DeleteDashboardsCommandOutput for command's response shape.

see

config for CloudWatchClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: DeleteDashboardsCommandInput

Readonly middlewareStack