Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeCacheSubnetGroupsCommand

Returns a list of cache subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group. This is applicable only when you have ElastiCache in VPC setup. All ElastiCache clusters now launch in VPC by default.

example

Use a bare-bones client and the command you need to make an API call.

import { ElastiCacheClient, DescribeCacheSubnetGroupsCommand } from "@aws-sdk/client-elasticache"; // ES Modules import
// const { ElastiCacheClient, DescribeCacheSubnetGroupsCommand } = require("@aws-sdk/client-elasticache"); // CommonJS import
const client = new ElastiCacheClient(config);
const command = new DescribeCacheSubnetGroupsCommand(input);
const response = await client.send(command);
see

DescribeCacheSubnetGroupsCommandInput for command's input shape.

see

DescribeCacheSubnetGroupsCommandOutput for command's response shape.

see

config for ElastiCacheClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeCacheSubnetGroupsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions