import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListClustersRequest, ListClustersResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListClustersCommand}. */ export interface ListClustersCommandInput extends ListClustersRequest { } /** * @public * * The output of {@link ListClustersCommand}. */ export interface ListClustersCommandOutput extends ListClustersResult, __MetadataBearer { } declare const ListClustersCommand_base: { new (input: ListClustersCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListClustersCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns an array of ClusterListEntry objects of the specified length. Each * ClusterListEntry object contains a cluster's state, a cluster's ID, and other * important status information.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SnowballClient, ListClustersCommand } from "@aws-sdk/client-snowball"; // ES Modules import * // const { SnowballClient, ListClustersCommand } = require("@aws-sdk/client-snowball"); // CommonJS import * // import type { SnowballClientConfig } from "@aws-sdk/client-snowball"; * const config = {}; // type is SnowballClientConfig * const client = new SnowballClient(config); * const input = { // ListClustersRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListClustersCommand(input); * const response = await client.send(command); * // { // ListClustersResult * // ClusterListEntries: [ // ClusterListEntryList * // { // ClusterListEntry * // ClusterId: "STRING_VALUE", * // ClusterState: "AwaitingQuorum" || "Pending" || "InUse" || "Complete" || "Cancelled", * // CreationDate: new Date("TIMESTAMP"), * // Description: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListClustersCommandInput - {@link ListClustersCommandInput} * @returns {@link ListClustersCommandOutput} * @see {@link ListClustersCommandInput} for command's `input` shape. * @see {@link ListClustersCommandOutput} for command's `response` shape. * @see {@link SnowballClientResolvedConfig | config} for SnowballClient's `config` shape. * * @throws {@link InvalidNextTokenException} (client fault) *

The NextToken string was altered unexpectedly, and the operation has * stopped. Run the operation without changing the NextToken string, and try * again.

* * @throws {@link SnowballServiceException} *

Base exception class for all service exceptions from Snowball service.

* * * @public */ export declare class ListClustersCommand extends ListClustersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListClustersRequest; output: ListClustersResult; }; sdk: { input: ListClustersCommandInput; output: ListClustersCommandOutput; }; }; }