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 { DescribeServerlessCachesRequest, DescribeServerlessCachesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeServerlessCachesCommand}. */ export interface DescribeServerlessCachesCommandInput extends DescribeServerlessCachesRequest { } /** * @public * * The output of {@link DescribeServerlessCachesCommand}. */ export interface DescribeServerlessCachesCommandOutput extends DescribeServerlessCachesResponse, __MetadataBearer { } declare const DescribeServerlessCachesCommand_base: { new (input: DescribeServerlessCachesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeServerlessCachesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about a specific serverless cache. * If no identifier is specified, then the API returns information on all the serverless caches belonging to * this Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElastiCacheClient, DescribeServerlessCachesCommand } from "@aws-sdk/client-elasticache"; // ES Modules import * // const { ElastiCacheClient, DescribeServerlessCachesCommand } = 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 = { // DescribeServerlessCachesRequest * ServerlessCacheName: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeServerlessCachesCommand(input); * const response = await client.send(command); * // { // DescribeServerlessCachesResponse * // NextToken: "STRING_VALUE", * // ServerlessCaches: [ // ServerlessCacheList * // { // ServerlessCache * // ServerlessCacheName: "STRING_VALUE", * // Description: "STRING_VALUE", * // CreateTime: new Date("TIMESTAMP"), * // Status: "STRING_VALUE", * // Engine: "STRING_VALUE", * // MajorEngineVersion: "STRING_VALUE", * // FullEngineVersion: "STRING_VALUE", * // CacheUsageLimits: { // CacheUsageLimits * // DataStorage: { // DataStorage * // Maximum: Number("int"), * // Minimum: Number("int"), * // Unit: "GB", // required * // }, * // ECPUPerSecond: { // ECPUPerSecond * // Maximum: Number("int"), * // Minimum: Number("int"), * // }, * // }, * // KmsKeyId: "STRING_VALUE", * // SecurityGroupIds: [ // SecurityGroupIdsList * // "STRING_VALUE", * // ], * // Endpoint: { // Endpoint * // Address: "STRING_VALUE", * // Port: Number("int"), * // }, * // ReaderEndpoint: { * // Address: "STRING_VALUE", * // Port: Number("int"), * // }, * // ARN: "STRING_VALUE", * // UserGroupId: "STRING_VALUE", * // SubnetIds: [ // SubnetIdsList * // "STRING_VALUE", * // ], * // SnapshotRetentionLimit: Number("int"), * // DailySnapshotTime: "STRING_VALUE", * // NetworkType: "ipv4" || "ipv6" || "dual_stack", * // }, * // ], * // }; * * ``` * * @param DescribeServerlessCachesCommandInput - {@link DescribeServerlessCachesCommandInput} * @returns {@link DescribeServerlessCachesCommandOutput} * @see {@link DescribeServerlessCachesCommandInput} for command's `input` shape. * @see {@link DescribeServerlessCachesCommandOutput} for command's `response` shape. * @see {@link ElastiCacheClientResolvedConfig | config} for ElastiCacheClient's `config` shape. * * @throws {@link InvalidParameterCombinationException} (client fault) *

Two or more incompatible parameters were specified.

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

The value for a parameter is invalid.

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

The serverless cache was not found or does not exist.

* * @throws {@link ElastiCacheServiceException} *

Base exception class for all service exceptions from ElastiCache service.

* * * @public */ export declare class DescribeServerlessCachesCommand extends DescribeServerlessCachesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeServerlessCachesRequest; output: DescribeServerlessCachesResponse; }; sdk: { input: DescribeServerlessCachesCommandInput; output: DescribeServerlessCachesCommandOutput; }; }; }