import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { BatchAddClusterNodesRequest, BatchAddClusterNodesResponse } from "../models/models_0"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchAddClusterNodesCommand}. */ export interface BatchAddClusterNodesCommandInput extends BatchAddClusterNodesRequest { } /** * @public * * The output of {@link BatchAddClusterNodesCommand}. */ export interface BatchAddClusterNodesCommandOutput extends BatchAddClusterNodesResponse, __MetadataBearer { } declare const BatchAddClusterNodesCommand_base: { new (input: BatchAddClusterNodesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: BatchAddClusterNodesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Adds nodes to a HyperPod cluster by incrementing the target count for one or more instance groups. This operation returns a unique NodeLogicalId for each node being added, which can be used to track the provisioning status of the node. This API provides a safer alternative to UpdateCluster for scaling operations by avoiding unintended configuration changes.

This API is only supported for clusters using Continuous as the NodeProvisioningMode.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, BatchAddClusterNodesCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, BatchAddClusterNodesCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // BatchAddClusterNodesRequest * ClusterName: "STRING_VALUE", // required * ClientToken: "STRING_VALUE", * NodesToAdd: [ // AddClusterNodeSpecificationList // required * { // AddClusterNodeSpecification * InstanceGroupName: "STRING_VALUE", // required * IncrementTargetCountBy: Number("int"), // required * }, * ], * }; * const command = new BatchAddClusterNodesCommand(input); * const response = await client.send(command); * // { // BatchAddClusterNodesResponse * // Successful: [ // NodeAdditionResultList // required * // { // NodeAdditionResult * // NodeLogicalId: "STRING_VALUE", // required * // InstanceGroupName: "STRING_VALUE", // required * // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound", // required * // }, * // ], * // Failed: [ // BatchAddClusterNodesErrorList // required * // { // BatchAddClusterNodesError * // InstanceGroupName: "STRING_VALUE", // required * // ErrorCode: "InstanceGroupNotFound" || "InvalidInstanceGroupStatus", // required * // FailedCount: Number("int"), // required * // Message: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchAddClusterNodesCommandInput - {@link BatchAddClusterNodesCommandInput} * @returns {@link BatchAddClusterNodesCommandOutput} * @see {@link BatchAddClusterNodesCommandInput} for command's `input` shape. * @see {@link BatchAddClusterNodesCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ResourceLimitExceeded} (client fault) *

You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.

* * @throws {@link ResourceNotFound} (client fault) *

Resource being access is not found.

* * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class BatchAddClusterNodesCommand extends BatchAddClusterNodesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchAddClusterNodesRequest; output: BatchAddClusterNodesResponse; }; sdk: { input: BatchAddClusterNodesCommandInput; output: BatchAddClusterNodesCommandOutput; }; }; }