@aws-sdk/client-machine-learning 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +33 -33
- package/dist/cjs/protocols/Aws_json1_1.js +63 -63
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +33 -33
- package/dist/es/protocols/Aws_json1_1.js +64 -64
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +33 -33
- package/protocols/Aws_json1_1.ts +69 -65
package/dist/es/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-machine-learning",
|
|
3
3
|
"description": "AWS SDK for JavaScript Machine Learning Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,47 +27,47 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-sdk-machinelearning": "3.
|
|
41
|
-
"@aws-sdk/middleware-serde": "3.
|
|
42
|
-
"@aws-sdk/middleware-signing": "3.
|
|
43
|
-
"@aws-sdk/middleware-stack": "3.
|
|
44
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
45
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
-
"@aws-sdk/node-http-handler": "3.
|
|
47
|
-
"@aws-sdk/protocol-http": "3.
|
|
48
|
-
"@aws-sdk/smithy-client": "3.
|
|
49
|
-
"@aws-sdk/types": "3.
|
|
50
|
-
"@aws-sdk/url-parser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
52
|
-
"@aws-sdk/util-base64-node": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
54
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
58
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
59
|
-
"@aws-sdk/util-waiter": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-sdk-machinelearning": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
44
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
46
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
47
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
48
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
49
|
+
"@aws-sdk/types": "3.32.0",
|
|
50
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
58
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
59
|
+
"@aws-sdk/util-waiter": "3.32.0",
|
|
60
60
|
"tslib": "^2.3.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
63
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
64
64
|
"@types/node": "^12.7.5",
|
|
65
65
|
"downlevel-dts": "0.7.0",
|
|
66
66
|
"jest": "^26.1.0",
|
|
67
67
|
"rimraf": "^3.0.0",
|
|
68
68
|
"ts-jest": "^26.4.1",
|
|
69
69
|
"typedoc": "^0.19.2",
|
|
70
|
-
"typescript": "~4.3.
|
|
70
|
+
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean,
|
|
3
|
+
import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1AddTagsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -2629,28 +2629,28 @@ var deserializeAws_json1_1BatchPrediction = function (output, context) {
|
|
|
2629
2629
|
return {
|
|
2630
2630
|
BatchPredictionDataSourceId: __expectString(output.BatchPredictionDataSourceId),
|
|
2631
2631
|
BatchPredictionId: __expectString(output.BatchPredictionId),
|
|
2632
|
-
ComputeTime:
|
|
2632
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
2633
2633
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2634
|
-
?
|
|
2634
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2635
2635
|
: undefined,
|
|
2636
2636
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
2637
2637
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2638
|
-
?
|
|
2638
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
2639
2639
|
: undefined,
|
|
2640
2640
|
InputDataLocationS3: __expectString(output.InputDataLocationS3),
|
|
2641
|
-
InvalidRecordCount:
|
|
2641
|
+
InvalidRecordCount: __expectLong(output.InvalidRecordCount),
|
|
2642
2642
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2643
|
-
?
|
|
2643
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2644
2644
|
: undefined,
|
|
2645
2645
|
MLModelId: __expectString(output.MLModelId),
|
|
2646
2646
|
Message: __expectString(output.Message),
|
|
2647
2647
|
Name: __expectString(output.Name),
|
|
2648
2648
|
OutputUri: __expectString(output.OutputUri),
|
|
2649
2649
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2650
|
-
?
|
|
2650
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2651
2651
|
: undefined,
|
|
2652
2652
|
Status: __expectString(output.Status),
|
|
2653
|
-
TotalRecordCount:
|
|
2653
|
+
TotalRecordCount: __expectLong(output.TotalRecordCount),
|
|
2654
2654
|
};
|
|
2655
2655
|
};
|
|
2656
2656
|
var deserializeAws_json1_1BatchPredictions = function (output, context) {
|
|
@@ -2704,24 +2704,24 @@ var deserializeAws_json1_1CreateRealtimeEndpointOutput = function (output, conte
|
|
|
2704
2704
|
var deserializeAws_json1_1DataSource = function (output, context) {
|
|
2705
2705
|
return {
|
|
2706
2706
|
ComputeStatistics: __expectBoolean(output.ComputeStatistics),
|
|
2707
|
-
ComputeTime:
|
|
2707
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
2708
2708
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2709
|
-
?
|
|
2709
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2710
2710
|
: undefined,
|
|
2711
2711
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
2712
2712
|
DataLocationS3: __expectString(output.DataLocationS3),
|
|
2713
2713
|
DataRearrangement: __expectString(output.DataRearrangement),
|
|
2714
|
-
DataSizeInBytes:
|
|
2714
|
+
DataSizeInBytes: __expectLong(output.DataSizeInBytes),
|
|
2715
2715
|
DataSourceId: __expectString(output.DataSourceId),
|
|
2716
2716
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2717
|
-
?
|
|
2717
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
2718
2718
|
: undefined,
|
|
2719
2719
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2720
|
-
?
|
|
2720
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2721
2721
|
: undefined,
|
|
2722
2722
|
Message: __expectString(output.Message),
|
|
2723
2723
|
Name: __expectString(output.Name),
|
|
2724
|
-
NumberOfFiles:
|
|
2724
|
+
NumberOfFiles: __expectLong(output.NumberOfFiles),
|
|
2725
2725
|
RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
|
|
2726
2726
|
? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
|
|
2727
2727
|
: undefined,
|
|
@@ -2730,7 +2730,7 @@ var deserializeAws_json1_1DataSource = function (output, context) {
|
|
|
2730
2730
|
: undefined,
|
|
2731
2731
|
RoleARN: __expectString(output.RoleARN),
|
|
2732
2732
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2733
|
-
?
|
|
2733
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2734
2734
|
: undefined,
|
|
2735
2735
|
Status: __expectString(output.Status),
|
|
2736
2736
|
};
|
|
@@ -2832,19 +2832,19 @@ var deserializeAws_json1_1DetailsMap = function (output, context) {
|
|
|
2832
2832
|
};
|
|
2833
2833
|
var deserializeAws_json1_1Evaluation = function (output, context) {
|
|
2834
2834
|
return {
|
|
2835
|
-
ComputeTime:
|
|
2835
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
2836
2836
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2837
|
-
?
|
|
2837
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2838
2838
|
: undefined,
|
|
2839
2839
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
2840
2840
|
EvaluationDataSourceId: __expectString(output.EvaluationDataSourceId),
|
|
2841
2841
|
EvaluationId: __expectString(output.EvaluationId),
|
|
2842
2842
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2843
|
-
?
|
|
2843
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
2844
2844
|
: undefined,
|
|
2845
2845
|
InputDataLocationS3: __expectString(output.InputDataLocationS3),
|
|
2846
2846
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2847
|
-
?
|
|
2847
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2848
2848
|
: undefined,
|
|
2849
2849
|
MLModelId: __expectString(output.MLModelId),
|
|
2850
2850
|
Message: __expectString(output.Message),
|
|
@@ -2853,7 +2853,7 @@ var deserializeAws_json1_1Evaluation = function (output, context) {
|
|
|
2853
2853
|
? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
|
|
2854
2854
|
: undefined,
|
|
2855
2855
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2856
|
-
?
|
|
2856
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2857
2857
|
: undefined,
|
|
2858
2858
|
Status: __expectString(output.Status),
|
|
2859
2859
|
};
|
|
@@ -2872,18 +2872,18 @@ var deserializeAws_json1_1GetBatchPredictionOutput = function (output, context)
|
|
|
2872
2872
|
return {
|
|
2873
2873
|
BatchPredictionDataSourceId: __expectString(output.BatchPredictionDataSourceId),
|
|
2874
2874
|
BatchPredictionId: __expectString(output.BatchPredictionId),
|
|
2875
|
-
ComputeTime:
|
|
2875
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
2876
2876
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2877
|
-
?
|
|
2877
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2878
2878
|
: undefined,
|
|
2879
2879
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
2880
2880
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2881
|
-
?
|
|
2881
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
2882
2882
|
: undefined,
|
|
2883
2883
|
InputDataLocationS3: __expectString(output.InputDataLocationS3),
|
|
2884
|
-
InvalidRecordCount:
|
|
2884
|
+
InvalidRecordCount: __expectLong(output.InvalidRecordCount),
|
|
2885
2885
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2886
|
-
?
|
|
2886
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2887
2887
|
: undefined,
|
|
2888
2888
|
LogUri: __expectString(output.LogUri),
|
|
2889
2889
|
MLModelId: __expectString(output.MLModelId),
|
|
@@ -2891,35 +2891,35 @@ var deserializeAws_json1_1GetBatchPredictionOutput = function (output, context)
|
|
|
2891
2891
|
Name: __expectString(output.Name),
|
|
2892
2892
|
OutputUri: __expectString(output.OutputUri),
|
|
2893
2893
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2894
|
-
?
|
|
2894
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2895
2895
|
: undefined,
|
|
2896
2896
|
Status: __expectString(output.Status),
|
|
2897
|
-
TotalRecordCount:
|
|
2897
|
+
TotalRecordCount: __expectLong(output.TotalRecordCount),
|
|
2898
2898
|
};
|
|
2899
2899
|
};
|
|
2900
2900
|
var deserializeAws_json1_1GetDataSourceOutput = function (output, context) {
|
|
2901
2901
|
return {
|
|
2902
2902
|
ComputeStatistics: __expectBoolean(output.ComputeStatistics),
|
|
2903
|
-
ComputeTime:
|
|
2903
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
2904
2904
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2905
|
-
?
|
|
2905
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2906
2906
|
: undefined,
|
|
2907
2907
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
2908
2908
|
DataLocationS3: __expectString(output.DataLocationS3),
|
|
2909
2909
|
DataRearrangement: __expectString(output.DataRearrangement),
|
|
2910
|
-
DataSizeInBytes:
|
|
2910
|
+
DataSizeInBytes: __expectLong(output.DataSizeInBytes),
|
|
2911
2911
|
DataSourceId: __expectString(output.DataSourceId),
|
|
2912
2912
|
DataSourceSchema: __expectString(output.DataSourceSchema),
|
|
2913
2913
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2914
|
-
?
|
|
2914
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
2915
2915
|
: undefined,
|
|
2916
2916
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2917
|
-
?
|
|
2917
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2918
2918
|
: undefined,
|
|
2919
2919
|
LogUri: __expectString(output.LogUri),
|
|
2920
2920
|
Message: __expectString(output.Message),
|
|
2921
2921
|
Name: __expectString(output.Name),
|
|
2922
|
-
NumberOfFiles:
|
|
2922
|
+
NumberOfFiles: __expectLong(output.NumberOfFiles),
|
|
2923
2923
|
RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
|
|
2924
2924
|
? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
|
|
2925
2925
|
: undefined,
|
|
@@ -2928,26 +2928,26 @@ var deserializeAws_json1_1GetDataSourceOutput = function (output, context) {
|
|
|
2928
2928
|
: undefined,
|
|
2929
2929
|
RoleARN: __expectString(output.RoleARN),
|
|
2930
2930
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2931
|
-
?
|
|
2931
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2932
2932
|
: undefined,
|
|
2933
2933
|
Status: __expectString(output.Status),
|
|
2934
2934
|
};
|
|
2935
2935
|
};
|
|
2936
2936
|
var deserializeAws_json1_1GetEvaluationOutput = function (output, context) {
|
|
2937
2937
|
return {
|
|
2938
|
-
ComputeTime:
|
|
2938
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
2939
2939
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2940
|
-
?
|
|
2940
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2941
2941
|
: undefined,
|
|
2942
2942
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
2943
2943
|
EvaluationDataSourceId: __expectString(output.EvaluationDataSourceId),
|
|
2944
2944
|
EvaluationId: __expectString(output.EvaluationId),
|
|
2945
2945
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2946
|
-
?
|
|
2946
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
2947
2947
|
: undefined,
|
|
2948
2948
|
InputDataLocationS3: __expectString(output.InputDataLocationS3),
|
|
2949
2949
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2950
|
-
?
|
|
2950
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2951
2951
|
: undefined,
|
|
2952
2952
|
LogUri: __expectString(output.LogUri),
|
|
2953
2953
|
MLModelId: __expectString(output.MLModelId),
|
|
@@ -2957,27 +2957,27 @@ var deserializeAws_json1_1GetEvaluationOutput = function (output, context) {
|
|
|
2957
2957
|
? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
|
|
2958
2958
|
: undefined,
|
|
2959
2959
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2960
|
-
?
|
|
2960
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2961
2961
|
: undefined,
|
|
2962
2962
|
Status: __expectString(output.Status),
|
|
2963
2963
|
};
|
|
2964
2964
|
};
|
|
2965
2965
|
var deserializeAws_json1_1GetMLModelOutput = function (output, context) {
|
|
2966
2966
|
return {
|
|
2967
|
-
ComputeTime:
|
|
2967
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
2968
2968
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2969
|
-
?
|
|
2969
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
2970
2970
|
: undefined,
|
|
2971
2971
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
2972
2972
|
EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
|
|
2973
2973
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
|
|
2974
2974
|
: undefined,
|
|
2975
2975
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2976
|
-
?
|
|
2976
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
2977
2977
|
: undefined,
|
|
2978
2978
|
InputDataLocationS3: __expectString(output.InputDataLocationS3),
|
|
2979
2979
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2980
|
-
?
|
|
2980
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2981
2981
|
: undefined,
|
|
2982
2982
|
LogUri: __expectString(output.LogUri),
|
|
2983
2983
|
MLModelId: __expectString(output.MLModelId),
|
|
@@ -2986,13 +2986,13 @@ var deserializeAws_json1_1GetMLModelOutput = function (output, context) {
|
|
|
2986
2986
|
Name: __expectString(output.Name),
|
|
2987
2987
|
Recipe: __expectString(output.Recipe),
|
|
2988
2988
|
Schema: __expectString(output.Schema),
|
|
2989
|
-
ScoreThreshold:
|
|
2989
|
+
ScoreThreshold: __limitedParseFloat32(output.ScoreThreshold),
|
|
2990
2990
|
ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
|
|
2991
|
-
?
|
|
2991
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScoreThresholdLastUpdatedAt)))
|
|
2992
2992
|
: undefined,
|
|
2993
|
-
SizeInBytes:
|
|
2993
|
+
SizeInBytes: __expectLong(output.SizeInBytes),
|
|
2994
2994
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2995
|
-
?
|
|
2995
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
2996
2996
|
: undefined,
|
|
2997
2997
|
Status: __expectString(output.Status),
|
|
2998
2998
|
TrainingDataSourceId: __expectString(output.TrainingDataSourceId),
|
|
@@ -3003,19 +3003,19 @@ var deserializeAws_json1_1GetMLModelOutput = function (output, context) {
|
|
|
3003
3003
|
};
|
|
3004
3004
|
var deserializeAws_json1_1IdempotentParameterMismatchException = function (output, context) {
|
|
3005
3005
|
return {
|
|
3006
|
-
code:
|
|
3006
|
+
code: __expectInt32(output.code),
|
|
3007
3007
|
message: __expectString(output.message),
|
|
3008
3008
|
};
|
|
3009
3009
|
};
|
|
3010
3010
|
var deserializeAws_json1_1InternalServerException = function (output, context) {
|
|
3011
3011
|
return {
|
|
3012
|
-
code:
|
|
3012
|
+
code: __expectInt32(output.code),
|
|
3013
3013
|
message: __expectString(output.message),
|
|
3014
3014
|
};
|
|
3015
3015
|
};
|
|
3016
3016
|
var deserializeAws_json1_1InvalidInputException = function (output, context) {
|
|
3017
3017
|
return {
|
|
3018
|
-
code:
|
|
3018
|
+
code: __expectInt32(output.code),
|
|
3019
3019
|
message: __expectString(output.message),
|
|
3020
3020
|
};
|
|
3021
3021
|
};
|
|
@@ -3026,39 +3026,39 @@ var deserializeAws_json1_1InvalidTagException = function (output, context) {
|
|
|
3026
3026
|
};
|
|
3027
3027
|
var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
3028
3028
|
return {
|
|
3029
|
-
code:
|
|
3029
|
+
code: __expectInt32(output.code),
|
|
3030
3030
|
message: __expectString(output.message),
|
|
3031
3031
|
};
|
|
3032
3032
|
};
|
|
3033
3033
|
var deserializeAws_json1_1MLModel = function (output, context) {
|
|
3034
3034
|
return {
|
|
3035
3035
|
Algorithm: __expectString(output.Algorithm),
|
|
3036
|
-
ComputeTime:
|
|
3036
|
+
ComputeTime: __expectLong(output.ComputeTime),
|
|
3037
3037
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3038
|
-
?
|
|
3038
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
3039
3039
|
: undefined,
|
|
3040
3040
|
CreatedByIamUser: __expectString(output.CreatedByIamUser),
|
|
3041
3041
|
EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
|
|
3042
3042
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
|
|
3043
3043
|
: undefined,
|
|
3044
3044
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
3045
|
-
?
|
|
3045
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FinishedAt)))
|
|
3046
3046
|
: undefined,
|
|
3047
3047
|
InputDataLocationS3: __expectString(output.InputDataLocationS3),
|
|
3048
3048
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
3049
|
-
?
|
|
3049
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
3050
3050
|
: undefined,
|
|
3051
3051
|
MLModelId: __expectString(output.MLModelId),
|
|
3052
3052
|
MLModelType: __expectString(output.MLModelType),
|
|
3053
3053
|
Message: __expectString(output.Message),
|
|
3054
3054
|
Name: __expectString(output.Name),
|
|
3055
|
-
ScoreThreshold:
|
|
3055
|
+
ScoreThreshold: __limitedParseFloat32(output.ScoreThreshold),
|
|
3056
3056
|
ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
|
|
3057
|
-
?
|
|
3057
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScoreThresholdLastUpdatedAt)))
|
|
3058
3058
|
: undefined,
|
|
3059
|
-
SizeInBytes:
|
|
3059
|
+
SizeInBytes: __expectLong(output.SizeInBytes),
|
|
3060
3060
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
3061
|
-
?
|
|
3061
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedAt)))
|
|
3062
3062
|
: undefined,
|
|
3063
3063
|
Status: __expectString(output.Status),
|
|
3064
3064
|
TrainingDataSourceId: __expectString(output.TrainingDataSourceId),
|
|
@@ -3103,7 +3103,7 @@ var deserializeAws_json1_1Prediction = function (output, context) {
|
|
|
3103
3103
|
predictedScores: output.predictedScores !== undefined && output.predictedScores !== null
|
|
3104
3104
|
? deserializeAws_json1_1ScoreValuePerLabelMap(output.predictedScores, context)
|
|
3105
3105
|
: undefined,
|
|
3106
|
-
predictedValue:
|
|
3106
|
+
predictedValue: __limitedParseFloat32(output.predictedValue),
|
|
3107
3107
|
};
|
|
3108
3108
|
};
|
|
3109
3109
|
var deserializeAws_json1_1PredictorNotMountedException = function (output, context) {
|
|
@@ -3139,11 +3139,11 @@ var deserializeAws_json1_1RDSMetadata = function (output, context) {
|
|
|
3139
3139
|
var deserializeAws_json1_1RealtimeEndpointInfo = function (output, context) {
|
|
3140
3140
|
return {
|
|
3141
3141
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3142
|
-
?
|
|
3142
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt)))
|
|
3143
3143
|
: undefined,
|
|
3144
3144
|
EndpointStatus: __expectString(output.EndpointStatus),
|
|
3145
3145
|
EndpointUrl: __expectString(output.EndpointUrl),
|
|
3146
|
-
PeakRequestsPerSecond:
|
|
3146
|
+
PeakRequestsPerSecond: __expectInt32(output.PeakRequestsPerSecond),
|
|
3147
3147
|
};
|
|
3148
3148
|
};
|
|
3149
3149
|
var deserializeAws_json1_1RedshiftDatabase = function (output, context) {
|
|
@@ -3163,7 +3163,7 @@ var deserializeAws_json1_1RedshiftMetadata = function (output, context) {
|
|
|
3163
3163
|
};
|
|
3164
3164
|
var deserializeAws_json1_1ResourceNotFoundException = function (output, context) {
|
|
3165
3165
|
return {
|
|
3166
|
-
code:
|
|
3166
|
+
code: __expectInt32(output.code),
|
|
3167
3167
|
message: __expectString(output.message),
|
|
3168
3168
|
};
|
|
3169
3169
|
};
|
|
@@ -3174,7 +3174,7 @@ var deserializeAws_json1_1ScoreValuePerLabelMap = function (output, context) {
|
|
|
3174
3174
|
if (value === null) {
|
|
3175
3175
|
return acc;
|
|
3176
3176
|
}
|
|
3177
|
-
return __assign(__assign({}, acc), (_b = {}, _b[key] =
|
|
3177
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __limitedParseFloat32(value), _b));
|
|
3178
3178
|
}, {});
|
|
3179
3179
|
};
|
|
3180
3180
|
var deserializeAws_json1_1Tag = function (output, context) {
|