@aws-sdk/client-sagemaker 3.1173.0 → 3.1175.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 +91 -0
- package/dist-cjs/index.js +747 -155
- package/dist-es/SageMaker.js +36 -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/DescribeCapacityReservationCommand.js +4 -0
- package/dist-es/commands/DescribeGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/DescribeResourceAssociationsCommand.js +4 -0
- package/dist-es/commands/GetCapacityReservationUsageCommand.js +4 -0
- package/dist-es/commands/ListCapacityReservationsCommand.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 +13 -0
- package/dist-es/models/enums.js +54 -0
- package/dist-es/pagination/DescribeResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/GetCapacityReservationUsagePaginator.js +4 -0
- package/dist-es/pagination/ListCapacityReservationsPaginator.js +4 -0
- package/dist-es/pagination/ListGlobalInferenceGatewaysPaginator.js +4 -0
- package/dist-es/pagination/ListInferenceGatewaysPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/schemas/schemas_0.js +543 -154
- package/dist-types/SageMaker.d.ts +128 -0
- package/dist-types/SageMakerClient.d.ts +15 -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/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGlobalInferenceGatewayCommand.d.ts +81 -0
- package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterExtensionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +2 -2
- package/dist-types/commands/DescribeClusterOperationCommand.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/DescribeResourceAssociationsCommand.d.ts +96 -0
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +92 -0
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
- 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/ListCapacityReservationsCommand.d.ts +95 -0
- 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/QueryLineageCommand.d.ts +2 -1
- package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/RemoveInferenceGatewayCommand.d.ts +96 -0
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- 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 +13 -0
- package/dist-types/models/enums.d.ts +178 -0
- package/dist-types/models/models_0.d.ts +361 -367
- package/dist-types/models/models_1.d.ts +505 -317
- package/dist-types/models/models_2.d.ts +354 -489
- package/dist-types/models/models_3.d.ts +4514 -4882
- package/dist-types/models/models_4.d.ts +4249 -4119
- package/dist-types/models/models_5.d.ts +1323 -6
- package/dist-types/pagination/DescribeResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetCapacityReservationUsagePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityReservationsPaginator.d.ts +7 -0
- 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 +5 -0
- package/dist-types/schemas/schemas_0.d.ts +56 -0
- package/dist-types/ts3.4/SageMaker.d.ts +258 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +78 -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/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeCapacityReservationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeClusterExtensionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +1 -1
- 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/DescribeResourceAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
- 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/ListCapacityReservationsCommand.d.ts +42 -0
- 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/QueryLineageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveInferenceGatewayCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- 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 +13 -0
- package/dist-types/ts3.4/models/enums.d.ts +76 -0
- package/dist-types/ts3.4/models/models_0.d.ts +104 -86
- package/dist-types/ts3.4/models/models_1.d.ts +120 -75
- package/dist-types/ts3.4/models/models_2.d.ts +89 -135
- package/dist-types/ts3.4/models/models_3.d.ts +203 -269
- package/dist-types/ts3.4/models/models_4.d.ts +346 -334
- package/dist-types/ts3.4/models/models_5.d.ts +365 -6
- package/dist-types/ts3.4/pagination/DescribeResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetCapacityReservationUsagePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityReservationsPaginator.d.ts +11 -0
- 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 +5 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +56 -0
- package/package.json +3 -3
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeResourceAssociationsRequest, DescribeResourceAssociationsResponse } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeResourceAssociationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeResourceAssociationsCommandInput extends DescribeResourceAssociationsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeResourceAssociationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeResourceAssociationsCommandOutput extends DescribeResourceAssociationsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeResourceAssociationsCommand_base: {
|
|
22
|
+
new (input: DescribeResourceAssociationsCommandInput): import("@smithy/core/client").CommandImpl<DescribeResourceAssociationsCommandInput, DescribeResourceAssociationsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeResourceAssociationsCommandInput): import("@smithy/core/client").CommandImpl<DescribeResourceAssociationsCommandInput, DescribeResourceAssociationsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the resources in your account that are associated with a SageMaker Capacity Reservation and the status of each association. Resources include SageMaker AI HyperPod clusters and SageMaker AI endpoints.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, DescribeResourceAssociationsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, DescribeResourceAssociationsCommand } = 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 = { // DescribeResourceAssociationsRequest
|
|
37
|
+
* SMCapacityReservationArn: "STRING_VALUE", // required
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DescribeResourceAssociationsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeResourceAssociationsResponse
|
|
44
|
+
* // SMCapacityReservationArn: "STRING_VALUE", // required
|
|
45
|
+
* // SMCapacityReservationId: "STRING_VALUE", // required
|
|
46
|
+
* // ResourceAssociations: [ // CapacityReservationResourceAssociations // required
|
|
47
|
+
* // { // CapacityReservationResourceAssociation Union: only one key present
|
|
48
|
+
* // HyperPodClusters: { // CapacityReservationHyperPodClustersAssociation
|
|
49
|
+
* // Status: "Pending" || "Active" || "Inactive", // required
|
|
50
|
+
* // FailureReason: "STRING_VALUE",
|
|
51
|
+
* // AssociatedTime: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // },
|
|
53
|
+
* // Endpoints: { // CapacityReservationEndpointsAssociation
|
|
54
|
+
* // MlReservationId: "STRING_VALUE",
|
|
55
|
+
* // Status: "Pending" || "Active" || "Inactive", // required
|
|
56
|
+
* // MatchCriteria: "Open" || "Targeted",
|
|
57
|
+
* // EndpointSharing: "SingleEndpoint" || "MultipleEndpoints",
|
|
58
|
+
* // MlReservationArn: "STRING_VALUE",
|
|
59
|
+
* // FailureReason: "STRING_VALUE",
|
|
60
|
+
* // AssociatedTime: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // },
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param DescribeResourceAssociationsCommandInput - {@link DescribeResourceAssociationsCommandInput}
|
|
70
|
+
* @returns {@link DescribeResourceAssociationsCommandOutput}
|
|
71
|
+
* @see {@link DescribeResourceAssociationsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link DescribeResourceAssociationsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
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 DescribeResourceAssociationsCommand extends DescribeResourceAssociationsCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: DescribeResourceAssociationsRequest;
|
|
89
|
+
output: DescribeResourceAssociationsResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: DescribeResourceAssociationsCommandInput;
|
|
93
|
+
output: DescribeResourceAssociationsCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetCapacityReservationUsageRequest, GetCapacityReservationUsageResponse } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetCapacityReservationUsageCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetCapacityReservationUsageCommandInput extends GetCapacityReservationUsageRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetCapacityReservationUsageCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetCapacityReservationUsageCommandOutput extends GetCapacityReservationUsageResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetCapacityReservationUsageCommand_base: {
|
|
22
|
+
new (input: GetCapacityReservationUsageCommandInput): import("@smithy/core/client").CommandImpl<GetCapacityReservationUsageCommandInput, GetCapacityReservationUsageCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetCapacityReservationUsageCommandInput): import("@smithy/core/client").CommandImpl<GetCapacityReservationUsageCommandInput, GetCapacityReservationUsageCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the number of instances in use from a SageMaker Capacity Reservation, for each account that uses them.</p> <p>SageMaker AI refreshes the usage counts periodically. The <code>LastRefreshTime</code> value shows when the counts were last refreshed.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, GetCapacityReservationUsageCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, GetCapacityReservationUsageCommand } = 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 = { // GetCapacityReservationUsageRequest
|
|
37
|
+
* SMCapacityReservationArn: "STRING_VALUE", // required
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetCapacityReservationUsageCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetCapacityReservationUsageResponse
|
|
44
|
+
* // SMCapacityReservationId: "STRING_VALUE", // required
|
|
45
|
+
* // TotalInstanceCount: Number("int"), // required
|
|
46
|
+
* // AvailableInstanceCount: Number("int"), // required
|
|
47
|
+
* // LastRefreshTime: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // InstanceUsageSet: [ // CapacityReservationInstanceUsageSet // required
|
|
49
|
+
* // { // CapacityReservationInstanceUsage
|
|
50
|
+
* // AccountId: "STRING_VALUE", // required
|
|
51
|
+
* // InUseInstanceCount: Number("int"), // required
|
|
52
|
+
* // ResourcesUsage: [ // CapacityReservationResourceUsageSet // required
|
|
53
|
+
* // { // CapacityReservationResourceUsage
|
|
54
|
+
* // ResourceType: "HyperPodClusters" || "Endpoints", // required
|
|
55
|
+
* // InUseInstanceCount: Number("int"), // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetCapacityReservationUsageCommandInput - {@link GetCapacityReservationUsageCommandInput}
|
|
66
|
+
* @returns {@link GetCapacityReservationUsageCommandOutput}
|
|
67
|
+
* @see {@link GetCapacityReservationUsageCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetCapacityReservationUsageCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
72
|
+
* <p>Resource being access is not found.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link SageMakerServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetCapacityReservationUsageCommand extends GetCapacityReservationUsageCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: GetCapacityReservationUsageRequest;
|
|
85
|
+
output: GetCapacityReservationUsageResponse;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: GetCapacityReservationUsageCommandInput;
|
|
89
|
+
output: GetCapacityReservationUsageCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ImportHubContentRequest, ImportHubContentResponse } from "../models/
|
|
2
|
+
import type { ImportHubContentRequest, ImportHubContentResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListAIBenchmarkJobsRequest, ListAIBenchmarkJobsResponse } from "../models/
|
|
2
|
+
import type { ListAIBenchmarkJobsRequest, ListAIBenchmarkJobsResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListAIRecommendationJobsRequest } from "../models/
|
|
3
|
-
import type { ListAIRecommendationJobsResponse } from "../models/models_4";
|
|
2
|
+
import type { ListAIRecommendationJobsRequest, ListAIRecommendationJobsResponse } from "../models/models_4";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListCapacityReservationsRequest, ListCapacityReservationsResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListCapacityReservationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListCapacityReservationsCommandInput extends ListCapacityReservationsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListCapacityReservationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListCapacityReservationsCommandOutput extends ListCapacityReservationsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListCapacityReservationsCommand_base: {
|
|
22
|
+
new (input: ListCapacityReservationsCommandInput): import("@smithy/core/client").CommandImpl<ListCapacityReservationsCommandInput, ListCapacityReservationsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListCapacityReservationsCommandInput]): import("@smithy/core/client").CommandImpl<ListCapacityReservationsCommandInput, ListCapacityReservationsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the SageMaker Capacity Reservations in your account.</p> <p>An empty list is a valid response.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, ListCapacityReservationsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, ListCapacityReservationsCommand } = 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 = { // ListCapacityReservationsRequest
|
|
37
|
+
* MaxResults: Number("int"),
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* Filters: [ // CapacityReservationFilters
|
|
40
|
+
* { // CapacityReservationFilter
|
|
41
|
+
* Name: "Status", // required
|
|
42
|
+
* Values: [ // CapacityReservationFilterValues // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListCapacityReservationsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // ListCapacityReservationsResponse
|
|
51
|
+
* // CapacityReservationSummaries: [ // CapacityReservationSummaries // required
|
|
52
|
+
* // { // CapacityReservationSummary
|
|
53
|
+
* // SMCapacityReservationArn: "STRING_VALUE", // required
|
|
54
|
+
* // SMCapacityReservationId: "STRING_VALUE", // required
|
|
55
|
+
* // Owner: "STRING_VALUE", // required
|
|
56
|
+
* // Status: "Scheduled" || "Active" || "Expired", // required
|
|
57
|
+
* // InstanceType: "STRING_VALUE", // required
|
|
58
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
59
|
+
* // AvailabilityZoneId: "STRING_VALUE", // required
|
|
60
|
+
* // TotalInstanceCount: Number("int"), // required
|
|
61
|
+
* // StartTime: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // NextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param ListCapacityReservationsCommandInput - {@link ListCapacityReservationsCommandInput}
|
|
72
|
+
* @returns {@link ListCapacityReservationsCommandOutput}
|
|
73
|
+
* @see {@link ListCapacityReservationsCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link ListCapacityReservationsCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link SageMakerServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class ListCapacityReservationsCommand extends ListCapacityReservationsCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: ListCapacityReservationsRequest;
|
|
88
|
+
output: ListCapacityReservationsResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: ListCapacityReservationsCommandInput;
|
|
92
|
+
output: ListCapacityReservationsCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -57,7 +57,7 @@ declare const ListClusterNodesCommand_base: {
|
|
|
57
57
|
* // LaunchTime: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // LastSoftwareUpdateTime: new Date("TIMESTAMP"),
|
|
59
59
|
* // InstanceStatus: { // ClusterInstanceStatusDetails
|
|
60
|
-
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound", // required
|
|
60
|
+
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound" || "DetachInProgress" || "AttachInProgress", // required
|
|
61
61
|
* // Message: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
63
|
* // UltraServerInfo: { // UltraServerInfo
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListGlobalInferenceGatewaysRequest, ListGlobalInferenceGatewaysResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListGlobalInferenceGatewaysCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListGlobalInferenceGatewaysCommandInput extends ListGlobalInferenceGatewaysRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListGlobalInferenceGatewaysCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListGlobalInferenceGatewaysCommandOutput extends ListGlobalInferenceGatewaysResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListGlobalInferenceGatewaysCommand_base: {
|
|
22
|
+
new (input: ListGlobalInferenceGatewaysCommandInput): import("@smithy/core/client").CommandImpl<ListGlobalInferenceGatewaysCommandInput, ListGlobalInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListGlobalInferenceGatewaysCommandInput]): import("@smithy/core/client").CommandImpl<ListGlobalInferenceGatewaysCommandInput, ListGlobalInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists summaries of the global inference gateways in your account. You can filter the results by status.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, ListGlobalInferenceGatewaysCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, ListGlobalInferenceGatewaysCommand } = 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 = { // ListGlobalInferenceGatewaysRequest
|
|
37
|
+
* Filters: [ // GlobalInferenceGatewayFilters
|
|
38
|
+
* { // GlobalInferenceGatewayFilter
|
|
39
|
+
* Name: "Status", // required
|
|
40
|
+
* Value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* MaxResults: Number("int"),
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListGlobalInferenceGatewaysCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListGlobalInferenceGatewaysResponse
|
|
49
|
+
* // GlobalInferenceGatewaySummaries: [ // GlobalInferenceGatewaySummaries // required
|
|
50
|
+
* // { // GlobalInferenceGatewaySummary
|
|
51
|
+
* // Arn: "STRING_VALUE", // required
|
|
52
|
+
* // Id: "STRING_VALUE", // required
|
|
53
|
+
* // Name: "STRING_VALUE", // required
|
|
54
|
+
* // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
|
|
55
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // NextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListGlobalInferenceGatewaysCommandInput - {@link ListGlobalInferenceGatewaysCommandInput}
|
|
64
|
+
* @returns {@link ListGlobalInferenceGatewaysCommandOutput}
|
|
65
|
+
* @see {@link ListGlobalInferenceGatewaysCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListGlobalInferenceGatewaysCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link SageMakerServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class ListGlobalInferenceGatewaysCommand extends ListGlobalInferenceGatewaysCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: ListGlobalInferenceGatewaysRequest;
|
|
80
|
+
output: ListGlobalInferenceGatewaysResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: ListGlobalInferenceGatewaysCommandInput;
|
|
84
|
+
output: ListGlobalInferenceGatewaysCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListInferenceGatewaysRequest, ListInferenceGatewaysResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListInferenceGatewaysCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListInferenceGatewaysCommandInput extends ListInferenceGatewaysRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListInferenceGatewaysCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListInferenceGatewaysCommandOutput extends ListInferenceGatewaysResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListInferenceGatewaysCommand_base: {
|
|
22
|
+
new (input: ListInferenceGatewaysCommandInput): import("@smithy/core/client").CommandImpl<ListInferenceGatewaysCommandInput, ListInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListInferenceGatewaysCommandInput): import("@smithy/core/client").CommandImpl<ListInferenceGatewaysCommandInput, ListInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the in-cluster inference gateways in a global inference gateway, in the order that they were
|
|
28
|
+
* added. Each summary includes the status of the in-cluster inference gateway and, if the status is
|
|
29
|
+
* `FAILED`, the reason for the failure. `DescribeGlobalInferenceGateway` doesn't return the in-cluster
|
|
30
|
+
* inference gateways; use this operation to list them.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, ListInferenceGatewaysCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, ListInferenceGatewaysCommand } = 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 = { // ListInferenceGatewaysRequest
|
|
40
|
+
* Identifier: "STRING_VALUE", // required
|
|
41
|
+
* Filters: [ // GlobalInferenceGatewayMemberFilters
|
|
42
|
+
* { // GlobalInferenceGatewayMemberFilter
|
|
43
|
+
* Name: "Status" || "ClusterArn", // required
|
|
44
|
+
* Value: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListInferenceGatewaysCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListInferenceGatewaysResponse
|
|
53
|
+
* // InferenceGatewaySummaries: [ // GlobalInferenceGatewayMemberSummaries // required
|
|
54
|
+
* // { // GlobalInferenceGatewayMemberSummary
|
|
55
|
+
* // Name: "STRING_VALUE", // required
|
|
56
|
+
* // Namespace: "STRING_VALUE", // required
|
|
57
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
58
|
+
* // Status: "ADDING" || "ACTIVE" || "REMOVING" || "FAILED",
|
|
59
|
+
* // FailureReason: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListInferenceGatewaysCommandInput - {@link ListInferenceGatewaysCommandInput}
|
|
68
|
+
* @returns {@link ListInferenceGatewaysCommandOutput}
|
|
69
|
+
* @see {@link ListInferenceGatewaysCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListInferenceGatewaysCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
74
|
+
* <p>Resource being access is not found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link SageMakerServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListInferenceGatewaysCommand extends ListInferenceGatewaysCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListInferenceGatewaysRequest;
|
|
87
|
+
output: ListInferenceGatewaysResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListInferenceGatewaysCommandInput;
|
|
91
|
+
output: ListInferenceGatewaysCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { QueryLineageRequest
|
|
2
|
+
import type { QueryLineageRequest } from "../models/models_4";
|
|
3
|
+
import type { QueryLineageResponse } from "../models/models_5";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|