Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeBackupsCommand

Gets information about backups of AWS CloudHSM clusters.

This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get.

example

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

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

DescribeBackupsCommandInput for command's input shape.

see

DescribeBackupsCommandOutput for command's response shape.

see

config for CloudHSMV2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeBackupsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DescribeBackupsCommandInput, DescribeBackupsCommandOutput>

Methods

Static getEndpointParameterInstructions