Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PutAnomalyDetectorCommand

Creates an anomaly detection model for a CloudWatch metric. You can use the model to display a band of expected normal values when the metric is graphed.

For more information, see CloudWatch Anomaly Detection.

example

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

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

PutAnomalyDetectorCommandInput for command's input shape.

see

PutAnomalyDetectorCommandOutput for command's response shape.

see

config for CloudWatchClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: PutAnomalyDetectorCommandInput

Readonly middlewareStack