@aws-sdk/client-sagemaker 3.1168.0 → 3.1169.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 +21 -0
- package/dist-cjs/index.js +225 -35
- package/dist-es/SageMaker.js +10 -0
- package/dist-es/commands/DescribeClusterOperationCommand.js +4 -0
- package/dist-es/commands/ListClusterExtensionVersionsCommand.js +4 -0
- package/dist-es/commands/ListClusterOperationsCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +27 -0
- package/dist-es/pagination/ListClusterExtensionVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListClusterOperationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +153 -34
- package/dist-types/SageMaker.d.ts +35 -0
- package/dist-types/SageMakerClient.d.ts +5 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -1
- package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +6 -1
- package/dist-types/commands/DescribeClusterEventCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterExtensionCommand.d.ts +10 -1
- package/dist-types/commands/DescribeClusterOperationCommand.d.ts +106 -0
- package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
- package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterEventsCommand.d.ts +3 -1
- package/dist-types/commands/ListClusterExtensionVersionsCommand.d.ts +78 -0
- package/dist-types/commands/ListClusterExtensionsCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterOperationsCommand.d.ts +91 -0
- package/dist-types/commands/ListClustersCommand.d.ts +1 -2
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopOptimizationJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingSessionCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -1
- package/dist-types/commands/UpdateClusterExtensionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +67 -0
- package/dist-types/models/models_0.d.ts +112 -107
- package/dist-types/models/models_1.d.ts +121 -89
- package/dist-types/models/models_2.d.ts +183 -247
- package/dist-types/models/models_3.d.ts +258 -284
- package/dist-types/models/models_4.d.ts +390 -170
- package/dist-types/models/models_5.d.ts +168 -3
- package/dist-types/pagination/ListClusterExtensionVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListClusterOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/SageMaker.d.ts +65 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterExtensionVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListClusterExtensionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopOptimizationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +36 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -28
- package/dist-types/ts3.4/models/models_1.d.ts +28 -23
- package/dist-types/ts3.4/models/models_2.d.ts +50 -63
- package/dist-types/ts3.4/models/models_3.d.ts +66 -77
- package/dist-types/ts3.4/models/models_4.d.ts +106 -50
- package/dist-types/ts3.4/models/models_5.d.ts +50 -1
- package/dist-types/ts3.4/pagination/ListClusterExtensionVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListClusterOperationsPaginator.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 +16 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StopPipelineExecutionRequest, StopPipelineExecutionResponse } from "../models/
|
|
2
|
+
import type { StopPipelineExecutionRequest, StopPipelineExecutionResponse } 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 { StopTrainingSessionRequest, StopTrainingSessionResponse } from "../models/
|
|
2
|
+
import type { StopTrainingSessionRequest, StopTrainingSessionResponse } 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 { UpdateAppImageConfigRequest, UpdateAppImageConfigResponse } from "../models/
|
|
2
|
+
import type { UpdateAppImageConfigRequest, UpdateAppImageConfigResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -106,7 +106,7 @@ declare const UpdateClusterCommand_base: {
|
|
|
106
106
|
* },
|
|
107
107
|
* ImageId: "STRING_VALUE",
|
|
108
108
|
* AutoPatchConfig: { // ClusterAutoPatchConfig
|
|
109
|
-
* PatchingStrategy: "WhenIdle" || "WhenAllIdle", // required
|
|
109
|
+
* PatchingStrategy: "WhenIdle" || "WhenAllIdle" || "DrainFirst", // required
|
|
110
110
|
* PatchSchedule: { // ClusterPatchSchedule
|
|
111
111
|
* NextPatchDate: new Date("TIMESTAMP"),
|
|
112
112
|
* },
|
|
@@ -128,6 +128,11 @@ declare const UpdateClusterCommand_base: {
|
|
|
128
128
|
* },
|
|
129
129
|
* ],
|
|
130
130
|
* },
|
|
131
|
+
* IdleWaitWindowInSeconds: Number("int"),
|
|
132
|
+
* DrainPolicy: { // ClusterDrainPolicy
|
|
133
|
+
* DrainTimeoutInSeconds: Number("int"),
|
|
134
|
+
* OnDrainTimeout: "Force" || "Skip",
|
|
135
|
+
* },
|
|
131
136
|
* },
|
|
132
137
|
* ImageReleaseVersion: "STRING_VALUE",
|
|
133
138
|
* KubernetesConfig: { // ClusterKubernetesConfig
|
|
@@ -24,7 +24,7 @@ declare const UpdateClusterExtensionCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Updates the configuration or the version of an extension installed on a SageMaker HyperPod cluster. SageMaker HyperPod applies the change to every node in the cluster. You can change the configuration, the version, or both in one request.</p> <ul> <li> <p> <b>Configuration:</b> You can change settings by sending <code>ConfigurationValues</code>. Settings that you include are changed. Settings that you omit keep their current values. A setting with the value <code>null</code> is removed and returns to its default value.</p> </li> <li> <p> <b>Version:</b> You can update to a later version. You can't update to an earlier version. To use an earlier version, delete the extension and create it again with that version.</p> </li> </ul> <p>You can't update an extension while it is being deleted.</p>
|
|
27
|
+
* <p>Updates the configuration or the version of an extension installed on a SageMaker HyperPod cluster. SageMaker HyperPod applies the change to every node in the cluster. You can change the configuration, the version, or both in one request.</p> <ul> <li> <p> <b>Configuration:</b> You can change settings by sending <code>ConfigurationValues</code>. Settings that you include are changed. Settings that you omit keep their current values. A setting with the value <code>null</code> is removed and returns to its default value.</p> </li> <li> <p> <b>Version:</b> You can update to a later version. You can't update to an earlier version. To use an earlier version, delete the extension and create it again with that version.</p> </li> </ul> <p>To retry the operation on nodes where it failed, fix the cause that <code>DescribeClusterExtension</code> reports in <code>Health</code>, and then send an <code>UpdateClusterExtension</code> request that doesn't change the version or the configuration.</p> <p>You can't update an extension while it is being deleted.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -161,6 +161,7 @@ export * from "./DescribeClusterCommand";
|
|
|
161
161
|
export * from "./DescribeClusterEventCommand";
|
|
162
162
|
export * from "./DescribeClusterExtensionCommand";
|
|
163
163
|
export * from "./DescribeClusterNodeCommand";
|
|
164
|
+
export * from "./DescribeClusterOperationCommand";
|
|
164
165
|
export * from "./DescribeClusterSchedulerConfigCommand";
|
|
165
166
|
export * from "./DescribeCodeRepositoryCommand";
|
|
166
167
|
export * from "./DescribeCompilationJobCommand";
|
|
@@ -250,8 +251,10 @@ export * from "./ListAssociationsCommand";
|
|
|
250
251
|
export * from "./ListAutoMLJobsCommand";
|
|
251
252
|
export * from "./ListCandidatesForAutoMLJobCommand";
|
|
252
253
|
export * from "./ListClusterEventsCommand";
|
|
254
|
+
export * from "./ListClusterExtensionVersionsCommand";
|
|
253
255
|
export * from "./ListClusterExtensionsCommand";
|
|
254
256
|
export * from "./ListClusterNodesCommand";
|
|
257
|
+
export * from "./ListClusterOperationsCommand";
|
|
255
258
|
export * from "./ListClusterSchedulerConfigsCommand";
|
|
256
259
|
export * from "./ListClustersCommand";
|
|
257
260
|
export * from "./ListCodeRepositoriesCommand";
|
|
@@ -2449,11 +2449,24 @@ export declare const CleanupFailureErrorCode: {
|
|
|
2449
2449
|
* @public
|
|
2450
2450
|
*/
|
|
2451
2451
|
export type CleanupFailureErrorCode = (typeof CleanupFailureErrorCode)[keyof typeof CleanupFailureErrorCode];
|
|
2452
|
+
/**
|
|
2453
|
+
* @public
|
|
2454
|
+
* @enum
|
|
2455
|
+
*/
|
|
2456
|
+
export declare const ClusterOnDrainTimeout: {
|
|
2457
|
+
readonly FORCE: "Force";
|
|
2458
|
+
readonly SKIP: "Skip";
|
|
2459
|
+
};
|
|
2460
|
+
/**
|
|
2461
|
+
* @public
|
|
2462
|
+
*/
|
|
2463
|
+
export type ClusterOnDrainTimeout = (typeof ClusterOnDrainTimeout)[keyof typeof ClusterOnDrainTimeout];
|
|
2452
2464
|
/**
|
|
2453
2465
|
* @public
|
|
2454
2466
|
* @enum
|
|
2455
2467
|
*/
|
|
2456
2468
|
export declare const ClusterPatchingStrategy: {
|
|
2469
|
+
readonly DRAIN_FIRST: "DrainFirst";
|
|
2457
2470
|
readonly WHEN_ALL_IDLE: "WhenAllIdle";
|
|
2458
2471
|
readonly WHEN_IDLE: "WhenIdle";
|
|
2459
2472
|
};
|
|
@@ -2730,6 +2743,42 @@ export declare const ClusterNodeRecovery: {
|
|
|
2730
2743
|
* @public
|
|
2731
2744
|
*/
|
|
2732
2745
|
export type ClusterNodeRecovery = (typeof ClusterNodeRecovery)[keyof typeof ClusterNodeRecovery];
|
|
2746
|
+
/**
|
|
2747
|
+
* @public
|
|
2748
|
+
* @enum
|
|
2749
|
+
*/
|
|
2750
|
+
export declare const ClusterOperationStatus: {
|
|
2751
|
+
readonly DONE: "Done";
|
|
2752
|
+
readonly IN_PROGRESS: "InProgress";
|
|
2753
|
+
readonly SUPERSEDED: "Superseded";
|
|
2754
|
+
};
|
|
2755
|
+
/**
|
|
2756
|
+
* @public
|
|
2757
|
+
*/
|
|
2758
|
+
export type ClusterOperationStatus = (typeof ClusterOperationStatus)[keyof typeof ClusterOperationStatus];
|
|
2759
|
+
/**
|
|
2760
|
+
* @public
|
|
2761
|
+
* @enum
|
|
2762
|
+
*/
|
|
2763
|
+
export declare const ClusterOperationSortBy: {
|
|
2764
|
+
readonly CREATION_TIME: "CreationTime";
|
|
2765
|
+
};
|
|
2766
|
+
/**
|
|
2767
|
+
* @public
|
|
2768
|
+
*/
|
|
2769
|
+
export type ClusterOperationSortBy = (typeof ClusterOperationSortBy)[keyof typeof ClusterOperationSortBy];
|
|
2770
|
+
/**
|
|
2771
|
+
* @public
|
|
2772
|
+
* @enum
|
|
2773
|
+
*/
|
|
2774
|
+
export declare const ClusterOperationType: {
|
|
2775
|
+
readonly DHC: "DeepHealthCheck";
|
|
2776
|
+
readonly SCALING: "Scaling";
|
|
2777
|
+
};
|
|
2778
|
+
/**
|
|
2779
|
+
* @public
|
|
2780
|
+
*/
|
|
2781
|
+
export type ClusterOperationType = (typeof ClusterOperationType)[keyof typeof ClusterOperationType];
|
|
2733
2782
|
/**
|
|
2734
2783
|
* @public
|
|
2735
2784
|
* @enum
|
|
@@ -4634,6 +4683,24 @@ export declare const ExtensionStatus: {
|
|
|
4634
4683
|
* @public
|
|
4635
4684
|
*/
|
|
4636
4685
|
export type ExtensionStatus = (typeof ExtensionStatus)[keyof typeof ExtensionStatus];
|
|
4686
|
+
/**
|
|
4687
|
+
* @public
|
|
4688
|
+
* @enum
|
|
4689
|
+
*/
|
|
4690
|
+
export declare const ExtensionHealthIssueCode: {
|
|
4691
|
+
readonly ACCESS_DENIED: "AccessDenied";
|
|
4692
|
+
readonly CONFIGURATION_CONFLICT: "ConfigurationConflict";
|
|
4693
|
+
readonly DEPENDENCY_UNREACHABLE: "DependencyUnreachable";
|
|
4694
|
+
readonly EXTENSION_UNHEALTHY: "ExtensionUnhealthy";
|
|
4695
|
+
readonly INTERNAL_FAILURE: "InternalFailure";
|
|
4696
|
+
readonly INVALID_CONFIGURATION: "InvalidConfiguration";
|
|
4697
|
+
readonly OTHER: "Other";
|
|
4698
|
+
readonly RESOURCE_NOT_FOUND: "ResourceNotFound";
|
|
4699
|
+
};
|
|
4700
|
+
/**
|
|
4701
|
+
* @public
|
|
4702
|
+
*/
|
|
4703
|
+
export type ExtensionHealthIssueCode = (typeof ExtensionHealthIssueCode)[keyof typeof ExtensionHealthIssueCode];
|
|
4637
4704
|
/**
|
|
4638
4705
|
* @public
|
|
4639
4706
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, CleanupFailureErrorCode, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterEventLevel, ClusterEventResourceType,
|
|
1
|
+
import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, CleanupFailureErrorCode, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterEventLevel, ClusterEventResourceType, ClusterImageVersionStatus, ClusterInstanceStatus, ClusterInstanceType, ClusterInterfaceType, ClusterKubernetesTaintEffect, ClusterOnDrainTimeout, ClusterOperationStatus, ClusterOperationType, ClusterPatchingStrategy, ClusterSlurmConfigStrategy, ClusterSlurmNodeType, CompressionType, DatabaseConfigurationRollbackStatus, DataSourceName, DeepHealthCheckType, DetailedAlgorithmStatus, FeatureStatus, FileSystemAccessMode, FileSystemType, FillingType, InstanceGroupStatus, LifecycleManagement, MetricSetSource, MIGProfileType, ModelApprovalStatus, ModelCompressionType, ModelPackageRegistrationType, ModelPackageStatus, NodeUnavailabilityType, ObjectiveStatus, OutputCompressionType, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, RecordWrapper, S3DataDistribution, S3DataType, S3ModelDataType, SlurmHealthComponent, SlurmHealthReason, SlurmHealthStatus, SoftwareUpdateStatus, SplitType, TrafficRoutingConfigType, TrainingInputMode, TrainingInstanceType, TrainingRepositoryAccessMode, TransformInstanceType, VolumeAttachmentStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Configuration for allocating accelerator partitions.</p>
|
|
4
4
|
* @public
|
|
@@ -5465,6 +5465,22 @@ export interface DeploymentConfiguration {
|
|
|
5465
5465
|
*/
|
|
5466
5466
|
AutoRollbackConfiguration?: AlarmDetails[] | undefined;
|
|
5467
5467
|
}
|
|
5468
|
+
/**
|
|
5469
|
+
* <p>Specifies how pods are evicted from an instance before it is patched with the <code>DrainFirst</code> strategy. By default, evictions respect Kubernetes Pod Disruption Budgets.</p>
|
|
5470
|
+
* @public
|
|
5471
|
+
*/
|
|
5472
|
+
export interface ClusterDrainPolicy {
|
|
5473
|
+
/**
|
|
5474
|
+
* <p>The maximum time, in seconds, to wait for the pods on an instance to drain. Valid values are from 0 to 5400 (90 minutes). The default is 3600 (1 hour).</p>
|
|
5475
|
+
* @public
|
|
5476
|
+
*/
|
|
5477
|
+
DrainTimeoutInSeconds?: number | undefined;
|
|
5478
|
+
/**
|
|
5479
|
+
* <p>The action to take if the pods on an instance don't drain within <code>DrainTimeoutInSeconds</code>. The default is <code>Skip</code>.</p> <ul> <li> <p> <code>Skip</code>: Doesn't patch the instance. The instance is uncordoned and remains on the previous AMI version. This can leave the instance group partially patched. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.</p> </li> <li> <p> <code>Force</code>: Deletes the remaining pods without respecting Pod Disruption Budgets, and then patches the instance.</p> </li> </ul>
|
|
5480
|
+
* @public
|
|
5481
|
+
*/
|
|
5482
|
+
OnDrainTimeout?: ClusterOnDrainTimeout | undefined;
|
|
5483
|
+
}
|
|
5468
5484
|
/**
|
|
5469
5485
|
* <p>The schedule configuration for automatic patching.</p>
|
|
5470
5486
|
* @public
|
|
@@ -5482,7 +5498,7 @@ export interface ClusterPatchSchedule {
|
|
|
5482
5498
|
*/
|
|
5483
5499
|
export interface ClusterAutoPatchConfig {
|
|
5484
5500
|
/**
|
|
5485
|
-
* <p>The strategy for applying patches to instances in the group.</p> <ul> <li> <p> <code>WhenIdle</code>: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.</p> </li> <li> <p> <code>WhenAllIdle</code>: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.</p> </li> </ul>
|
|
5501
|
+
* <p>The strategy for applying patches to instances in the group.</p> <ul> <li> <p> <code>WhenIdle</code>: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.</p> </li> <li> <p> <code>WhenAllIdle</code>: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.</p> </li> <li> <p> <code>DrainFirst</code>: Designed for workloads that never become idle, such as inference. Cordons instances, evicts the running pods, and then patches each instance in batches. Each instance is uncordoned after patching. Use <code>DrainPolicy</code> to control how long to wait for pods to drain and what happens if the drain times out. Requires <code>MaximumBatchSize</code> in <code>DeploymentConfig</code>. Available only for clusters that use Amazon EKS as the orchestrator.</p> </li> </ul>
|
|
5486
5502
|
* @public
|
|
5487
5503
|
*/
|
|
5488
5504
|
PatchingStrategy: ClusterPatchingStrategy | undefined;
|
|
@@ -5496,6 +5512,16 @@ export interface ClusterAutoPatchConfig {
|
|
|
5496
5512
|
* @public
|
|
5497
5513
|
*/
|
|
5498
5514
|
DeploymentConfig?: DeploymentConfiguration | undefined;
|
|
5515
|
+
/**
|
|
5516
|
+
* <p>The maximum time, in seconds, that automatic patching waits for instances to become idle after a scheduled patch starts. Automatic patching uncordons instances that don't become idle within this window, and they remain on the previous AMI version. Valid values are from 3600 (1 hour) to 2160000 (25 days). The default is 86400 (24 hours). This setting applies only to the <code>WhenIdle</code> and <code>WhenAllIdle</code> strategies.</p>
|
|
5517
|
+
* @public
|
|
5518
|
+
*/
|
|
5519
|
+
IdleWaitWindowInSeconds?: number | undefined;
|
|
5520
|
+
/**
|
|
5521
|
+
* <p>The policy that controls how pods are evicted from an instance before it is patched. Valid only when <code>PatchingStrategy</code> is <code>DrainFirst</code>.</p>
|
|
5522
|
+
* @public
|
|
5523
|
+
*/
|
|
5524
|
+
DrainPolicy?: ClusterDrainPolicy | undefined;
|
|
5499
5525
|
}
|
|
5500
5526
|
/**
|
|
5501
5527
|
* <p>The schedule details for automatic patching, including the next scheduled patch date.</p>
|
|
@@ -5514,7 +5540,7 @@ export interface ClusterPatchScheduleDetails {
|
|
|
5514
5540
|
*/
|
|
5515
5541
|
export interface ClusterAutoPatchConfigDetails {
|
|
5516
5542
|
/**
|
|
5517
|
-
* <p>The strategy used for applying patches to instances in the group.</p> <ul> <li> <p> <code>WhenIdle</code>: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.</p> </li> <li> <p> <code>WhenAllIdle</code>: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.</p> </li> </ul>
|
|
5543
|
+
* <p>The strategy used for applying patches to instances in the group.</p> <ul> <li> <p> <code>WhenIdle</code>: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.</p> </li> <li> <p> <code>WhenAllIdle</code>: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.</p> </li> <li> <p> <code>DrainFirst</code>: Designed for workloads that never become idle, such as inference. Cordons instances, evicts the running pods, and then patches each instance in batches. Each instance is uncordoned after patching. Use <code>DrainPolicy</code> to control how long to wait for pods to drain and what happens if the drain times out. Requires <code>MaximumBatchSize</code> in <code>DeploymentConfig</code>. Available only for clusters that use Amazon EKS as the orchestrator.</p> </li> </ul>
|
|
5518
5544
|
* @public
|
|
5519
5545
|
*/
|
|
5520
5546
|
PatchingStrategy?: ClusterPatchingStrategy | undefined;
|
|
@@ -5533,6 +5559,16 @@ export interface ClusterAutoPatchConfigDetails {
|
|
|
5533
5559
|
* @public
|
|
5534
5560
|
*/
|
|
5535
5561
|
DeploymentConfig?: DeploymentConfiguration | undefined;
|
|
5562
|
+
/**
|
|
5563
|
+
* <p>The maximum time, in seconds, that automatic patching waits for instances to become idle after a scheduled patch starts. Automatic patching uncordons instances that don't become idle within this window, and they remain on the previous AMI version. The default is 86400 (24 hours).</p>
|
|
5564
|
+
* @public
|
|
5565
|
+
*/
|
|
5566
|
+
IdleWaitWindowInSeconds?: number | undefined;
|
|
5567
|
+
/**
|
|
5568
|
+
* <p>The policy that controls how pods are evicted from an instance before it is patched. Applies only when <code>PatchingStrategy</code> is <code>DrainFirst</code>.</p>
|
|
5569
|
+
* @public
|
|
5570
|
+
*/
|
|
5571
|
+
DrainPolicy?: ClusterDrainPolicy | undefined;
|
|
5536
5572
|
}
|
|
5537
5573
|
/**
|
|
5538
5574
|
* <p>Specifies the autoscaling configuration for a HyperPod cluster.</p>
|
|
@@ -5986,6 +6022,11 @@ export interface ClusterEventDetail {
|
|
|
5986
6022
|
* @public
|
|
5987
6023
|
*/
|
|
5988
6024
|
EventLevel?: ClusterEventLevel | undefined;
|
|
6025
|
+
/**
|
|
6026
|
+
* <p>The unique identifier (UUID) of the cluster operation that the event is associated with, such as a scaling operation. This field is not returned when the event is not associated with an operation.</p>
|
|
6027
|
+
* @public
|
|
6028
|
+
*/
|
|
6029
|
+
OperationId?: string | undefined;
|
|
5989
6030
|
}
|
|
5990
6031
|
/**
|
|
5991
6032
|
* <p>A summary of an event in a HyperPod cluster.</p>
|
|
@@ -6037,6 +6078,11 @@ export interface ClusterEventSummary {
|
|
|
6037
6078
|
* @public
|
|
6038
6079
|
*/
|
|
6039
6080
|
EventLevel?: ClusterEventLevel | undefined;
|
|
6081
|
+
/**
|
|
6082
|
+
* <p>The unique identifier (UUID) of the cluster operation that the event is associated with, such as a scaling operation. This field is not returned when the event is not associated with an operation.</p>
|
|
6083
|
+
* @public
|
|
6084
|
+
*/
|
|
6085
|
+
OperationId?: string | undefined;
|
|
6040
6086
|
}
|
|
6041
6087
|
/**
|
|
6042
6088
|
* <p>Defines the configuration for attaching an Amazon FSx for Lustre file system to instances in a SageMaker HyperPod cluster instance group.</p>
|
|
@@ -6865,180 +6911,139 @@ export interface ClusterNodeSummary {
|
|
|
6865
6911
|
ImageVersionStatus?: ClusterImageVersionStatus | undefined;
|
|
6866
6912
|
}
|
|
6867
6913
|
/**
|
|
6868
|
-
* <p>
|
|
6869
|
-
* @public
|
|
6870
|
-
*/
|
|
6871
|
-
export interface ClusterOrchestratorEksConfig {
|
|
6872
|
-
/**
|
|
6873
|
-
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.</p>
|
|
6874
|
-
* @public
|
|
6875
|
-
*/
|
|
6876
|
-
ClusterArn: string | undefined;
|
|
6877
|
-
}
|
|
6878
|
-
/**
|
|
6879
|
-
* <p>The configuration settings for the Slurm orchestrator used with the SageMaker HyperPod cluster.</p>
|
|
6914
|
+
* <p>A point-in-time snapshot of an instance group's scaling configuration. This structure represents both the original configuration before the operation and the desired configuration requested by the operation.</p>
|
|
6880
6915
|
* @public
|
|
6881
6916
|
*/
|
|
6882
|
-
export interface
|
|
6883
|
-
/**
|
|
6884
|
-
* <p>The strategy for managing partitions for the Slurm configuration. Valid values are <code>Managed</code>, <code>Overwrite</code>, and <code>Merge</code>.</p>
|
|
6885
|
-
* @public
|
|
6886
|
-
*/
|
|
6887
|
-
SlurmConfigStrategy?: ClusterSlurmConfigStrategy | undefined;
|
|
6917
|
+
export interface ClusterOperationScalingConfiguration {
|
|
6888
6918
|
/**
|
|
6889
|
-
* <p>The
|
|
6919
|
+
* <p>The number of instances that were in the instance group at the time of the operation.</p>
|
|
6890
6920
|
* @public
|
|
6891
6921
|
*/
|
|
6892
|
-
|
|
6893
|
-
}
|
|
6894
|
-
/**
|
|
6895
|
-
* <p>The type of orchestrator used for the SageMaker HyperPod cluster.</p>
|
|
6896
|
-
* @public
|
|
6897
|
-
*/
|
|
6898
|
-
export interface ClusterOrchestrator {
|
|
6922
|
+
CurrentCount?: number | undefined;
|
|
6899
6923
|
/**
|
|
6900
|
-
* <p>The
|
|
6924
|
+
* <p>The target number of instances for the instance group.</p>
|
|
6901
6925
|
* @public
|
|
6902
6926
|
*/
|
|
6903
|
-
|
|
6927
|
+
TargetCount?: number | undefined;
|
|
6904
6928
|
/**
|
|
6905
|
-
* <p>The
|
|
6929
|
+
* <p>The minimum number of instances that must be available in the instance group of a HyperPod cluster before it transitions to <code>InService</code> status. </p>
|
|
6906
6930
|
* @public
|
|
6907
6931
|
*/
|
|
6908
|
-
|
|
6932
|
+
MinCount?: number | undefined;
|
|
6909
6933
|
}
|
|
6910
6934
|
/**
|
|
6911
|
-
* <p>
|
|
6935
|
+
* <p>The scaling details for a single instance group that is affected by a cluster operation.</p>
|
|
6912
6936
|
* @public
|
|
6913
6937
|
*/
|
|
6914
|
-
export interface
|
|
6938
|
+
export interface ClusterOperationScalingDetails {
|
|
6915
6939
|
/**
|
|
6916
|
-
* <p>The
|
|
6940
|
+
* <p>The name of the instance group being scaled.</p>
|
|
6917
6941
|
* @public
|
|
6918
6942
|
*/
|
|
6919
|
-
|
|
6943
|
+
InstanceGroupName?: string | undefined;
|
|
6920
6944
|
/**
|
|
6921
|
-
* <p>The
|
|
6945
|
+
* <p>The status of the scaling operation for this instance group. Valid values are <code>InProgress</code>, <code>Superseded</code>, or <code>Done</code>.</p>
|
|
6922
6946
|
* @public
|
|
6923
6947
|
*/
|
|
6924
|
-
|
|
6925
|
-
}
|
|
6926
|
-
/**
|
|
6927
|
-
* <p>The configuration details for the restricted instance groups (RIG) environment.</p>
|
|
6928
|
-
* @public
|
|
6929
|
-
*/
|
|
6930
|
-
export interface EnvironmentConfigDetails {
|
|
6948
|
+
Status?: ClusterOperationStatus | undefined;
|
|
6931
6949
|
/**
|
|
6932
|
-
* <p>
|
|
6950
|
+
* <p>The scaling configuration of the instance group before the scaling operation was applied, including its current, target, and minimum instance counts.</p>
|
|
6933
6951
|
* @public
|
|
6934
6952
|
*/
|
|
6935
|
-
|
|
6953
|
+
Original?: ClusterOperationScalingConfiguration | undefined;
|
|
6936
6954
|
/**
|
|
6937
|
-
* <p>The
|
|
6955
|
+
* <p>The desired scaling configuration of the instance group for the scaling operation, including its target and minimum instance counts.</p>
|
|
6938
6956
|
* @public
|
|
6939
6957
|
*/
|
|
6940
|
-
|
|
6958
|
+
Desired?: ClusterOperationScalingConfiguration | undefined;
|
|
6941
6959
|
}
|
|
6942
6960
|
/**
|
|
6943
|
-
* <p>
|
|
6961
|
+
* <p>A summary of an operation performed on a HyperPod cluster.</p>
|
|
6944
6962
|
* @public
|
|
6945
6963
|
*/
|
|
6946
|
-
export interface
|
|
6947
|
-
/**
|
|
6948
|
-
* <p>The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.</p>
|
|
6949
|
-
* @public
|
|
6950
|
-
*/
|
|
6951
|
-
CurrentCount?: number | undefined;
|
|
6952
|
-
/**
|
|
6953
|
-
* <p>The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.</p>
|
|
6954
|
-
* @public
|
|
6955
|
-
*/
|
|
6956
|
-
TargetCount?: number | undefined;
|
|
6964
|
+
export interface ClusterOperationSummary {
|
|
6957
6965
|
/**
|
|
6958
|
-
* <p>The
|
|
6966
|
+
* <p>The unique identifier (UUID) of the operation.</p>
|
|
6959
6967
|
* @public
|
|
6960
6968
|
*/
|
|
6961
|
-
|
|
6969
|
+
OperationId?: string | undefined;
|
|
6962
6970
|
/**
|
|
6963
|
-
* <p>The
|
|
6971
|
+
* <p>The Amazon Resource Name (ARN) of the HyperPod cluster associated with the operation.</p>
|
|
6964
6972
|
* @public
|
|
6965
6973
|
*/
|
|
6966
|
-
|
|
6974
|
+
ClusterArn?: string | undefined;
|
|
6967
6975
|
/**
|
|
6968
|
-
* <p>The
|
|
6976
|
+
* <p>The type of the operation. Valid values are <code>Scaling</code> or <code>DeepHealthCheck</code>.</p>
|
|
6969
6977
|
* @public
|
|
6970
6978
|
*/
|
|
6971
|
-
|
|
6979
|
+
Type?: ClusterOperationType | undefined;
|
|
6972
6980
|
/**
|
|
6973
|
-
* <p>The
|
|
6981
|
+
* <p>The current status of the operation. Valid values are <code>InProgress</code>, <code>Superseded</code>, or <code>Done</code>.</p>
|
|
6974
6982
|
* @public
|
|
6975
6983
|
*/
|
|
6976
|
-
|
|
6984
|
+
Status?: ClusterOperationStatus | undefined;
|
|
6977
6985
|
/**
|
|
6978
|
-
* <p>The
|
|
6986
|
+
* <p>The timestamp when the operation was created.</p>
|
|
6979
6987
|
* @public
|
|
6980
6988
|
*/
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
* <p>The current status of the cluster's restricted instance group.</p> <ul> <li> <p> <code>InService</code>: The restricted instance group is active and healthy.</p> </li> <li> <p> <code>Creating</code>: The restricted instance group is being provisioned.</p> </li> <li> <p> <code>Updating</code>: The restricted instance group is being updated.</p> </li> <li> <p> <code>Failed</code>: The restricted instance group has failed to provision or is no longer healthy.</p> </li> <li> <p> <code>Degraded</code>: The restricted instance group is degraded, meaning that some instances have failed to provision or are no longer healthy.</p> </li> <li> <p> <code>Deleting</code>: The restricted instance group is being deleted.</p> </li> </ul>
|
|
6989
|
-
* @public
|
|
6990
|
-
*/
|
|
6991
|
-
Status?: InstanceGroupStatus | undefined;
|
|
6992
|
-
/**
|
|
6993
|
-
* <p>The Amazon Resource Name (ARN) of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
|
|
6994
|
-
* @public
|
|
6995
|
-
*/
|
|
6996
|
-
TrainingPlanArn?: string | undefined;
|
|
6997
|
-
/**
|
|
6998
|
-
* <p>The current status of the training plan associated with this cluster restricted instance group.</p>
|
|
6999
|
-
* @public
|
|
7000
|
-
*/
|
|
7001
|
-
TrainingPlanStatus?: string | undefined;
|
|
6989
|
+
CreationTime?: Date | undefined;
|
|
6990
|
+
}
|
|
6991
|
+
/**
|
|
6992
|
+
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
|
|
6993
|
+
* @public
|
|
6994
|
+
*/
|
|
6995
|
+
export interface ClusterOrchestratorEksConfig {
|
|
7002
6996
|
/**
|
|
7003
|
-
* <p>
|
|
6997
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.</p>
|
|
7004
6998
|
* @public
|
|
7005
6999
|
*/
|
|
7006
|
-
|
|
7000
|
+
ClusterArn: string | undefined;
|
|
7001
|
+
}
|
|
7002
|
+
/**
|
|
7003
|
+
* <p>The configuration settings for the Slurm orchestrator used with the SageMaker HyperPod cluster.</p>
|
|
7004
|
+
* @public
|
|
7005
|
+
*/
|
|
7006
|
+
export interface ClusterOrchestratorSlurmConfig {
|
|
7007
7007
|
/**
|
|
7008
|
-
* <p>The
|
|
7008
|
+
* <p>The strategy for managing partitions for the Slurm configuration. Valid values are <code>Managed</code>, <code>Overwrite</code>, and <code>Merge</code>.</p>
|
|
7009
7009
|
* @public
|
|
7010
7010
|
*/
|
|
7011
|
-
|
|
7011
|
+
SlurmConfigStrategy?: ClusterSlurmConfigStrategy | undefined;
|
|
7012
7012
|
/**
|
|
7013
|
-
* <p>The
|
|
7013
|
+
* <p>The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage. When you omit this field, Slurm accounting uses a database on the cluster's controller node.</p> <note> <p>This field is only supported for clusters using <code>Continuous</code> as the <code>NodeProvisioningMode</code>.</p> </note>
|
|
7014
7014
|
* @public
|
|
7015
7015
|
*/
|
|
7016
|
-
|
|
7016
|
+
AccountingDatabase?: ClusterAccountingDatabase | undefined;
|
|
7017
7017
|
}
|
|
7018
7018
|
/**
|
|
7019
|
-
* <p>The
|
|
7019
|
+
* <p>The type of orchestrator used for the SageMaker HyperPod cluster.</p>
|
|
7020
7020
|
* @public
|
|
7021
7021
|
*/
|
|
7022
|
-
export interface
|
|
7022
|
+
export interface ClusterOrchestrator {
|
|
7023
7023
|
/**
|
|
7024
|
-
* <p>The
|
|
7024
|
+
* <p>The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
|
|
7025
7025
|
* @public
|
|
7026
7026
|
*/
|
|
7027
|
-
|
|
7027
|
+
Eks?: ClusterOrchestratorEksConfig | undefined;
|
|
7028
7028
|
/**
|
|
7029
|
-
* <p>
|
|
7029
|
+
* <p>The Slurm orchestrator configuration for the SageMaker HyperPod cluster.</p>
|
|
7030
7030
|
* @public
|
|
7031
7031
|
*/
|
|
7032
|
-
|
|
7032
|
+
Slurm?: ClusterOrchestratorSlurmConfig | undefined;
|
|
7033
7033
|
}
|
|
7034
7034
|
/**
|
|
7035
|
-
* <p>
|
|
7035
|
+
* <p>Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.</p>
|
|
7036
7036
|
* @public
|
|
7037
7037
|
*/
|
|
7038
|
-
export interface
|
|
7038
|
+
export interface FSxLustreConfig {
|
|
7039
|
+
/**
|
|
7040
|
+
* <p>The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).</p>
|
|
7041
|
+
* @public
|
|
7042
|
+
*/
|
|
7043
|
+
SizeInGiB: number | undefined;
|
|
7039
7044
|
/**
|
|
7040
|
-
* <p>The
|
|
7045
|
+
* <p>The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.</p>
|
|
7041
7046
|
* @public
|
|
7042
7047
|
*/
|
|
7043
|
-
|
|
7048
|
+
PerUnitStorageThroughput: number | undefined;
|
|
7044
7049
|
}
|