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 a dataset. You can't delete a dataset if an associated * DatasetImportJob or SolutionVersion is in the * CREATE PENDING or IN PROGRESS state. For more information about deleting datasets, * see Deleting a dataset. *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, DeleteDatasetCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, DeleteDatasetCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(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 PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

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

The specified resource is in use.

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

Could not find the specified resource.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize 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; }; }; }