Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . cloudwatch ]

delete-anomaly-detector

Description

Deletes the specified anomaly detection model from your account.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  delete-anomaly-detector
--namespace <value>
--metric-name <value>
[--dimensions <value>]
--stat <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--namespace (string)

The namespace associated with the anomaly detection model to delete.

--metric-name (string)

The metric name associated with the anomaly detection model to delete.

--dimensions (list)

The metric dimensions associated with the anomaly detection model to delete.

(structure)

A dimension is a name/value pair that is part of the identity of a metric. You can assign up to 10 dimensions to a metric. Because dimensions are part of the unique identifier for a metric, whenever you add a unique name/value pair to one of your metrics, you are creating a new variation of that metric.

Name -> (string)

The name of the dimension. Dimension names must contain only ASCII characters and must include at least one non-whitespace character.

Value -> (string)

The value of the dimension. Dimension values must contain only ASCII characters and must include at least one non-whitespace character.

Shorthand Syntax:

Name=string,Value=string ...

JSON Syntax:

[
  {
    "Name": "string",
    "Value": "string"
  }
  ...
]

--stat (string)

The statistic associated with the anomaly detection model to delete.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

None