Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StartMetricStreamsCommand

Starts the streaming of metrics for one or more of your metric streams.

example

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

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

StartMetricStreamsCommandInput for command's input shape.

see

StartMetricStreamsCommandOutput for command's response shape.

see

config for CloudWatchClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: StartMetricStreamsCommandInput

Readonly middlewareStack