@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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-machine-learning
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-machine-learning
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-machine-learning
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-machine-learning
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/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"
|
|
@@ -2544,28 +2544,28 @@ const deserializeAws_json1_1BatchPrediction = (output, context) => {
|
|
|
2544
2544
|
return {
|
|
2545
2545
|
BatchPredictionDataSourceId: smithy_client_1.expectString(output.BatchPredictionDataSourceId),
|
|
2546
2546
|
BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
|
|
2547
|
-
ComputeTime: smithy_client_1.
|
|
2547
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2548
2548
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2549
|
-
?
|
|
2549
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2550
2550
|
: undefined,
|
|
2551
2551
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2552
2552
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2553
|
-
?
|
|
2553
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2554
2554
|
: undefined,
|
|
2555
2555
|
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2556
|
-
InvalidRecordCount: smithy_client_1.
|
|
2556
|
+
InvalidRecordCount: smithy_client_1.expectLong(output.InvalidRecordCount),
|
|
2557
2557
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2558
|
-
?
|
|
2558
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2559
2559
|
: undefined,
|
|
2560
2560
|
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2561
2561
|
Message: smithy_client_1.expectString(output.Message),
|
|
2562
2562
|
Name: smithy_client_1.expectString(output.Name),
|
|
2563
2563
|
OutputUri: smithy_client_1.expectString(output.OutputUri),
|
|
2564
2564
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2565
|
-
?
|
|
2565
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2566
2566
|
: undefined,
|
|
2567
2567
|
Status: smithy_client_1.expectString(output.Status),
|
|
2568
|
-
TotalRecordCount: smithy_client_1.
|
|
2568
|
+
TotalRecordCount: smithy_client_1.expectLong(output.TotalRecordCount),
|
|
2569
2569
|
};
|
|
2570
2570
|
};
|
|
2571
2571
|
const deserializeAws_json1_1BatchPredictions = (output, context) => {
|
|
@@ -2619,24 +2619,24 @@ const deserializeAws_json1_1CreateRealtimeEndpointOutput = (output, context) =>
|
|
|
2619
2619
|
const deserializeAws_json1_1DataSource = (output, context) => {
|
|
2620
2620
|
return {
|
|
2621
2621
|
ComputeStatistics: smithy_client_1.expectBoolean(output.ComputeStatistics),
|
|
2622
|
-
ComputeTime: smithy_client_1.
|
|
2622
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2623
2623
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2624
|
-
?
|
|
2624
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2625
2625
|
: undefined,
|
|
2626
2626
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2627
2627
|
DataLocationS3: smithy_client_1.expectString(output.DataLocationS3),
|
|
2628
2628
|
DataRearrangement: smithy_client_1.expectString(output.DataRearrangement),
|
|
2629
|
-
DataSizeInBytes: smithy_client_1.
|
|
2629
|
+
DataSizeInBytes: smithy_client_1.expectLong(output.DataSizeInBytes),
|
|
2630
2630
|
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2631
2631
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2632
|
-
?
|
|
2632
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2633
2633
|
: undefined,
|
|
2634
2634
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2635
|
-
?
|
|
2635
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2636
2636
|
: undefined,
|
|
2637
2637
|
Message: smithy_client_1.expectString(output.Message),
|
|
2638
2638
|
Name: smithy_client_1.expectString(output.Name),
|
|
2639
|
-
NumberOfFiles: smithy_client_1.
|
|
2639
|
+
NumberOfFiles: smithy_client_1.expectLong(output.NumberOfFiles),
|
|
2640
2640
|
RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
|
|
2641
2641
|
? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
|
|
2642
2642
|
: undefined,
|
|
@@ -2645,7 +2645,7 @@ const deserializeAws_json1_1DataSource = (output, context) => {
|
|
|
2645
2645
|
: undefined,
|
|
2646
2646
|
RoleARN: smithy_client_1.expectString(output.RoleARN),
|
|
2647
2647
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2648
|
-
?
|
|
2648
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2649
2649
|
: undefined,
|
|
2650
2650
|
Status: smithy_client_1.expectString(output.Status),
|
|
2651
2651
|
};
|
|
@@ -2748,19 +2748,19 @@ const deserializeAws_json1_1DetailsMap = (output, context) => {
|
|
|
2748
2748
|
};
|
|
2749
2749
|
const deserializeAws_json1_1Evaluation = (output, context) => {
|
|
2750
2750
|
return {
|
|
2751
|
-
ComputeTime: smithy_client_1.
|
|
2751
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2752
2752
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2753
|
-
?
|
|
2753
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2754
2754
|
: undefined,
|
|
2755
2755
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2756
2756
|
EvaluationDataSourceId: smithy_client_1.expectString(output.EvaluationDataSourceId),
|
|
2757
2757
|
EvaluationId: smithy_client_1.expectString(output.EvaluationId),
|
|
2758
2758
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2759
|
-
?
|
|
2759
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2760
2760
|
: undefined,
|
|
2761
2761
|
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2762
2762
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2763
|
-
?
|
|
2763
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2764
2764
|
: undefined,
|
|
2765
2765
|
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2766
2766
|
Message: smithy_client_1.expectString(output.Message),
|
|
@@ -2769,7 +2769,7 @@ const deserializeAws_json1_1Evaluation = (output, context) => {
|
|
|
2769
2769
|
? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
|
|
2770
2770
|
: undefined,
|
|
2771
2771
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2772
|
-
?
|
|
2772
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2773
2773
|
: undefined,
|
|
2774
2774
|
Status: smithy_client_1.expectString(output.Status),
|
|
2775
2775
|
};
|
|
@@ -2788,18 +2788,18 @@ const deserializeAws_json1_1GetBatchPredictionOutput = (output, context) => {
|
|
|
2788
2788
|
return {
|
|
2789
2789
|
BatchPredictionDataSourceId: smithy_client_1.expectString(output.BatchPredictionDataSourceId),
|
|
2790
2790
|
BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
|
|
2791
|
-
ComputeTime: smithy_client_1.
|
|
2791
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2792
2792
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2793
|
-
?
|
|
2793
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2794
2794
|
: undefined,
|
|
2795
2795
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2796
2796
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2797
|
-
?
|
|
2797
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2798
2798
|
: undefined,
|
|
2799
2799
|
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2800
|
-
InvalidRecordCount: smithy_client_1.
|
|
2800
|
+
InvalidRecordCount: smithy_client_1.expectLong(output.InvalidRecordCount),
|
|
2801
2801
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2802
|
-
?
|
|
2802
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2803
2803
|
: undefined,
|
|
2804
2804
|
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2805
2805
|
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
@@ -2807,35 +2807,35 @@ const deserializeAws_json1_1GetBatchPredictionOutput = (output, context) => {
|
|
|
2807
2807
|
Name: smithy_client_1.expectString(output.Name),
|
|
2808
2808
|
OutputUri: smithy_client_1.expectString(output.OutputUri),
|
|
2809
2809
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2810
|
-
?
|
|
2810
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2811
2811
|
: undefined,
|
|
2812
2812
|
Status: smithy_client_1.expectString(output.Status),
|
|
2813
|
-
TotalRecordCount: smithy_client_1.
|
|
2813
|
+
TotalRecordCount: smithy_client_1.expectLong(output.TotalRecordCount),
|
|
2814
2814
|
};
|
|
2815
2815
|
};
|
|
2816
2816
|
const deserializeAws_json1_1GetDataSourceOutput = (output, context) => {
|
|
2817
2817
|
return {
|
|
2818
2818
|
ComputeStatistics: smithy_client_1.expectBoolean(output.ComputeStatistics),
|
|
2819
|
-
ComputeTime: smithy_client_1.
|
|
2819
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2820
2820
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2821
|
-
?
|
|
2821
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2822
2822
|
: undefined,
|
|
2823
2823
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2824
2824
|
DataLocationS3: smithy_client_1.expectString(output.DataLocationS3),
|
|
2825
2825
|
DataRearrangement: smithy_client_1.expectString(output.DataRearrangement),
|
|
2826
|
-
DataSizeInBytes: smithy_client_1.
|
|
2826
|
+
DataSizeInBytes: smithy_client_1.expectLong(output.DataSizeInBytes),
|
|
2827
2827
|
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2828
2828
|
DataSourceSchema: smithy_client_1.expectString(output.DataSourceSchema),
|
|
2829
2829
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2830
|
-
?
|
|
2830
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2831
2831
|
: undefined,
|
|
2832
2832
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2833
|
-
?
|
|
2833
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2834
2834
|
: undefined,
|
|
2835
2835
|
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2836
2836
|
Message: smithy_client_1.expectString(output.Message),
|
|
2837
2837
|
Name: smithy_client_1.expectString(output.Name),
|
|
2838
|
-
NumberOfFiles: smithy_client_1.
|
|
2838
|
+
NumberOfFiles: smithy_client_1.expectLong(output.NumberOfFiles),
|
|
2839
2839
|
RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
|
|
2840
2840
|
? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
|
|
2841
2841
|
: undefined,
|
|
@@ -2844,26 +2844,26 @@ const deserializeAws_json1_1GetDataSourceOutput = (output, context) => {
|
|
|
2844
2844
|
: undefined,
|
|
2845
2845
|
RoleARN: smithy_client_1.expectString(output.RoleARN),
|
|
2846
2846
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2847
|
-
?
|
|
2847
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2848
2848
|
: undefined,
|
|
2849
2849
|
Status: smithy_client_1.expectString(output.Status),
|
|
2850
2850
|
};
|
|
2851
2851
|
};
|
|
2852
2852
|
const deserializeAws_json1_1GetEvaluationOutput = (output, context) => {
|
|
2853
2853
|
return {
|
|
2854
|
-
ComputeTime: smithy_client_1.
|
|
2854
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2855
2855
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2856
|
-
?
|
|
2856
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2857
2857
|
: undefined,
|
|
2858
2858
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2859
2859
|
EvaluationDataSourceId: smithy_client_1.expectString(output.EvaluationDataSourceId),
|
|
2860
2860
|
EvaluationId: smithy_client_1.expectString(output.EvaluationId),
|
|
2861
2861
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2862
|
-
?
|
|
2862
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2863
2863
|
: undefined,
|
|
2864
2864
|
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2865
2865
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2866
|
-
?
|
|
2866
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2867
2867
|
: undefined,
|
|
2868
2868
|
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2869
2869
|
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
@@ -2873,27 +2873,27 @@ const deserializeAws_json1_1GetEvaluationOutput = (output, context) => {
|
|
|
2873
2873
|
? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
|
|
2874
2874
|
: undefined,
|
|
2875
2875
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2876
|
-
?
|
|
2876
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2877
2877
|
: undefined,
|
|
2878
2878
|
Status: smithy_client_1.expectString(output.Status),
|
|
2879
2879
|
};
|
|
2880
2880
|
};
|
|
2881
2881
|
const deserializeAws_json1_1GetMLModelOutput = (output, context) => {
|
|
2882
2882
|
return {
|
|
2883
|
-
ComputeTime: smithy_client_1.
|
|
2883
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2884
2884
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2885
|
-
?
|
|
2885
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2886
2886
|
: undefined,
|
|
2887
2887
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2888
2888
|
EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
|
|
2889
2889
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
|
|
2890
2890
|
: undefined,
|
|
2891
2891
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2892
|
-
?
|
|
2892
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2893
2893
|
: undefined,
|
|
2894
2894
|
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2895
2895
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2896
|
-
?
|
|
2896
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2897
2897
|
: undefined,
|
|
2898
2898
|
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2899
2899
|
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
@@ -2902,13 +2902,13 @@ const deserializeAws_json1_1GetMLModelOutput = (output, context) => {
|
|
|
2902
2902
|
Name: smithy_client_1.expectString(output.Name),
|
|
2903
2903
|
Recipe: smithy_client_1.expectString(output.Recipe),
|
|
2904
2904
|
Schema: smithy_client_1.expectString(output.Schema),
|
|
2905
|
-
ScoreThreshold: smithy_client_1.
|
|
2905
|
+
ScoreThreshold: smithy_client_1.limitedParseFloat32(output.ScoreThreshold),
|
|
2906
2906
|
ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
|
|
2907
|
-
?
|
|
2907
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScoreThresholdLastUpdatedAt)))
|
|
2908
2908
|
: undefined,
|
|
2909
|
-
SizeInBytes: smithy_client_1.
|
|
2909
|
+
SizeInBytes: smithy_client_1.expectLong(output.SizeInBytes),
|
|
2910
2910
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2911
|
-
?
|
|
2911
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2912
2912
|
: undefined,
|
|
2913
2913
|
Status: smithy_client_1.expectString(output.Status),
|
|
2914
2914
|
TrainingDataSourceId: smithy_client_1.expectString(output.TrainingDataSourceId),
|
|
@@ -2919,19 +2919,19 @@ const deserializeAws_json1_1GetMLModelOutput = (output, context) => {
|
|
|
2919
2919
|
};
|
|
2920
2920
|
const deserializeAws_json1_1IdempotentParameterMismatchException = (output, context) => {
|
|
2921
2921
|
return {
|
|
2922
|
-
code: smithy_client_1.
|
|
2922
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2923
2923
|
message: smithy_client_1.expectString(output.message),
|
|
2924
2924
|
};
|
|
2925
2925
|
};
|
|
2926
2926
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
2927
2927
|
return {
|
|
2928
|
-
code: smithy_client_1.
|
|
2928
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2929
2929
|
message: smithy_client_1.expectString(output.message),
|
|
2930
2930
|
};
|
|
2931
2931
|
};
|
|
2932
2932
|
const deserializeAws_json1_1InvalidInputException = (output, context) => {
|
|
2933
2933
|
return {
|
|
2934
|
-
code: smithy_client_1.
|
|
2934
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2935
2935
|
message: smithy_client_1.expectString(output.message),
|
|
2936
2936
|
};
|
|
2937
2937
|
};
|
|
@@ -2942,39 +2942,39 @@ const deserializeAws_json1_1InvalidTagException = (output, context) => {
|
|
|
2942
2942
|
};
|
|
2943
2943
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
2944
2944
|
return {
|
|
2945
|
-
code: smithy_client_1.
|
|
2945
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2946
2946
|
message: smithy_client_1.expectString(output.message),
|
|
2947
2947
|
};
|
|
2948
2948
|
};
|
|
2949
2949
|
const deserializeAws_json1_1MLModel = (output, context) => {
|
|
2950
2950
|
return {
|
|
2951
2951
|
Algorithm: smithy_client_1.expectString(output.Algorithm),
|
|
2952
|
-
ComputeTime: smithy_client_1.
|
|
2952
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2953
2953
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2954
|
-
?
|
|
2954
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2955
2955
|
: undefined,
|
|
2956
2956
|
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2957
2957
|
EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
|
|
2958
2958
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
|
|
2959
2959
|
: undefined,
|
|
2960
2960
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2961
|
-
?
|
|
2961
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2962
2962
|
: undefined,
|
|
2963
2963
|
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2964
2964
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2965
|
-
?
|
|
2965
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2966
2966
|
: undefined,
|
|
2967
2967
|
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2968
2968
|
MLModelType: smithy_client_1.expectString(output.MLModelType),
|
|
2969
2969
|
Message: smithy_client_1.expectString(output.Message),
|
|
2970
2970
|
Name: smithy_client_1.expectString(output.Name),
|
|
2971
|
-
ScoreThreshold: smithy_client_1.
|
|
2971
|
+
ScoreThreshold: smithy_client_1.limitedParseFloat32(output.ScoreThreshold),
|
|
2972
2972
|
ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
|
|
2973
|
-
?
|
|
2973
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScoreThresholdLastUpdatedAt)))
|
|
2974
2974
|
: undefined,
|
|
2975
|
-
SizeInBytes: smithy_client_1.
|
|
2975
|
+
SizeInBytes: smithy_client_1.expectLong(output.SizeInBytes),
|
|
2976
2976
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2977
|
-
?
|
|
2977
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2978
2978
|
: undefined,
|
|
2979
2979
|
Status: smithy_client_1.expectString(output.Status),
|
|
2980
2980
|
TrainingDataSourceId: smithy_client_1.expectString(output.TrainingDataSourceId),
|
|
@@ -3020,7 +3020,7 @@ const deserializeAws_json1_1Prediction = (output, context) => {
|
|
|
3020
3020
|
predictedScores: output.predictedScores !== undefined && output.predictedScores !== null
|
|
3021
3021
|
? deserializeAws_json1_1ScoreValuePerLabelMap(output.predictedScores, context)
|
|
3022
3022
|
: undefined,
|
|
3023
|
-
predictedValue: smithy_client_1.
|
|
3023
|
+
predictedValue: smithy_client_1.limitedParseFloat32(output.predictedValue),
|
|
3024
3024
|
};
|
|
3025
3025
|
};
|
|
3026
3026
|
const deserializeAws_json1_1PredictorNotMountedException = (output, context) => {
|
|
@@ -3056,11 +3056,11 @@ const deserializeAws_json1_1RDSMetadata = (output, context) => {
|
|
|
3056
3056
|
const deserializeAws_json1_1RealtimeEndpointInfo = (output, context) => {
|
|
3057
3057
|
return {
|
|
3058
3058
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3059
|
-
?
|
|
3059
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
3060
3060
|
: undefined,
|
|
3061
3061
|
EndpointStatus: smithy_client_1.expectString(output.EndpointStatus),
|
|
3062
3062
|
EndpointUrl: smithy_client_1.expectString(output.EndpointUrl),
|
|
3063
|
-
PeakRequestsPerSecond: smithy_client_1.
|
|
3063
|
+
PeakRequestsPerSecond: smithy_client_1.expectInt32(output.PeakRequestsPerSecond),
|
|
3064
3064
|
};
|
|
3065
3065
|
};
|
|
3066
3066
|
const deserializeAws_json1_1RedshiftDatabase = (output, context) => {
|
|
@@ -3080,7 +3080,7 @@ const deserializeAws_json1_1RedshiftMetadata = (output, context) => {
|
|
|
3080
3080
|
};
|
|
3081
3081
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
3082
3082
|
return {
|
|
3083
|
-
code: smithy_client_1.
|
|
3083
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
3084
3084
|
message: smithy_client_1.expectString(output.message),
|
|
3085
3085
|
};
|
|
3086
3086
|
};
|
|
@@ -3091,7 +3091,7 @@ const deserializeAws_json1_1ScoreValuePerLabelMap = (output, context) => {
|
|
|
3091
3091
|
}
|
|
3092
3092
|
return {
|
|
3093
3093
|
...acc,
|
|
3094
|
-
[key]: smithy_client_1.
|
|
3094
|
+
[key]: smithy_client_1.limitedParseFloat32(value),
|
|
3095
3095
|
};
|
|
3096
3096
|
}, {});
|
|
3097
3097
|
};
|