@aws-sdk/client-forecast 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 +35 -0
- package/Forecast.ts +10 -12
- package/commands/GetAccuracyMetricsCommand.ts +10 -12
- package/dist/cjs/Forecast.js.map +1 -1
- package/dist/cjs/commands/GetAccuracyMetricsCommand.js +10 -12
- package/dist/cjs/commands/GetAccuracyMetricsCommand.js.map +1 -1
- package/dist/cjs/models/models_0.js +11 -3
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +66 -59
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/Forecast.js.map +1 -1
- package/dist/es/commands/GetAccuracyMetricsCommand.js +10 -12
- package/dist/es/commands/GetAccuracyMetricsCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +8 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +68 -62
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/types/Forecast.d.ts +10 -12
- package/dist/types/commands/GetAccuracyMetricsCommand.d.ts +10 -12
- package/dist/types/models/models_0.d.ts +69 -35
- package/dist/types/ts3.4/Forecast.d.ts +10 -12
- package/dist/types/ts3.4/commands/GetAccuracyMetricsCommand.d.ts +10 -12
- package/dist/types/ts3.4/models/models_0.d.ts +69 -35
- package/models/models_0.ts +76 -35
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +72 -61
|
@@ -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, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client";
|
|
4
4
|
export var serializeAws_json1_1CreateDatasetCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
5
|
var headers, body;
|
|
6
6
|
return __generator(this, function (_a) {
|
|
@@ -2988,7 +2988,7 @@ var serializeAws_json1_1CreatePredictorBacktestExportJobRequest = function (inpu
|
|
|
2988
2988
|
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
2989
2989
|
};
|
|
2990
2990
|
var serializeAws_json1_1CreatePredictorRequest = function (input, context) {
|
|
2991
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlgorithmArn !== undefined && input.AlgorithmArn !== null && { AlgorithmArn: input.AlgorithmArn })), (input.AutoMLOverrideStrategy !== undefined &&
|
|
2991
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AlgorithmArn !== undefined && input.AlgorithmArn !== null && { AlgorithmArn: input.AlgorithmArn })), (input.AutoMLOverrideStrategy !== undefined &&
|
|
2992
2992
|
input.AutoMLOverrideStrategy !== null && { AutoMLOverrideStrategy: input.AutoMLOverrideStrategy })), (input.EncryptionConfig !== undefined &&
|
|
2993
2993
|
input.EncryptionConfig !== null && {
|
|
2994
2994
|
EncryptionConfig: serializeAws_json1_1EncryptionConfig(input.EncryptionConfig, context),
|
|
@@ -3008,7 +3008,8 @@ var serializeAws_json1_1CreatePredictorRequest = function (input, context) {
|
|
|
3008
3008
|
})), (input.InputDataConfig !== undefined &&
|
|
3009
3009
|
input.InputDataConfig !== null && {
|
|
3010
3010
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
3011
|
-
})), (input.
|
|
3011
|
+
})), (input.OptimizationMetric !== undefined &&
|
|
3012
|
+
input.OptimizationMetric !== null && { OptimizationMetric: input.OptimizationMetric })), (input.PerformAutoML !== undefined && input.PerformAutoML !== null && { PerformAutoML: input.PerformAutoML })), (input.PerformHPO !== undefined && input.PerformHPO !== null && { PerformHPO: input.PerformHPO })), (input.PredictorName !== undefined && input.PredictorName !== null && { PredictorName: input.PredictorName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) })), (input.TrainingParameters !== undefined &&
|
|
3012
3013
|
input.TrainingParameters !== null && {
|
|
3013
3014
|
TrainingParameters: serializeAws_json1_1TrainingParameters(input.TrainingParameters, context),
|
|
3014
3015
|
}));
|
|
@@ -3363,8 +3364,8 @@ var deserializeAws_json1_1CategoricalParameterRanges = function (output, context
|
|
|
3363
3364
|
};
|
|
3364
3365
|
var deserializeAws_json1_1ContinuousParameterRange = function (output, context) {
|
|
3365
3366
|
return {
|
|
3366
|
-
MaxValue:
|
|
3367
|
-
MinValue:
|
|
3367
|
+
MaxValue: __limitedParseDouble(output.MaxValue),
|
|
3368
|
+
MinValue: __limitedParseDouble(output.MinValue),
|
|
3368
3369
|
Name: __expectString(output.Name),
|
|
3369
3370
|
ScalingType: __expectString(output.ScalingType),
|
|
3370
3371
|
};
|
|
@@ -3434,12 +3435,12 @@ var deserializeAws_json1_1DatasetGroups = function (output, context) {
|
|
|
3434
3435
|
var deserializeAws_json1_1DatasetGroupSummary = function (output, context) {
|
|
3435
3436
|
return {
|
|
3436
3437
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3437
|
-
?
|
|
3438
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3438
3439
|
: undefined,
|
|
3439
3440
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
3440
3441
|
DatasetGroupName: __expectString(output.DatasetGroupName),
|
|
3441
3442
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3442
|
-
?
|
|
3443
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3443
3444
|
: undefined,
|
|
3444
3445
|
};
|
|
3445
3446
|
};
|
|
@@ -3456,7 +3457,7 @@ var deserializeAws_json1_1DatasetImportJobs = function (output, context) {
|
|
|
3456
3457
|
var deserializeAws_json1_1DatasetImportJobSummary = function (output, context) {
|
|
3457
3458
|
return {
|
|
3458
3459
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3459
|
-
?
|
|
3460
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3460
3461
|
: undefined,
|
|
3461
3462
|
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
3462
3463
|
? deserializeAws_json1_1DataSource(output.DataSource, context)
|
|
@@ -3464,7 +3465,7 @@ var deserializeAws_json1_1DatasetImportJobSummary = function (output, context) {
|
|
|
3464
3465
|
DatasetImportJobArn: __expectString(output.DatasetImportJobArn),
|
|
3465
3466
|
DatasetImportJobName: __expectString(output.DatasetImportJobName),
|
|
3466
3467
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3467
|
-
?
|
|
3468
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3468
3469
|
: undefined,
|
|
3469
3470
|
Message: __expectString(output.Message),
|
|
3470
3471
|
Status: __expectString(output.Status),
|
|
@@ -3483,14 +3484,14 @@ var deserializeAws_json1_1Datasets = function (output, context) {
|
|
|
3483
3484
|
var deserializeAws_json1_1DatasetSummary = function (output, context) {
|
|
3484
3485
|
return {
|
|
3485
3486
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3486
|
-
?
|
|
3487
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3487
3488
|
: undefined,
|
|
3488
3489
|
DatasetArn: __expectString(output.DatasetArn),
|
|
3489
3490
|
DatasetName: __expectString(output.DatasetName),
|
|
3490
3491
|
DatasetType: __expectString(output.DatasetType),
|
|
3491
3492
|
Domain: __expectString(output.Domain),
|
|
3492
3493
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3493
|
-
?
|
|
3494
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3494
3495
|
: undefined,
|
|
3495
3496
|
};
|
|
3496
3497
|
};
|
|
@@ -3504,7 +3505,7 @@ var deserializeAws_json1_1DataSource = function (output, context) {
|
|
|
3504
3505
|
var deserializeAws_json1_1DescribeDatasetGroupResponse = function (output, context) {
|
|
3505
3506
|
return {
|
|
3506
3507
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3507
|
-
?
|
|
3508
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3508
3509
|
: undefined,
|
|
3509
3510
|
DatasetArns: output.DatasetArns !== undefined && output.DatasetArns !== null
|
|
3510
3511
|
? deserializeAws_json1_1ArnList(output.DatasetArns, context)
|
|
@@ -3513,7 +3514,7 @@ var deserializeAws_json1_1DescribeDatasetGroupResponse = function (output, conte
|
|
|
3513
3514
|
DatasetGroupName: __expectString(output.DatasetGroupName),
|
|
3514
3515
|
Domain: __expectString(output.Domain),
|
|
3515
3516
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3516
|
-
?
|
|
3517
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3517
3518
|
: undefined,
|
|
3518
3519
|
Status: __expectString(output.Status),
|
|
3519
3520
|
};
|
|
@@ -3521,22 +3522,22 @@ var deserializeAws_json1_1DescribeDatasetGroupResponse = function (output, conte
|
|
|
3521
3522
|
var deserializeAws_json1_1DescribeDatasetImportJobResponse = function (output, context) {
|
|
3522
3523
|
return {
|
|
3523
3524
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3524
|
-
?
|
|
3525
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3525
3526
|
: undefined,
|
|
3526
|
-
DataSize:
|
|
3527
|
+
DataSize: __limitedParseDouble(output.DataSize),
|
|
3527
3528
|
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
3528
3529
|
? deserializeAws_json1_1DataSource(output.DataSource, context)
|
|
3529
3530
|
: undefined,
|
|
3530
3531
|
DatasetArn: __expectString(output.DatasetArn),
|
|
3531
3532
|
DatasetImportJobArn: __expectString(output.DatasetImportJobArn),
|
|
3532
3533
|
DatasetImportJobName: __expectString(output.DatasetImportJobName),
|
|
3533
|
-
EstimatedTimeRemainingInMinutes:
|
|
3534
|
+
EstimatedTimeRemainingInMinutes: __expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
3534
3535
|
FieldStatistics: output.FieldStatistics !== undefined && output.FieldStatistics !== null
|
|
3535
3536
|
? deserializeAws_json1_1FieldStatistics(output.FieldStatistics, context)
|
|
3536
3537
|
: undefined,
|
|
3537
3538
|
GeolocationFormat: __expectString(output.GeolocationFormat),
|
|
3538
3539
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3539
|
-
?
|
|
3540
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3540
3541
|
: undefined,
|
|
3541
3542
|
Message: __expectString(output.Message),
|
|
3542
3543
|
Status: __expectString(output.Status),
|
|
@@ -3548,7 +3549,7 @@ var deserializeAws_json1_1DescribeDatasetImportJobResponse = function (output, c
|
|
|
3548
3549
|
var deserializeAws_json1_1DescribeDatasetResponse = function (output, context) {
|
|
3549
3550
|
return {
|
|
3550
3551
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3551
|
-
?
|
|
3552
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3552
3553
|
: undefined,
|
|
3553
3554
|
DataFrequency: __expectString(output.DataFrequency),
|
|
3554
3555
|
DatasetArn: __expectString(output.DatasetArn),
|
|
@@ -3559,7 +3560,7 @@ var deserializeAws_json1_1DescribeDatasetResponse = function (output, context) {
|
|
|
3559
3560
|
? deserializeAws_json1_1EncryptionConfig(output.EncryptionConfig, context)
|
|
3560
3561
|
: undefined,
|
|
3561
3562
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3562
|
-
?
|
|
3563
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3563
3564
|
: undefined,
|
|
3564
3565
|
Schema: output.Schema !== undefined && output.Schema !== null
|
|
3565
3566
|
? deserializeAws_json1_1Schema(output.Schema, context)
|
|
@@ -3570,7 +3571,7 @@ var deserializeAws_json1_1DescribeDatasetResponse = function (output, context) {
|
|
|
3570
3571
|
var deserializeAws_json1_1DescribeForecastExportJobResponse = function (output, context) {
|
|
3571
3572
|
return {
|
|
3572
3573
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3573
|
-
?
|
|
3574
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3574
3575
|
: undefined,
|
|
3575
3576
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
3576
3577
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
@@ -3579,7 +3580,7 @@ var deserializeAws_json1_1DescribeForecastExportJobResponse = function (output,
|
|
|
3579
3580
|
ForecastExportJobArn: __expectString(output.ForecastExportJobArn),
|
|
3580
3581
|
ForecastExportJobName: __expectString(output.ForecastExportJobName),
|
|
3581
3582
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3582
|
-
?
|
|
3583
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3583
3584
|
: undefined,
|
|
3584
3585
|
Message: __expectString(output.Message),
|
|
3585
3586
|
Status: __expectString(output.Status),
|
|
@@ -3588,17 +3589,17 @@ var deserializeAws_json1_1DescribeForecastExportJobResponse = function (output,
|
|
|
3588
3589
|
var deserializeAws_json1_1DescribeForecastResponse = function (output, context) {
|
|
3589
3590
|
return {
|
|
3590
3591
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3591
|
-
?
|
|
3592
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3592
3593
|
: undefined,
|
|
3593
3594
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
3594
|
-
EstimatedTimeRemainingInMinutes:
|
|
3595
|
+
EstimatedTimeRemainingInMinutes: __expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
3595
3596
|
ForecastArn: __expectString(output.ForecastArn),
|
|
3596
3597
|
ForecastName: __expectString(output.ForecastName),
|
|
3597
3598
|
ForecastTypes: output.ForecastTypes !== undefined && output.ForecastTypes !== null
|
|
3598
3599
|
? deserializeAws_json1_1ForecastTypes(output.ForecastTypes, context)
|
|
3599
3600
|
: undefined,
|
|
3600
3601
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3601
|
-
?
|
|
3602
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3602
3603
|
: undefined,
|
|
3603
3604
|
Message: __expectString(output.Message),
|
|
3604
3605
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -3608,13 +3609,13 @@ var deserializeAws_json1_1DescribeForecastResponse = function (output, context)
|
|
|
3608
3609
|
var deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = function (output, context) {
|
|
3609
3610
|
return {
|
|
3610
3611
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3611
|
-
?
|
|
3612
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3612
3613
|
: undefined,
|
|
3613
3614
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
3614
3615
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
3615
3616
|
: undefined,
|
|
3616
3617
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3617
|
-
?
|
|
3618
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3618
3619
|
: undefined,
|
|
3619
3620
|
Message: __expectString(output.Message),
|
|
3620
3621
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -3631,7 +3632,7 @@ var deserializeAws_json1_1DescribePredictorResponse = function (output, context)
|
|
|
3631
3632
|
: undefined,
|
|
3632
3633
|
AutoMLOverrideStrategy: __expectString(output.AutoMLOverrideStrategy),
|
|
3633
3634
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3634
|
-
?
|
|
3635
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3635
3636
|
: undefined,
|
|
3636
3637
|
DatasetImportJobArns: output.DatasetImportJobArns !== undefined && output.DatasetImportJobArns !== null
|
|
3637
3638
|
? deserializeAws_json1_1ArnList(output.DatasetImportJobArns, context)
|
|
@@ -3639,14 +3640,14 @@ var deserializeAws_json1_1DescribePredictorResponse = function (output, context)
|
|
|
3639
3640
|
EncryptionConfig: output.EncryptionConfig !== undefined && output.EncryptionConfig !== null
|
|
3640
3641
|
? deserializeAws_json1_1EncryptionConfig(output.EncryptionConfig, context)
|
|
3641
3642
|
: undefined,
|
|
3642
|
-
EstimatedTimeRemainingInMinutes:
|
|
3643
|
+
EstimatedTimeRemainingInMinutes: __expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
3643
3644
|
EvaluationParameters: output.EvaluationParameters !== undefined && output.EvaluationParameters !== null
|
|
3644
3645
|
? deserializeAws_json1_1EvaluationParameters(output.EvaluationParameters, context)
|
|
3645
3646
|
: undefined,
|
|
3646
3647
|
FeaturizationConfig: output.FeaturizationConfig !== undefined && output.FeaturizationConfig !== null
|
|
3647
3648
|
? deserializeAws_json1_1FeaturizationConfig(output.FeaturizationConfig, context)
|
|
3648
3649
|
: undefined,
|
|
3649
|
-
ForecastHorizon:
|
|
3650
|
+
ForecastHorizon: __expectInt32(output.ForecastHorizon),
|
|
3650
3651
|
ForecastTypes: output.ForecastTypes !== undefined && output.ForecastTypes !== null
|
|
3651
3652
|
? deserializeAws_json1_1ForecastTypes(output.ForecastTypes, context)
|
|
3652
3653
|
: undefined,
|
|
@@ -3657,9 +3658,10 @@ var deserializeAws_json1_1DescribePredictorResponse = function (output, context)
|
|
|
3657
3658
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3658
3659
|
: undefined,
|
|
3659
3660
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3660
|
-
?
|
|
3661
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3661
3662
|
: undefined,
|
|
3662
3663
|
Message: __expectString(output.Message),
|
|
3664
|
+
OptimizationMetric: __expectString(output.OptimizationMetric),
|
|
3663
3665
|
PerformAutoML: __expectBoolean(output.PerformAutoML),
|
|
3664
3666
|
PerformHPO: __expectBoolean(output.PerformHPO),
|
|
3665
3667
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -3682,8 +3684,10 @@ var deserializeAws_json1_1EncryptionConfig = function (output, context) {
|
|
|
3682
3684
|
var deserializeAws_json1_1ErrorMetric = function (output, context) {
|
|
3683
3685
|
return {
|
|
3684
3686
|
ForecastType: __expectString(output.ForecastType),
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
+
MAPE: __limitedParseDouble(output.MAPE),
|
|
3688
|
+
MASE: __limitedParseDouble(output.MASE),
|
|
3689
|
+
RMSE: __limitedParseDouble(output.RMSE),
|
|
3690
|
+
WAPE: __limitedParseDouble(output.WAPE),
|
|
3687
3691
|
};
|
|
3688
3692
|
};
|
|
3689
3693
|
var deserializeAws_json1_1ErrorMetrics = function (output, context) {
|
|
@@ -3698,8 +3702,8 @@ var deserializeAws_json1_1ErrorMetrics = function (output, context) {
|
|
|
3698
3702
|
};
|
|
3699
3703
|
var deserializeAws_json1_1EvaluationParameters = function (output, context) {
|
|
3700
3704
|
return {
|
|
3701
|
-
BackTestWindowOffset:
|
|
3702
|
-
NumberOfBacktestWindows:
|
|
3705
|
+
BackTestWindowOffset: __expectInt32(output.BackTestWindowOffset),
|
|
3706
|
+
NumberOfBacktestWindows: __expectInt32(output.NumberOfBacktestWindows),
|
|
3703
3707
|
};
|
|
3704
3708
|
};
|
|
3705
3709
|
var deserializeAws_json1_1EvaluationResult = function (output, context) {
|
|
@@ -3800,7 +3804,7 @@ var deserializeAws_json1_1ForecastExportJobs = function (output, context) {
|
|
|
3800
3804
|
var deserializeAws_json1_1ForecastExportJobSummary = function (output, context) {
|
|
3801
3805
|
return {
|
|
3802
3806
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3803
|
-
?
|
|
3807
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3804
3808
|
: undefined,
|
|
3805
3809
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
3806
3810
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
@@ -3808,7 +3812,7 @@ var deserializeAws_json1_1ForecastExportJobSummary = function (output, context)
|
|
|
3808
3812
|
ForecastExportJobArn: __expectString(output.ForecastExportJobArn),
|
|
3809
3813
|
ForecastExportJobName: __expectString(output.ForecastExportJobName),
|
|
3810
3814
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3811
|
-
?
|
|
3815
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3812
3816
|
: undefined,
|
|
3813
3817
|
Message: __expectString(output.Message),
|
|
3814
3818
|
Status: __expectString(output.Status),
|
|
@@ -3827,13 +3831,13 @@ var deserializeAws_json1_1Forecasts = function (output, context) {
|
|
|
3827
3831
|
var deserializeAws_json1_1ForecastSummary = function (output, context) {
|
|
3828
3832
|
return {
|
|
3829
3833
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3830
|
-
?
|
|
3834
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3831
3835
|
: undefined,
|
|
3832
3836
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
3833
3837
|
ForecastArn: __expectString(output.ForecastArn),
|
|
3834
3838
|
ForecastName: __expectString(output.ForecastName),
|
|
3835
3839
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3836
|
-
?
|
|
3840
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
3837
3841
|
: undefined,
|
|
3838
3842
|
Message: __expectString(output.Message),
|
|
3839
3843
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -3853,6 +3857,7 @@ var deserializeAws_json1_1ForecastTypes = function (output, context) {
|
|
|
3853
3857
|
var deserializeAws_json1_1GetAccuracyMetricsResponse = function (output, context) {
|
|
3854
3858
|
return {
|
|
3855
3859
|
AutoMLOverrideStrategy: __expectString(output.AutoMLOverrideStrategy),
|
|
3860
|
+
OptimizationMetric: __expectString(output.OptimizationMetric),
|
|
3856
3861
|
PredictorEvaluationResults: output.PredictorEvaluationResults !== undefined && output.PredictorEvaluationResults !== null
|
|
3857
3862
|
? deserializeAws_json1_1PredictorEvaluationResults(output.PredictorEvaluationResults, context)
|
|
3858
3863
|
: undefined,
|
|
@@ -3875,8 +3880,8 @@ var deserializeAws_json1_1InputDataConfig = function (output, context) {
|
|
|
3875
3880
|
};
|
|
3876
3881
|
var deserializeAws_json1_1IntegerParameterRange = function (output, context) {
|
|
3877
3882
|
return {
|
|
3878
|
-
MaxValue:
|
|
3879
|
-
MinValue:
|
|
3883
|
+
MaxValue: __expectInt32(output.MaxValue),
|
|
3884
|
+
MinValue: __expectInt32(output.MinValue),
|
|
3880
3885
|
Name: __expectString(output.Name),
|
|
3881
3886
|
ScalingType: __expectString(output.ScalingType),
|
|
3882
3887
|
};
|
|
@@ -3969,10 +3974,11 @@ var deserializeAws_json1_1ListTagsForResourceResponse = function (output, contex
|
|
|
3969
3974
|
};
|
|
3970
3975
|
var deserializeAws_json1_1Metrics = function (output, context) {
|
|
3971
3976
|
return {
|
|
3977
|
+
AverageWeightedQuantileLoss: __limitedParseDouble(output.AverageWeightedQuantileLoss),
|
|
3972
3978
|
ErrorMetrics: output.ErrorMetrics !== undefined && output.ErrorMetrics !== null
|
|
3973
3979
|
? deserializeAws_json1_1ErrorMetrics(output.ErrorMetrics, context)
|
|
3974
3980
|
: undefined,
|
|
3975
|
-
RMSE:
|
|
3981
|
+
RMSE: __limitedParseDouble(output.RMSE),
|
|
3976
3982
|
WeightedQuantileLosses: output.WeightedQuantileLosses !== undefined && output.WeightedQuantileLosses !== null
|
|
3977
3983
|
? deserializeAws_json1_1WeightedQuantileLosses(output.WeightedQuantileLosses, context)
|
|
3978
3984
|
: undefined,
|
|
@@ -4004,13 +4010,13 @@ var deserializeAws_json1_1PredictorBacktestExportJobs = function (output, contex
|
|
|
4004
4010
|
var deserializeAws_json1_1PredictorBacktestExportJobSummary = function (output, context) {
|
|
4005
4011
|
return {
|
|
4006
4012
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
4007
|
-
?
|
|
4013
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4008
4014
|
: undefined,
|
|
4009
4015
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
4010
4016
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
4011
4017
|
: undefined,
|
|
4012
4018
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4013
|
-
?
|
|
4019
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4014
4020
|
: undefined,
|
|
4015
4021
|
Message: __expectString(output.Message),
|
|
4016
4022
|
PredictorBacktestExportJobArn: __expectString(output.PredictorBacktestExportJobArn),
|
|
@@ -4066,11 +4072,11 @@ var deserializeAws_json1_1Predictors = function (output, context) {
|
|
|
4066
4072
|
var deserializeAws_json1_1PredictorSummary = function (output, context) {
|
|
4067
4073
|
return {
|
|
4068
4074
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
4069
|
-
?
|
|
4075
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4070
4076
|
: undefined,
|
|
4071
4077
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
4072
4078
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4073
|
-
?
|
|
4079
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4074
4080
|
: undefined,
|
|
4075
4081
|
Message: __expectString(output.Message),
|
|
4076
4082
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -4125,18 +4131,18 @@ var deserializeAws_json1_1SchemaAttributes = function (output, context) {
|
|
|
4125
4131
|
};
|
|
4126
4132
|
var deserializeAws_json1_1Statistics = function (output, context) {
|
|
4127
4133
|
return {
|
|
4128
|
-
Avg:
|
|
4129
|
-
Count:
|
|
4130
|
-
CountDistinct:
|
|
4131
|
-
CountDistinctLong:
|
|
4132
|
-
CountLong:
|
|
4133
|
-
CountNan:
|
|
4134
|
-
CountNanLong:
|
|
4135
|
-
CountNull:
|
|
4136
|
-
CountNullLong:
|
|
4134
|
+
Avg: __limitedParseDouble(output.Avg),
|
|
4135
|
+
Count: __expectInt32(output.Count),
|
|
4136
|
+
CountDistinct: __expectInt32(output.CountDistinct),
|
|
4137
|
+
CountDistinctLong: __expectLong(output.CountDistinctLong),
|
|
4138
|
+
CountLong: __expectLong(output.CountLong),
|
|
4139
|
+
CountNan: __expectInt32(output.CountNan),
|
|
4140
|
+
CountNanLong: __expectLong(output.CountNanLong),
|
|
4141
|
+
CountNull: __expectInt32(output.CountNull),
|
|
4142
|
+
CountNullLong: __expectLong(output.CountNullLong),
|
|
4137
4143
|
Max: __expectString(output.Max),
|
|
4138
4144
|
Min: __expectString(output.Min),
|
|
4139
|
-
Stddev:
|
|
4145
|
+
Stddev: __limitedParseDouble(output.Stddev),
|
|
4140
4146
|
};
|
|
4141
4147
|
};
|
|
4142
4148
|
var deserializeAws_json1_1SupplementaryFeature = function (output, context) {
|
|
@@ -4199,10 +4205,10 @@ var deserializeAws_json1_1TestWindowSummary = function (output, context) {
|
|
|
4199
4205
|
Message: __expectString(output.Message),
|
|
4200
4206
|
Status: __expectString(output.Status),
|
|
4201
4207
|
TestWindowEnd: output.TestWindowEnd !== undefined && output.TestWindowEnd !== null
|
|
4202
|
-
?
|
|
4208
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowEnd)))
|
|
4203
4209
|
: undefined,
|
|
4204
4210
|
TestWindowStart: output.TestWindowStart !== undefined && output.TestWindowStart !== null
|
|
4205
|
-
?
|
|
4211
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowStart)))
|
|
4206
4212
|
: undefined,
|
|
4207
4213
|
};
|
|
4208
4214
|
};
|
|
@@ -4234,8 +4240,8 @@ var deserializeAws_json1_1Values = function (output, context) {
|
|
|
4234
4240
|
};
|
|
4235
4241
|
var deserializeAws_json1_1WeightedQuantileLoss = function (output, context) {
|
|
4236
4242
|
return {
|
|
4237
|
-
LossValue:
|
|
4238
|
-
Quantile:
|
|
4243
|
+
LossValue: __limitedParseDouble(output.LossValue),
|
|
4244
|
+
Quantile: __limitedParseDouble(output.Quantile),
|
|
4239
4245
|
};
|
|
4240
4246
|
};
|
|
4241
4247
|
var deserializeAws_json1_1WeightedQuantileLosses = function (output, context) {
|
|
@@ -4251,15 +4257,15 @@ var deserializeAws_json1_1WeightedQuantileLosses = function (output, context) {
|
|
|
4251
4257
|
var deserializeAws_json1_1WindowSummary = function (output, context) {
|
|
4252
4258
|
return {
|
|
4253
4259
|
EvaluationType: __expectString(output.EvaluationType),
|
|
4254
|
-
ItemCount:
|
|
4260
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
4255
4261
|
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
4256
4262
|
? deserializeAws_json1_1Metrics(output.Metrics, context)
|
|
4257
4263
|
: undefined,
|
|
4258
4264
|
TestWindowEnd: output.TestWindowEnd !== undefined && output.TestWindowEnd !== null
|
|
4259
|
-
?
|
|
4265
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowEnd)))
|
|
4260
4266
|
: undefined,
|
|
4261
4267
|
TestWindowStart: output.TestWindowStart !== undefined && output.TestWindowStart !== null
|
|
4262
|
-
?
|
|
4268
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowStart)))
|
|
4263
4269
|
: undefined,
|
|
4264
4270
|
};
|
|
4265
4271
|
};
|