import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteVolumeRequest, DeleteVolumeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteVolumeCommand}. */ export interface DeleteVolumeCommandInput extends DeleteVolumeRequest { } /** * @public * * The output of {@link DeleteVolumeCommand}. */ export interface DeleteVolumeCommandOutput extends DeleteVolumeResponse, __MetadataBearer { } declare const DeleteVolumeCommand_base: { new (input: DeleteVolumeCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteVolumeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a specified volume.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkspacesInstancesClient, DeleteVolumeCommand } from "@aws-sdk/client-workspaces-instances"; // ES Modules import * // const { WorkspacesInstancesClient, DeleteVolumeCommand } = require("@aws-sdk/client-workspaces-instances"); // CommonJS import * // import type { WorkspacesInstancesClientConfig } from "@aws-sdk/client-workspaces-instances"; * const config = {}; // type is WorkspacesInstancesClientConfig * const client = new WorkspacesInstancesClient(config); * const input = { // DeleteVolumeRequest * VolumeId: "STRING_VALUE", // required * }; * const command = new DeleteVolumeCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteVolumeCommandInput - {@link DeleteVolumeCommandInput} * @returns {@link DeleteVolumeCommandOutput} * @see {@link DeleteVolumeCommandInput} for command's `input` shape. * @see {@link DeleteVolumeCommandOutput} for command's `response` shape. * @see {@link WorkspacesInstancesClientResolvedConfig | config} for WorkspacesInstancesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Indicates insufficient permissions to perform the requested action.

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

Signals a conflict with the current state of the resource.

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

Indicates an unexpected server-side error occurred.

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

Indicates the requested resource could not be found.

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

Indicates the request rate has exceeded limits.

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

Indicates invalid input parameters in the request.

* * @throws {@link WorkspacesInstancesServiceException} *

Base exception class for all service exceptions from WorkspacesInstances service.

* * * @public */ export declare class DeleteVolumeCommand extends DeleteVolumeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteVolumeRequest; output: {}; }; sdk: { input: DeleteVolumeCommandInput; output: DeleteVolumeCommandOutput; }; }; }