@aws-sdk/client-sagemaker 3.1143.0 → 3.1144.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/dist-cjs/index.js +58 -9
- package/dist-es/models/enums.js +17 -0
- package/dist-es/schemas/schemas_0.js +33 -8
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +6 -0
- package/dist-types/commands/DescribeClusterEventCommand.d.ts +10 -0
- package/dist-types/commands/DescribeHubCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHubContentCommand.d.ts +1 -2
- package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +2 -1
- package/dist-types/commands/ListHubContentsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -0
- package/dist-types/commands/UpdateImageVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +1 -2
- package/dist-types/models/enums.d.ts +49 -0
- package/dist-types/models/models_0.d.ts +113 -70
- package/dist-types/models/models_1.d.ts +70 -100
- package/dist-types/models/models_2.d.ts +101 -99
- package/dist-types/models/models_3.d.ts +99 -88
- package/dist-types/models/models_4.d.ts +90 -110
- package/dist-types/models/models_5.d.ts +109 -4
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeHubContentCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListHubContentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateImageVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInferenceComponentCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -17
- package/dist-types/ts3.4/models/models_1.d.ts +17 -26
- package/dist-types/ts3.4/models/models_2.d.ts +27 -26
- package/dist-types/ts3.4/models/models_3.d.ts +24 -23
- package/dist-types/ts3.4/models/models_4.d.ts +23 -32
- package/dist-types/ts3.4/models/models_5.d.ts +30 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType,
|
|
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, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterEventLevel, ClusterEventResourceType, ClusterFSxLustreDeletionPolicy, ClusterImageVersionStatus, ClusterInstanceStatus, ClusterInstanceType, ClusterInterfaceType, ClusterKubernetesTaintEffect, ClusterPatchingStrategy, ClusterSlurmConfigStrategy, ClusterSlurmNodeType, ClusterStatus, 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, SchedulerResourceStatus, 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
|
|
@@ -5296,6 +5296,32 @@ export interface ClarifyExplainerConfig {
|
|
|
5296
5296
|
*/
|
|
5297
5297
|
ShapConfig: ClarifyShapConfig | undefined;
|
|
5298
5298
|
}
|
|
5299
|
+
/**
|
|
5300
|
+
* <p>The external MySQL-compatible database that the Slurm accounting daemon (<code>slurmdbd</code>) connects to for a SageMaker HyperPod cluster. You provide the database credentials in an Amazon Web Services Secrets Manager secret instead of in the request.</p>
|
|
5301
|
+
* @public
|
|
5302
|
+
*/
|
|
5303
|
+
export interface ClusterAccountingDatabase {
|
|
5304
|
+
/**
|
|
5305
|
+
* <p>The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.</p>
|
|
5306
|
+
* @public
|
|
5307
|
+
*/
|
|
5308
|
+
Endpoint: string | undefined;
|
|
5309
|
+
/**
|
|
5310
|
+
* <p>The port that the accounting database listens on. The default is <code>3306</code>.</p>
|
|
5311
|
+
* @public
|
|
5312
|
+
*/
|
|
5313
|
+
Port?: number | undefined;
|
|
5314
|
+
/**
|
|
5315
|
+
* <p>The name of the database schema that stores the Slurm accounting data. The default is <code>slurm_acct_db_</code> followed by the cluster ID from the cluster ARN, for example <code>slurm_acct_db_a1b2c3d4e5f6</code>.</p>
|
|
5316
|
+
* @public
|
|
5317
|
+
*/
|
|
5318
|
+
Name?: string | undefined;
|
|
5319
|
+
/**
|
|
5320
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.</p>
|
|
5321
|
+
* @public
|
|
5322
|
+
*/
|
|
5323
|
+
SecretArn: string | undefined;
|
|
5324
|
+
}
|
|
5299
5325
|
/**
|
|
5300
5326
|
* <p>The configurations that SageMaker uses when updating the AMI versions.</p>
|
|
5301
5327
|
* @public
|
|
@@ -5514,6 +5540,27 @@ export interface ClusterMetadata {
|
|
|
5514
5540
|
*/
|
|
5515
5541
|
SlrAccessEntry?: string | undefined;
|
|
5516
5542
|
}
|
|
5543
|
+
/**
|
|
5544
|
+
* <p>Metadata information about a change to the external Slurm accounting database of a HyperPod cluster.</p>
|
|
5545
|
+
* @public
|
|
5546
|
+
*/
|
|
5547
|
+
export interface DatabaseConfigurationMetadata {
|
|
5548
|
+
/**
|
|
5549
|
+
* <p>Whether HyperPod restored the previous accounting database configuration after the change failed. Valid values:</p> <ul> <li> <p> <code>NotApplicable</code>: The change failed before HyperPod modified the cluster, for example because the database could not be reached or rejected the credentials, so there was nothing to restore.</p> </li> <li> <p> <code>Reverted</code>: The change failed after it was applied, and HyperPod restored the previous configuration. The cluster continues to use the previous accounting database.</p> </li> <li> <p> <code>RevertFailed</code>: The change failed and HyperPod could not restore the previous configuration, so Slurm accounting on the cluster might not be working.</p> </li> </ul> <p>This field is omitted when the change succeeds.</p>
|
|
5550
|
+
* @public
|
|
5551
|
+
*/
|
|
5552
|
+
RollbackStatus?: DatabaseConfigurationRollbackStatus | undefined;
|
|
5553
|
+
/**
|
|
5554
|
+
* <p>Additional information about a change that succeeded, such as an action to take on the cluster.</p>
|
|
5555
|
+
* @public
|
|
5556
|
+
*/
|
|
5557
|
+
Advisory?: string | undefined;
|
|
5558
|
+
/**
|
|
5559
|
+
* <p>An error message describing why the accounting database change failed, and how to resolve it.</p>
|
|
5560
|
+
* @public
|
|
5561
|
+
*/
|
|
5562
|
+
FailureMessage?: string | undefined;
|
|
5563
|
+
}
|
|
5517
5564
|
/**
|
|
5518
5565
|
* <p>The customer ENI and additional ENIs associated with a network interface category.</p>
|
|
5519
5566
|
* @public
|
|
@@ -5633,11 +5680,32 @@ export interface InstanceGroupScalingMetadata {
|
|
|
5633
5680
|
*/
|
|
5634
5681
|
FailureMessage?: string | undefined;
|
|
5635
5682
|
}
|
|
5683
|
+
/**
|
|
5684
|
+
* <p>Metadata information about the health of a Slurm component on the controller node of a HyperPod cluster.</p>
|
|
5685
|
+
* @public
|
|
5686
|
+
*/
|
|
5687
|
+
export interface SlurmHealthMetadata {
|
|
5688
|
+
/**
|
|
5689
|
+
* <p>The Slurm component that the health information describes. The valid value is <code>Slurmdbd</code>, the Slurm accounting daemon.</p>
|
|
5690
|
+
* @public
|
|
5691
|
+
*/
|
|
5692
|
+
Component: SlurmHealthComponent | undefined;
|
|
5693
|
+
/**
|
|
5694
|
+
* <p>The health of the component. Valid values are <code>Healthy</code> and <code>Unhealthy</code>.</p>
|
|
5695
|
+
* @public
|
|
5696
|
+
*/
|
|
5697
|
+
Status: SlurmHealthStatus | undefined;
|
|
5698
|
+
/**
|
|
5699
|
+
* <p>The reason the component is unhealthy. Valid values:</p> <ul> <li> <p> <code>DaemonDown</code>: The daemon is not running, so job accounting records are not being written.</p> </li> <li> <p> <code>DaemonDisabled</code>: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts.</p> </li> <li> <p> <code>DbUnreachable</code>: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.</p> </li> </ul> <p>This field is omitted when the component is healthy.</p>
|
|
5700
|
+
* @public
|
|
5701
|
+
*/
|
|
5702
|
+
Reason?: SlurmHealthReason | undefined;
|
|
5703
|
+
}
|
|
5636
5704
|
/**
|
|
5637
5705
|
* <p>Metadata associated with a cluster event, which may include details about various resource types.</p>
|
|
5638
5706
|
* @public
|
|
5639
5707
|
*/
|
|
5640
|
-
export type EventMetadata = EventMetadata.ClusterMember | EventMetadata.InstanceMember | EventMetadata.InstanceGroupMember | EventMetadata.InstanceGroupScalingMember | EventMetadata.$UnknownMember;
|
|
5708
|
+
export type EventMetadata = EventMetadata.ClusterMember | EventMetadata.DatabaseConfigurationMember | EventMetadata.InstanceMember | EventMetadata.InstanceGroupMember | EventMetadata.InstanceGroupScalingMember | EventMetadata.SlurmHealthMember | EventMetadata.$UnknownMember;
|
|
5641
5709
|
/**
|
|
5642
5710
|
* @public
|
|
5643
5711
|
*/
|
|
@@ -5651,6 +5719,8 @@ export declare namespace EventMetadata {
|
|
|
5651
5719
|
InstanceGroup?: never;
|
|
5652
5720
|
InstanceGroupScaling?: never;
|
|
5653
5721
|
Instance?: never;
|
|
5722
|
+
DatabaseConfiguration?: never;
|
|
5723
|
+
SlurmHealth?: never;
|
|
5654
5724
|
$unknown?: never;
|
|
5655
5725
|
}
|
|
5656
5726
|
/**
|
|
@@ -5662,6 +5732,8 @@ export declare namespace EventMetadata {
|
|
|
5662
5732
|
InstanceGroup: InstanceGroupMetadata;
|
|
5663
5733
|
InstanceGroupScaling?: never;
|
|
5664
5734
|
Instance?: never;
|
|
5735
|
+
DatabaseConfiguration?: never;
|
|
5736
|
+
SlurmHealth?: never;
|
|
5665
5737
|
$unknown?: never;
|
|
5666
5738
|
}
|
|
5667
5739
|
/**
|
|
@@ -5673,6 +5745,8 @@ export declare namespace EventMetadata {
|
|
|
5673
5745
|
InstanceGroup?: never;
|
|
5674
5746
|
InstanceGroupScaling: InstanceGroupScalingMetadata;
|
|
5675
5747
|
Instance?: never;
|
|
5748
|
+
DatabaseConfiguration?: never;
|
|
5749
|
+
SlurmHealth?: never;
|
|
5676
5750
|
$unknown?: never;
|
|
5677
5751
|
}
|
|
5678
5752
|
/**
|
|
@@ -5684,6 +5758,34 @@ export declare namespace EventMetadata {
|
|
|
5684
5758
|
InstanceGroup?: never;
|
|
5685
5759
|
InstanceGroupScaling?: never;
|
|
5686
5760
|
Instance: InstanceMetadata;
|
|
5761
|
+
DatabaseConfiguration?: never;
|
|
5762
|
+
SlurmHealth?: never;
|
|
5763
|
+
$unknown?: never;
|
|
5764
|
+
}
|
|
5765
|
+
/**
|
|
5766
|
+
* <p>Metadata specific to events about the external Slurm accounting database of the cluster.</p>
|
|
5767
|
+
* @public
|
|
5768
|
+
*/
|
|
5769
|
+
interface DatabaseConfigurationMember {
|
|
5770
|
+
Cluster?: never;
|
|
5771
|
+
InstanceGroup?: never;
|
|
5772
|
+
InstanceGroupScaling?: never;
|
|
5773
|
+
Instance?: never;
|
|
5774
|
+
DatabaseConfiguration: DatabaseConfigurationMetadata;
|
|
5775
|
+
SlurmHealth?: never;
|
|
5776
|
+
$unknown?: never;
|
|
5777
|
+
}
|
|
5778
|
+
/**
|
|
5779
|
+
* <p>Metadata specific to events about the health of the Slurm components on the controller node of the cluster.</p>
|
|
5780
|
+
* @public
|
|
5781
|
+
*/
|
|
5782
|
+
interface SlurmHealthMember {
|
|
5783
|
+
Cluster?: never;
|
|
5784
|
+
InstanceGroup?: never;
|
|
5785
|
+
InstanceGroupScaling?: never;
|
|
5786
|
+
Instance?: never;
|
|
5787
|
+
DatabaseConfiguration?: never;
|
|
5788
|
+
SlurmHealth: SlurmHealthMetadata;
|
|
5687
5789
|
$unknown?: never;
|
|
5688
5790
|
}
|
|
5689
5791
|
/**
|
|
@@ -5694,6 +5796,8 @@ export declare namespace EventMetadata {
|
|
|
5694
5796
|
InstanceGroup?: never;
|
|
5695
5797
|
InstanceGroupScaling?: never;
|
|
5696
5798
|
Instance?: never;
|
|
5799
|
+
DatabaseConfiguration?: never;
|
|
5800
|
+
SlurmHealth?: never;
|
|
5697
5801
|
$unknown: [string, any];
|
|
5698
5802
|
}
|
|
5699
5803
|
/**
|
|
@@ -5705,6 +5809,8 @@ export declare namespace EventMetadata {
|
|
|
5705
5809
|
InstanceGroup: (value: InstanceGroupMetadata) => T;
|
|
5706
5810
|
InstanceGroupScaling: (value: InstanceGroupScalingMetadata) => T;
|
|
5707
5811
|
Instance: (value: InstanceMetadata) => T;
|
|
5812
|
+
DatabaseConfiguration: (value: DatabaseConfigurationMetadata) => T;
|
|
5813
|
+
SlurmHealth: (value: SlurmHealthMetadata) => T;
|
|
5708
5814
|
_: (name: string, value: any) => T;
|
|
5709
5815
|
}
|
|
5710
5816
|
}
|
|
@@ -6673,6 +6779,11 @@ export interface ClusterOrchestratorSlurmConfig {
|
|
|
6673
6779
|
* @public
|
|
6674
6780
|
*/
|
|
6675
6781
|
SlurmConfigStrategy?: ClusterSlurmConfigStrategy | undefined;
|
|
6782
|
+
/**
|
|
6783
|
+
* <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>
|
|
6784
|
+
* @public
|
|
6785
|
+
*/
|
|
6786
|
+
AccountingDatabase?: ClusterAccountingDatabase | undefined;
|
|
6676
6787
|
}
|
|
6677
6788
|
/**
|
|
6678
6789
|
* <p>The type of orchestrator used for the SageMaker HyperPod cluster.</p>
|
|
@@ -7016,71 +7127,3 @@ export interface ClusterSummary {
|
|
|
7016
7127
|
*/
|
|
7017
7128
|
ImageVersionStatus?: ClusterImageVersionStatus | undefined;
|
|
7018
7129
|
}
|
|
7019
|
-
/**
|
|
7020
|
-
* <p>Defines the configuration for managed tier checkpointing in a HyperPod cluster. Managed tier checkpointing uses multiple storage tiers, including cluster CPU memory, to provide faster checkpoint operations and improved fault tolerance for large-scale model training. The system automatically saves checkpoints at high frequency to memory and periodically persists them to durable storage, like Amazon S3.</p>
|
|
7021
|
-
* @public
|
|
7022
|
-
*/
|
|
7023
|
-
export interface ClusterTieredStorageConfig {
|
|
7024
|
-
/**
|
|
7025
|
-
* <p>Specifies whether managed tier checkpointing is enabled or disabled for the HyperPod cluster. When set to <code>Enable</code>, the system installs a memory management daemon that provides disaggregated memory as a service for checkpoint storage. When set to <code>Disable</code>, the feature is turned off and the memory management daemon is removed from the cluster.</p>
|
|
7026
|
-
* @public
|
|
7027
|
-
*/
|
|
7028
|
-
Mode: ClusterConfigMode | undefined;
|
|
7029
|
-
/**
|
|
7030
|
-
* <p>The percentage (int) of cluster memory to allocate for checkpointing.</p>
|
|
7031
|
-
* @public
|
|
7032
|
-
*/
|
|
7033
|
-
InstanceMemoryAllocationPercentage?: number | undefined;
|
|
7034
|
-
}
|
|
7035
|
-
/**
|
|
7036
|
-
* <p>A custom SageMaker AI image. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html">Bring your own SageMaker AI image</a>.</p>
|
|
7037
|
-
* @public
|
|
7038
|
-
*/
|
|
7039
|
-
export interface CustomImage {
|
|
7040
|
-
/**
|
|
7041
|
-
* <p>The name of the CustomImage. Must be unique to your account.</p>
|
|
7042
|
-
* @public
|
|
7043
|
-
*/
|
|
7044
|
-
ImageName: string | undefined;
|
|
7045
|
-
/**
|
|
7046
|
-
* <p>The version number of the CustomImage.</p>
|
|
7047
|
-
* @public
|
|
7048
|
-
*/
|
|
7049
|
-
ImageVersionNumber?: number | undefined;
|
|
7050
|
-
/**
|
|
7051
|
-
* <p>The name of the AppImageConfig.</p>
|
|
7052
|
-
* @public
|
|
7053
|
-
*/
|
|
7054
|
-
AppImageConfigName: string | undefined;
|
|
7055
|
-
}
|
|
7056
|
-
/**
|
|
7057
|
-
* <p>The Code Editor application settings.</p> <p>For more information about Code Editor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html">Get started with Code Editor in Amazon SageMaker</a>.</p>
|
|
7058
|
-
* @public
|
|
7059
|
-
*/
|
|
7060
|
-
export interface CodeEditorAppSettings {
|
|
7061
|
-
/**
|
|
7062
|
-
* <p>Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.</p> <note> <p>When both <code>SageMakerImageVersionArn</code> and <code>SageMakerImageArn</code> are passed, <code>SageMakerImageVersionArn</code> is used. Any updates to <code>SageMakerImageArn</code> will not take effect if <code>SageMakerImageVersionArn</code> already exists in the <code>ResourceSpec</code> because <code>SageMakerImageVersionArn</code> always takes precedence. To clear the value set for <code>SageMakerImageVersionArn</code>, pass <code>None</code> as the value.</p> </note>
|
|
7063
|
-
* @public
|
|
7064
|
-
*/
|
|
7065
|
-
DefaultResourceSpec?: ResourceSpec | undefined;
|
|
7066
|
-
/**
|
|
7067
|
-
* <p>A list of custom SageMaker images that are configured to run as a Code Editor app.</p>
|
|
7068
|
-
* @public
|
|
7069
|
-
*/
|
|
7070
|
-
CustomImages?: CustomImage[] | undefined;
|
|
7071
|
-
/**
|
|
7072
|
-
* <p>The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.</p>
|
|
7073
|
-
* @public
|
|
7074
|
-
*/
|
|
7075
|
-
LifecycleConfigArns?: string[] | undefined;
|
|
7076
|
-
/**
|
|
7077
|
-
* <p>Settings that are used to configure and manage the lifecycle of CodeEditor applications.</p>
|
|
7078
|
-
* @public
|
|
7079
|
-
*/
|
|
7080
|
-
AppLifecycleManagement?: AppLifecycleManagement | undefined;
|
|
7081
|
-
/**
|
|
7082
|
-
* <p>The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.</p>
|
|
7083
|
-
* @public
|
|
7084
|
-
*/
|
|
7085
|
-
BuiltInLifecycleConfigArn?: string | undefined;
|
|
7086
|
-
}
|
|
@@ -1,6 +1,74 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
|
|
2
|
-
import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterNodeProvisioningMode, ClusterNodeRecovery, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType,
|
|
3
|
-
import type { ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, ClusterRestrictedInstanceGroupSpecification,
|
|
2
|
+
import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterConfigMode, ClusterNodeProvisioningMode, ClusterNodeRecovery, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
|
|
3
|
+
import type { ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, ClusterRestrictedInstanceGroupSpecification, CodeEditorAppImageConfig, ComputeQuotaResourceConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformJobDefinition, VpcConfig } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Defines the configuration for managed tier checkpointing in a HyperPod cluster. Managed tier checkpointing uses multiple storage tiers, including cluster CPU memory, to provide faster checkpoint operations and improved fault tolerance for large-scale model training. The system automatically saves checkpoints at high frequency to memory and periodically persists them to durable storage, like Amazon S3.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ClusterTieredStorageConfig {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Specifies whether managed tier checkpointing is enabled or disabled for the HyperPod cluster. When set to <code>Enable</code>, the system installs a memory management daemon that provides disaggregated memory as a service for checkpoint storage. When set to <code>Disable</code>, the feature is turned off and the memory management daemon is removed from the cluster.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
Mode: ClusterConfigMode | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The percentage (int) of cluster memory to allocate for checkpointing.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
InstanceMemoryAllocationPercentage?: number | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* <p>A custom SageMaker AI image. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html">Bring your own SageMaker AI image</a>.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface CustomImage {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The name of the CustomImage. Must be unique to your account.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
ImageName: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The version number of the CustomImage.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
ImageVersionNumber?: number | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The name of the AppImageConfig.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
AppImageConfigName: string | undefined;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>The Code Editor application settings.</p> <p>For more information about Code Editor, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html">Get started with Code Editor in Amazon SageMaker</a>.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
export interface CodeEditorAppSettings {
|
|
46
|
+
/**
|
|
47
|
+
* <p>Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.</p> <note> <p>When both <code>SageMakerImageVersionArn</code> and <code>SageMakerImageArn</code> are passed, <code>SageMakerImageVersionArn</code> is used. Any updates to <code>SageMakerImageArn</code> will not take effect if <code>SageMakerImageVersionArn</code> already exists in the <code>ResourceSpec</code> because <code>SageMakerImageVersionArn</code> always takes precedence. To clear the value set for <code>SageMakerImageVersionArn</code>, pass <code>None</code> as the value.</p> </note>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
DefaultResourceSpec?: ResourceSpec | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>A list of custom SageMaker images that are configured to run as a Code Editor app.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
CustomImages?: CustomImage[] | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
LifecycleConfigArns?: string[] | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>Settings that are used to configure and manage the lifecycle of CodeEditor applications.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
AppLifecycleManagement?: AppLifecycleManagement | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default lifecycle configuration.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
BuiltInLifecycleConfigArn?: string | undefined;
|
|
71
|
+
}
|
|
4
72
|
/**
|
|
5
73
|
* <p>A Git repository that SageMaker AI automatically displays to users for cloning in the JupyterServer application.</p>
|
|
6
74
|
* @public
|
|
@@ -7145,101 +7213,3 @@ export interface NetworkConfig {
|
|
|
7145
7213
|
*/
|
|
7146
7214
|
VpcConfig?: VpcConfig | undefined;
|
|
7147
7215
|
}
|
|
7148
|
-
/**
|
|
7149
|
-
* <p>Defines the monitoring job.</p>
|
|
7150
|
-
* @public
|
|
7151
|
-
*/
|
|
7152
|
-
export interface MonitoringJobDefinition {
|
|
7153
|
-
/**
|
|
7154
|
-
* <p>Baseline configuration used to validate that the data conforms to the specified constraints and statistics</p>
|
|
7155
|
-
* @public
|
|
7156
|
-
*/
|
|
7157
|
-
BaselineConfig?: MonitoringBaselineConfig | undefined;
|
|
7158
|
-
/**
|
|
7159
|
-
* <p>The array of inputs for the monitoring job. Currently we support monitoring an Amazon SageMaker AI Endpoint.</p>
|
|
7160
|
-
* @public
|
|
7161
|
-
*/
|
|
7162
|
-
MonitoringInputs: MonitoringInput[] | undefined;
|
|
7163
|
-
/**
|
|
7164
|
-
* <p>The array of outputs from the monitoring job to be uploaded to Amazon S3.</p>
|
|
7165
|
-
* @public
|
|
7166
|
-
*/
|
|
7167
|
-
MonitoringOutputConfig: MonitoringOutputConfig | undefined;
|
|
7168
|
-
/**
|
|
7169
|
-
* <p>Identifies the resources, ML compute instances, and ML storage volumes to deploy for a monitoring job. In distributed processing, you specify more than one instance.</p>
|
|
7170
|
-
* @public
|
|
7171
|
-
*/
|
|
7172
|
-
MonitoringResources: MonitoringResources | undefined;
|
|
7173
|
-
/**
|
|
7174
|
-
* <p>Configures the monitoring job to run a specified Docker container image.</p>
|
|
7175
|
-
* @public
|
|
7176
|
-
*/
|
|
7177
|
-
MonitoringAppSpecification: MonitoringAppSpecification | undefined;
|
|
7178
|
-
/**
|
|
7179
|
-
* <p>Specifies a time limit for how long the monitoring job is allowed to run.</p>
|
|
7180
|
-
* @public
|
|
7181
|
-
*/
|
|
7182
|
-
StoppingCondition?: MonitoringStoppingCondition | undefined;
|
|
7183
|
-
/**
|
|
7184
|
-
* <p>Sets the environment variables in the Docker container.</p>
|
|
7185
|
-
* @public
|
|
7186
|
-
*/
|
|
7187
|
-
Environment?: Record<string, string> | undefined;
|
|
7188
|
-
/**
|
|
7189
|
-
* <p>Specifies networking options for an monitoring job.</p>
|
|
7190
|
-
* @public
|
|
7191
|
-
*/
|
|
7192
|
-
NetworkConfig?: NetworkConfig | undefined;
|
|
7193
|
-
/**
|
|
7194
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.</p>
|
|
7195
|
-
* @public
|
|
7196
|
-
*/
|
|
7197
|
-
RoleArn: string | undefined;
|
|
7198
|
-
}
|
|
7199
|
-
/**
|
|
7200
|
-
* <p>Configuration details about the monitoring schedule.</p>
|
|
7201
|
-
* @public
|
|
7202
|
-
*/
|
|
7203
|
-
export interface ScheduleConfig {
|
|
7204
|
-
/**
|
|
7205
|
-
* <p>A cron expression that describes details about the monitoring schedule.</p> <p>The supported cron expressions are:</p> <ul> <li> <p>If you want to set the job to start every hour, use the following:</p> <p> <code>Hourly: cron(0 * ? * * *)</code> </p> </li> <li> <p>If you want to start the job daily:</p> <p> <code>cron(0 [00-23] ? * * *)</code> </p> </li> <li> <p>If you want to run the job one time, immediately, use the following keyword:</p> <p> <code>NOW</code> </p> </li> </ul> <p>For example, the following are valid cron expressions:</p> <ul> <li> <p>Daily at noon UTC: <code>cron(0 12 ? * * *)</code> </p> </li> <li> <p>Daily at midnight UTC: <code>cron(0 0 ? * * *)</code> </p> </li> </ul> <p>To support running every 6, 12 hours, the following are also supported:</p> <p> <code>cron(0 [00-23]/[01-24] ? * * *)</code> </p> <p>For example, the following are valid cron expressions:</p> <ul> <li> <p>Every 12 hours, starting at 5pm UTC: <code>cron(0 17/12 ? * * *)</code> </p> </li> <li> <p>Every two hours starting at midnight: <code>cron(0 0/2 ? * * *)</code> </p> </li> </ul> <note> <ul> <li> <p>Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution. </p> </li> <li> <p>We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker AI will pick a time for running every day.</p> </li> </ul> </note> <p>You can also specify the keyword <code>NOW</code> to run the monitoring job immediately, one time, without recurring.</p>
|
|
7206
|
-
* @public
|
|
7207
|
-
*/
|
|
7208
|
-
ScheduleExpression: string | undefined;
|
|
7209
|
-
/**
|
|
7210
|
-
* <p>Sets the start time for a monitoring job window. Express this time as an offset to the times that you schedule your monitoring jobs to run. You schedule monitoring jobs with the <code>ScheduleExpression</code> parameter. Specify this offset in ISO 8601 duration format. For example, if you want to monitor the five hours of data in your dataset that precede the start of each monitoring job, you would specify: <code>"-PT5H"</code>.</p> <p>The start time that you specify must not precede the end time that you specify by more than 24 hours. You specify the end time with the <code>DataAnalysisEndTime</code> parameter.</p> <p>If you set <code>ScheduleExpression</code> to <code>NOW</code>, this parameter is required.</p>
|
|
7211
|
-
* @public
|
|
7212
|
-
*/
|
|
7213
|
-
DataAnalysisStartTime?: string | undefined;
|
|
7214
|
-
/**
|
|
7215
|
-
* <p>Sets the end time for a monitoring job window. Express this time as an offset to the times that you schedule your monitoring jobs to run. You schedule monitoring jobs with the <code>ScheduleExpression</code> parameter. Specify this offset in ISO 8601 duration format. For example, if you want to end the window one hour before the start of each monitoring job, you would specify: <code>"-PT1H"</code>.</p> <p>The end time that you specify must not follow the start time that you specify by more than 24 hours. You specify the start time with the <code>DataAnalysisStartTime</code> parameter.</p> <p>If you set <code>ScheduleExpression</code> to <code>NOW</code>, this parameter is required.</p>
|
|
7216
|
-
* @public
|
|
7217
|
-
*/
|
|
7218
|
-
DataAnalysisEndTime?: string | undefined;
|
|
7219
|
-
}
|
|
7220
|
-
/**
|
|
7221
|
-
* <p>Configures the monitoring schedule and defines the monitoring job.</p>
|
|
7222
|
-
* @public
|
|
7223
|
-
*/
|
|
7224
|
-
export interface MonitoringScheduleConfig {
|
|
7225
|
-
/**
|
|
7226
|
-
* <p>Configures the monitoring schedule.</p>
|
|
7227
|
-
* @public
|
|
7228
|
-
*/
|
|
7229
|
-
ScheduleConfig?: ScheduleConfig | undefined;
|
|
7230
|
-
/**
|
|
7231
|
-
* <p>Defines the monitoring job.</p>
|
|
7232
|
-
* @public
|
|
7233
|
-
*/
|
|
7234
|
-
MonitoringJobDefinition?: MonitoringJobDefinition | undefined;
|
|
7235
|
-
/**
|
|
7236
|
-
* <p>The name of the monitoring job definition to schedule.</p>
|
|
7237
|
-
* @public
|
|
7238
|
-
*/
|
|
7239
|
-
MonitoringJobDefinitionName?: string | undefined;
|
|
7240
|
-
/**
|
|
7241
|
-
* <p>The type of the monitoring job definition to schedule.</p>
|
|
7242
|
-
* @public
|
|
7243
|
-
*/
|
|
7244
|
-
MonitoringType?: MonitoringType | undefined;
|
|
7245
|
-
}
|