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 an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS * volume.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FSxClient, DeleteVolumeCommand } from "@aws-sdk/client-fsx"; // ES Modules import * // const { FSxClient, DeleteVolumeCommand } = require("@aws-sdk/client-fsx"); // CommonJS import * // import type { FSxClientConfig } from "@aws-sdk/client-fsx"; * const config = {}; // type is FSxClientConfig * const client = new FSxClient(config); * const input = { // DeleteVolumeRequest * ClientRequestToken: "STRING_VALUE", * VolumeId: "STRING_VALUE", // required * OntapConfiguration: { // DeleteVolumeOntapConfiguration * SkipFinalBackup: true || false, * FinalBackupTags: [ // Tags * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * BypassSnaplockEnterpriseRetention: true || false, * }, * OpenZFSConfiguration: { // DeleteVolumeOpenZFSConfiguration * Options: [ // DeleteOpenZFSVolumeOptions * "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS", * ], * }, * }; * const command = new DeleteVolumeCommand(input); * const response = await client.send(command); * // { // DeleteVolumeResponse * // VolumeId: "STRING_VALUE", * // Lifecycle: "CREATING" || "CREATED" || "DELETING" || "FAILED" || "MISCONFIGURED" || "PENDING" || "AVAILABLE", * // OntapResponse: { // DeleteVolumeOntapResponse * // FinalBackupId: "STRING_VALUE", * // FinalBackupTags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // }; * * ``` * * @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 FSxClientResolvedConfig | config} for FSxClient's `config` shape. * * @throws {@link BadRequest} (client fault) *

A generic error indicating a failure with a client request.

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

The error returned when a second request is received with the same client request * token but different parameters settings. A client request token should always uniquely * identify a single request.

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

A generic error indicating a server-side failure.

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

An error indicating that a particular service limit was exceeded. You can increase * some service limits by contacting Amazon Web Services Support.

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

No Amazon FSx volumes were found based upon the supplied parameters.

* * @throws {@link FSxServiceException} *

Base exception class for all service exceptions from FSx service.

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