import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CloudWatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudWatchClient"; import type { DeleteAnomalyDetectorInput, DeleteAnomalyDetectorOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteAnomalyDetectorCommand}. */ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetectorInput { } /** * @public * * The output of {@link DeleteAnomalyDetectorCommand}. */ export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer { } declare const DeleteAnomalyDetectorCommand_base: { new (input: DeleteAnomalyDetectorCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DeleteAnomalyDetectorCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes the specified anomaly detection model from your account. For more information * about how to delete an anomaly detection model, see Deleting an anomaly detection model in the CloudWatch User * Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudWatchClient, DeleteAnomalyDetectorCommand } from "@aws-sdk/client-cloudwatch"; // ES Modules import * // const { CloudWatchClient, DeleteAnomalyDetectorCommand } = require("@aws-sdk/client-cloudwatch"); // CommonJS import * // import type { CloudWatchClientConfig } from "@aws-sdk/client-cloudwatch"; * const config = {}; // type is CloudWatchClientConfig * const client = new CloudWatchClient(config); * const input = { // DeleteAnomalyDetectorInput * Namespace: "STRING_VALUE", * MetricName: "STRING_VALUE", * Dimensions: [ // Dimensions * { // Dimension * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * Stat: "STRING_VALUE", * SingleMetricAnomalyDetector: { // SingleMetricAnomalyDetector * AccountId: "STRING_VALUE", * Namespace: "STRING_VALUE", * MetricName: "STRING_VALUE", * Dimensions: [ * { * Name: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * Stat: "STRING_VALUE", * }, * MetricMathAnomalyDetector: { // MetricMathAnomalyDetector * MetricDataQueries: [ // MetricDataQueries * { // MetricDataQuery * Id: "STRING_VALUE", // required * MetricStat: { // MetricStat * Metric: { // Metric * Namespace: "STRING_VALUE", * MetricName: "STRING_VALUE", * Dimensions: "", * }, * Period: Number("int"), // required * Stat: "STRING_VALUE", // required * Unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None", * }, * Expression: "STRING_VALUE", * Label: "STRING_VALUE", * ReturnData: true || false, * Period: Number("int"), * AccountId: "STRING_VALUE", * }, * ], * }, * }; * const command = new DeleteAnomalyDetectorCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteAnomalyDetectorCommandInput - {@link DeleteAnomalyDetectorCommandInput} * @returns {@link DeleteAnomalyDetectorCommandOutput} * @see {@link DeleteAnomalyDetectorCommandInput} for command's `input` shape. * @see {@link DeleteAnomalyDetectorCommandOutput} for command's `response` shape. * @see {@link CloudWatchClientResolvedConfig | config} for CloudWatchClient's `config` shape. * * @throws {@link InternalServiceFault} (server fault) *

Request processing has failed due to some unknown error, exception, or * failure.

* * @throws {@link InvalidParameterCombinationException} (client fault) *

Parameters were used together that cannot be used together.

* * @throws {@link InvalidParameterValueException} (client fault) *

The value of an input parameter is bad or out-of-range.

* * @throws {@link MissingRequiredParameterException} (client fault) *

An input parameter that is required is missing.

* * @throws {@link ResourceNotFoundException} (client fault) *

The named resource does not exist.

* * @throws {@link CloudWatchServiceException} *

Base exception class for all service exceptions from CloudWatch service.

* * * @public */ export declare class DeleteAnomalyDetectorCommand extends DeleteAnomalyDetectorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteAnomalyDetectorInput; output: {}; }; sdk: { input: DeleteAnomalyDetectorCommandInput; output: DeleteAnomalyDetectorCommandOutput; }; }; }