Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeClustersCommand

Gets information about AWS CloudHSM clusters.

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

example

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

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

DescribeClustersCommandInput for command's input shape.

see

DescribeClustersCommandOutput for command's response shape.

see

config for CloudHSMV2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeClustersCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions