Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetDashboardCommand

Displays the details of the dashboard that you specify.

To copy an existing dashboard, use GetDashboard, and then use the data returned within DashboardBody as the template for the new dashboard when you call PutDashboard to create the copy.

example

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

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

GetDashboardCommandInput for command's input shape.

see

GetDashboardCommandOutput for command's response shape.

see

config for CloudWatchClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    Returns GetDashboardCommand

  • Parameters

    • input: GetDashboardCommandInput

    Returns GetDashboardCommand

Properties

Readonly input

input: GetDashboardCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<GetDashboardCommandInput, GetDashboardCommandOutput>