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

Deletes specific nodes within a SageMaker HyperPod cluster. BatchDeleteClusterNodes accepts a cluster name and a list of node IDs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, BatchDeleteClusterNodesCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, BatchDeleteClusterNodesCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // BatchDeleteClusterNodesRequest * ClusterName: "STRING_VALUE", // required * NodeIds: [ // ClusterNodeIds * "STRING_VALUE", * ], * NodeLogicalIds: [ // ClusterNodeLogicalIdList * "STRING_VALUE", * ], * }; * const command = new BatchDeleteClusterNodesCommand(input); * const response = await client.send(command); * // { // BatchDeleteClusterNodesResponse * // Failed: [ // BatchDeleteClusterNodesErrorList * // { // BatchDeleteClusterNodesError * // Code: "NodeIdNotFound" || "InvalidNodeStatus" || "NodeIdInUse", // required * // Message: "STRING_VALUE", // required * // NodeId: "STRING_VALUE", // required * // }, * // ], * // Successful: [ // ClusterNodeIds * // "STRING_VALUE", * // ], * // FailedNodeLogicalIds: [ // BatchDeleteClusterNodeLogicalIdsErrorList * // { // BatchDeleteClusterNodeLogicalIdsError * // Code: "NodeIdNotFound" || "InvalidNodeStatus" || "NodeIdInUse", // required * // Message: "STRING_VALUE", // required * // NodeLogicalId: "STRING_VALUE", // required * // }, * // ], * // SuccessfulNodeLogicalIds: [ // ClusterNodeLogicalIdList * // "STRING_VALUE", * // ], * // }; * * ``` * * @param BatchDeleteClusterNodesCommandInput - {@link BatchDeleteClusterNodesCommandInput} * @returns {@link BatchDeleteClusterNodesCommandOutput} * @see {@link BatchDeleteClusterNodesCommandInput} for command's `input` shape. * @see {@link BatchDeleteClusterNodesCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @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 BatchDeleteClusterNodesCommand extends BatchDeleteClusterNodesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchDeleteClusterNodesRequest; output: BatchDeleteClusterNodesResponse; }; sdk: { input: BatchDeleteClusterNodesCommandInput; output: BatchDeleteClusterNodesCommandOutput; }; }; }