@aws-sdk/client-sagemaker 3.233.0 → 3.235.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 (90) hide show
  1. package/dist-cjs/SageMaker.js +30 -0
  2. package/dist-cjs/commands/DescribeAlgorithmCommand.js +3 -3
  3. package/dist-cjs/commands/DescribeAppCommand.js +1 -2
  4. package/dist-cjs/commands/ListAliasesCommand.js +46 -0
  5. package/dist-cjs/commands/ListAssociationsCommand.js +2 -1
  6. package/dist-cjs/commands/ListAutoMLJobsCommand.js +3 -3
  7. package/dist-cjs/commands/ListCandidatesForAutoMLJobCommand.js +3 -3
  8. package/dist-cjs/commands/UpdateFeatureGroupCommand.js +2 -1
  9. package/dist-cjs/commands/UpdateFeatureMetadataCommand.js +2 -2
  10. package/dist-cjs/commands/UpdateHubCommand.js +3 -3
  11. package/dist-cjs/commands/UpdateImageCommand.js +1 -2
  12. package/dist-cjs/commands/UpdateImageVersionCommand.js +46 -0
  13. package/dist-cjs/commands/index.js +2 -0
  14. package/dist-cjs/endpoint/ruleset.js +4 -375
  15. package/dist-cjs/models/models_0.js +8 -0
  16. package/dist-cjs/models/models_1.js +25 -19
  17. package/dist-cjs/models/models_2.js +25 -25
  18. package/dist-cjs/models/models_3.js +26 -26
  19. package/dist-cjs/models/models_4.js +29 -1
  20. package/dist-cjs/pagination/ListAliasesPaginator.js +36 -0
  21. package/dist-cjs/pagination/index.js +1 -0
  22. package/dist-cjs/protocols/Aws_json1_1.js +177 -9
  23. package/dist-es/SageMaker.js +30 -0
  24. package/dist-es/commands/DescribeAlgorithmCommand.js +1 -1
  25. package/dist-es/commands/DescribeAppCommand.js +1 -2
  26. package/dist-es/commands/ListAliasesCommand.js +42 -0
  27. package/dist-es/commands/ListAssociationsCommand.js +2 -1
  28. package/dist-es/commands/ListAutoMLJobsCommand.js +1 -1
  29. package/dist-es/commands/ListCandidatesForAutoMLJobCommand.js +1 -1
  30. package/dist-es/commands/UpdateFeatureGroupCommand.js +2 -1
  31. package/dist-es/commands/UpdateFeatureMetadataCommand.js +1 -1
  32. package/dist-es/commands/UpdateHubCommand.js +1 -1
  33. package/dist-es/commands/UpdateImageCommand.js +1 -2
  34. package/dist-es/commands/UpdateImageVersionCommand.js +42 -0
  35. package/dist-es/commands/index.js +2 -0
  36. package/dist-es/endpoint/ruleset.js +4 -375
  37. package/dist-es/models/models_0.js +8 -0
  38. package/dist-es/models/models_1.js +18 -9
  39. package/dist-es/models/models_2.js +15 -15
  40. package/dist-es/models/models_3.js +15 -15
  41. package/dist-es/models/models_4.js +21 -0
  42. package/dist-es/pagination/ListAliasesPaginator.js +32 -0
  43. package/dist-es/pagination/index.js +1 -0
  44. package/dist-es/protocols/Aws_json1_1.js +164 -0
  45. package/dist-types/SageMaker.d.ts +19 -1
  46. package/dist-types/SageMakerClient.d.ts +4 -2
  47. package/dist-types/commands/CreateExperimentCommand.d.ts +5 -1
  48. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeAppCommand.d.ts +1 -2
  50. package/dist-types/commands/ListAliasesCommand.d.ts +37 -0
  51. package/dist-types/commands/ListAssociationsCommand.d.ts +2 -1
  52. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  53. package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  54. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +2 -1
  55. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateImageCommand.d.ts +1 -2
  58. package/dist-types/commands/UpdateImageVersionCommand.d.ts +37 -0
  59. package/dist-types/commands/index.d.ts +2 -0
  60. package/dist-types/models/models_0.d.ts +153 -61
  61. package/dist-types/models/models_1.d.ts +102 -97
  62. package/dist-types/models/models_2.d.ts +215 -136
  63. package/dist-types/models/models_3.d.ts +129 -97
  64. package/dist-types/models/models_4.d.ts +204 -3
  65. package/dist-types/pagination/ListAliasesPaginator.d.ts +4 -0
  66. package/dist-types/pagination/index.d.ts +1 -0
  67. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  68. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  69. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  70. package/dist-types/ts3.4/commands/DescribeAlgorithmCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +1 -2
  72. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +34 -0
  73. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +2 -4
  74. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +2 -4
  77. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -2
  80. package/dist-types/ts3.4/commands/UpdateImageVersionCommand.d.ts +38 -0
  81. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +8 -0
  83. package/dist-types/ts3.4/models/models_1.d.ts +25 -37
  84. package/dist-types/ts3.4/models/models_2.d.ts +64 -54
  85. package/dist-types/ts3.4/models/models_3.d.ts +56 -42
  86. package/dist-types/ts3.4/models/models_4.d.ts +74 -1
  87. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  90. package/package.json +8 -8
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateImageVersionRequestFilterSensitiveLog, UpdateImageVersionResponseFilterSensitiveLog, } from "../models/models_4";
5
+ import { deserializeAws_json1_1UpdateImageVersionCommand, serializeAws_json1_1UpdateImageVersionCommand, } from "../protocols/Aws_json1_1";
6
+ export class UpdateImageVersionCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
10
+ }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateImageVersionCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "SageMakerClient";
25
+ const commandName = "UpdateImageVersionCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UpdateImageVersionRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UpdateImageVersionResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_json1_1UpdateImageVersionCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_json1_1UpdateImageVersionCommand(output, context);
41
+ }
42
+ }
@@ -169,6 +169,7 @@ export * from "./GetSearchSuggestionsCommand";
169
169
  export * from "./ImportHubContentCommand";
170
170
  export * from "./ListActionsCommand";
171
171
  export * from "./ListAlgorithmsCommand";
172
+ export * from "./ListAliasesCommand";
172
173
  export * from "./ListAppImageConfigsCommand";
173
174
  export * from "./ListAppsCommand";
174
175
  export * from "./ListArtifactsCommand";
@@ -279,6 +280,7 @@ export * from "./UpdateFeatureGroupCommand";
279
280
  export * from "./UpdateFeatureMetadataCommand";
280
281
  export * from "./UpdateHubCommand";
281
282
  export * from "./UpdateImageCommand";
283
+ export * from "./UpdateImageVersionCommand";
282
284
  export * from "./UpdateInferenceExperimentCommand";
283
285
  export * from "./UpdateModelCardCommand";
284
286
  export * from "./UpdateModelPackageCommand";
@@ -1,375 +1,4 @@
1
- export const ruleSet = {
2
- version: "1.0",
3
- parameters: {
4
- Region: {
5
- builtIn: "AWS::Region",
6
- required: true,
7
- documentation: "The AWS region used to dispatch the request.",
8
- type: "String",
9
- },
10
- UseDualStack: {
11
- builtIn: "AWS::UseDualStack",
12
- required: true,
13
- default: false,
14
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
15
- type: "Boolean",
16
- },
17
- UseFIPS: {
18
- builtIn: "AWS::UseFIPS",
19
- required: true,
20
- default: false,
21
- documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
22
- type: "Boolean",
23
- },
24
- Endpoint: {
25
- builtIn: "SDK::Endpoint",
26
- required: false,
27
- documentation: "Override the endpoint used to send this request",
28
- type: "String",
29
- },
30
- },
31
- rules: [
32
- {
33
- conditions: [
34
- {
35
- fn: "aws.partition",
36
- argv: [
37
- {
38
- ref: "Region",
39
- },
40
- ],
41
- assign: "PartitionResult",
42
- },
43
- ],
44
- type: "tree",
45
- rules: [
46
- {
47
- conditions: [
48
- {
49
- fn: "isSet",
50
- argv: [
51
- {
52
- ref: "Endpoint",
53
- },
54
- ],
55
- },
56
- ],
57
- type: "tree",
58
- rules: [
59
- {
60
- conditions: [
61
- {
62
- fn: "booleanEquals",
63
- argv: [
64
- {
65
- ref: "UseFIPS",
66
- },
67
- true,
68
- ],
69
- },
70
- ],
71
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
72
- type: "error",
73
- },
74
- {
75
- conditions: [],
76
- type: "tree",
77
- rules: [
78
- {
79
- conditions: [
80
- {
81
- fn: "booleanEquals",
82
- argv: [
83
- {
84
- ref: "UseDualStack",
85
- },
86
- true,
87
- ],
88
- },
89
- ],
90
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
91
- type: "error",
92
- },
93
- {
94
- conditions: [],
95
- endpoint: {
96
- url: {
97
- ref: "Endpoint",
98
- },
99
- properties: {},
100
- headers: {},
101
- },
102
- type: "endpoint",
103
- },
104
- ],
105
- },
106
- ],
107
- },
108
- {
109
- conditions: [
110
- {
111
- fn: "booleanEquals",
112
- argv: [
113
- {
114
- ref: "UseFIPS",
115
- },
116
- true,
117
- ],
118
- },
119
- {
120
- fn: "booleanEquals",
121
- argv: [
122
- {
123
- ref: "UseDualStack",
124
- },
125
- true,
126
- ],
127
- },
128
- ],
129
- type: "tree",
130
- rules: [
131
- {
132
- conditions: [
133
- {
134
- fn: "booleanEquals",
135
- argv: [
136
- true,
137
- {
138
- fn: "getAttr",
139
- argv: [
140
- {
141
- ref: "PartitionResult",
142
- },
143
- "supportsFIPS",
144
- ],
145
- },
146
- ],
147
- },
148
- {
149
- fn: "booleanEquals",
150
- argv: [
151
- true,
152
- {
153
- fn: "getAttr",
154
- argv: [
155
- {
156
- ref: "PartitionResult",
157
- },
158
- "supportsDualStack",
159
- ],
160
- },
161
- ],
162
- },
163
- ],
164
- type: "tree",
165
- rules: [
166
- {
167
- conditions: [],
168
- endpoint: {
169
- url: "https://api.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
170
- properties: {},
171
- headers: {},
172
- },
173
- type: "endpoint",
174
- },
175
- ],
176
- },
177
- {
178
- conditions: [],
179
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
180
- type: "error",
181
- },
182
- ],
183
- },
184
- {
185
- conditions: [
186
- {
187
- fn: "booleanEquals",
188
- argv: [
189
- {
190
- ref: "UseFIPS",
191
- },
192
- true,
193
- ],
194
- },
195
- ],
196
- type: "tree",
197
- rules: [
198
- {
199
- conditions: [
200
- {
201
- fn: "booleanEquals",
202
- argv: [
203
- true,
204
- {
205
- fn: "getAttr",
206
- argv: [
207
- {
208
- ref: "PartitionResult",
209
- },
210
- "supportsFIPS",
211
- ],
212
- },
213
- ],
214
- },
215
- ],
216
- type: "tree",
217
- rules: [
218
- {
219
- conditions: [],
220
- type: "tree",
221
- rules: [
222
- {
223
- conditions: [
224
- {
225
- fn: "stringEquals",
226
- argv: [
227
- "aws",
228
- {
229
- fn: "getAttr",
230
- argv: [
231
- {
232
- ref: "PartitionResult",
233
- },
234
- "name",
235
- ],
236
- },
237
- ],
238
- },
239
- ],
240
- endpoint: {
241
- url: "https://api-fips.sagemaker.{Region}.{PartitionResult#dnsSuffix}",
242
- properties: {},
243
- headers: {},
244
- },
245
- type: "endpoint",
246
- },
247
- {
248
- conditions: [
249
- {
250
- fn: "stringEquals",
251
- argv: [
252
- {
253
- ref: "Region",
254
- },
255
- "us-gov-west-1-secondary",
256
- ],
257
- },
258
- ],
259
- endpoint: {
260
- url: "https://api.sagemaker.us-gov-west-1.amazonaws.com",
261
- properties: {},
262
- headers: {},
263
- },
264
- type: "endpoint",
265
- },
266
- {
267
- conditions: [
268
- {
269
- fn: "stringEquals",
270
- argv: [
271
- "aws-us-gov",
272
- {
273
- fn: "getAttr",
274
- argv: [
275
- {
276
- ref: "PartitionResult",
277
- },
278
- "name",
279
- ],
280
- },
281
- ],
282
- },
283
- ],
284
- endpoint: {
285
- url: "https://api-fips.sagemaker.{Region}.{PartitionResult#dnsSuffix}",
286
- properties: {},
287
- headers: {},
288
- },
289
- type: "endpoint",
290
- },
291
- {
292
- conditions: [],
293
- endpoint: {
294
- url: "https://api.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}",
295
- properties: {},
296
- headers: {},
297
- },
298
- type: "endpoint",
299
- },
300
- ],
301
- },
302
- ],
303
- },
304
- {
305
- conditions: [],
306
- error: "FIPS is enabled but this partition does not support FIPS",
307
- type: "error",
308
- },
309
- ],
310
- },
311
- {
312
- conditions: [
313
- {
314
- fn: "booleanEquals",
315
- argv: [
316
- {
317
- ref: "UseDualStack",
318
- },
319
- true,
320
- ],
321
- },
322
- ],
323
- type: "tree",
324
- rules: [
325
- {
326
- conditions: [
327
- {
328
- fn: "booleanEquals",
329
- argv: [
330
- true,
331
- {
332
- fn: "getAttr",
333
- argv: [
334
- {
335
- ref: "PartitionResult",
336
- },
337
- "supportsDualStack",
338
- ],
339
- },
340
- ],
341
- },
342
- ],
343
- type: "tree",
344
- rules: [
345
- {
346
- conditions: [],
347
- endpoint: {
348
- url: "https://api.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}",
349
- properties: {},
350
- headers: {},
351
- },
352
- type: "endpoint",
353
- },
354
- ],
355
- },
356
- {
357
- conditions: [],
358
- error: "DualStack is enabled but this partition does not support DualStack",
359
- type: "error",
360
- },
361
- ],
362
- },
363
- {
364
- conditions: [],
365
- endpoint: {
366
- url: "https://api.sagemaker.{Region}.{PartitionResult#dnsSuffix}",
367
- properties: {},
368
- headers: {},
369
- },
370
- type: "endpoint",
371
- },
372
- ],
373
- },
374
- ],
375
- };
1
+ const v = "fn", w = "argv", x = "ref";
2
+ const a = true, b = false, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = "stringEquals", j = { [x]: "Region" }, k = { [x]: "Endpoint" }, l = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, p = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, q = { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }, r = { "url": "https://api-fips.sagemaker.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, s = [l], t = [], u = [m];
3
+ const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", type: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: a, default: b, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", type: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: a, default: b, documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", type: d }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", type: c } }, rules: [{ conditions: [{ [v]: "aws.partition", [w]: [j], assign: e }], type: f, rules: [{ conditions: [{ [v]: "isSet", [w]: [k] }], type: f, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: g }, { conditions: t, type: f, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: g }, { conditions: t, endpoint: { url: k, properties: n, headers: n }, type: h }] }] }, { conditions: [l, m], type: f, rules: [{ conditions: [o, p], type: f, rules: [{ conditions: t, endpoint: { url: "https://api.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: h }] }, { conditions: t, error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: g }] }, { conditions: s, type: f, rules: [{ conditions: [o], type: f, rules: [{ conditions: t, type: f, rules: [{ conditions: [{ [v]: i, [w]: ["aws", q] }], endpoint: r, type: h }, { conditions: [{ [v]: i, [w]: [j, "us-gov-west-1-secondary"] }], endpoint: { url: "https://api.sagemaker.us-gov-west-1.amazonaws.com", properties: n, headers: n }, type: h }, { conditions: [{ [v]: i, [w]: ["aws-us-gov", q] }], endpoint: r, type: h }, { conditions: t, endpoint: { url: "https://api.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: h }] }] }, { conditions: t, error: "FIPS is enabled but this partition does not support FIPS", type: g }] }, { conditions: u, type: f, rules: [{ conditions: [p], type: f, rules: [{ conditions: t, endpoint: { url: "https://api.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: h }] }, { conditions: t, error: "DualStack is enabled but this partition does not support DualStack", type: g }] }, { conditions: t, endpoint: { url: "https://api.sagemaker.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: h }] }] };
4
+ export const ruleSet = _data;
@@ -471,9 +471,17 @@ export var AutoMLMetricEnum;
471
471
  (function (AutoMLMetricEnum) {
472
472
  AutoMLMetricEnum["ACCURACY"] = "Accuracy";
473
473
  AutoMLMetricEnum["AUC"] = "AUC";
474
+ AutoMLMetricEnum["BALANCED_ACCURACY"] = "BalancedAccuracy";
474
475
  AutoMLMetricEnum["F1"] = "F1";
475
476
  AutoMLMetricEnum["F1_MACRO"] = "F1macro";
477
+ AutoMLMetricEnum["MAE"] = "MAE";
476
478
  AutoMLMetricEnum["MSE"] = "MSE";
479
+ AutoMLMetricEnum["PRECISION"] = "Precision";
480
+ AutoMLMetricEnum["PRECISION_MACRO"] = "PrecisionMacro";
481
+ AutoMLMetricEnum["R2"] = "R2";
482
+ AutoMLMetricEnum["RECALL"] = "Recall";
483
+ AutoMLMetricEnum["RECALL_MACRO"] = "RecallMacro";
484
+ AutoMLMetricEnum["RMSE"] = "RMSE";
477
485
  })(AutoMLMetricEnum || (AutoMLMetricEnum = {}));
478
486
  export var MetricSetSource;
479
487
  (function (MetricSetSource) {
@@ -25,6 +25,24 @@ export var HyperParameterTuningJobWarmStartType;
25
25
  HyperParameterTuningJobWarmStartType["IDENTICAL_DATA_AND_ALGORITHM"] = "IdenticalDataAndAlgorithm";
26
26
  HyperParameterTuningJobWarmStartType["TRANSFER_LEARNING"] = "TransferLearning";
27
27
  })(HyperParameterTuningJobWarmStartType || (HyperParameterTuningJobWarmStartType = {}));
28
+ export var JobType;
29
+ (function (JobType) {
30
+ JobType["INFERENCE"] = "INFERENCE";
31
+ JobType["NOTEBOOK_KERNEL"] = "NOTEBOOK_KERNEL";
32
+ JobType["TRAINING"] = "TRAINING";
33
+ })(JobType || (JobType = {}));
34
+ export var Processor;
35
+ (function (Processor) {
36
+ Processor["CPU"] = "CPU";
37
+ Processor["GPU"] = "GPU";
38
+ })(Processor || (Processor = {}));
39
+ export var VendorGuidance;
40
+ (function (VendorGuidance) {
41
+ VendorGuidance["ARCHIVED"] = "ARCHIVED";
42
+ VendorGuidance["NOT_PROVIDED"] = "NOT_PROVIDED";
43
+ VendorGuidance["STABLE"] = "STABLE";
44
+ VendorGuidance["TO_BE_ARCHIVED"] = "TO_BE_ARCHIVED";
45
+ })(VendorGuidance || (VendorGuidance = {}));
28
46
  export var ModelInfrastructureType;
29
47
  (function (ModelInfrastructureType) {
30
48
  ModelInfrastructureType["REAL_TIME_INFERENCE"] = "RealTimeInference";
@@ -1061,12 +1079,3 @@ export const DescribeActionRequestFilterSensitiveLog = (obj) => ({
1061
1079
  export const DescribeActionResponseFilterSensitiveLog = (obj) => ({
1062
1080
  ...obj,
1063
1081
  });
1064
- export const DescribeAlgorithmInputFilterSensitiveLog = (obj) => ({
1065
- ...obj,
1066
- });
1067
- export const DescribeAlgorithmOutputFilterSensitiveLog = (obj) => ({
1068
- ...obj,
1069
- });
1070
- export const DescribeAppRequestFilterSensitiveLog = (obj) => ({
1071
- ...obj,
1072
- });
@@ -475,6 +475,15 @@ export var SortAssociationsBy;
475
475
  SortAssociationsBy["SOURCE_ARN"] = "SourceArn";
476
476
  SortAssociationsBy["SOURCE_TYPE"] = "SourceType";
477
477
  })(SortAssociationsBy || (SortAssociationsBy = {}));
478
+ export const DescribeAlgorithmInputFilterSensitiveLog = (obj) => ({
479
+ ...obj,
480
+ });
481
+ export const DescribeAlgorithmOutputFilterSensitiveLog = (obj) => ({
482
+ ...obj,
483
+ });
484
+ export const DescribeAppRequestFilterSensitiveLog = (obj) => ({
485
+ ...obj,
486
+ });
478
487
  export const DescribeAppResponseFilterSensitiveLog = (obj) => ({
479
488
  ...obj,
480
489
  });
@@ -1160,6 +1169,12 @@ export const ListAlgorithmsInputFilterSensitiveLog = (obj) => ({
1160
1169
  export const ListAlgorithmsOutputFilterSensitiveLog = (obj) => ({
1161
1170
  ...obj,
1162
1171
  });
1172
+ export const ListAliasesRequestFilterSensitiveLog = (obj) => ({
1173
+ ...obj,
1174
+ });
1175
+ export const ListAliasesResponseFilterSensitiveLog = (obj) => ({
1176
+ ...obj,
1177
+ });
1163
1178
  export const ListAppImageConfigsRequestFilterSensitiveLog = (obj) => ({
1164
1179
  ...obj,
1165
1180
  });
@@ -1181,18 +1196,3 @@ export const ListArtifactsResponseFilterSensitiveLog = (obj) => ({
1181
1196
  export const ListAssociationsRequestFilterSensitiveLog = (obj) => ({
1182
1197
  ...obj,
1183
1198
  });
1184
- export const ListAssociationsResponseFilterSensitiveLog = (obj) => ({
1185
- ...obj,
1186
- });
1187
- export const ListAutoMLJobsRequestFilterSensitiveLog = (obj) => ({
1188
- ...obj,
1189
- });
1190
- export const ListAutoMLJobsResponseFilterSensitiveLog = (obj) => ({
1191
- ...obj,
1192
- });
1193
- export const ListCandidatesForAutoMLJobRequestFilterSensitiveLog = (obj) => ({
1194
- ...obj,
1195
- });
1196
- export const ListCandidatesForAutoMLJobResponseFilterSensitiveLog = (obj) => ({
1197
- ...obj,
1198
- });
@@ -260,6 +260,21 @@ export var VariantPropertyType;
260
260
  VariantPropertyType["DesiredInstanceCount"] = "DesiredInstanceCount";
261
261
  VariantPropertyType["DesiredWeight"] = "DesiredWeight";
262
262
  })(VariantPropertyType || (VariantPropertyType = {}));
263
+ export const ListAssociationsResponseFilterSensitiveLog = (obj) => ({
264
+ ...obj,
265
+ });
266
+ export const ListAutoMLJobsRequestFilterSensitiveLog = (obj) => ({
267
+ ...obj,
268
+ });
269
+ export const ListAutoMLJobsResponseFilterSensitiveLog = (obj) => ({
270
+ ...obj,
271
+ });
272
+ export const ListCandidatesForAutoMLJobRequestFilterSensitiveLog = (obj) => ({
273
+ ...obj,
274
+ });
275
+ export const ListCandidatesForAutoMLJobResponseFilterSensitiveLog = (obj) => ({
276
+ ...obj,
277
+ });
263
278
  export const ListCodeRepositoriesInputFilterSensitiveLog = (obj) => ({
264
279
  ...obj,
265
280
  });
@@ -1011,18 +1026,3 @@ export const UpdateExperimentResponseFilterSensitiveLog = (obj) => ({
1011
1026
  export const UpdateFeatureGroupRequestFilterSensitiveLog = (obj) => ({
1012
1027
  ...obj,
1013
1028
  });
1014
- export const UpdateFeatureGroupResponseFilterSensitiveLog = (obj) => ({
1015
- ...obj,
1016
- });
1017
- export const UpdateFeatureMetadataRequestFilterSensitiveLog = (obj) => ({
1018
- ...obj,
1019
- });
1020
- export const UpdateHubRequestFilterSensitiveLog = (obj) => ({
1021
- ...obj,
1022
- });
1023
- export const UpdateHubResponseFilterSensitiveLog = (obj) => ({
1024
- ...obj,
1025
- });
1026
- export const UpdateImageRequestFilterSensitiveLog = (obj) => ({
1027
- ...obj,
1028
- });
@@ -1,8 +1,29 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { OidcConfigFilterSensitiveLog, TrialComponentParameterValueFilterSensitiveLog, } from "./models_1";
3
+ export const UpdateFeatureGroupResponseFilterSensitiveLog = (obj) => ({
4
+ ...obj,
5
+ });
6
+ export const UpdateFeatureMetadataRequestFilterSensitiveLog = (obj) => ({
7
+ ...obj,
8
+ });
9
+ export const UpdateHubRequestFilterSensitiveLog = (obj) => ({
10
+ ...obj,
11
+ });
12
+ export const UpdateHubResponseFilterSensitiveLog = (obj) => ({
13
+ ...obj,
14
+ });
15
+ export const UpdateImageRequestFilterSensitiveLog = (obj) => ({
16
+ ...obj,
17
+ });
3
18
  export const UpdateImageResponseFilterSensitiveLog = (obj) => ({
4
19
  ...obj,
5
20
  });
21
+ export const UpdateImageVersionRequestFilterSensitiveLog = (obj) => ({
22
+ ...obj,
23
+ });
24
+ export const UpdateImageVersionResponseFilterSensitiveLog = (obj) => ({
25
+ ...obj,
26
+ });
6
27
  export const UpdateInferenceExperimentRequestFilterSensitiveLog = (obj) => ({
7
28
  ...obj,
8
29
  });
@@ -0,0 +1,32 @@
1
+ import { ListAliasesCommand } from "../commands/ListAliasesCommand";
2
+ import { SageMaker } from "../SageMaker";
3
+ import { SageMakerClient } from "../SageMakerClient";
4
+ const makePagedClientRequest = async (client, input, ...args) => {
5
+ return await client.send(new ListAliasesCommand(input), ...args);
6
+ };
7
+ const makePagedRequest = async (client, input, ...args) => {
8
+ return await client.listAliases(input, ...args);
9
+ };
10
+ export async function* paginateListAliases(config, input, ...additionalArguments) {
11
+ let token = config.startingToken || undefined;
12
+ let hasNext = true;
13
+ let page;
14
+ while (hasNext) {
15
+ input.NextToken = token;
16
+ input["MaxResults"] = config.pageSize;
17
+ if (config.client instanceof SageMaker) {
18
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
19
+ }
20
+ else if (config.client instanceof SageMakerClient) {
21
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else {
24
+ throw new Error("Invalid client, expected SageMaker | SageMakerClient");
25
+ }
26
+ yield page;
27
+ const prevToken = token;
28
+ token = page.NextToken;
29
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
30
+ }
31
+ return undefined;
32
+ }
@@ -1,6 +1,7 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListActionsPaginator";
3
3
  export * from "./ListAlgorithmsPaginator";
4
+ export * from "./ListAliasesPaginator";
4
5
  export * from "./ListAppImageConfigsPaginator";
5
6
  export * from "./ListAppsPaginator";
6
7
  export * from "./ListArtifactsPaginator";