Skip to content

DescribeServerlessCaches

Source: src/AWS/ElastiCache/DescribeServerlessCaches.ts

Runtime binding for the DescribeServerlessCaches operation (IAM action elasticache:DescribeServerlessCaches).

Reads the current status, endpoint, and configuration of the account’s serverless caches — e.g. an operational health check that verifies a cache is available before routing traffic. Provide the implementation with Effect.provide(AWS.ElastiCache.DescribeServerlessCachesHttp).

const describeCaches = yield* ElastiCache.DescribeServerlessCaches();
const result = yield* describeCaches({ ServerlessCacheName: name });
// result.ServerlessCaches?.[0]?.Status → "available"