import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteDBClusterSnapshotMessage, DeleteDBClusterSnapshotResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteDBClusterSnapshotCommand}. */ export interface DeleteDBClusterSnapshotCommandInput extends DeleteDBClusterSnapshotMessage { } /** * @public * * The output of {@link DeleteDBClusterSnapshotCommand}. */ export interface DeleteDBClusterSnapshotCommandOutput extends DeleteDBClusterSnapshotResult, __MetadataBearer { } declare const DeleteDBClusterSnapshotCommand_base: { new (input: DeleteDBClusterSnapshotCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteDBClusterSnapshotCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a cluster snapshot. If the snapshot is being copied, the copy operation is terminated.

* *

The cluster snapshot must be in the available state to be deleted.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, DeleteDBClusterSnapshotCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, DeleteDBClusterSnapshotCommand } = require("@aws-sdk/client-docdb"); // CommonJS import * // import type { DocDBClientConfig } from "@aws-sdk/client-docdb"; * const config = {}; // type is DocDBClientConfig * const client = new DocDBClient(config); * const input = { // DeleteDBClusterSnapshotMessage * DBClusterSnapshotIdentifier: "STRING_VALUE", // required * }; * const command = new DeleteDBClusterSnapshotCommand(input); * const response = await client.send(command); * // { // DeleteDBClusterSnapshotResult * // DBClusterSnapshot: { // DBClusterSnapshot * // AvailabilityZones: [ // AvailabilityZones * // "STRING_VALUE", * // ], * // DBClusterSnapshotIdentifier: "STRING_VALUE", * // DBClusterIdentifier: "STRING_VALUE", * // SnapshotCreateTime: new Date("TIMESTAMP"), * // Engine: "STRING_VALUE", * // Status: "STRING_VALUE", * // Port: Number("int"), * // VpcId: "STRING_VALUE", * // ClusterCreateTime: new Date("TIMESTAMP"), * // MasterUsername: "STRING_VALUE", * // EngineVersion: "STRING_VALUE", * // SnapshotType: "STRING_VALUE", * // PercentProgress: Number("int"), * // StorageEncrypted: true || false, * // KmsKeyId: "STRING_VALUE", * // DBClusterSnapshotArn: "STRING_VALUE", * // SourceDBClusterSnapshotArn: "STRING_VALUE", * // StorageType: "STRING_VALUE", * // }, * // }; * * ``` * * @param DeleteDBClusterSnapshotCommandInput - {@link DeleteDBClusterSnapshotCommandInput} * @returns {@link DeleteDBClusterSnapshotCommandOutput} * @see {@link DeleteDBClusterSnapshotCommandInput} for command's `input` shape. * @see {@link DeleteDBClusterSnapshotCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @throws {@link DBClusterSnapshotNotFoundFault} (client fault) *

* DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot.

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

The provided value isn't a valid cluster snapshot state.

* * @throws {@link DocDBServiceException} *

Base exception class for all service exceptions from DocDB service.

* * * @public */ export declare class DeleteDBClusterSnapshotCommand extends DeleteDBClusterSnapshotCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDBClusterSnapshotMessage; output: DeleteDBClusterSnapshotResult; }; sdk: { input: DeleteDBClusterSnapshotCommandInput; output: DeleteDBClusterSnapshotCommandOutput; }; }; }