@aws-sdk/client-sagemaker 3.128.0 → 3.130.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
12
+
13
+
14
+ ### Features
15
+
16
+ * **client-sagemaker:** This release adds support for G5, P4d, and C6i instance types in Amazon SageMaker Inference and increases the number of hyperparameters that can be searched from 20 to 30 in Amazon SageMaker Automatic Model Tuning ([4d43eac](https://github.com/aws/aws-sdk-js-v3/commit/4d43eac453ff4e4b772ad4cc978e321eb64d38ee))
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-sagemaker
@@ -106,12 +106,29 @@ var ProductionVariantInstanceType;
106
106
  ProductionVariantInstanceType["ML_C5_9XLARGE"] = "ml.c5.9xlarge";
107
107
  ProductionVariantInstanceType["ML_C5_LARGE"] = "ml.c5.large";
108
108
  ProductionVariantInstanceType["ML_C5_XLARGE"] = "ml.c5.xlarge";
109
+ ProductionVariantInstanceType["ML_C6I_12XLARGE"] = "ml.c6i.12xlarge";
110
+ ProductionVariantInstanceType["ML_C6I_16XLARGE"] = "ml.c6i.16xlarge";
111
+ ProductionVariantInstanceType["ML_C6I_24XLARGE"] = "ml.c6i.24xlarge";
112
+ ProductionVariantInstanceType["ML_C6I_2XLARGE"] = "ml.c6i.2xlarge";
113
+ ProductionVariantInstanceType["ML_C6I_32XLARGE"] = "ml.c6i.32xlarge";
114
+ ProductionVariantInstanceType["ML_C6I_4XLARGE"] = "ml.c6i.4xlarge";
115
+ ProductionVariantInstanceType["ML_C6I_8XLARGE"] = "ml.c6i.8xlarge";
116
+ ProductionVariantInstanceType["ML_C6I_LARGE"] = "ml.c6i.large";
117
+ ProductionVariantInstanceType["ML_C6I_XLARGE"] = "ml.c6i.xlarge";
109
118
  ProductionVariantInstanceType["ML_G4DN_12XLARGE"] = "ml.g4dn.12xlarge";
110
119
  ProductionVariantInstanceType["ML_G4DN_16XLARGE"] = "ml.g4dn.16xlarge";
111
120
  ProductionVariantInstanceType["ML_G4DN_2XLARGE"] = "ml.g4dn.2xlarge";
112
121
  ProductionVariantInstanceType["ML_G4DN_4XLARGE"] = "ml.g4dn.4xlarge";
113
122
  ProductionVariantInstanceType["ML_G4DN_8XLARGE"] = "ml.g4dn.8xlarge";
114
123
  ProductionVariantInstanceType["ML_G4DN_XLARGE"] = "ml.g4dn.xlarge";
124
+ ProductionVariantInstanceType["ML_G5_12XLARGE"] = "ml.g5.12xlarge";
125
+ ProductionVariantInstanceType["ML_G5_16XLARGE"] = "ml.g5.16xlarge";
126
+ ProductionVariantInstanceType["ML_G5_24XLARGE"] = "ml.g5.24xlarge";
127
+ ProductionVariantInstanceType["ML_G5_2XLARGE"] = "ml.g5.2xlarge";
128
+ ProductionVariantInstanceType["ML_G5_48XLARGE"] = "ml.g5.48xlarge";
129
+ ProductionVariantInstanceType["ML_G5_4XLARGE"] = "ml.g5.4xlarge";
130
+ ProductionVariantInstanceType["ML_G5_8XLARGE"] = "ml.g5.8xlarge";
131
+ ProductionVariantInstanceType["ML_G5_XLARGE"] = "ml.g5.xlarge";
115
132
  ProductionVariantInstanceType["ML_INF1_24XLARGE"] = "ml.inf1.24xlarge";
116
133
  ProductionVariantInstanceType["ML_INF1_2XLARGE"] = "ml.inf1.2xlarge";
117
134
  ProductionVariantInstanceType["ML_INF1_6XLARGE"] = "ml.inf1.6xlarge";
@@ -139,6 +156,7 @@ var ProductionVariantInstanceType;
139
156
  ProductionVariantInstanceType["ML_P3_16XLARGE"] = "ml.p3.16xlarge";
140
157
  ProductionVariantInstanceType["ML_P3_2XLARGE"] = "ml.p3.2xlarge";
141
158
  ProductionVariantInstanceType["ML_P3_8XLARGE"] = "ml.p3.8xlarge";
159
+ ProductionVariantInstanceType["ML_P4D_24XLARGE"] = "ml.p4d.24xlarge";
142
160
  ProductionVariantInstanceType["ML_R5D_12XLARGE"] = "ml.r5d.12xlarge";
143
161
  ProductionVariantInstanceType["ML_R5D_24XLARGE"] = "ml.r5d.24xlarge";
144
162
  ProductionVariantInstanceType["ML_R5D_2XLARGE"] = "ml.r5d.2xlarge";
@@ -25709,6 +25709,9 @@ const loadRestJsonErrorCode = (output, data) => {
25709
25709
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
25710
25710
  const sanitizeErrorCode = (rawValue) => {
25711
25711
  let cleanValue = rawValue;
25712
+ if (typeof cleanValue === "number") {
25713
+ cleanValue = cleanValue.toString();
25714
+ }
25712
25715
  if (cleanValue.indexOf(":") >= 0) {
25713
25716
  cleanValue = cleanValue.split(":")[0];
25714
25717
  }
@@ -85,12 +85,29 @@ export var ProductionVariantInstanceType;
85
85
  ProductionVariantInstanceType["ML_C5_9XLARGE"] = "ml.c5.9xlarge";
86
86
  ProductionVariantInstanceType["ML_C5_LARGE"] = "ml.c5.large";
87
87
  ProductionVariantInstanceType["ML_C5_XLARGE"] = "ml.c5.xlarge";
88
+ ProductionVariantInstanceType["ML_C6I_12XLARGE"] = "ml.c6i.12xlarge";
89
+ ProductionVariantInstanceType["ML_C6I_16XLARGE"] = "ml.c6i.16xlarge";
90
+ ProductionVariantInstanceType["ML_C6I_24XLARGE"] = "ml.c6i.24xlarge";
91
+ ProductionVariantInstanceType["ML_C6I_2XLARGE"] = "ml.c6i.2xlarge";
92
+ ProductionVariantInstanceType["ML_C6I_32XLARGE"] = "ml.c6i.32xlarge";
93
+ ProductionVariantInstanceType["ML_C6I_4XLARGE"] = "ml.c6i.4xlarge";
94
+ ProductionVariantInstanceType["ML_C6I_8XLARGE"] = "ml.c6i.8xlarge";
95
+ ProductionVariantInstanceType["ML_C6I_LARGE"] = "ml.c6i.large";
96
+ ProductionVariantInstanceType["ML_C6I_XLARGE"] = "ml.c6i.xlarge";
88
97
  ProductionVariantInstanceType["ML_G4DN_12XLARGE"] = "ml.g4dn.12xlarge";
89
98
  ProductionVariantInstanceType["ML_G4DN_16XLARGE"] = "ml.g4dn.16xlarge";
90
99
  ProductionVariantInstanceType["ML_G4DN_2XLARGE"] = "ml.g4dn.2xlarge";
91
100
  ProductionVariantInstanceType["ML_G4DN_4XLARGE"] = "ml.g4dn.4xlarge";
92
101
  ProductionVariantInstanceType["ML_G4DN_8XLARGE"] = "ml.g4dn.8xlarge";
93
102
  ProductionVariantInstanceType["ML_G4DN_XLARGE"] = "ml.g4dn.xlarge";
103
+ ProductionVariantInstanceType["ML_G5_12XLARGE"] = "ml.g5.12xlarge";
104
+ ProductionVariantInstanceType["ML_G5_16XLARGE"] = "ml.g5.16xlarge";
105
+ ProductionVariantInstanceType["ML_G5_24XLARGE"] = "ml.g5.24xlarge";
106
+ ProductionVariantInstanceType["ML_G5_2XLARGE"] = "ml.g5.2xlarge";
107
+ ProductionVariantInstanceType["ML_G5_48XLARGE"] = "ml.g5.48xlarge";
108
+ ProductionVariantInstanceType["ML_G5_4XLARGE"] = "ml.g5.4xlarge";
109
+ ProductionVariantInstanceType["ML_G5_8XLARGE"] = "ml.g5.8xlarge";
110
+ ProductionVariantInstanceType["ML_G5_XLARGE"] = "ml.g5.xlarge";
94
111
  ProductionVariantInstanceType["ML_INF1_24XLARGE"] = "ml.inf1.24xlarge";
95
112
  ProductionVariantInstanceType["ML_INF1_2XLARGE"] = "ml.inf1.2xlarge";
96
113
  ProductionVariantInstanceType["ML_INF1_6XLARGE"] = "ml.inf1.6xlarge";
@@ -118,6 +135,7 @@ export var ProductionVariantInstanceType;
118
135
  ProductionVariantInstanceType["ML_P3_16XLARGE"] = "ml.p3.16xlarge";
119
136
  ProductionVariantInstanceType["ML_P3_2XLARGE"] = "ml.p3.2xlarge";
120
137
  ProductionVariantInstanceType["ML_P3_8XLARGE"] = "ml.p3.8xlarge";
138
+ ProductionVariantInstanceType["ML_P4D_24XLARGE"] = "ml.p4d.24xlarge";
121
139
  ProductionVariantInstanceType["ML_R5D_12XLARGE"] = "ml.r5d.12xlarge";
122
140
  ProductionVariantInstanceType["ML_R5D_24XLARGE"] = "ml.r5d.24xlarge";
123
141
  ProductionVariantInstanceType["ML_R5D_2XLARGE"] = "ml.r5d.2xlarge";
@@ -27206,6 +27206,9 @@ var loadRestJsonErrorCode = function (output, data) {
27206
27206
  var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
27207
27207
  var sanitizeErrorCode = function (rawValue) {
27208
27208
  var cleanValue = rawValue;
27209
+ if (typeof cleanValue === "number") {
27210
+ cleanValue = cleanValue.toString();
27211
+ }
27209
27212
  if (cleanValue.indexOf(":") >= 0) {
27210
27213
  cleanValue = cleanValue.split(":")[0];
27211
27214
  }
@@ -259,12 +259,29 @@ export declare enum ProductionVariantInstanceType {
259
259
  ML_C5_9XLARGE = "ml.c5.9xlarge",
260
260
  ML_C5_LARGE = "ml.c5.large",
261
261
  ML_C5_XLARGE = "ml.c5.xlarge",
262
+ ML_C6I_12XLARGE = "ml.c6i.12xlarge",
263
+ ML_C6I_16XLARGE = "ml.c6i.16xlarge",
264
+ ML_C6I_24XLARGE = "ml.c6i.24xlarge",
265
+ ML_C6I_2XLARGE = "ml.c6i.2xlarge",
266
+ ML_C6I_32XLARGE = "ml.c6i.32xlarge",
267
+ ML_C6I_4XLARGE = "ml.c6i.4xlarge",
268
+ ML_C6I_8XLARGE = "ml.c6i.8xlarge",
269
+ ML_C6I_LARGE = "ml.c6i.large",
270
+ ML_C6I_XLARGE = "ml.c6i.xlarge",
262
271
  ML_G4DN_12XLARGE = "ml.g4dn.12xlarge",
263
272
  ML_G4DN_16XLARGE = "ml.g4dn.16xlarge",
264
273
  ML_G4DN_2XLARGE = "ml.g4dn.2xlarge",
265
274
  ML_G4DN_4XLARGE = "ml.g4dn.4xlarge",
266
275
  ML_G4DN_8XLARGE = "ml.g4dn.8xlarge",
267
276
  ML_G4DN_XLARGE = "ml.g4dn.xlarge",
277
+ ML_G5_12XLARGE = "ml.g5.12xlarge",
278
+ ML_G5_16XLARGE = "ml.g5.16xlarge",
279
+ ML_G5_24XLARGE = "ml.g5.24xlarge",
280
+ ML_G5_2XLARGE = "ml.g5.2xlarge",
281
+ ML_G5_48XLARGE = "ml.g5.48xlarge",
282
+ ML_G5_4XLARGE = "ml.g5.4xlarge",
283
+ ML_G5_8XLARGE = "ml.g5.8xlarge",
284
+ ML_G5_XLARGE = "ml.g5.xlarge",
268
285
  ML_INF1_24XLARGE = "ml.inf1.24xlarge",
269
286
  ML_INF1_2XLARGE = "ml.inf1.2xlarge",
270
287
  ML_INF1_6XLARGE = "ml.inf1.6xlarge",
@@ -292,6 +309,7 @@ export declare enum ProductionVariantInstanceType {
292
309
  ML_P3_16XLARGE = "ml.p3.16xlarge",
293
310
  ML_P3_2XLARGE = "ml.p3.2xlarge",
294
311
  ML_P3_8XLARGE = "ml.p3.8xlarge",
312
+ ML_P4D_24XLARGE = "ml.p4d.24xlarge",
295
313
  ML_R5D_12XLARGE = "ml.r5d.12xlarge",
296
314
  ML_R5D_24XLARGE = "ml.r5d.24xlarge",
297
315
  ML_R5D_2XLARGE = "ml.r5d.2xlarge",
@@ -1123,7 +1141,7 @@ export declare enum TrainingInstanceType {
1123
1141
  /**
1124
1142
  * <p>Defines an instance group for heterogeneous cluster training.
1125
1143
  * When requesting a training job using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingJob.html">CreateTrainingJob</a> API,
1126
- * you can configure up to 5 different ML training instance groups.</p>
1144
+ * you can configure multiple instance groups .</p>
1127
1145
  */
1128
1146
  export interface InstanceGroup {
1129
1147
  /**
@@ -10017,9 +10035,10 @@ export declare namespace IntegerParameterRange {
10017
10035
  * result in the training job with the best performance as measured by the objective metric
10018
10036
  * of the hyperparameter tuning job.</p>
10019
10037
  * <note>
10020
- * <p>You can specify a maximum of 20 hyperparameters that a hyperparameter tuning job
10021
- * can search over. Every possible value of a categorical parameter range counts
10022
- * against this limit.</p>
10038
+ * <p>The maximum number of items specified for <code>Array Members</code> refers to
10039
+ * the maximum number of hyperparameters for each range and also the maximum for the
10040
+ * hyperparameter tuning job itself. That is, the sum of the number of hyperparameters
10041
+ * for all the ranges can't exceed the maximum number specified.</p>
10023
10042
  * </note>
10024
10043
  */
10025
10044
  export interface ParameterRanges {
@@ -10277,9 +10296,10 @@ export interface HyperParameterTrainingJobDefinition {
10277
10296
  * result in the training job with the best performance as measured by the objective metric
10278
10297
  * of the hyperparameter tuning job.</p>
10279
10298
  * <note>
10280
- * <p>You can specify a maximum of 20 hyperparameters that a hyperparameter tuning job
10281
- * can search over. Every possible value of a categorical parameter range counts
10282
- * against this limit.</p>
10299
+ * <p>The maximum number of items specified for <code>Array Members</code> refers to
10300
+ * the maximum number of hyperparameters for each range and also the maximum for the
10301
+ * hyperparameter tuning job itself. That is, the sum of the number of hyperparameters
10302
+ * for all the ranges can't exceed the maximum number specified.</p>
10283
10303
  * </note>
10284
10304
  */
10285
10305
  HyperParameterRanges?: ParameterRanges;
@@ -140,12 +140,29 @@ export declare enum ProductionVariantInstanceType {
140
140
  ML_C5_9XLARGE = "ml.c5.9xlarge",
141
141
  ML_C5_LARGE = "ml.c5.large",
142
142
  ML_C5_XLARGE = "ml.c5.xlarge",
143
+ ML_C6I_12XLARGE = "ml.c6i.12xlarge",
144
+ ML_C6I_16XLARGE = "ml.c6i.16xlarge",
145
+ ML_C6I_24XLARGE = "ml.c6i.24xlarge",
146
+ ML_C6I_2XLARGE = "ml.c6i.2xlarge",
147
+ ML_C6I_32XLARGE = "ml.c6i.32xlarge",
148
+ ML_C6I_4XLARGE = "ml.c6i.4xlarge",
149
+ ML_C6I_8XLARGE = "ml.c6i.8xlarge",
150
+ ML_C6I_LARGE = "ml.c6i.large",
151
+ ML_C6I_XLARGE = "ml.c6i.xlarge",
143
152
  ML_G4DN_12XLARGE = "ml.g4dn.12xlarge",
144
153
  ML_G4DN_16XLARGE = "ml.g4dn.16xlarge",
145
154
  ML_G4DN_2XLARGE = "ml.g4dn.2xlarge",
146
155
  ML_G4DN_4XLARGE = "ml.g4dn.4xlarge",
147
156
  ML_G4DN_8XLARGE = "ml.g4dn.8xlarge",
148
157
  ML_G4DN_XLARGE = "ml.g4dn.xlarge",
158
+ ML_G5_12XLARGE = "ml.g5.12xlarge",
159
+ ML_G5_16XLARGE = "ml.g5.16xlarge",
160
+ ML_G5_24XLARGE = "ml.g5.24xlarge",
161
+ ML_G5_2XLARGE = "ml.g5.2xlarge",
162
+ ML_G5_48XLARGE = "ml.g5.48xlarge",
163
+ ML_G5_4XLARGE = "ml.g5.4xlarge",
164
+ ML_G5_8XLARGE = "ml.g5.8xlarge",
165
+ ML_G5_XLARGE = "ml.g5.xlarge",
149
166
  ML_INF1_24XLARGE = "ml.inf1.24xlarge",
150
167
  ML_INF1_2XLARGE = "ml.inf1.2xlarge",
151
168
  ML_INF1_6XLARGE = "ml.inf1.6xlarge",
@@ -173,6 +190,7 @@ export declare enum ProductionVariantInstanceType {
173
190
  ML_P3_16XLARGE = "ml.p3.16xlarge",
174
191
  ML_P3_2XLARGE = "ml.p3.2xlarge",
175
192
  ML_P3_8XLARGE = "ml.p3.8xlarge",
193
+ ML_P4D_24XLARGE = "ml.p4d.24xlarge",
176
194
  ML_R5D_12XLARGE = "ml.r5d.12xlarge",
177
195
  ML_R5D_24XLARGE = "ml.r5d.24xlarge",
178
196
  ML_R5D_2XLARGE = "ml.r5d.2xlarge",
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.128.0",
4
+ "version": "3.130.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.128.0",
22
- "@aws-sdk/config-resolver": "3.128.0",
23
- "@aws-sdk/credential-provider-node": "3.128.0",
21
+ "@aws-sdk/client-sts": "3.130.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.130.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.127.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
31
  "@aws-sdk/middleware-retry": "3.127.0",
32
32
  "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.128.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
34
  "@aws-sdk/middleware-stack": "3.127.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.127.0",
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
@@ -44,7 +44,7 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.128.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",