import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { ListClustersRequest, ListClustersResponse } from "../models/models_4"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListClustersCommand}. */ export interface ListClustersCommandInput extends ListClustersRequest { } /** * @public * * The output of {@link ListClustersCommand}. */ export interface ListClustersCommandOutput extends ListClustersResponse, __MetadataBearer { } declare const ListClustersCommand_base: { new (input: ListClustersCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListClustersCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves the list of SageMaker HyperPod clusters.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, ListClustersCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, ListClustersCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // ListClustersRequest * CreationTimeAfter: new Date("TIMESTAMP"), * CreationTimeBefore: new Date("TIMESTAMP"), * MaxResults: Number("int"), * NameContains: "STRING_VALUE", * NextToken: "STRING_VALUE", * SortBy: "CREATION_TIME" || "NAME", * SortOrder: "Ascending" || "Descending", * TrainingPlanArn: "STRING_VALUE", * }; * const command = new ListClustersCommand(input); * const response = await client.send(command); * // { // ListClustersResponse * // NextToken: "STRING_VALUE", * // ClusterSummaries: [ // ClusterSummaries // required * // { // ClusterSummary * // ClusterArn: "STRING_VALUE", // required * // ClusterName: "STRING_VALUE", // required * // CreationTime: new Date("TIMESTAMP"), // required * // ClusterStatus: "Creating" || "Deleting" || "Failed" || "InService" || "RollingBack" || "SystemUpdating" || "Updating", // required * // TrainingPlanArns: [ // TrainingPlanArns * // "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 SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

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