@aws-sdk/client-sagemaker 3.1173.0 → 3.1174.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -0
- package/dist-cjs/index.js +496 -133
- package/dist-es/SageMaker.js +22 -0
- package/dist-es/commands/AddInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/CreateGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/DeleteGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/DescribeGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/ListGlobalInferenceGatewaysCommand.js +4 -0
- package/dist-es/commands/ListInferenceGatewaysCommand.js +4 -0
- package/dist-es/commands/MoveClusterNodesCommand.js +4 -0
- package/dist-es/commands/RemoveInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/UpdateGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/pagination/ListGlobalInferenceGatewaysPaginator.js +4 -0
- package/dist-es/pagination/ListInferenceGatewaysPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +375 -132
- package/dist-types/SageMaker.d.ts +78 -0
- package/dist-types/SageMakerClient.d.ts +11 -2
- package/dist-types/commands/AddInferenceGatewayCommand.d.ts +102 -0
- package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/CreateGlobalInferenceGatewayCommand.d.ts +123 -0
- package/dist-types/commands/DeleteGlobalInferenceGatewayCommand.d.ts +81 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSchedulerConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +1 -2
- package/dist-types/commands/DescribeGlobalInferenceGatewayCommand.d.ts +90 -0
- package/dist-types/commands/ListAIBenchmarkJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListAIRecommendationJobsCommand.d.ts +1 -2
- package/dist-types/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListGlobalInferenceGatewaysCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceGatewaysCommand.d.ts +94 -0
- package/dist-types/commands/MoveClusterNodesCommand.d.ts +104 -0
- package/dist-types/commands/RemoveInferenceGatewayCommand.d.ts +96 -0
- package/dist-types/commands/SearchCommand.d.ts +1 -2
- package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/commands/StartClusterHealthCheckCommand.d.ts +1 -1
- package/dist-types/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/commands/StartInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/StartMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/commands/UpdateGlobalInferenceGatewayCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +104 -0
- package/dist-types/models/models_0.d.ts +79 -49
- package/dist-types/models/models_1.d.ts +170 -124
- package/dist-types/models/models_2.d.ts +158 -275
- package/dist-types/models/models_3.d.ts +457 -522
- package/dist-types/models/models_4.d.ts +4133 -4126
- package/dist-types/models/models_5.d.ts +794 -6
- package/dist-types/pagination/ListGlobalInferenceGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInferenceGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/SageMaker.d.ts +168 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AddInferenceGatewayCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeClusterSchedulerConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeComputeQuotaCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAIBenchmarkJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAIRecommendationJobsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGlobalInferenceGatewaysCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListInferenceGatewaysCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/MoveClusterNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveInferenceGatewayCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchTrainingPlanOfferingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartClusterHealthCheckCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +38 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -13
- package/dist-types/ts3.4/models/models_1.d.ts +43 -32
- package/dist-types/ts3.4/models/models_2.d.ts +42 -77
- package/dist-types/ts3.4/models/models_3.d.ts +116 -128
- package/dist-types/ts3.4/models/models_4.d.ts +196 -196
- package/dist-types/ts3.4/models/models_5.d.ts +220 -3
- package/dist-types/ts3.4/pagination/ListGlobalInferenceGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInferenceGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { MoveClusterNodesRequest, MoveClusterNodesResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link MoveClusterNodesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface MoveClusterNodesCommandInput extends MoveClusterNodesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link MoveClusterNodesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface MoveClusterNodesCommandOutput extends MoveClusterNodesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const MoveClusterNodesCommand_base: {
|
|
22
|
+
new (input: MoveClusterNodesCommandInput): import("@smithy/core/client").CommandImpl<MoveClusterNodesCommandInput, MoveClusterNodesCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: MoveClusterNodesCommandInput): import("@smithy/core/client").CommandImpl<MoveClusterNodesCommandInput, MoveClusterNodesCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Moves running nodes from one instance group to another instance group. The target instance group can be in the same HyperPod cluster or in a different HyperPod cluster in the same account and Region. The underlying instances aren't terminated.</p> <p>Each node keeps its instance ID, its <code>NodeLogicalId</code>, its network interfaces and IP addresses, and its capacity. The node then joins the target instance group with the target's configuration and lifecycle scripts.</p> <important> <p>The move replaces the node's root Amazon Elastic Block Store (Amazon EBS) volume and secondary EBS volume, which deletes any data stored on them. Back up any data that you need before you move the node.</p> </important> <p>Specify the nodes to move with exactly one of <code>NodeIds</code>, <code>NodeLogicalIds</code>, or <code>InstanceCount</code>. The operation is asynchronous and returns after it accepts the nodes for the move. While a node moves, its status is <code>DetachInProgress</code> and then <code>AttachInProgress</code>. The node appears in the source cluster while it detaches. After HyperPod hands the node off to the target instance group, the node appears in the target cluster. To track the node, call <code>DescribeClusterNode</code> or <code>ListClusterNodes</code> on the source or target cluster.</p> <note> <p>Both clusters must be <code>InService</code>, use Amazon EKS orchestration, and use <code>Continuous</code> as the <code>NodeProvisioningMode</code>.</p> <p>The source and target instance groups must also use compatible configurations.</p> </note>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, MoveClusterNodesCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, MoveClusterNodesCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // MoveClusterNodesRequest
|
|
37
|
+
* SourceClusterArn: "STRING_VALUE", // required
|
|
38
|
+
* SourceInstanceGroupName: "STRING_VALUE", // required
|
|
39
|
+
* TargetClusterArn: "STRING_VALUE", // required
|
|
40
|
+
* TargetInstanceGroupName: "STRING_VALUE", // required
|
|
41
|
+
* InstanceCount: Number("int"),
|
|
42
|
+
* NodeIds: [ // MoveClusterNodeIds
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* NodeLogicalIds: [ // MoveClusterNodeLogicalIds
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* ClientToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new MoveClusterNodesCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // MoveClusterNodesResponse
|
|
53
|
+
* // Successful: [ // MoveClusterNodeIds
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // Failed: [ // MoveClusterNodesErrorList
|
|
57
|
+
* // { // MoveClusterNodesError
|
|
58
|
+
* // Code: "NodeIdNotFound" || "InvalidNodeStatus" || "NodeIdInUse" || "NodeInstanceTypeMismatch", // required
|
|
59
|
+
* // Message: "STRING_VALUE", // required
|
|
60
|
+
* // NodeId: "STRING_VALUE", // required
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // SuccessfulNodeLogicalIds: [ // MoveClusterNodeLogicalIds
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // FailedNodeLogicalIds: [ // MoveClusterNodeLogicalIdsErrorList
|
|
67
|
+
* // { // MoveClusterNodeLogicalIdsError
|
|
68
|
+
* // Code: "NodeIdNotFound" || "InvalidNodeStatus" || "NodeIdInUse" || "NodeInstanceTypeMismatch", // required
|
|
69
|
+
* // Message: "STRING_VALUE", // required
|
|
70
|
+
* // NodeLogicalId: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param MoveClusterNodesCommandInput - {@link MoveClusterNodesCommandInput}
|
|
78
|
+
* @returns {@link MoveClusterNodesCommandOutput}
|
|
79
|
+
* @see {@link MoveClusterNodesCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link MoveClusterNodesCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
84
|
+
* <p>Resource being access is not found.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link SageMakerServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class MoveClusterNodesCommand extends MoveClusterNodesCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: MoveClusterNodesRequest;
|
|
97
|
+
output: MoveClusterNodesResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: MoveClusterNodesCommandInput;
|
|
101
|
+
output: MoveClusterNodesCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { RemoveInferenceGatewayRequest, RemoveInferenceGatewayResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link RemoveInferenceGatewayCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface RemoveInferenceGatewayCommandInput extends RemoveInferenceGatewayRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link RemoveInferenceGatewayCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface RemoveInferenceGatewayCommandOutput extends RemoveInferenceGatewayResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const RemoveInferenceGatewayCommand_base: {
|
|
22
|
+
new (input: RemoveInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<RemoveInferenceGatewayCommandInput, RemoveInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: RemoveInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<RemoveInferenceGatewayCommandInput, RemoveInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Removes an in-cluster inference gateway from a global inference gateway. This operation is
|
|
28
|
+
* asynchronous: the in-cluster inference gateway moves to the `REMOVING` status, and then no longer
|
|
29
|
+
* appears in `ListInferenceGateways`. If the in-cluster inference gateway isn't in the global
|
|
30
|
+
* inference gateway, the operation succeeds and returns no status. The operation returns
|
|
31
|
+
* `ResourceNotFound` only if the global inference gateway doesn't exist.
|
|
32
|
+
*
|
|
33
|
+
* The operation fails with `ConflictException` while another operation is in progress on the global
|
|
34
|
+
* inference gateway. It fails with `ValidationException` if the in-cluster inference gateway is the
|
|
35
|
+
* last one, because a global inference gateway must have at least one.
|
|
36
|
+
* @example
|
|
37
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
+
* ```javascript
|
|
39
|
+
* import { SageMakerClient, RemoveInferenceGatewayCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
40
|
+
* // const { SageMakerClient, RemoveInferenceGatewayCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
41
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
42
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
43
|
+
* const client = new SageMakerClient(config);
|
|
44
|
+
* const input = { // RemoveInferenceGatewayRequest
|
|
45
|
+
* Identifier: "STRING_VALUE", // required
|
|
46
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
47
|
+
* Namespace: "STRING_VALUE", // required
|
|
48
|
+
* Name: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
50
|
+
* const command = new RemoveInferenceGatewayCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // RemoveInferenceGatewayResponse
|
|
53
|
+
* // Arn: "STRING_VALUE", // required
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // Name: "STRING_VALUE", // required
|
|
56
|
+
* // Gateway: { // GlobalInferenceGatewayMember
|
|
57
|
+
* // Name: "STRING_VALUE", // required
|
|
58
|
+
* // Namespace: "STRING_VALUE", // required
|
|
59
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
60
|
+
* // },
|
|
61
|
+
* // Status: "ADDING" || "ACTIVE" || "REMOVING" || "FAILED",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param RemoveInferenceGatewayCommandInput - {@link RemoveInferenceGatewayCommandInput}
|
|
67
|
+
* @returns {@link RemoveInferenceGatewayCommandOutput}
|
|
68
|
+
* @see {@link RemoveInferenceGatewayCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link RemoveInferenceGatewayCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ConflictException} (client fault)
|
|
73
|
+
* <p>There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code> or <code>Artifact</code>.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
76
|
+
* <p>Resource being access is not found.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link SageMakerServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class RemoveInferenceGatewayCommand extends RemoveInferenceGatewayCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: RemoveInferenceGatewayRequest;
|
|
89
|
+
output: RemoveInferenceGatewayResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: RemoveInferenceGatewayCommandInput;
|
|
93
|
+
output: RemoveInferenceGatewayCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SearchResponse } from "../models/
|
|
3
|
-
import type { SearchRequest } from "../models/models_5";
|
|
2
|
+
import type { SearchRequest, SearchResponse } from "../models/models_5";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SearchTrainingPlanOfferingsRequest, SearchTrainingPlanOfferingsResponse } from "../models/
|
|
2
|
+
import type { SearchTrainingPlanOfferingsRequest, SearchTrainingPlanOfferingsResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SendPipelineExecutionStepFailureRequest, SendPipelineExecutionStepFailureResponse } from "../models/
|
|
2
|
+
import type { SendPipelineExecutionStepFailureRequest, SendPipelineExecutionStepFailureResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SendPipelineExecutionStepSuccessRequest, SendPipelineExecutionStepSuccessResponse } from "../models/
|
|
2
|
+
import type { SendPipelineExecutionStepSuccessRequest, SendPipelineExecutionStepSuccessResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartClusterHealthCheckRequest, StartClusterHealthCheckResponse } from "../models/
|
|
2
|
+
import type { StartClusterHealthCheckRequest, StartClusterHealthCheckResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartInferenceExperimentRequest, StartInferenceExperimentResponse } from "../models/
|
|
2
|
+
import type { StartInferenceExperimentRequest, StartInferenceExperimentResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartMlflowTrackingServerRequest, StartMlflowTrackingServerResponse } from "../models/
|
|
2
|
+
import type { StartMlflowTrackingServerRequest, StartMlflowTrackingServerResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartPipelineExecutionRequest } from "../models/
|
|
3
|
-
import type { StartPipelineExecutionResponse } from "../models/models_5";
|
|
2
|
+
import type { StartPipelineExecutionRequest, StartPipelineExecutionResponse } from "../models/models_5";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateGlobalInferenceGatewayRequest, UpdateGlobalInferenceGatewayResponse } from "../models/models_5";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateGlobalInferenceGatewayCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateGlobalInferenceGatewayCommandInput extends UpdateGlobalInferenceGatewayRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateGlobalInferenceGatewayCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateGlobalInferenceGatewayCommandOutput extends UpdateGlobalInferenceGatewayResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateGlobalInferenceGatewayCommand_base: {
|
|
22
|
+
new (input: UpdateGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<UpdateGlobalInferenceGatewayCommandInput, UpdateGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<UpdateGlobalInferenceGatewayCommandInput, UpdateGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Updates the routing configuration of a global inference gateway. To add or remove in-cluster
|
|
28
|
+
* inference gateways, use `AddInferenceGateway` and `RemoveInferenceGateway`. This operation is
|
|
29
|
+
* asynchronous: the global inference gateway moves to the `UPDATING` status. The operation fails with
|
|
30
|
+
* `ConflictException` while another operation is in progress on the global inference gateway.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, UpdateGlobalInferenceGatewayCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, UpdateGlobalInferenceGatewayCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
37
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
38
|
+
* const client = new SageMakerClient(config);
|
|
39
|
+
* const input = { // UpdateGlobalInferenceGatewayRequest
|
|
40
|
+
* Identifier: "STRING_VALUE", // required
|
|
41
|
+
* Routing: { // GlobalInferenceGatewayRouting
|
|
42
|
+
* Weights: { // GlobalInferenceGatewayRoutingWeights
|
|
43
|
+
* KVHeadroom: Number("float"),
|
|
44
|
+
* QueueDepth: Number("float"),
|
|
45
|
+
* RegionProximity: Number("float"),
|
|
46
|
+
* ErrorRate: Number("float"),
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new UpdateGlobalInferenceGatewayCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // UpdateGlobalInferenceGatewayResponse
|
|
53
|
+
* // Arn: "STRING_VALUE", // required
|
|
54
|
+
* // Id: "STRING_VALUE", // required
|
|
55
|
+
* // Name: "STRING_VALUE", // required
|
|
56
|
+
* // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
|
|
57
|
+
* // Routing: { // GlobalInferenceGatewayRouting
|
|
58
|
+
* // Weights: { // GlobalInferenceGatewayRoutingWeights
|
|
59
|
+
* // KVHeadroom: Number("float"),
|
|
60
|
+
* // QueueDepth: Number("float"),
|
|
61
|
+
* // RegionProximity: Number("float"),
|
|
62
|
+
* // ErrorRate: Number("float"),
|
|
63
|
+
* // },
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param UpdateGlobalInferenceGatewayCommandInput - {@link UpdateGlobalInferenceGatewayCommandInput}
|
|
70
|
+
* @returns {@link UpdateGlobalInferenceGatewayCommandOutput}
|
|
71
|
+
* @see {@link UpdateGlobalInferenceGatewayCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link UpdateGlobalInferenceGatewayCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ConflictException} (client fault)
|
|
76
|
+
* <p>There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code> or <code>Artifact</code>.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
79
|
+
* <p>Resource being access is not found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link SageMakerServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class UpdateGlobalInferenceGatewayCommand extends UpdateGlobalInferenceGatewayCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: UpdateGlobalInferenceGatewayRequest;
|
|
92
|
+
output: UpdateGlobalInferenceGatewayResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: UpdateGlobalInferenceGatewayCommandInput;
|
|
96
|
+
output: UpdateGlobalInferenceGatewayCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AddAssociationCommand";
|
|
2
|
+
export * from "./AddInferenceGatewayCommand";
|
|
2
3
|
export * from "./AddTagsCommand";
|
|
3
4
|
export * from "./AssociateTrialComponentCommand";
|
|
4
5
|
export * from "./AttachClusterNodeNetworkInterfaceCommand";
|
|
@@ -36,6 +37,7 @@ export * from "./CreateEndpointConfigCommand";
|
|
|
36
37
|
export * from "./CreateExperimentCommand";
|
|
37
38
|
export * from "./CreateFeatureGroupCommand";
|
|
38
39
|
export * from "./CreateFlowDefinitionCommand";
|
|
40
|
+
export * from "./CreateGlobalInferenceGatewayCommand";
|
|
39
41
|
export * from "./CreateHubCommand";
|
|
40
42
|
export * from "./CreateHubContentPresignedUrlsCommand";
|
|
41
43
|
export * from "./CreateHubContentReferenceCommand";
|
|
@@ -110,6 +112,7 @@ export * from "./DeleteEndpointPolicyCommand";
|
|
|
110
112
|
export * from "./DeleteExperimentCommand";
|
|
111
113
|
export * from "./DeleteFeatureGroupCommand";
|
|
112
114
|
export * from "./DeleteFlowDefinitionCommand";
|
|
115
|
+
export * from "./DeleteGlobalInferenceGatewayCommand";
|
|
113
116
|
export * from "./DeleteHubCommand";
|
|
114
117
|
export * from "./DeleteHubContentCommand";
|
|
115
118
|
export * from "./DeleteHubContentReferenceCommand";
|
|
@@ -182,6 +185,7 @@ export * from "./DescribeExperimentCommand";
|
|
|
182
185
|
export * from "./DescribeFeatureGroupCommand";
|
|
183
186
|
export * from "./DescribeFeatureMetadataCommand";
|
|
184
187
|
export * from "./DescribeFlowDefinitionCommand";
|
|
188
|
+
export * from "./DescribeGlobalInferenceGatewayCommand";
|
|
185
189
|
export * from "./DescribeHubCommand";
|
|
186
190
|
export * from "./DescribeHubContentCommand";
|
|
187
191
|
export * from "./DescribeHumanTaskUiCommand";
|
|
@@ -277,6 +281,7 @@ export * from "./ListEndpointsCommand";
|
|
|
277
281
|
export * from "./ListExperimentsCommand";
|
|
278
282
|
export * from "./ListFeatureGroupsCommand";
|
|
279
283
|
export * from "./ListFlowDefinitionsCommand";
|
|
284
|
+
export * from "./ListGlobalInferenceGatewaysCommand";
|
|
280
285
|
export * from "./ListHubContentVersionsCommand";
|
|
281
286
|
export * from "./ListHubContentsCommand";
|
|
282
287
|
export * from "./ListHubsCommand";
|
|
@@ -286,6 +291,7 @@ export * from "./ListImageVersionsCommand";
|
|
|
286
291
|
export * from "./ListImagesCommand";
|
|
287
292
|
export * from "./ListInferenceComponentsCommand";
|
|
288
293
|
export * from "./ListInferenceExperimentsCommand";
|
|
294
|
+
export * from "./ListInferenceGatewaysCommand";
|
|
289
295
|
export * from "./ListInferenceRecommendationsJobStepsCommand";
|
|
290
296
|
export * from "./ListInferenceRecommendationsJobsCommand";
|
|
291
297
|
export * from "./ListInferenceRoutersCommand";
|
|
@@ -338,10 +344,12 @@ export * from "./ListUltraServersByReservedCapacityCommand";
|
|
|
338
344
|
export * from "./ListUserProfilesCommand";
|
|
339
345
|
export * from "./ListWorkforcesCommand";
|
|
340
346
|
export * from "./ListWorkteamsCommand";
|
|
347
|
+
export * from "./MoveClusterNodesCommand";
|
|
341
348
|
export * from "./PutEndpointPolicyCommand";
|
|
342
349
|
export * from "./PutModelPackageGroupPolicyCommand";
|
|
343
350
|
export * from "./QueryLineageCommand";
|
|
344
351
|
export * from "./RegisterDevicesCommand";
|
|
352
|
+
export * from "./RemoveInferenceGatewayCommand";
|
|
345
353
|
export * from "./RenderUiTemplateCommand";
|
|
346
354
|
export * from "./RetryPipelineExecutionCommand";
|
|
347
355
|
export * from "./SearchCommand";
|
|
@@ -394,6 +402,7 @@ export * from "./UpdateEndpointWeightsAndCapacitiesCommand";
|
|
|
394
402
|
export * from "./UpdateExperimentCommand";
|
|
395
403
|
export * from "./UpdateFeatureGroupCommand";
|
|
396
404
|
export * from "./UpdateFeatureMetadataCommand";
|
|
405
|
+
export * from "./UpdateGlobalInferenceGatewayCommand";
|
|
397
406
|
export * from "./UpdateHubCommand";
|
|
398
407
|
export * from "./UpdateHubContentCommand";
|
|
399
408
|
export * from "./UpdateHubContentReferenceCommand";
|
|
@@ -321,6 +321,32 @@ export declare const AssociationEdgeType: {
|
|
|
321
321
|
* @public
|
|
322
322
|
*/
|
|
323
323
|
export type AssociationEdgeType = (typeof AssociationEdgeType)[keyof typeof AssociationEdgeType];
|
|
324
|
+
/**
|
|
325
|
+
* @public
|
|
326
|
+
* @enum
|
|
327
|
+
*/
|
|
328
|
+
export declare const GlobalInferenceGatewayMemberStatus: {
|
|
329
|
+
/**
|
|
330
|
+
* <p>The in-cluster inference gateway is added and receives requests.</p>
|
|
331
|
+
*/
|
|
332
|
+
readonly ACTIVE: "ACTIVE";
|
|
333
|
+
/**
|
|
334
|
+
* <p>The in-cluster inference gateway is being added and doesn't receive requests yet.</p>
|
|
335
|
+
*/
|
|
336
|
+
readonly ADDING: "ADDING";
|
|
337
|
+
/**
|
|
338
|
+
* <p>Adding or removing the in-cluster inference gateway failed. For details, see <code>FailureReason</code>. After you fix the cause, remove the in-cluster inference gateway and add it again.</p>
|
|
339
|
+
*/
|
|
340
|
+
readonly FAILED: "FAILED";
|
|
341
|
+
/**
|
|
342
|
+
* <p>The in-cluster inference gateway is being removed.</p>
|
|
343
|
+
*/
|
|
344
|
+
readonly REMOVING: "REMOVING";
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
export type GlobalInferenceGatewayMemberStatus = (typeof GlobalInferenceGatewayMemberStatus)[keyof typeof GlobalInferenceGatewayMemberStatus];
|
|
324
350
|
/**
|
|
325
351
|
* @public
|
|
326
352
|
* @enum
|
|
@@ -2102,7 +2128,9 @@ export type BatchAddClusterNodesErrorCode = (typeof BatchAddClusterNodesErrorCod
|
|
|
2102
2128
|
* @enum
|
|
2103
2129
|
*/
|
|
2104
2130
|
export declare const ClusterInstanceStatus: {
|
|
2131
|
+
readonly ATTACH_IN_PROGRESS: "AttachInProgress";
|
|
2105
2132
|
readonly DEEP_HEALTH_CHECK_IN_PROGRESS: "DeepHealthCheckInProgress";
|
|
2133
|
+
readonly DETACH_IN_PROGRESS: "DetachInProgress";
|
|
2106
2134
|
readonly FAILURE: "Failure";
|
|
2107
2135
|
readonly NOT_FOUND: "NotFound";
|
|
2108
2136
|
readonly PENDING: "Pending";
|
|
@@ -3726,6 +3754,36 @@ export declare const ThroughputMode: {
|
|
|
3726
3754
|
* @public
|
|
3727
3755
|
*/
|
|
3728
3756
|
export type ThroughputMode = (typeof ThroughputMode)[keyof typeof ThroughputMode];
|
|
3757
|
+
/**
|
|
3758
|
+
* @public
|
|
3759
|
+
* @enum
|
|
3760
|
+
*/
|
|
3761
|
+
export declare const GlobalInferenceGatewayStatus: {
|
|
3762
|
+
/**
|
|
3763
|
+
* <p>The global inference gateway is serving requests, and no operation is in progress.</p>
|
|
3764
|
+
*/
|
|
3765
|
+
readonly ACTIVE: "ACTIVE";
|
|
3766
|
+
/**
|
|
3767
|
+
* <p>The global inference gateway is being created. Don't send inference requests to it yet.</p>
|
|
3768
|
+
*/
|
|
3769
|
+
readonly CREATING: "CREATING";
|
|
3770
|
+
/**
|
|
3771
|
+
* <p>The global inference gateway is being deleted.</p>
|
|
3772
|
+
*/
|
|
3773
|
+
readonly DELETING: "DELETING";
|
|
3774
|
+
/**
|
|
3775
|
+
* <p>The global inference gateway failed. For details, see <code>FailureReason</code>.</p>
|
|
3776
|
+
*/
|
|
3777
|
+
readonly FAILED: "FAILED";
|
|
3778
|
+
/**
|
|
3779
|
+
* <p>An update, add, or remove operation is in progress. The global inference gateway continues to serve requests.</p>
|
|
3780
|
+
*/
|
|
3781
|
+
readonly UPDATING: "UPDATING";
|
|
3782
|
+
};
|
|
3783
|
+
/**
|
|
3784
|
+
* @public
|
|
3785
|
+
*/
|
|
3786
|
+
export type GlobalInferenceGatewayStatus = (typeof GlobalInferenceGatewayStatus)[keyof typeof GlobalInferenceGatewayStatus];
|
|
3729
3787
|
/**
|
|
3730
3788
|
* @public
|
|
3731
3789
|
* @enum
|
|
@@ -5874,6 +5932,38 @@ export declare const ResourceType: {
|
|
|
5874
5932
|
* @public
|
|
5875
5933
|
*/
|
|
5876
5934
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
5935
|
+
/**
|
|
5936
|
+
* @public
|
|
5937
|
+
* @enum
|
|
5938
|
+
*/
|
|
5939
|
+
export declare const GlobalInferenceGatewayFilterName: {
|
|
5940
|
+
/**
|
|
5941
|
+
* <p>Filter by the status of the global inference gateway.</p>
|
|
5942
|
+
*/
|
|
5943
|
+
readonly STATUS: "Status";
|
|
5944
|
+
};
|
|
5945
|
+
/**
|
|
5946
|
+
* @public
|
|
5947
|
+
*/
|
|
5948
|
+
export type GlobalInferenceGatewayFilterName = (typeof GlobalInferenceGatewayFilterName)[keyof typeof GlobalInferenceGatewayFilterName];
|
|
5949
|
+
/**
|
|
5950
|
+
* @public
|
|
5951
|
+
* @enum
|
|
5952
|
+
*/
|
|
5953
|
+
export declare const GlobalInferenceGatewayMemberFilterName: {
|
|
5954
|
+
/**
|
|
5955
|
+
* <p>Filter by the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.</p>
|
|
5956
|
+
*/
|
|
5957
|
+
readonly CLUSTER_ARN: "ClusterArn";
|
|
5958
|
+
/**
|
|
5959
|
+
* <p>Filter by the status of the in-cluster inference gateway.</p>
|
|
5960
|
+
*/
|
|
5961
|
+
readonly STATUS: "Status";
|
|
5962
|
+
};
|
|
5963
|
+
/**
|
|
5964
|
+
* @public
|
|
5965
|
+
*/
|
|
5966
|
+
export type GlobalInferenceGatewayMemberFilterName = (typeof GlobalInferenceGatewayMemberFilterName)[keyof typeof GlobalInferenceGatewayMemberFilterName];
|
|
5877
5967
|
/**
|
|
5878
5968
|
* @public
|
|
5879
5969
|
* @enum
|
|
@@ -6816,6 +6906,20 @@ export declare const ModelVariantAction: {
|
|
|
6816
6906
|
* @public
|
|
6817
6907
|
*/
|
|
6818
6908
|
export type ModelVariantAction = (typeof ModelVariantAction)[keyof typeof ModelVariantAction];
|
|
6909
|
+
/**
|
|
6910
|
+
* @public
|
|
6911
|
+
* @enum
|
|
6912
|
+
*/
|
|
6913
|
+
export declare const MoveClusterNodesErrorCode: {
|
|
6914
|
+
readonly INVALID_NODE_STATUS: "InvalidNodeStatus";
|
|
6915
|
+
readonly NODE_ID_IN_USE: "NodeIdInUse";
|
|
6916
|
+
readonly NODE_ID_NOT_FOUND: "NodeIdNotFound";
|
|
6917
|
+
readonly NODE_INSTANCE_TYPE_MISMATCH: "NodeInstanceTypeMismatch";
|
|
6918
|
+
};
|
|
6919
|
+
/**
|
|
6920
|
+
* @public
|
|
6921
|
+
*/
|
|
6922
|
+
export type MoveClusterNodesErrorCode = (typeof MoveClusterNodesErrorCode)[keyof typeof MoveClusterNodesErrorCode];
|
|
6819
6923
|
/**
|
|
6820
6924
|
* @public
|
|
6821
6925
|
* @enum
|