Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DescribeClustersCommand

Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all clusters that have any combination of those values are returned.

If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them.

example

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

import { RedshiftClient, DescribeClustersCommand } from "@aws-sdk/client-redshift"; // ES Modules import
// const { RedshiftClient, DescribeClustersCommand } = require("@aws-sdk/client-redshift"); // CommonJS import
const client = new RedshiftClient(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 RedshiftClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DescribeClustersCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions