Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeSnapshotsCommand

Returns information about cluster or replication group snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot, or just the snapshots associated with a particular cache cluster.

This operation is valid for Redis only.

example

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

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

DescribeSnapshotsCommandInput for command's input shape.

see

DescribeSnapshotsCommandOutput for command's response shape.

see

config for ElastiCacheClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeSnapshotsCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions