import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CostExplorerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostExplorerClient"; import type { DeleteAnomalySubscriptionRequest, DeleteAnomalySubscriptionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteAnomalySubscriptionCommand}. */ export interface DeleteAnomalySubscriptionCommandInput extends DeleteAnomalySubscriptionRequest { } /** * @public * * The output of {@link DeleteAnomalySubscriptionCommand}. */ export interface DeleteAnomalySubscriptionCommandOutput extends DeleteAnomalySubscriptionResponse, __MetadataBearer { } declare const DeleteAnomalySubscriptionCommand_base: { new (input: DeleteAnomalySubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteAnomalySubscriptionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes a cost anomaly subscription.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CostExplorerClient, DeleteAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import * // const { CostExplorerClient, DeleteAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import * // import type { CostExplorerClientConfig } from "@aws-sdk/client-cost-explorer"; * const config = {}; // type is CostExplorerClientConfig * const client = new CostExplorerClient(config); * const input = { // DeleteAnomalySubscriptionRequest * SubscriptionArn: "STRING_VALUE", // required * }; * const command = new DeleteAnomalySubscriptionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteAnomalySubscriptionCommandInput - {@link DeleteAnomalySubscriptionCommandInput} * @returns {@link DeleteAnomalySubscriptionCommandOutput} * @see {@link DeleteAnomalySubscriptionCommandInput} for command's `input` shape. * @see {@link DeleteAnomalySubscriptionCommandOutput} for command's `response` shape. * @see {@link CostExplorerClientResolvedConfig | config} for CostExplorerClient's `config` shape. * * @throws {@link LimitExceededException} (client fault) *

You made too many calls in a short period of time. Try again later.

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

The cost anomaly subscription does not exist for the account.

* * @throws {@link CostExplorerServiceException} *

Base exception class for all service exceptions from CostExplorer service.

* * * @public */ export declare class DeleteAnomalySubscriptionCommand extends DeleteAnomalySubscriptionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteAnomalySubscriptionRequest; output: {}; }; sdk: { input: DeleteAnomalySubscriptionCommandInput; output: DeleteAnomalySubscriptionCommandOutput; }; }; }