import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteSnapshotRequest, DeleteSnapshotResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteSnapshotCommand}. */ export interface DeleteSnapshotCommandInput extends DeleteSnapshotRequest { } /** * @public * * The output of {@link DeleteSnapshotCommand}. */ export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __MetadataBearer { } declare const DeleteSnapshotCommand_base: { new (input: DeleteSnapshotCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteSnapshotCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes an Amazon FSx for OpenZFS snapshot. After deletion, the snapshot no longer * exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored in a * file system backup.

*

The DeleteSnapshot operation returns instantly. The snapshot appears with * the lifecycle status of DELETING until the deletion is complete.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { FSxClient, DeleteSnapshotCommand } from "@aws-sdk/client-fsx"; // ES Modules import * // const { FSxClient, DeleteSnapshotCommand } = 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 = { // DeleteSnapshotRequest * ClientRequestToken: "STRING_VALUE", * SnapshotId: "STRING_VALUE", // required * }; * const command = new DeleteSnapshotCommand(input); * const response = await client.send(command); * // { // DeleteSnapshotResponse * // SnapshotId: "STRING_VALUE", * // Lifecycle: "PENDING" || "CREATING" || "DELETING" || "AVAILABLE", * // }; * * ``` * * @param DeleteSnapshotCommandInput - {@link DeleteSnapshotCommandInput} * @returns {@link DeleteSnapshotCommandOutput} * @see {@link DeleteSnapshotCommandInput} for command's `input` shape. * @see {@link DeleteSnapshotCommandOutput} 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 InternalServerError} (server fault) *

A generic error indicating a server-side failure.

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

No Amazon FSx snapshots were found based on the supplied parameters.

* * @throws {@link FSxServiceException} *

Base exception class for all service exceptions from FSx service.

* * * @public */ export declare class DeleteSnapshotCommand extends DeleteSnapshotCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSnapshotRequest; output: DeleteSnapshotResponse; }; sdk: { input: DeleteSnapshotCommandInput; output: DeleteSnapshotCommandOutput; }; }; }