Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StopMetricStreamsCommand

Stops 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, StopMetricStreamsCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import
// const { CloudWatchClient, StopMetricStreamsCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import
const client = new CloudWatchClient(config);
const command = new StopMetricStreamsCommand(input);
const response = await client.send(command);
see

StopMetricStreamsCommandInput for command's input shape.

see

StopMetricStreamsCommandOutput for command's response shape.

see

config for CloudWatchClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: StopMetricStreamsCommandInput

Readonly middlewareStack