Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListMetricStreamsCommand

Returns a list of metric streams in this account.

example

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

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

ListMetricStreamsCommandInput for command's input shape.

see

ListMetricStreamsCommandOutput for command's response shape.

see

config for CloudWatchClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListMetricStreamsCommandInput

Readonly middlewareStack