@aws-sdk/client-sagemaker 3.582.0 → 3.587.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 +1358 -1303
- package/dist-es/commands/CreateModelPackageCommand.js +2 -1
- package/dist-es/commands/DescribeModelPackageCommand.js +2 -1
- package/dist-es/commands/UpdateModelPackageCommand.js +2 -1
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/models/models_1.js +8 -6
- package/dist-es/models/models_2.js +11 -0
- package/dist-es/models/models_4.js +10 -0
- package/dist-es/protocols/Aws_json1_1.js +193 -175
- package/dist-types/commands/CreateAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +12 -3
- package/dist-types/commands/CreateModelPackageCommand.d.ts +7 -0
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +12 -3
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +12 -0
- package/dist-types/commands/DescribeProcessingJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeProjectCommand.d.ts +1 -2
- package/dist-types/commands/ListNotebookInstancesCommand.d.ts +2 -1
- package/dist-types/commands/SearchCommand.d.ts +7 -0
- package/dist-types/commands/UpdateModelPackageCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +182 -99
- package/dist-types/models/models_1.d.ts +78 -36
- package/dist-types/models/models_2.d.ts +68 -133
- package/dist-types/models/models_3.d.ts +131 -93
- package/dist-types/models/models_4.d.ts +131 -4
- package/dist-types/ts3.4/commands/CreateStudioLifecycleConfigCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeProcessingJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListNotebookInstancesCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +15 -14
- package/dist-types/ts3.4/models/models_2.d.ts +21 -32
- package/dist-types/ts3.4/models/models_3.d.ts +34 -18
- package/dist-types/ts3.4/models/models_4.d.ts +27 -1
- package/package.json +18 -18
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateModelPackageInputFilterSensitiveLog, } from "../models/models_1";
|
|
5
6
|
import { de_CreateModelPackageCommand, se_CreateModelPackageCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class CreateModelPackageCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class CreateModelPackageCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("SageMaker", "CreateModelPackage", {})
|
|
19
20
|
.n("SageMakerClient", "CreateModelPackageCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(CreateModelPackageInputFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_CreateModelPackageCommand)
|
|
22
23
|
.de(de_CreateModelPackageCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { DescribeModelPackageOutputFilterSensitiveLog, } from "../models/models_2";
|
|
5
6
|
import { de_DescribeModelPackageCommand, se_DescribeModelPackageCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class DescribeModelPackageCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class DescribeModelPackageCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("SageMaker", "DescribeModelPackage", {})
|
|
19
20
|
.n("SageMakerClient", "DescribeModelPackageCommand")
|
|
20
|
-
.f(void 0,
|
|
21
|
+
.f(void 0, DescribeModelPackageOutputFilterSensitiveLog)
|
|
21
22
|
.ser(se_DescribeModelPackageCommand)
|
|
22
23
|
.de(de_DescribeModelPackageCommand)
|
|
23
24
|
.build() {
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateModelPackageInputFilterSensitiveLog, } from "../models/models_4";
|
|
5
6
|
import { de_UpdateModelPackageCommand, se_UpdateModelPackageCommand } from "../protocols/Aws_json1_1";
|
|
6
7
|
export { $Command };
|
|
7
8
|
export class UpdateModelPackageCommand extends $Command
|
|
@@ -17,7 +18,7 @@ export class UpdateModelPackageCommand extends $Command
|
|
|
17
18
|
})
|
|
18
19
|
.s("SageMaker", "UpdateModelPackage", {})
|
|
19
20
|
.n("SageMakerClient", "UpdateModelPackageCommand")
|
|
20
|
-
.f(
|
|
21
|
+
.f(UpdateModelPackageInputFilterSensitiveLog, void 0)
|
|
21
22
|
.ser(se_UpdateModelPackageCommand)
|
|
22
23
|
.de(de_UpdateModelPackageCommand)
|
|
23
24
|
.build() {
|
|
@@ -698,13 +698,19 @@ export const AuthMode = {
|
|
|
698
698
|
SSO: "SSO",
|
|
699
699
|
};
|
|
700
700
|
export const AutoMLAlgorithm = {
|
|
701
|
+
ARIMA: "arima",
|
|
701
702
|
CATBOOST: "catboost",
|
|
703
|
+
CNN_QR: "cnn-qr",
|
|
704
|
+
DEEPAR: "deepar",
|
|
705
|
+
ETS: "ets",
|
|
702
706
|
EXTRA_TREES: "extra-trees",
|
|
703
707
|
FASTAI: "fastai",
|
|
704
708
|
LIGHTGBM: "lightgbm",
|
|
705
709
|
LINEAR_LEARNER: "linear-learner",
|
|
706
710
|
MLP: "mlp",
|
|
707
711
|
NN_TORCH: "nn-torch",
|
|
712
|
+
NPTS: "npts",
|
|
713
|
+
PROPHET: "prophet",
|
|
708
714
|
RANDOMFOREST: "randomforest",
|
|
709
715
|
XGBOOST: "xgboost",
|
|
710
716
|
};
|
|
@@ -431,13 +431,15 @@ export const SharingType = {
|
|
|
431
431
|
Private: "Private",
|
|
432
432
|
Shared: "Shared",
|
|
433
433
|
};
|
|
434
|
-
export const StudioLifecycleConfigAppType = {
|
|
435
|
-
CodeEditor: "CodeEditor",
|
|
436
|
-
JupyterLab: "JupyterLab",
|
|
437
|
-
JupyterServer: "JupyterServer",
|
|
438
|
-
KernelGateway: "KernelGateway",
|
|
439
|
-
};
|
|
440
434
|
export const CreateModelCardRequestFilterSensitiveLog = (obj) => ({
|
|
441
435
|
...obj,
|
|
442
436
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
443
437
|
});
|
|
438
|
+
export const ModelPackageModelCardFilterSensitiveLog = (obj) => ({
|
|
439
|
+
...obj,
|
|
440
|
+
...(obj.ModelCardContent && { ModelCardContent: SENSITIVE_STRING }),
|
|
441
|
+
});
|
|
442
|
+
export const CreateModelPackageInputFilterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
|
|
445
|
+
});
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const StudioLifecycleConfigAppType = {
|
|
4
|
+
CodeEditor: "CodeEditor",
|
|
5
|
+
JupyterLab: "JupyterLab",
|
|
6
|
+
JupyterServer: "JupyterServer",
|
|
7
|
+
KernelGateway: "KernelGateway",
|
|
8
|
+
};
|
|
2
9
|
export const JoinSource = {
|
|
3
10
|
INPUT: "Input",
|
|
4
11
|
NONE: "None",
|
|
@@ -304,3 +311,7 @@ export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
|
304
311
|
...obj,
|
|
305
312
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
306
313
|
});
|
|
314
|
+
export const DescribeModelPackageOutputFilterSensitiveLog = (obj) => ({
|
|
315
|
+
...obj,
|
|
316
|
+
...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
|
|
317
|
+
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
2
3
|
import { OidcConfigFilterSensitiveLog, } from "./models_2";
|
|
3
4
|
export const SortPipelineExecutionsBy = {
|
|
4
5
|
CREATION_TIME: "CreationTime",
|
|
@@ -84,9 +85,14 @@ export const ModelCardFilterSensitiveLog = (obj) => ({
|
|
|
84
85
|
...obj,
|
|
85
86
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
86
87
|
});
|
|
88
|
+
export const ModelPackageFilterSensitiveLog = (obj) => ({
|
|
89
|
+
...obj,
|
|
90
|
+
...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
|
|
91
|
+
});
|
|
87
92
|
export const SearchRecordFilterSensitiveLog = (obj) => ({
|
|
88
93
|
...obj,
|
|
89
94
|
...(obj.TrialComponent && { TrialComponent: obj.TrialComponent }),
|
|
95
|
+
...(obj.ModelPackage && { ModelPackage: ModelPackageFilterSensitiveLog(obj.ModelPackage) }),
|
|
90
96
|
...(obj.FeatureGroup && { FeatureGroup: obj.FeatureGroup }),
|
|
91
97
|
...(obj.ModelCard && { ModelCard: ModelCardFilterSensitiveLog(obj.ModelCard) }),
|
|
92
98
|
});
|
|
@@ -98,6 +104,10 @@ export const UpdateModelCardRequestFilterSensitiveLog = (obj) => ({
|
|
|
98
104
|
...obj,
|
|
99
105
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
100
106
|
});
|
|
107
|
+
export const UpdateModelPackageInputFilterSensitiveLog = (obj) => ({
|
|
108
|
+
...obj,
|
|
109
|
+
...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
|
|
110
|
+
});
|
|
101
111
|
export const UpdateWorkforceRequestFilterSensitiveLog = (obj) => ({
|
|
102
112
|
...obj,
|
|
103
113
|
...(obj.OidcConfig && { OidcConfig: OidcConfigFilterSensitiveLog(obj.OidcConfig) }),
|