import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient"; import type { DeleteServerlessCacheSnapshotRequest, DeleteServerlessCacheSnapshotResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteServerlessCacheSnapshotCommand}. */ export interface DeleteServerlessCacheSnapshotCommandInput extends DeleteServerlessCacheSnapshotRequest { } /** * @public * * The output of {@link DeleteServerlessCacheSnapshotCommand}. */ export interface DeleteServerlessCacheSnapshotCommandOutput extends DeleteServerlessCacheSnapshotResponse, __MetadataBearer { } declare const DeleteServerlessCacheSnapshotCommand_base: { new (input: DeleteServerlessCacheSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteServerlessCacheSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes an existing serverless cache snapshot. Available for Valkey, Redis OSS and Serverless Memcached only.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, DeleteServerlessCacheSnapshotCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, DeleteServerlessCacheSnapshotCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import * // import type { ElastiCacheClientConfig } from "@aws-sdk/client-elasticache"; * const config = {}; // type is ElastiCacheClientConfig * const client = new ElastiCacheClient(config); * const input = { // DeleteServerlessCacheSnapshotRequest * ServerlessCacheSnapshotName: "STRING_VALUE", // required * }; * const command = new DeleteServerlessCacheSnapshotCommand(input); * const response = await client.send(command); * // { // DeleteServerlessCacheSnapshotResponse * // ServerlessCacheSnapshot: { // ServerlessCacheSnapshot * // ServerlessCacheSnapshotName: "STRING_VALUE", * // ARN: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // SnapshotType: "STRING_VALUE", * // Status: "STRING_VALUE", * // CreateTime: new Date("TIMESTAMP"), * // ExpiryTime: new Date("TIMESTAMP"), * // BytesUsedForCache: "STRING_VALUE", * // ServerlessCacheConfiguration: { // ServerlessCacheConfiguration * // ServerlessCacheName: "STRING_VALUE", * // Engine: "STRING_VALUE", * // MajorEngineVersion: "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param DeleteServerlessCacheSnapshotCommandInput - {@link DeleteServerlessCacheSnapshotCommandInput} * @returns {@link DeleteServerlessCacheSnapshotCommandOutput} * @see {@link DeleteServerlessCacheSnapshotCommandInput} for command's `input` shape. * @see {@link DeleteServerlessCacheSnapshotCommandOutput} for command's `response` shape. * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape. * * @throws {@link InvalidParameterValueException} (client fault) *

The value for a parameter is invalid.

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

The state of the serverless cache snapshot was not received. Available for Valkey, Redis OSS and Serverless Memcached only.

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

This serverless cache snapshot could not be found or does not exist. Available for Valkey, Redis OSS and Serverless Memcached only.

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

The specified service linked role (SLR) was not found.

* * @throws {@link ElastiCacheServiceException} *

Base exception class for all service exceptions from ElastiCache service.

* * * @public */ export declare class DeleteServerlessCacheSnapshotCommand extends DeleteServerlessCacheSnapshotCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteServerlessCacheSnapshotRequest; output: DeleteServerlessCacheSnapshotResponse; }; sdk: { input: DeleteServerlessCacheSnapshotCommandInput; output: DeleteServerlessCacheSnapshotCommandOutput; }; }; }