import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteKxVolumeRequest, DeleteKxVolumeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteKxVolumeCommand}. */ export interface DeleteKxVolumeCommandInput extends DeleteKxVolumeRequest { } /** * @public * * The output of {@link DeleteKxVolumeCommand}. */ export interface DeleteKxVolumeCommandOutput extends DeleteKxVolumeResponse, __MetadataBearer { } declare const DeleteKxVolumeCommand_base: { new (input: DeleteKxVolumeCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteKxVolumeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

* Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible. * *

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FinspaceClient, DeleteKxVolumeCommand } from "@aws-sdk/client-finspace"; // ES Modules import * // const { FinspaceClient, DeleteKxVolumeCommand } = require("@aws-sdk/client-finspace"); // CommonJS import * // import type { FinspaceClientConfig } from "@aws-sdk/client-finspace"; * const config = {}; // type is FinspaceClientConfig * const client = new FinspaceClient(config); * const input = { // DeleteKxVolumeRequest * environmentId: "STRING_VALUE", // required * volumeName: "STRING_VALUE", // required * clientToken: "STRING_VALUE", * }; * const command = new DeleteKxVolumeCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteKxVolumeCommandInput - {@link DeleteKxVolumeCommandInput} * @returns {@link DeleteKxVolumeCommandOutput} * @see {@link DeleteKxVolumeCommandInput} for command's `input` shape. * @see {@link DeleteKxVolumeCommandOutput} for command's `response` shape. * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

There was a conflict with this action, and it could not be completed.

* * @throws {@link InternalServerException} (server fault) *

The request processing has failed because of an unknown error, exception or * failure.

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

A service limit or quota is exceeded.

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

One or more resources can't be found.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link FinspaceServiceException} *

Base exception class for all service exceptions from Finspace service.

* * * @public */ export declare class DeleteKxVolumeCommand extends DeleteKxVolumeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteKxVolumeRequest; output: {}; }; sdk: { input: DeleteKxVolumeCommandInput; output: DeleteKxVolumeCommandOutput; }; }; }