import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteWhatIfForecastRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteWhatIfForecastCommand}. */ export interface DeleteWhatIfForecastCommandInput extends DeleteWhatIfForecastRequest { } /** * @public * * The output of {@link DeleteWhatIfForecastCommand}. */ export interface DeleteWhatIfForecastCommandOutput extends __MetadataBearer { } declare const DeleteWhatIfForecastCommand_base: { new (input: DeleteWhatIfForecastCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteWhatIfForecastCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a what-if forecast created using the CreateWhatIfForecast * operation. You can delete only what-if forecasts that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeWhatIfForecast operation.

*

You can't delete a what-if forecast while it is being exported. After a what-if forecast is deleted, you can no longer query the what-if analysis.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ForecastClient, DeleteWhatIfForecastCommand } from "@aws-sdk/client-forecast"; // ES Modules import * // const { ForecastClient, DeleteWhatIfForecastCommand } = require("@aws-sdk/client-forecast"); // CommonJS import * // import type { ForecastClientConfig } from "@aws-sdk/client-forecast"; * const config = {}; // type is ForecastClientConfig * const client = new ForecastClient(config); * const input = { // DeleteWhatIfForecastRequest * WhatIfForecastArn: "STRING_VALUE", // required * }; * const command = new DeleteWhatIfForecastCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteWhatIfForecastCommandInput - {@link DeleteWhatIfForecastCommandInput} * @returns {@link DeleteWhatIfForecastCommandOutput} * @see {@link DeleteWhatIfForecastCommandInput} for command's `input` shape. * @see {@link DeleteWhatIfForecastCommandOutput} for command's `response` shape. * @see {@link ForecastClientResolvedConfig | config} for ForecastClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

We can't process the request because it includes an invalid value or a value that exceeds * the valid range.

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

The specified resource is in use.

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

We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try * again.

* * @throws {@link ForecastServiceException} *

Base exception class for all service exceptions from Forecast service.

* * * @public */ export declare class DeleteWhatIfForecastCommand extends DeleteWhatIfForecastCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteWhatIfForecastRequest; output: {}; }; sdk: { input: DeleteWhatIfForecastCommandInput; output: DeleteWhatIfForecastCommandOutput; }; }; }