@aws-sdk/client-sagemaker 3.682.0 → 3.684.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.
Files changed (74) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +140 -24
  3. package/dist-es/SageMaker.js +2 -0
  4. package/dist-es/commands/BatchDeleteClusterNodesCommand.js +22 -0
  5. package/dist-es/commands/UpdateWorkforceCommand.js +1 -1
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +40 -2
  8. package/dist-es/models/models_2.js +0 -8
  9. package/dist-es/models/models_3.js +8 -5
  10. package/dist-es/models/models_4.js +5 -5
  11. package/dist-es/models/models_5.js +5 -1
  12. package/dist-es/protocols/Aws_json1_1.js +59 -0
  13. package/dist-types/SageMaker.d.ts +7 -0
  14. package/dist-types/SageMakerClient.d.ts +3 -2
  15. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +102 -0
  16. package/dist-types/commands/CreateAlgorithmCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateAppCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +8 -8
  20. package/dist-types/commands/CreateModelPackageCommand.d.ts +5 -0
  21. package/dist-types/commands/CreateOptimizationJobCommand.d.ts +2 -1
  22. package/dist-types/commands/CreatePipelineCommand.d.ts +1 -1
  23. package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +12 -3
  24. package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -2
  25. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -3
  26. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +8 -8
  29. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -2
  31. package/dist-types/commands/DescribeModelPackageCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -2
  33. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  35. package/dist-types/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -2
  36. package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -0
  37. package/dist-types/commands/SearchCommand.d.ts +13 -8
  38. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +5 -0
  40. package/dist-types/commands/UpdateModelPackageCommand.d.ts +6 -0
  41. package/dist-types/commands/UpdateUserProfileCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateWorkteamCommand.d.ts +1 -2
  44. package/dist-types/commands/index.d.ts +1 -0
  45. package/dist-types/models/models_0.d.ts +116 -168
  46. package/dist-types/models/models_1.d.ts +215 -134
  47. package/dist-types/models/models_2.d.ts +117 -160
  48. package/dist-types/models/models_3.d.ts +161 -172
  49. package/dist-types/models/models_4.d.ts +201 -128
  50. package/dist-types/models/models_5.d.ts +127 -2
  51. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  52. package/dist-types/ts3.4/SageMaker.d.ts +17 -0
  53. package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
  54. package/dist-types/ts3.4/commands/BatchDeleteClusterNodesCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/CreateAlgorithmCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +4 -2
  61. package/dist-types/ts3.4/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListModelBiasJobDefinitionsCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/UpdateUserProfileCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateWorkforceCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateWorkteamCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +55 -26
  68. package/dist-types/ts3.4/models/models_1.d.ts +32 -25
  69. package/dist-types/ts3.4/models/models_2.d.ts +25 -43
  70. package/dist-types/ts3.4/models/models_3.d.ts +47 -44
  71. package/dist-types/ts3.4/models/models_4.d.ts +49 -35
  72. package/dist-types/ts3.4/models/models_5.d.ts +38 -2
  73. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  74. package/package.json +1 -1
@@ -1724,6 +1724,22 @@ export declare const TrainingInstanceType: {
1724
1724
  readonly ML_G5_4XLARGE: "ml.g5.4xlarge";
1725
1725
  readonly ML_G5_8XLARGE: "ml.g5.8xlarge";
1726
1726
  readonly ML_G5_XLARGE: "ml.g5.xlarge";
1727
+ readonly ML_G6E_12XLARGE: "ml.g6e.12xlarge";
1728
+ readonly ML_G6E_16XLARGE: "ml.g6e.16xlarge";
1729
+ readonly ML_G6E_24XLARGE: "ml.g6e.24xlarge";
1730
+ readonly ML_G6E_2XLARGE: "ml.g6e.2xlarge";
1731
+ readonly ML_G6E_48XLARGE: "ml.g6e.48xlarge";
1732
+ readonly ML_G6E_4XLARGE: "ml.g6e.4xlarge";
1733
+ readonly ML_G6E_8XLARGE: "ml.g6e.8xlarge";
1734
+ readonly ML_G6E_XLARGE: "ml.g6e.xlarge";
1735
+ readonly ML_G6_12XLARGE: "ml.g6.12xlarge";
1736
+ readonly ML_G6_16XLARGE: "ml.g6.16xlarge";
1737
+ readonly ML_G6_24XLARGE: "ml.g6.24xlarge";
1738
+ readonly ML_G6_2XLARGE: "ml.g6.2xlarge";
1739
+ readonly ML_G6_48XLARGE: "ml.g6.48xlarge";
1740
+ readonly ML_G6_4XLARGE: "ml.g6.4xlarge";
1741
+ readonly ML_G6_8XLARGE: "ml.g6.8xlarge";
1742
+ readonly ML_G6_XLARGE: "ml.g6.xlarge";
1727
1743
  readonly ML_M4_10XLARGE: "ml.m4.10xlarge";
1728
1744
  readonly ML_M4_16XLARGE: "ml.m4.16xlarge";
1729
1745
  readonly ML_M4_2XLARGE: "ml.m4.2xlarge";
@@ -1753,7 +1769,6 @@ export declare const TrainingInstanceType: {
1753
1769
  readonly ML_P3_8XLARGE: "ml.p3.8xlarge";
1754
1770
  readonly ML_P4DE_24XLARGE: "ml.p4de.24xlarge";
1755
1771
  readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
1756
- readonly ML_P5EN_48XLARGE: "ml.p5en.48xlarge";
1757
1772
  readonly ML_P5E_48XLARGE: "ml.p5e.48xlarge";
1758
1773
  readonly ML_P5_48XLARGE: "ml.p5.48xlarge";
1759
1774
  readonly ML_R5D_12XLARGE: "ml.r5d.12xlarge";
@@ -1779,7 +1794,6 @@ export declare const TrainingInstanceType: {
1779
1794
  readonly ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge";
1780
1795
  readonly ML_TRN1_2XLARGE: "ml.trn1.2xlarge";
1781
1796
  readonly ML_TRN1_32XLARGE: "ml.trn1.32xlarge";
1782
- readonly ML_TRN2_48XLARGE: "ml.trn2.48xlarge";
1783
1797
  };
1784
1798
  /**
1785
1799
  * @public
@@ -7100,6 +7114,77 @@ export interface BatchDataCaptureConfig {
7100
7114
  */
7101
7115
  GenerateInferenceId?: boolean;
7102
7116
  }
7117
+ /**
7118
+ * @public
7119
+ */
7120
+ export interface BatchDeleteClusterNodesRequest {
7121
+ /**
7122
+ * <p>The name of the SageMaker HyperPod cluster from which to delete the specified nodes.</p>
7123
+ * @public
7124
+ */
7125
+ ClusterName: string | undefined;
7126
+ /**
7127
+ * <p>A list of node IDs to be deleted from the specified cluster.</p>
7128
+ * <note>
7129
+ * <p>For SageMaker HyperPod clusters using the Slurm workload manager,
7130
+ * you cannot remove instances that are configured as Slurm controller nodes.</p>
7131
+ * </note>
7132
+ * @public
7133
+ */
7134
+ NodeIds: string[] | undefined;
7135
+ }
7136
+ /**
7137
+ * @public
7138
+ * @enum
7139
+ */
7140
+ export declare const BatchDeleteClusterNodesErrorCode: {
7141
+ readonly INVALID_NODE_STATUS: "InvalidNodeStatus";
7142
+ readonly NODE_ID_IN_USE: "NodeIdInUse";
7143
+ readonly NODE_ID_NOT_FOUND: "NodeIdNotFound";
7144
+ };
7145
+ /**
7146
+ * @public
7147
+ */
7148
+ export type BatchDeleteClusterNodesErrorCode = (typeof BatchDeleteClusterNodesErrorCode)[keyof typeof BatchDeleteClusterNodesErrorCode];
7149
+ /**
7150
+ * <p>Represents an error encountered when deleting a node from a SageMaker HyperPod cluster.</p>
7151
+ * @public
7152
+ */
7153
+ export interface BatchDeleteClusterNodesError {
7154
+ /**
7155
+ * <p>The error code associated with the error encountered when deleting a node.</p>
7156
+ * <p>The code provides information about the specific issue encountered, such as the node not
7157
+ * being found, the node's status being invalid for deletion, or the node ID being in use by
7158
+ * another process.</p>
7159
+ * @public
7160
+ */
7161
+ Code: BatchDeleteClusterNodesErrorCode | undefined;
7162
+ /**
7163
+ * <p>A message describing the error encountered when deleting a node.</p>
7164
+ * @public
7165
+ */
7166
+ Message: string | undefined;
7167
+ /**
7168
+ * <p>The ID of the node that encountered an error during the deletion process.</p>
7169
+ * @public
7170
+ */
7171
+ NodeId: string | undefined;
7172
+ }
7173
+ /**
7174
+ * @public
7175
+ */
7176
+ export interface BatchDeleteClusterNodesResponse {
7177
+ /**
7178
+ * <p>A list of errors encountered when deleting the specified nodes.</p>
7179
+ * @public
7180
+ */
7181
+ Failed?: BatchDeleteClusterNodesError[];
7182
+ /**
7183
+ * <p>A list of node IDs that were successfully deleted from the specified cluster.</p>
7184
+ * @public
7185
+ */
7186
+ Successful?: string[];
7187
+ }
7103
7188
  /**
7104
7189
  * @public
7105
7190
  */
@@ -8527,6 +8612,24 @@ export declare const ClusterInstanceType: {
8527
8612
  readonly ML_G5_4XLARGE: "ml.g5.4xlarge";
8528
8613
  readonly ML_G5_8XLARGE: "ml.g5.8xlarge";
8529
8614
  readonly ML_G5_XLARGE: "ml.g5.xlarge";
8615
+ readonly ML_G6E_12XLARGE: "ml.g6e.12xlarge";
8616
+ readonly ML_G6E_16XLARGE: "ml.g6e.16xlarge";
8617
+ readonly ML_G6E_24XLARGE: "ml.g6e.24xlarge";
8618
+ readonly ML_G6E_2XLARGE: "ml.g6e.2xlarge";
8619
+ readonly ML_G6E_48XLARGE: "ml.g6e.48xlarge";
8620
+ readonly ML_G6E_4XLARGE: "ml.g6e.4xlarge";
8621
+ readonly ML_G6E_8XLARGE: "ml.g6e.8xlarge";
8622
+ readonly ML_G6E_XLARGE: "ml.g6e.xlarge";
8623
+ readonly ML_G6_12XLARGE: "ml.g6.12xlarge";
8624
+ readonly ML_G6_16XLARGE: "ml.g6.16xlarge";
8625
+ readonly ML_G6_24XLARGE: "ml.g6.24xlarge";
8626
+ readonly ML_G6_2XLARGE: "ml.g6.2xlarge";
8627
+ readonly ML_G6_48XLARGE: "ml.g6.48xlarge";
8628
+ readonly ML_G6_4XLARGE: "ml.g6.4xlarge";
8629
+ readonly ML_G6_8XLARGE: "ml.g6.8xlarge";
8630
+ readonly ML_G6_XLARGE: "ml.g6.xlarge";
8631
+ readonly ML_GR6_4XLARGE: "ml.gr6.4xlarge";
8632
+ readonly ML_GR6_8XLARGE: "ml.gr6.8xlarge";
8530
8633
  readonly ML_M5_12XLARGE: "ml.m5.12xlarge";
8531
8634
  readonly ML_M5_16XLARGE: "ml.m5.16xlarge";
8532
8635
  readonly ML_M5_24XLARGE: "ml.m5.24xlarge";
@@ -8537,6 +8640,7 @@ export declare const ClusterInstanceType: {
8537
8640
  readonly ML_M5_XLARGE: "ml.m5.xlarge";
8538
8641
  readonly ML_P4DE_24XLARGE: "ml.p4de.24xlarge";
8539
8642
  readonly ML_P4D_24XLARGE: "ml.p4d.24xlarge";
8643
+ readonly ML_P5E_48XLARGE: "ml.p5e.48xlarge";
8540
8644
  readonly ML_P5_48XLARGE: "ml.p5.48xlarge";
8541
8645
  readonly ML_T3_2XLARGE: "ml.t3.2xlarge";
8542
8646
  readonly ML_T3_LARGE: "ml.t3.large";
@@ -8639,7 +8743,8 @@ export interface ClusterInstanceGroupDetails {
8639
8743
  */
8640
8744
  InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
8641
8745
  /**
8642
- * <p>A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.</p>
8746
+ * <p>A flag indicating whether deep health checks should be performed when the cluster
8747
+ * instance group is created or updated.</p>
8643
8748
  * @public
8644
8749
  */
8645
8750
  OnStartDeepHealthChecks?: DeepHealthCheckType[];
@@ -8693,7 +8798,8 @@ export interface ClusterInstanceGroupSpecification {
8693
8798
  */
8694
8799
  InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
8695
8800
  /**
8696
- * <p>A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.</p>
8801
+ * <p>A flag indicating whether deep health checks should be performed when the cluster
8802
+ * instance group is created or updated.</p>
8697
8803
  * @public
8698
8804
  */
8699
8805
  OnStartDeepHealthChecks?: DeepHealthCheckType[];
@@ -8857,12 +8963,14 @@ export interface ClusterNodeSummary {
8857
8963
  InstanceStatus: ClusterInstanceStatusDetails | undefined;
8858
8964
  }
8859
8965
  /**
8860
- * <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
8966
+ * <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the
8967
+ * SageMaker HyperPod cluster.</p>
8861
8968
  * @public
8862
8969
  */
8863
8970
  export interface ClusterOrchestratorEksConfig {
8864
8971
  /**
8865
- * <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.</p>
8972
+ * <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod
8973
+ * cluster.</p>
8866
8974
  * @public
8867
8975
  */
8868
8976
  ClusterArn: string | undefined;
@@ -8986,8 +9094,8 @@ export interface CodeEditorAppSettings {
8986
9094
  */
8987
9095
  AppLifecycleManagement?: AppLifecycleManagement;
8988
9096
  /**
8989
- * <p>The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default
8990
- * lifecycle configuration.</p>
9097
+ * <p>The lifecycle configuration that runs before the default lifecycle configuration. It can
9098
+ * override changes made in the default lifecycle configuration.</p>
8991
9099
  * @public
8992
9100
  */
8993
9101
  BuiltInLifecycleConfigArn?: string;
@@ -10103,163 +10211,3 @@ export interface TrainingSpecification {
10103
10211
  */
10104
10212
  AdditionalS3DataSource?: AdditionalS3DataSource;
10105
10213
  }
10106
- /**
10107
- * @public
10108
- */
10109
- export interface CreateAlgorithmInput {
10110
- /**
10111
- * <p>The name of the algorithm.</p>
10112
- * @public
10113
- */
10114
- AlgorithmName: string | undefined;
10115
- /**
10116
- * <p>A description of the algorithm.</p>
10117
- * @public
10118
- */
10119
- AlgorithmDescription?: string;
10120
- /**
10121
- * <p>Specifies details about training jobs run by this algorithm, including the
10122
- * following:</p>
10123
- * <ul>
10124
- * <li>
10125
- * <p>The Amazon ECR path of the container and the version digest of the
10126
- * algorithm.</p>
10127
- * </li>
10128
- * <li>
10129
- * <p>The hyperparameters that the algorithm supports.</p>
10130
- * </li>
10131
- * <li>
10132
- * <p>The instance types that the algorithm supports for training.</p>
10133
- * </li>
10134
- * <li>
10135
- * <p>Whether the algorithm supports distributed training.</p>
10136
- * </li>
10137
- * <li>
10138
- * <p>The metrics that the algorithm emits to Amazon CloudWatch.</p>
10139
- * </li>
10140
- * <li>
10141
- * <p>Which metrics that the algorithm emits can be used as the objective metric for
10142
- * hyperparameter tuning jobs.</p>
10143
- * </li>
10144
- * <li>
10145
- * <p>The input channels that the algorithm supports for training data. For example,
10146
- * an algorithm might support <code>train</code>, <code>validation</code>, and
10147
- * <code>test</code> channels.</p>
10148
- * </li>
10149
- * </ul>
10150
- * @public
10151
- */
10152
- TrainingSpecification: TrainingSpecification | undefined;
10153
- /**
10154
- * <p>Specifies details about inference jobs that the algorithm runs, including the
10155
- * following:</p>
10156
- * <ul>
10157
- * <li>
10158
- * <p>The Amazon ECR paths of containers that contain the inference code and model
10159
- * artifacts.</p>
10160
- * </li>
10161
- * <li>
10162
- * <p>The instance types that the algorithm supports for transform jobs and
10163
- * real-time endpoints used for inference.</p>
10164
- * </li>
10165
- * <li>
10166
- * <p>The input and output content formats that the algorithm supports for
10167
- * inference.</p>
10168
- * </li>
10169
- * </ul>
10170
- * @public
10171
- */
10172
- InferenceSpecification?: InferenceSpecification;
10173
- /**
10174
- * <p>Specifies configurations for one or more training jobs and that SageMaker runs to test the
10175
- * algorithm's training code and, optionally, one or more batch transform jobs that SageMaker
10176
- * runs to test the algorithm's inference code.</p>
10177
- * @public
10178
- */
10179
- ValidationSpecification?: AlgorithmValidationSpecification;
10180
- /**
10181
- * <p>Whether to certify the algorithm so that it can be listed in Amazon Web Services
10182
- * Marketplace.</p>
10183
- * @public
10184
- */
10185
- CertifyForMarketplace?: boolean;
10186
- /**
10187
- * <p>An array of key-value pairs. You can use tags to categorize your Amazon Web Services
10188
- * resources in different ways, for example, by purpose, owner, or environment. For more
10189
- * information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a>.</p>
10190
- * @public
10191
- */
10192
- Tags?: Tag[];
10193
- }
10194
- /**
10195
- * @public
10196
- */
10197
- export interface CreateAlgorithmOutput {
10198
- /**
10199
- * <p>The Amazon Resource Name (ARN) of the new algorithm.</p>
10200
- * @public
10201
- */
10202
- AlgorithmArn: string | undefined;
10203
- }
10204
- /**
10205
- * @public
10206
- */
10207
- export interface CreateAppRequest {
10208
- /**
10209
- * <p>The domain ID.</p>
10210
- * @public
10211
- */
10212
- DomainId: string | undefined;
10213
- /**
10214
- * <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be
10215
- * set.</p>
10216
- * @public
10217
- */
10218
- UserProfileName?: string;
10219
- /**
10220
- * <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be
10221
- * set.</p>
10222
- * @public
10223
- */
10224
- SpaceName?: string;
10225
- /**
10226
- * <p>The type of app.</p>
10227
- * @public
10228
- */
10229
- AppType: AppType | undefined;
10230
- /**
10231
- * <p>The name of the app.</p>
10232
- * @public
10233
- */
10234
- AppName: string | undefined;
10235
- /**
10236
- * <p>Each tag consists of a key and an optional value. Tag keys must be unique per
10237
- * resource.</p>
10238
- * @public
10239
- */
10240
- Tags?: Tag[];
10241
- /**
10242
- * <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
10243
- * created on the instance.</p>
10244
- * <note>
10245
- * <p>The value of <code>InstanceType</code> passed as part of the <code>ResourceSpec</code>
10246
- * in the <code>CreateApp</code> call overrides the value passed as part of the
10247
- * <code>ResourceSpec</code> configured for the user profile or the domain. If
10248
- * <code>InstanceType</code> is not specified in any of those three <code>ResourceSpec</code>
10249
- * values for a <code>KernelGateway</code> app, the <code>CreateApp</code> call fails with a
10250
- * request validation error.</p>
10251
- * </note>
10252
- * @public
10253
- */
10254
- ResourceSpec?: ResourceSpec;
10255
- }
10256
- /**
10257
- * @public
10258
- */
10259
- export interface CreateAppResponse {
10260
- /**
10261
- * <p>The Amazon Resource Name (ARN) of the app.</p>
10262
- * @public
10263
- */
10264
- AppArn?: string;
10265
- }