@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
|
@@ -2701,6 +2701,8 @@ const serializeAws_json1_1CreatePredictorRequest = (input, context) => {
|
|
|
2701
2701
|
input.InputDataConfig !== null && {
|
|
2702
2702
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
2703
2703
|
}),
|
|
2704
|
+
...(input.OptimizationMetric !== undefined &&
|
|
2705
|
+
input.OptimizationMetric !== null && { OptimizationMetric: input.OptimizationMetric }),
|
|
2704
2706
|
...(input.PerformAutoML !== undefined && input.PerformAutoML !== null && { PerformAutoML: input.PerformAutoML }),
|
|
2705
2707
|
...(input.PerformHPO !== undefined && input.PerformHPO !== null && { PerformHPO: input.PerformHPO }),
|
|
2706
2708
|
...(input.PredictorName !== undefined && input.PredictorName !== null && { PredictorName: input.PredictorName }),
|
|
@@ -3187,8 +3189,8 @@ const deserializeAws_json1_1CategoricalParameterRanges = (output, context) => {
|
|
|
3187
3189
|
};
|
|
3188
3190
|
const deserializeAws_json1_1ContinuousParameterRange = (output, context) => {
|
|
3189
3191
|
return {
|
|
3190
|
-
MaxValue: smithy_client_1.
|
|
3191
|
-
MinValue: smithy_client_1.
|
|
3192
|
+
MaxValue: smithy_client_1.limitedParseDouble(output.MaxValue),
|
|
3193
|
+
MinValue: smithy_client_1.limitedParseDouble(output.MinValue),
|
|
3192
3194
|
Name: smithy_client_1.expectString(output.Name),
|
|
3193
3195
|
ScalingType: smithy_client_1.expectString(output.ScalingType),
|
|
3194
3196
|
};
|
|
@@ -3258,12 +3260,12 @@ const deserializeAws_json1_1DatasetGroups = (output, context) => {
|
|
|
3258
3260
|
const deserializeAws_json1_1DatasetGroupSummary = (output, context) => {
|
|
3259
3261
|
return {
|
|
3260
3262
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3261
|
-
?
|
|
3263
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3262
3264
|
: undefined,
|
|
3263
3265
|
DatasetGroupArn: smithy_client_1.expectString(output.DatasetGroupArn),
|
|
3264
3266
|
DatasetGroupName: smithy_client_1.expectString(output.DatasetGroupName),
|
|
3265
3267
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3266
|
-
?
|
|
3268
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3267
3269
|
: undefined,
|
|
3268
3270
|
};
|
|
3269
3271
|
};
|
|
@@ -3280,7 +3282,7 @@ const deserializeAws_json1_1DatasetImportJobs = (output, context) => {
|
|
|
3280
3282
|
const deserializeAws_json1_1DatasetImportJobSummary = (output, context) => {
|
|
3281
3283
|
return {
|
|
3282
3284
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3283
|
-
?
|
|
3285
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3284
3286
|
: undefined,
|
|
3285
3287
|
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
3286
3288
|
? deserializeAws_json1_1DataSource(output.DataSource, context)
|
|
@@ -3288,7 +3290,7 @@ const deserializeAws_json1_1DatasetImportJobSummary = (output, context) => {
|
|
|
3288
3290
|
DatasetImportJobArn: smithy_client_1.expectString(output.DatasetImportJobArn),
|
|
3289
3291
|
DatasetImportJobName: smithy_client_1.expectString(output.DatasetImportJobName),
|
|
3290
3292
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3291
|
-
?
|
|
3293
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3292
3294
|
: undefined,
|
|
3293
3295
|
Message: smithy_client_1.expectString(output.Message),
|
|
3294
3296
|
Status: smithy_client_1.expectString(output.Status),
|
|
@@ -3307,14 +3309,14 @@ const deserializeAws_json1_1Datasets = (output, context) => {
|
|
|
3307
3309
|
const deserializeAws_json1_1DatasetSummary = (output, context) => {
|
|
3308
3310
|
return {
|
|
3309
3311
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3310
|
-
?
|
|
3312
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3311
3313
|
: undefined,
|
|
3312
3314
|
DatasetArn: smithy_client_1.expectString(output.DatasetArn),
|
|
3313
3315
|
DatasetName: smithy_client_1.expectString(output.DatasetName),
|
|
3314
3316
|
DatasetType: smithy_client_1.expectString(output.DatasetType),
|
|
3315
3317
|
Domain: smithy_client_1.expectString(output.Domain),
|
|
3316
3318
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3317
|
-
?
|
|
3319
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3318
3320
|
: undefined,
|
|
3319
3321
|
};
|
|
3320
3322
|
};
|
|
@@ -3328,7 +3330,7 @@ const deserializeAws_json1_1DataSource = (output, context) => {
|
|
|
3328
3330
|
const deserializeAws_json1_1DescribeDatasetGroupResponse = (output, context) => {
|
|
3329
3331
|
return {
|
|
3330
3332
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3331
|
-
?
|
|
3333
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3332
3334
|
: undefined,
|
|
3333
3335
|
DatasetArns: output.DatasetArns !== undefined && output.DatasetArns !== null
|
|
3334
3336
|
? deserializeAws_json1_1ArnList(output.DatasetArns, context)
|
|
@@ -3337,7 +3339,7 @@ const deserializeAws_json1_1DescribeDatasetGroupResponse = (output, context) =>
|
|
|
3337
3339
|
DatasetGroupName: smithy_client_1.expectString(output.DatasetGroupName),
|
|
3338
3340
|
Domain: smithy_client_1.expectString(output.Domain),
|
|
3339
3341
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3340
|
-
?
|
|
3342
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3341
3343
|
: undefined,
|
|
3342
3344
|
Status: smithy_client_1.expectString(output.Status),
|
|
3343
3345
|
};
|
|
@@ -3345,22 +3347,22 @@ const deserializeAws_json1_1DescribeDatasetGroupResponse = (output, context) =>
|
|
|
3345
3347
|
const deserializeAws_json1_1DescribeDatasetImportJobResponse = (output, context) => {
|
|
3346
3348
|
return {
|
|
3347
3349
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3348
|
-
?
|
|
3350
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3349
3351
|
: undefined,
|
|
3350
|
-
DataSize: smithy_client_1.
|
|
3352
|
+
DataSize: smithy_client_1.limitedParseDouble(output.DataSize),
|
|
3351
3353
|
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
3352
3354
|
? deserializeAws_json1_1DataSource(output.DataSource, context)
|
|
3353
3355
|
: undefined,
|
|
3354
3356
|
DatasetArn: smithy_client_1.expectString(output.DatasetArn),
|
|
3355
3357
|
DatasetImportJobArn: smithy_client_1.expectString(output.DatasetImportJobArn),
|
|
3356
3358
|
DatasetImportJobName: smithy_client_1.expectString(output.DatasetImportJobName),
|
|
3357
|
-
EstimatedTimeRemainingInMinutes: smithy_client_1.
|
|
3359
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
3358
3360
|
FieldStatistics: output.FieldStatistics !== undefined && output.FieldStatistics !== null
|
|
3359
3361
|
? deserializeAws_json1_1FieldStatistics(output.FieldStatistics, context)
|
|
3360
3362
|
: undefined,
|
|
3361
3363
|
GeolocationFormat: smithy_client_1.expectString(output.GeolocationFormat),
|
|
3362
3364
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3363
|
-
?
|
|
3365
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3364
3366
|
: undefined,
|
|
3365
3367
|
Message: smithy_client_1.expectString(output.Message),
|
|
3366
3368
|
Status: smithy_client_1.expectString(output.Status),
|
|
@@ -3372,7 +3374,7 @@ const deserializeAws_json1_1DescribeDatasetImportJobResponse = (output, context)
|
|
|
3372
3374
|
const deserializeAws_json1_1DescribeDatasetResponse = (output, context) => {
|
|
3373
3375
|
return {
|
|
3374
3376
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3375
|
-
?
|
|
3377
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3376
3378
|
: undefined,
|
|
3377
3379
|
DataFrequency: smithy_client_1.expectString(output.DataFrequency),
|
|
3378
3380
|
DatasetArn: smithy_client_1.expectString(output.DatasetArn),
|
|
@@ -3383,7 +3385,7 @@ const deserializeAws_json1_1DescribeDatasetResponse = (output, context) => {
|
|
|
3383
3385
|
? deserializeAws_json1_1EncryptionConfig(output.EncryptionConfig, context)
|
|
3384
3386
|
: undefined,
|
|
3385
3387
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3386
|
-
?
|
|
3388
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3387
3389
|
: undefined,
|
|
3388
3390
|
Schema: output.Schema !== undefined && output.Schema !== null
|
|
3389
3391
|
? deserializeAws_json1_1Schema(output.Schema, context)
|
|
@@ -3394,7 +3396,7 @@ const deserializeAws_json1_1DescribeDatasetResponse = (output, context) => {
|
|
|
3394
3396
|
const deserializeAws_json1_1DescribeForecastExportJobResponse = (output, context) => {
|
|
3395
3397
|
return {
|
|
3396
3398
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3397
|
-
?
|
|
3399
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3398
3400
|
: undefined,
|
|
3399
3401
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
3400
3402
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
@@ -3403,7 +3405,7 @@ const deserializeAws_json1_1DescribeForecastExportJobResponse = (output, context
|
|
|
3403
3405
|
ForecastExportJobArn: smithy_client_1.expectString(output.ForecastExportJobArn),
|
|
3404
3406
|
ForecastExportJobName: smithy_client_1.expectString(output.ForecastExportJobName),
|
|
3405
3407
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3406
|
-
?
|
|
3408
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3407
3409
|
: undefined,
|
|
3408
3410
|
Message: smithy_client_1.expectString(output.Message),
|
|
3409
3411
|
Status: smithy_client_1.expectString(output.Status),
|
|
@@ -3412,17 +3414,17 @@ const deserializeAws_json1_1DescribeForecastExportJobResponse = (output, context
|
|
|
3412
3414
|
const deserializeAws_json1_1DescribeForecastResponse = (output, context) => {
|
|
3413
3415
|
return {
|
|
3414
3416
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3415
|
-
?
|
|
3417
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3416
3418
|
: undefined,
|
|
3417
3419
|
DatasetGroupArn: smithy_client_1.expectString(output.DatasetGroupArn),
|
|
3418
|
-
EstimatedTimeRemainingInMinutes: smithy_client_1.
|
|
3420
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
3419
3421
|
ForecastArn: smithy_client_1.expectString(output.ForecastArn),
|
|
3420
3422
|
ForecastName: smithy_client_1.expectString(output.ForecastName),
|
|
3421
3423
|
ForecastTypes: output.ForecastTypes !== undefined && output.ForecastTypes !== null
|
|
3422
3424
|
? deserializeAws_json1_1ForecastTypes(output.ForecastTypes, context)
|
|
3423
3425
|
: undefined,
|
|
3424
3426
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3425
|
-
?
|
|
3427
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3426
3428
|
: undefined,
|
|
3427
3429
|
Message: smithy_client_1.expectString(output.Message),
|
|
3428
3430
|
PredictorArn: smithy_client_1.expectString(output.PredictorArn),
|
|
@@ -3432,13 +3434,13 @@ const deserializeAws_json1_1DescribeForecastResponse = (output, context) => {
|
|
|
3432
3434
|
const deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = (output, context) => {
|
|
3433
3435
|
return {
|
|
3434
3436
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3435
|
-
?
|
|
3437
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3436
3438
|
: undefined,
|
|
3437
3439
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
3438
3440
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
3439
3441
|
: undefined,
|
|
3440
3442
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3441
|
-
?
|
|
3443
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3442
3444
|
: undefined,
|
|
3443
3445
|
Message: smithy_client_1.expectString(output.Message),
|
|
3444
3446
|
PredictorArn: smithy_client_1.expectString(output.PredictorArn),
|
|
@@ -3455,7 +3457,7 @@ const deserializeAws_json1_1DescribePredictorResponse = (output, context) => {
|
|
|
3455
3457
|
: undefined,
|
|
3456
3458
|
AutoMLOverrideStrategy: smithy_client_1.expectString(output.AutoMLOverrideStrategy),
|
|
3457
3459
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3458
|
-
?
|
|
3460
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3459
3461
|
: undefined,
|
|
3460
3462
|
DatasetImportJobArns: output.DatasetImportJobArns !== undefined && output.DatasetImportJobArns !== null
|
|
3461
3463
|
? deserializeAws_json1_1ArnList(output.DatasetImportJobArns, context)
|
|
@@ -3463,14 +3465,14 @@ const deserializeAws_json1_1DescribePredictorResponse = (output, context) => {
|
|
|
3463
3465
|
EncryptionConfig: output.EncryptionConfig !== undefined && output.EncryptionConfig !== null
|
|
3464
3466
|
? deserializeAws_json1_1EncryptionConfig(output.EncryptionConfig, context)
|
|
3465
3467
|
: undefined,
|
|
3466
|
-
EstimatedTimeRemainingInMinutes: smithy_client_1.
|
|
3468
|
+
EstimatedTimeRemainingInMinutes: smithy_client_1.expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
3467
3469
|
EvaluationParameters: output.EvaluationParameters !== undefined && output.EvaluationParameters !== null
|
|
3468
3470
|
? deserializeAws_json1_1EvaluationParameters(output.EvaluationParameters, context)
|
|
3469
3471
|
: undefined,
|
|
3470
3472
|
FeaturizationConfig: output.FeaturizationConfig !== undefined && output.FeaturizationConfig !== null
|
|
3471
3473
|
? deserializeAws_json1_1FeaturizationConfig(output.FeaturizationConfig, context)
|
|
3472
3474
|
: undefined,
|
|
3473
|
-
ForecastHorizon: smithy_client_1.
|
|
3475
|
+
ForecastHorizon: smithy_client_1.expectInt32(output.ForecastHorizon),
|
|
3474
3476
|
ForecastTypes: output.ForecastTypes !== undefined && output.ForecastTypes !== null
|
|
3475
3477
|
? deserializeAws_json1_1ForecastTypes(output.ForecastTypes, context)
|
|
3476
3478
|
: undefined,
|
|
@@ -3481,9 +3483,10 @@ const deserializeAws_json1_1DescribePredictorResponse = (output, context) => {
|
|
|
3481
3483
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3482
3484
|
: undefined,
|
|
3483
3485
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3484
|
-
?
|
|
3486
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3485
3487
|
: undefined,
|
|
3486
3488
|
Message: smithy_client_1.expectString(output.Message),
|
|
3489
|
+
OptimizationMetric: smithy_client_1.expectString(output.OptimizationMetric),
|
|
3487
3490
|
PerformAutoML: smithy_client_1.expectBoolean(output.PerformAutoML),
|
|
3488
3491
|
PerformHPO: smithy_client_1.expectBoolean(output.PerformHPO),
|
|
3489
3492
|
PredictorArn: smithy_client_1.expectString(output.PredictorArn),
|
|
@@ -3506,8 +3509,10 @@ const deserializeAws_json1_1EncryptionConfig = (output, context) => {
|
|
|
3506
3509
|
const deserializeAws_json1_1ErrorMetric = (output, context) => {
|
|
3507
3510
|
return {
|
|
3508
3511
|
ForecastType: smithy_client_1.expectString(output.ForecastType),
|
|
3509
|
-
|
|
3510
|
-
|
|
3512
|
+
MAPE: smithy_client_1.limitedParseDouble(output.MAPE),
|
|
3513
|
+
MASE: smithy_client_1.limitedParseDouble(output.MASE),
|
|
3514
|
+
RMSE: smithy_client_1.limitedParseDouble(output.RMSE),
|
|
3515
|
+
WAPE: smithy_client_1.limitedParseDouble(output.WAPE),
|
|
3511
3516
|
};
|
|
3512
3517
|
};
|
|
3513
3518
|
const deserializeAws_json1_1ErrorMetrics = (output, context) => {
|
|
@@ -3522,8 +3527,8 @@ const deserializeAws_json1_1ErrorMetrics = (output, context) => {
|
|
|
3522
3527
|
};
|
|
3523
3528
|
const deserializeAws_json1_1EvaluationParameters = (output, context) => {
|
|
3524
3529
|
return {
|
|
3525
|
-
BackTestWindowOffset: smithy_client_1.
|
|
3526
|
-
NumberOfBacktestWindows: smithy_client_1.
|
|
3530
|
+
BackTestWindowOffset: smithy_client_1.expectInt32(output.BackTestWindowOffset),
|
|
3531
|
+
NumberOfBacktestWindows: smithy_client_1.expectInt32(output.NumberOfBacktestWindows),
|
|
3527
3532
|
};
|
|
3528
3533
|
};
|
|
3529
3534
|
const deserializeAws_json1_1EvaluationResult = (output, context) => {
|
|
@@ -3626,7 +3631,7 @@ const deserializeAws_json1_1ForecastExportJobs = (output, context) => {
|
|
|
3626
3631
|
const deserializeAws_json1_1ForecastExportJobSummary = (output, context) => {
|
|
3627
3632
|
return {
|
|
3628
3633
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3629
|
-
?
|
|
3634
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3630
3635
|
: undefined,
|
|
3631
3636
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
3632
3637
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
@@ -3634,7 +3639,7 @@ const deserializeAws_json1_1ForecastExportJobSummary = (output, context) => {
|
|
|
3634
3639
|
ForecastExportJobArn: smithy_client_1.expectString(output.ForecastExportJobArn),
|
|
3635
3640
|
ForecastExportJobName: smithy_client_1.expectString(output.ForecastExportJobName),
|
|
3636
3641
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3637
|
-
?
|
|
3642
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3638
3643
|
: undefined,
|
|
3639
3644
|
Message: smithy_client_1.expectString(output.Message),
|
|
3640
3645
|
Status: smithy_client_1.expectString(output.Status),
|
|
@@ -3653,13 +3658,13 @@ const deserializeAws_json1_1Forecasts = (output, context) => {
|
|
|
3653
3658
|
const deserializeAws_json1_1ForecastSummary = (output, context) => {
|
|
3654
3659
|
return {
|
|
3655
3660
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3656
|
-
?
|
|
3661
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3657
3662
|
: undefined,
|
|
3658
3663
|
DatasetGroupArn: smithy_client_1.expectString(output.DatasetGroupArn),
|
|
3659
3664
|
ForecastArn: smithy_client_1.expectString(output.ForecastArn),
|
|
3660
3665
|
ForecastName: smithy_client_1.expectString(output.ForecastName),
|
|
3661
3666
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3662
|
-
?
|
|
3667
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3663
3668
|
: undefined,
|
|
3664
3669
|
Message: smithy_client_1.expectString(output.Message),
|
|
3665
3670
|
PredictorArn: smithy_client_1.expectString(output.PredictorArn),
|
|
@@ -3679,6 +3684,7 @@ const deserializeAws_json1_1ForecastTypes = (output, context) => {
|
|
|
3679
3684
|
const deserializeAws_json1_1GetAccuracyMetricsResponse = (output, context) => {
|
|
3680
3685
|
return {
|
|
3681
3686
|
AutoMLOverrideStrategy: smithy_client_1.expectString(output.AutoMLOverrideStrategy),
|
|
3687
|
+
OptimizationMetric: smithy_client_1.expectString(output.OptimizationMetric),
|
|
3682
3688
|
PredictorEvaluationResults: output.PredictorEvaluationResults !== undefined && output.PredictorEvaluationResults !== null
|
|
3683
3689
|
? deserializeAws_json1_1PredictorEvaluationResults(output.PredictorEvaluationResults, context)
|
|
3684
3690
|
: undefined,
|
|
@@ -3701,8 +3707,8 @@ const deserializeAws_json1_1InputDataConfig = (output, context) => {
|
|
|
3701
3707
|
};
|
|
3702
3708
|
const deserializeAws_json1_1IntegerParameterRange = (output, context) => {
|
|
3703
3709
|
return {
|
|
3704
|
-
MaxValue: smithy_client_1.
|
|
3705
|
-
MinValue: smithy_client_1.
|
|
3710
|
+
MaxValue: smithy_client_1.expectInt32(output.MaxValue),
|
|
3711
|
+
MinValue: smithy_client_1.expectInt32(output.MinValue),
|
|
3706
3712
|
Name: smithy_client_1.expectString(output.Name),
|
|
3707
3713
|
ScalingType: smithy_client_1.expectString(output.ScalingType),
|
|
3708
3714
|
};
|
|
@@ -3795,10 +3801,11 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
3795
3801
|
};
|
|
3796
3802
|
const deserializeAws_json1_1Metrics = (output, context) => {
|
|
3797
3803
|
return {
|
|
3804
|
+
AverageWeightedQuantileLoss: smithy_client_1.limitedParseDouble(output.AverageWeightedQuantileLoss),
|
|
3798
3805
|
ErrorMetrics: output.ErrorMetrics !== undefined && output.ErrorMetrics !== null
|
|
3799
3806
|
? deserializeAws_json1_1ErrorMetrics(output.ErrorMetrics, context)
|
|
3800
3807
|
: undefined,
|
|
3801
|
-
RMSE: smithy_client_1.
|
|
3808
|
+
RMSE: smithy_client_1.limitedParseDouble(output.RMSE),
|
|
3802
3809
|
WeightedQuantileLosses: output.WeightedQuantileLosses !== undefined && output.WeightedQuantileLosses !== null
|
|
3803
3810
|
? deserializeAws_json1_1WeightedQuantileLosses(output.WeightedQuantileLosses, context)
|
|
3804
3811
|
: undefined,
|
|
@@ -3830,13 +3837,13 @@ const deserializeAws_json1_1PredictorBacktestExportJobs = (output, context) => {
|
|
|
3830
3837
|
const deserializeAws_json1_1PredictorBacktestExportJobSummary = (output, context) => {
|
|
3831
3838
|
return {
|
|
3832
3839
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3833
|
-
?
|
|
3840
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3834
3841
|
: undefined,
|
|
3835
3842
|
Destination: output.Destination !== undefined && output.Destination !== null
|
|
3836
3843
|
? deserializeAws_json1_1DataDestination(output.Destination, context)
|
|
3837
3844
|
: undefined,
|
|
3838
3845
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3839
|
-
?
|
|
3846
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3840
3847
|
: undefined,
|
|
3841
3848
|
Message: smithy_client_1.expectString(output.Message),
|
|
3842
3849
|
PredictorBacktestExportJobArn: smithy_client_1.expectString(output.PredictorBacktestExportJobArn),
|
|
@@ -3892,11 +3899,11 @@ const deserializeAws_json1_1Predictors = (output, context) => {
|
|
|
3892
3899
|
const deserializeAws_json1_1PredictorSummary = (output, context) => {
|
|
3893
3900
|
return {
|
|
3894
3901
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3895
|
-
?
|
|
3902
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3896
3903
|
: undefined,
|
|
3897
3904
|
DatasetGroupArn: smithy_client_1.expectString(output.DatasetGroupArn),
|
|
3898
3905
|
LastModificationTime: output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
3899
|
-
?
|
|
3906
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModificationTime)))
|
|
3900
3907
|
: undefined,
|
|
3901
3908
|
Message: smithy_client_1.expectString(output.Message),
|
|
3902
3909
|
PredictorArn: smithy_client_1.expectString(output.PredictorArn),
|
|
@@ -3951,18 +3958,18 @@ const deserializeAws_json1_1SchemaAttributes = (output, context) => {
|
|
|
3951
3958
|
};
|
|
3952
3959
|
const deserializeAws_json1_1Statistics = (output, context) => {
|
|
3953
3960
|
return {
|
|
3954
|
-
Avg: smithy_client_1.
|
|
3955
|
-
Count: smithy_client_1.
|
|
3956
|
-
CountDistinct: smithy_client_1.
|
|
3957
|
-
CountDistinctLong: smithy_client_1.
|
|
3958
|
-
CountLong: smithy_client_1.
|
|
3959
|
-
CountNan: smithy_client_1.
|
|
3960
|
-
CountNanLong: smithy_client_1.
|
|
3961
|
-
CountNull: smithy_client_1.
|
|
3962
|
-
CountNullLong: smithy_client_1.
|
|
3961
|
+
Avg: smithy_client_1.limitedParseDouble(output.Avg),
|
|
3962
|
+
Count: smithy_client_1.expectInt32(output.Count),
|
|
3963
|
+
CountDistinct: smithy_client_1.expectInt32(output.CountDistinct),
|
|
3964
|
+
CountDistinctLong: smithy_client_1.expectLong(output.CountDistinctLong),
|
|
3965
|
+
CountLong: smithy_client_1.expectLong(output.CountLong),
|
|
3966
|
+
CountNan: smithy_client_1.expectInt32(output.CountNan),
|
|
3967
|
+
CountNanLong: smithy_client_1.expectLong(output.CountNanLong),
|
|
3968
|
+
CountNull: smithy_client_1.expectInt32(output.CountNull),
|
|
3969
|
+
CountNullLong: smithy_client_1.expectLong(output.CountNullLong),
|
|
3963
3970
|
Max: smithy_client_1.expectString(output.Max),
|
|
3964
3971
|
Min: smithy_client_1.expectString(output.Min),
|
|
3965
|
-
Stddev: smithy_client_1.
|
|
3972
|
+
Stddev: smithy_client_1.limitedParseDouble(output.Stddev),
|
|
3966
3973
|
};
|
|
3967
3974
|
};
|
|
3968
3975
|
const deserializeAws_json1_1SupplementaryFeature = (output, context) => {
|
|
@@ -4025,10 +4032,10 @@ const deserializeAws_json1_1TestWindowSummary = (output, context) => {
|
|
|
4025
4032
|
Message: smithy_client_1.expectString(output.Message),
|
|
4026
4033
|
Status: smithy_client_1.expectString(output.Status),
|
|
4027
4034
|
TestWindowEnd: output.TestWindowEnd !== undefined && output.TestWindowEnd !== null
|
|
4028
|
-
?
|
|
4035
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TestWindowEnd)))
|
|
4029
4036
|
: undefined,
|
|
4030
4037
|
TestWindowStart: output.TestWindowStart !== undefined && output.TestWindowStart !== null
|
|
4031
|
-
?
|
|
4038
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TestWindowStart)))
|
|
4032
4039
|
: undefined,
|
|
4033
4040
|
};
|
|
4034
4041
|
};
|
|
@@ -4061,8 +4068,8 @@ const deserializeAws_json1_1Values = (output, context) => {
|
|
|
4061
4068
|
};
|
|
4062
4069
|
const deserializeAws_json1_1WeightedQuantileLoss = (output, context) => {
|
|
4063
4070
|
return {
|
|
4064
|
-
LossValue: smithy_client_1.
|
|
4065
|
-
Quantile: smithy_client_1.
|
|
4071
|
+
LossValue: smithy_client_1.limitedParseDouble(output.LossValue),
|
|
4072
|
+
Quantile: smithy_client_1.limitedParseDouble(output.Quantile),
|
|
4066
4073
|
};
|
|
4067
4074
|
};
|
|
4068
4075
|
const deserializeAws_json1_1WeightedQuantileLosses = (output, context) => {
|
|
@@ -4078,15 +4085,15 @@ const deserializeAws_json1_1WeightedQuantileLosses = (output, context) => {
|
|
|
4078
4085
|
const deserializeAws_json1_1WindowSummary = (output, context) => {
|
|
4079
4086
|
return {
|
|
4080
4087
|
EvaluationType: smithy_client_1.expectString(output.EvaluationType),
|
|
4081
|
-
ItemCount: smithy_client_1.
|
|
4088
|
+
ItemCount: smithy_client_1.expectInt32(output.ItemCount),
|
|
4082
4089
|
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
4083
4090
|
? deserializeAws_json1_1Metrics(output.Metrics, context)
|
|
4084
4091
|
: undefined,
|
|
4085
4092
|
TestWindowEnd: output.TestWindowEnd !== undefined && output.TestWindowEnd !== null
|
|
4086
|
-
?
|
|
4093
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TestWindowEnd)))
|
|
4087
4094
|
: undefined,
|
|
4088
4095
|
TestWindowStart: output.TestWindowStart !== undefined && output.TestWindowStart !== null
|
|
4089
|
-
?
|
|
4096
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.TestWindowStart)))
|
|
4090
4097
|
: undefined,
|
|
4091
4098
|
};
|
|
4092
4099
|
};
|