import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteDatasetRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteDatasetCommand}. */ export interface DeleteDatasetCommandInput extends DeleteDatasetRequest { } /** * @public * * The output of {@link DeleteDatasetCommand}. */ export interface DeleteDatasetCommandOutput extends __MetadataBearer { } declare const DeleteDatasetCommand_base: { new (input: DeleteDatasetCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteDatasetCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can * only delete datasets that have a status of ACTIVE or CREATE_FAILED. * To get the status use the DescribeDataset operation.

* *

Forecast does not automatically update any dataset groups that contain the deleted dataset. * In order to update the dataset group, use the UpdateDatasetGroup operation, * omitting the deleted dataset's ARN.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ForecastClient, DeleteDatasetCommand } from "@aws-sdk/client-forecast"; // ES Modules import * // const { ForecastClient, DeleteDatasetCommand } = 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 = { // DeleteDatasetRequest * DatasetArn: "STRING_VALUE", // required * }; * const command = new DeleteDatasetCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteDatasetCommandInput - {@link DeleteDatasetCommandInput} * @returns {@link DeleteDatasetCommandOutput} * @see {@link DeleteDatasetCommandInput} for command's `input` shape. * @see {@link DeleteDatasetCommandOutput} 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 DeleteDatasetCommand extends DeleteDatasetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDatasetRequest; output: {}; }; sdk: { input: DeleteDatasetCommandInput; output: DeleteDatasetCommandOutput; }; }; }