Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListClustersCommand

Provides the status of all clusters visible to this Amazon Web Services account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters in unsorted order per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.

example

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

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

ListClustersCommandInput for command's input shape.

see

ListClustersCommandOutput for command's response shape.

see

config for EMRClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListClustersCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListClustersCommandInput, ListClustersCommandOutput>