@aws-sdk/client-sagemaker 3.232.0 → 3.233.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/protocols/Aws_json1_1.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/models/models_0.d.ts +12 -12
- package/dist-types/models/models_1.d.ts +18 -14
- package/dist-types/models/models_2.d.ts +3 -3
- package/dist-types/ts3.4/models/models_1.d.ts +1 -0
- package/package.json +1 -1
|
@@ -15585,6 +15585,7 @@ const serializeAws_json1_1HyperParameterTuningJobConfig = (input, context) => {
|
|
|
15585
15585
|
...(input.ParameterRanges != null && {
|
|
15586
15586
|
ParameterRanges: serializeAws_json1_1ParameterRanges(input.ParameterRanges, context),
|
|
15587
15587
|
}),
|
|
15588
|
+
...(input.RandomSeed != null && { RandomSeed: input.RandomSeed }),
|
|
15588
15589
|
...(input.ResourceLimits != null && {
|
|
15589
15590
|
ResourceLimits: serializeAws_json1_1ResourceLimits(input.ResourceLimits, context),
|
|
15590
15591
|
}),
|
|
@@ -23789,6 +23790,7 @@ const deserializeAws_json1_1HyperParameterTuningJobConfig = (output, context) =>
|
|
|
23789
23790
|
ParameterRanges: output.ParameterRanges != null
|
|
23790
23791
|
? deserializeAws_json1_1ParameterRanges(output.ParameterRanges, context)
|
|
23791
23792
|
: undefined,
|
|
23793
|
+
RandomSeed: (0, smithy_client_1.expectInt32)(output.RandomSeed),
|
|
23792
23794
|
ResourceLimits: output.ResourceLimits != null ? deserializeAws_json1_1ResourceLimits(output.ResourceLimits, context) : undefined,
|
|
23793
23795
|
Strategy: (0, smithy_client_1.expectString)(output.Strategy),
|
|
23794
23796
|
StrategyConfig: output.StrategyConfig != null
|
|
@@ -14975,6 +14975,7 @@ const serializeAws_json1_1HyperParameterTuningJobConfig = (input, context) => {
|
|
|
14975
14975
|
...(input.ParameterRanges != null && {
|
|
14976
14976
|
ParameterRanges: serializeAws_json1_1ParameterRanges(input.ParameterRanges, context),
|
|
14977
14977
|
}),
|
|
14978
|
+
...(input.RandomSeed != null && { RandomSeed: input.RandomSeed }),
|
|
14978
14979
|
...(input.ResourceLimits != null && {
|
|
14979
14980
|
ResourceLimits: serializeAws_json1_1ResourceLimits(input.ResourceLimits, context),
|
|
14980
14981
|
}),
|
|
@@ -23179,6 +23180,7 @@ const deserializeAws_json1_1HyperParameterTuningJobConfig = (output, context) =>
|
|
|
23179
23180
|
ParameterRanges: output.ParameterRanges != null
|
|
23180
23181
|
? deserializeAws_json1_1ParameterRanges(output.ParameterRanges, context)
|
|
23181
23182
|
: undefined,
|
|
23183
|
+
RandomSeed: __expectInt32(output.RandomSeed),
|
|
23182
23184
|
ResourceLimits: output.ResourceLimits != null ? deserializeAws_json1_1ResourceLimits(output.ResourceLimits, context) : undefined,
|
|
23183
23185
|
Strategy: __expectString(output.Strategy),
|
|
23184
23186
|
StrategyConfig: output.StrategyConfig != null
|
|
@@ -1088,23 +1088,23 @@ export interface InstanceGroup {
|
|
|
1088
1088
|
InstanceGroupName: string | undefined;
|
|
1089
1089
|
}
|
|
1090
1090
|
/**
|
|
1091
|
-
* <p>Describes the resources, including machine learning (ML) compute instances and ML
|
|
1092
|
-
* use for model training. </p>
|
|
1091
|
+
* <p>Describes the resources, including machine learning (ML) compute instances and ML
|
|
1092
|
+
* storage volumes, to use for model training. </p>
|
|
1093
1093
|
*/
|
|
1094
1094
|
export interface ResourceConfig {
|
|
1095
1095
|
/**
|
|
1096
1096
|
* <p>The ML compute instance type. </p>
|
|
1097
1097
|
* <note>
|
|
1098
|
-
* <p>SageMaker Training on Amazon Elastic Compute Cloud (EC2) P4de instances is in preview release starting
|
|
1099
|
-
* 2022. </p>
|
|
1098
|
+
* <p>SageMaker Training on Amazon Elastic Compute Cloud (EC2) P4de instances is in preview release starting
|
|
1099
|
+
* December 9th, 2022. </p>
|
|
1100
1100
|
* <p>
|
|
1101
1101
|
* <a href="http://aws.amazon.com/ec2/instance-types/p4/">Amazon EC2 P4de instances</a>
|
|
1102
|
-
* (currently in preview) are powered by 8 NVIDIA A100 GPUs with
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
*
|
|
1107
|
-
*
|
|
1102
|
+
* (currently in preview) are powered by 8 NVIDIA A100 GPUs with 80GB high-performance
|
|
1103
|
+
* HBM2e GPU memory, which accelerate the speed of training ML models that need to be
|
|
1104
|
+
* trained on large datasets of high-resolution data. In this preview release, Amazon SageMaker
|
|
1105
|
+
* supports ML training jobs on P4de instances (<code>ml.p4de.24xlarge</code>) to
|
|
1106
|
+
* reduce model training time. The <code>ml.p4de.24xlarge</code> instances are
|
|
1107
|
+
* available in the following Amazon Web Services Regions. </p>
|
|
1108
1108
|
* <ul>
|
|
1109
1109
|
* <li>
|
|
1110
1110
|
* <p>US East (N. Virginia) (us-east-1)</p>
|
|
@@ -6112,7 +6112,7 @@ export interface CreateAppRequest {
|
|
|
6112
6112
|
*/
|
|
6113
6113
|
DomainId: string | undefined;
|
|
6114
6114
|
/**
|
|
6115
|
-
* <p>The user profile name.</p>
|
|
6115
|
+
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be set.</p>
|
|
6116
6116
|
*/
|
|
6117
6117
|
UserProfileName?: string;
|
|
6118
6118
|
/**
|
|
@@ -6138,7 +6138,7 @@ export interface CreateAppRequest {
|
|
|
6138
6138
|
*/
|
|
6139
6139
|
ResourceSpec?: ResourceSpec;
|
|
6140
6140
|
/**
|
|
6141
|
-
* <p>The name of the space.</p>
|
|
6141
|
+
* <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.</p>
|
|
6142
6142
|
*/
|
|
6143
6143
|
SpaceName?: string;
|
|
6144
6144
|
}
|
|
@@ -1308,22 +1308,20 @@ export interface HyperParameterTuningJobConfig {
|
|
|
1308
1308
|
*/
|
|
1309
1309
|
StrategyConfig?: HyperParameterTuningJobStrategyConfig;
|
|
1310
1310
|
/**
|
|
1311
|
-
* <p>The <a>HyperParameterTuningJobObjective</a>
|
|
1312
|
-
*
|
|
1313
|
-
* metric for this tuning job.</p>
|
|
1311
|
+
* <p>The <a>HyperParameterTuningJobObjective</a> specifies the objective metric
|
|
1312
|
+
* used to evaluate the performance of training jobs launched by this tuning job.</p>
|
|
1314
1313
|
*/
|
|
1315
1314
|
HyperParameterTuningJobObjective?: HyperParameterTuningJobObjective;
|
|
1316
1315
|
/**
|
|
1317
|
-
* <p>The <a>ResourceLimits</a> object that specifies the
|
|
1318
|
-
*
|
|
1319
|
-
* number of training jobs and parallel training jobs for this tuning
|
|
1316
|
+
* <p>The <a>ResourceLimits</a> object that specifies the maximum number of
|
|
1317
|
+
* training and parallel training jobs that can be used for this hyperparameter tuning
|
|
1320
1318
|
* job.</p>
|
|
1321
1319
|
*/
|
|
1322
1320
|
ResourceLimits: ResourceLimits | undefined;
|
|
1323
1321
|
/**
|
|
1324
1322
|
* <p>The <a>ParameterRanges</a> object that specifies the ranges of
|
|
1325
|
-
* hyperparameters
|
|
1326
|
-
*
|
|
1323
|
+
* hyperparameters that this tuning job searches over to find the optimal configuration for
|
|
1324
|
+
* the highest model performance against .your chosen objective metric. </p>
|
|
1327
1325
|
*/
|
|
1328
1326
|
ParameterRanges?: ParameterRanges;
|
|
1329
1327
|
/**
|
|
@@ -1351,6 +1349,12 @@ export interface HyperParameterTuningJobConfig {
|
|
|
1351
1349
|
* <p>The tuning job's completion criteria.</p>
|
|
1352
1350
|
*/
|
|
1353
1351
|
TuningJobCompletionCriteria?: TuningJobCompletionCriteria;
|
|
1352
|
+
/**
|
|
1353
|
+
* <p>A value used to initialize a pseudo-random number generator. Setting a random seed and
|
|
1354
|
+
* using the same seed later for the same tuning job will allow hyperparameter optimization
|
|
1355
|
+
* to find more a consistent hyperparameter configuration between the two runs.</p>
|
|
1356
|
+
*/
|
|
1357
|
+
RandomSeed?: number;
|
|
1354
1358
|
}
|
|
1355
1359
|
/**
|
|
1356
1360
|
* <p>Specifies
|
|
@@ -1458,9 +1462,9 @@ export interface HyperParameterTuningInstanceConfig {
|
|
|
1458
1462
|
* <note>
|
|
1459
1463
|
* <p>
|
|
1460
1464
|
* <code>HyperParameterTuningResourceConfig</code> supports the capabilities of
|
|
1461
|
-
* <code>ResourceConfig</code> with the exception of
|
|
1462
|
-
*
|
|
1463
|
-
* training jobs.</p>
|
|
1465
|
+
* <code>ResourceConfig</code> with the exception of
|
|
1466
|
+
* <code>KeepAlivePeriodInSeconds</code>. Hyperparameter tuning jobs use warm pools
|
|
1467
|
+
* by default, which reuse clusters between training jobs.</p>
|
|
1464
1468
|
* </note>
|
|
1465
1469
|
*/
|
|
1466
1470
|
export interface HyperParameterTuningResourceConfig {
|
|
@@ -7663,7 +7667,7 @@ export interface DeleteAppRequest {
|
|
|
7663
7667
|
*/
|
|
7664
7668
|
DomainId: string | undefined;
|
|
7665
7669
|
/**
|
|
7666
|
-
* <p>The user profile name.</p>
|
|
7670
|
+
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be set.</p>
|
|
7667
7671
|
*/
|
|
7668
7672
|
UserProfileName?: string;
|
|
7669
7673
|
/**
|
|
@@ -7675,7 +7679,7 @@ export interface DeleteAppRequest {
|
|
|
7675
7679
|
*/
|
|
7676
7680
|
AppName: string | undefined;
|
|
7677
7681
|
/**
|
|
7678
|
-
* <p>The name of the space.</p>
|
|
7682
|
+
* <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.</p>
|
|
7679
7683
|
*/
|
|
7680
7684
|
SpaceName?: string;
|
|
7681
7685
|
}
|
|
@@ -8292,7 +8296,7 @@ export interface DescribeAppRequest {
|
|
|
8292
8296
|
*/
|
|
8293
8297
|
DomainId: string | undefined;
|
|
8294
8298
|
/**
|
|
8295
|
-
* <p>The user profile name.</p>
|
|
8299
|
+
* <p>The user profile name. If this value is not set, then <code>SpaceName</code> must be set.</p>
|
|
8296
8300
|
*/
|
|
8297
8301
|
UserProfileName?: string;
|
|
8298
8302
|
/**
|
|
@@ -46,7 +46,7 @@ export interface DescribeAppResponse {
|
|
|
46
46
|
*/
|
|
47
47
|
ResourceSpec?: ResourceSpec;
|
|
48
48
|
/**
|
|
49
|
-
* <p>The name of the space.</p>
|
|
49
|
+
* <p>The name of the space. If this value is not set, then <code>UserProfileName</code> must be set.</p>
|
|
50
50
|
*/
|
|
51
51
|
SpaceName?: string;
|
|
52
52
|
}
|
|
@@ -7773,11 +7773,11 @@ export interface ListAppsRequest {
|
|
|
7773
7773
|
*/
|
|
7774
7774
|
DomainIdEquals?: string;
|
|
7775
7775
|
/**
|
|
7776
|
-
* <p>A parameter to search by user profile name.</p>
|
|
7776
|
+
* <p>A parameter to search by user profile name. If <code>SpaceNameEquals</code> is set, then this value cannot be set.</p>
|
|
7777
7777
|
*/
|
|
7778
7778
|
UserProfileNameEquals?: string;
|
|
7779
7779
|
/**
|
|
7780
|
-
* <p>A parameter to search by space name.</p>
|
|
7780
|
+
* <p>A parameter to search by space name. If <code>UserProfileNameEquals</code> is set, then this value cannot be set.</p>
|
|
7781
7781
|
*/
|
|
7782
7782
|
SpaceNameEquals?: string;
|
|
7783
7783
|
}
|
|
@@ -218,6 +218,7 @@ export interface HyperParameterTuningJobConfig {
|
|
|
218
218
|
ParameterRanges?: ParameterRanges;
|
|
219
219
|
TrainingJobEarlyStoppingType?: TrainingJobEarlyStoppingType | string;
|
|
220
220
|
TuningJobCompletionCriteria?: TuningJobCompletionCriteria;
|
|
221
|
+
RandomSeed?: number;
|
|
221
222
|
}
|
|
222
223
|
export interface HyperParameterAlgorithmSpecification {
|
|
223
224
|
TrainingImage?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.233.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|