@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
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -182,9 +182,13 @@ import {
|
|
|
182
182
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
183
183
|
import {
|
|
184
184
|
expectBoolean as __expectBoolean,
|
|
185
|
-
|
|
185
|
+
expectInt32 as __expectInt32,
|
|
186
|
+
expectLong as __expectLong,
|
|
187
|
+
expectNonNull as __expectNonNull,
|
|
188
|
+
expectNumber as __expectNumber,
|
|
186
189
|
expectString as __expectString,
|
|
187
|
-
|
|
190
|
+
limitedParseDouble as __limitedParseDouble,
|
|
191
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
188
192
|
serializeFloat as __serializeFloat,
|
|
189
193
|
} from "@aws-sdk/smithy-client";
|
|
190
194
|
import {
|
|
@@ -3302,6 +3306,8 @@ const serializeAws_json1_1CreatePredictorRequest = (input: CreatePredictorReques
|
|
|
3302
3306
|
input.InputDataConfig !== null && {
|
|
3303
3307
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
3304
3308
|
}),
|
|
3309
|
+
...(input.OptimizationMetric !== undefined &&
|
|
3310
|
+
input.OptimizationMetric !== null && { OptimizationMetric: input.OptimizationMetric }),
|
|
3305
3311
|
...(input.PerformAutoML !== undefined && input.PerformAutoML !== null && { PerformAutoML: input.PerformAutoML }),
|
|
3306
3312
|
...(input.PerformHPO !== undefined && input.PerformHPO !== null && { PerformHPO: input.PerformHPO }),
|
|
3307
3313
|
...(input.PredictorName !== undefined && input.PredictorName !== null && { PredictorName: input.PredictorName }),
|
|
@@ -3926,8 +3932,8 @@ const deserializeAws_json1_1ContinuousParameterRange = (
|
|
|
3926
3932
|
context: __SerdeContext
|
|
3927
3933
|
): ContinuousParameterRange => {
|
|
3928
3934
|
return {
|
|
3929
|
-
MaxValue:
|
|
3930
|
-
MinValue:
|
|
3935
|
+
MaxValue: __limitedParseDouble(output.MaxValue),
|
|
3936
|
+
MinValue: __limitedParseDouble(output.MinValue),
|
|
3931
3937
|
Name: __expectString(output.Name),
|
|
3932
3938
|
ScalingType: __expectString(output.ScalingType),
|
|
3933
3939
|
} as any;
|
|
@@ -4028,13 +4034,13 @@ const deserializeAws_json1_1DatasetGroupSummary = (output: any, context: __Serde
|
|
|
4028
4034
|
return {
|
|
4029
4035
|
CreationTime:
|
|
4030
4036
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4031
|
-
?
|
|
4037
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4032
4038
|
: undefined,
|
|
4033
4039
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
4034
4040
|
DatasetGroupName: __expectString(output.DatasetGroupName),
|
|
4035
4041
|
LastModificationTime:
|
|
4036
4042
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4037
|
-
?
|
|
4043
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4038
4044
|
: undefined,
|
|
4039
4045
|
} as any;
|
|
4040
4046
|
};
|
|
@@ -4057,7 +4063,7 @@ const deserializeAws_json1_1DatasetImportJobSummary = (
|
|
|
4057
4063
|
return {
|
|
4058
4064
|
CreationTime:
|
|
4059
4065
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4060
|
-
?
|
|
4066
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4061
4067
|
: undefined,
|
|
4062
4068
|
DataSource:
|
|
4063
4069
|
output.DataSource !== undefined && output.DataSource !== null
|
|
@@ -4067,7 +4073,7 @@ const deserializeAws_json1_1DatasetImportJobSummary = (
|
|
|
4067
4073
|
DatasetImportJobName: __expectString(output.DatasetImportJobName),
|
|
4068
4074
|
LastModificationTime:
|
|
4069
4075
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4070
|
-
?
|
|
4076
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4071
4077
|
: undefined,
|
|
4072
4078
|
Message: __expectString(output.Message),
|
|
4073
4079
|
Status: __expectString(output.Status),
|
|
@@ -4089,7 +4095,7 @@ const deserializeAws_json1_1DatasetSummary = (output: any, context: __SerdeConte
|
|
|
4089
4095
|
return {
|
|
4090
4096
|
CreationTime:
|
|
4091
4097
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4092
|
-
?
|
|
4098
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4093
4099
|
: undefined,
|
|
4094
4100
|
DatasetArn: __expectString(output.DatasetArn),
|
|
4095
4101
|
DatasetName: __expectString(output.DatasetName),
|
|
@@ -4097,7 +4103,7 @@ const deserializeAws_json1_1DatasetSummary = (output: any, context: __SerdeConte
|
|
|
4097
4103
|
Domain: __expectString(output.Domain),
|
|
4098
4104
|
LastModificationTime:
|
|
4099
4105
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4100
|
-
?
|
|
4106
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4101
4107
|
: undefined,
|
|
4102
4108
|
} as any;
|
|
4103
4109
|
};
|
|
@@ -4118,7 +4124,7 @@ const deserializeAws_json1_1DescribeDatasetGroupResponse = (
|
|
|
4118
4124
|
return {
|
|
4119
4125
|
CreationTime:
|
|
4120
4126
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4121
|
-
?
|
|
4127
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4122
4128
|
: undefined,
|
|
4123
4129
|
DatasetArns:
|
|
4124
4130
|
output.DatasetArns !== undefined && output.DatasetArns !== null
|
|
@@ -4129,7 +4135,7 @@ const deserializeAws_json1_1DescribeDatasetGroupResponse = (
|
|
|
4129
4135
|
Domain: __expectString(output.Domain),
|
|
4130
4136
|
LastModificationTime:
|
|
4131
4137
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4132
|
-
?
|
|
4138
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4133
4139
|
: undefined,
|
|
4134
4140
|
Status: __expectString(output.Status),
|
|
4135
4141
|
} as any;
|
|
@@ -4142,9 +4148,9 @@ const deserializeAws_json1_1DescribeDatasetImportJobResponse = (
|
|
|
4142
4148
|
return {
|
|
4143
4149
|
CreationTime:
|
|
4144
4150
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4145
|
-
?
|
|
4151
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4146
4152
|
: undefined,
|
|
4147
|
-
DataSize:
|
|
4153
|
+
DataSize: __limitedParseDouble(output.DataSize),
|
|
4148
4154
|
DataSource:
|
|
4149
4155
|
output.DataSource !== undefined && output.DataSource !== null
|
|
4150
4156
|
? deserializeAws_json1_1DataSource(output.DataSource, context)
|
|
@@ -4152,7 +4158,7 @@ const deserializeAws_json1_1DescribeDatasetImportJobResponse = (
|
|
|
4152
4158
|
DatasetArn: __expectString(output.DatasetArn),
|
|
4153
4159
|
DatasetImportJobArn: __expectString(output.DatasetImportJobArn),
|
|
4154
4160
|
DatasetImportJobName: __expectString(output.DatasetImportJobName),
|
|
4155
|
-
EstimatedTimeRemainingInMinutes:
|
|
4161
|
+
EstimatedTimeRemainingInMinutes: __expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
4156
4162
|
FieldStatistics:
|
|
4157
4163
|
output.FieldStatistics !== undefined && output.FieldStatistics !== null
|
|
4158
4164
|
? deserializeAws_json1_1FieldStatistics(output.FieldStatistics, context)
|
|
@@ -4160,7 +4166,7 @@ const deserializeAws_json1_1DescribeDatasetImportJobResponse = (
|
|
|
4160
4166
|
GeolocationFormat: __expectString(output.GeolocationFormat),
|
|
4161
4167
|
LastModificationTime:
|
|
4162
4168
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4163
|
-
?
|
|
4169
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4164
4170
|
: undefined,
|
|
4165
4171
|
Message: __expectString(output.Message),
|
|
4166
4172
|
Status: __expectString(output.Status),
|
|
@@ -4177,7 +4183,7 @@ const deserializeAws_json1_1DescribeDatasetResponse = (
|
|
|
4177
4183
|
return {
|
|
4178
4184
|
CreationTime:
|
|
4179
4185
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4180
|
-
?
|
|
4186
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4181
4187
|
: undefined,
|
|
4182
4188
|
DataFrequency: __expectString(output.DataFrequency),
|
|
4183
4189
|
DatasetArn: __expectString(output.DatasetArn),
|
|
@@ -4190,7 +4196,7 @@ const deserializeAws_json1_1DescribeDatasetResponse = (
|
|
|
4190
4196
|
: undefined,
|
|
4191
4197
|
LastModificationTime:
|
|
4192
4198
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4193
|
-
?
|
|
4199
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4194
4200
|
: undefined,
|
|
4195
4201
|
Schema:
|
|
4196
4202
|
output.Schema !== undefined && output.Schema !== null
|
|
@@ -4207,7 +4213,7 @@ const deserializeAws_json1_1DescribeForecastExportJobResponse = (
|
|
|
4207
4213
|
return {
|
|
4208
4214
|
CreationTime:
|
|
4209
4215
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4210
|
-
?
|
|
4216
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4211
4217
|
: undefined,
|
|
4212
4218
|
Destination:
|
|
4213
4219
|
output.Destination !== undefined && output.Destination !== null
|
|
@@ -4218,7 +4224,7 @@ const deserializeAws_json1_1DescribeForecastExportJobResponse = (
|
|
|
4218
4224
|
ForecastExportJobName: __expectString(output.ForecastExportJobName),
|
|
4219
4225
|
LastModificationTime:
|
|
4220
4226
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4221
|
-
?
|
|
4227
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4222
4228
|
: undefined,
|
|
4223
4229
|
Message: __expectString(output.Message),
|
|
4224
4230
|
Status: __expectString(output.Status),
|
|
@@ -4232,10 +4238,10 @@ const deserializeAws_json1_1DescribeForecastResponse = (
|
|
|
4232
4238
|
return {
|
|
4233
4239
|
CreationTime:
|
|
4234
4240
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4235
|
-
?
|
|
4241
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4236
4242
|
: undefined,
|
|
4237
4243
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
4238
|
-
EstimatedTimeRemainingInMinutes:
|
|
4244
|
+
EstimatedTimeRemainingInMinutes: __expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
4239
4245
|
ForecastArn: __expectString(output.ForecastArn),
|
|
4240
4246
|
ForecastName: __expectString(output.ForecastName),
|
|
4241
4247
|
ForecastTypes:
|
|
@@ -4244,7 +4250,7 @@ const deserializeAws_json1_1DescribeForecastResponse = (
|
|
|
4244
4250
|
: undefined,
|
|
4245
4251
|
LastModificationTime:
|
|
4246
4252
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4247
|
-
?
|
|
4253
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4248
4254
|
: undefined,
|
|
4249
4255
|
Message: __expectString(output.Message),
|
|
4250
4256
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -4259,7 +4265,7 @@ const deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = (
|
|
|
4259
4265
|
return {
|
|
4260
4266
|
CreationTime:
|
|
4261
4267
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4262
|
-
?
|
|
4268
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4263
4269
|
: undefined,
|
|
4264
4270
|
Destination:
|
|
4265
4271
|
output.Destination !== undefined && output.Destination !== null
|
|
@@ -4267,7 +4273,7 @@ const deserializeAws_json1_1DescribePredictorBacktestExportJobResponse = (
|
|
|
4267
4273
|
: undefined,
|
|
4268
4274
|
LastModificationTime:
|
|
4269
4275
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4270
|
-
?
|
|
4276
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4271
4277
|
: undefined,
|
|
4272
4278
|
Message: __expectString(output.Message),
|
|
4273
4279
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -4290,7 +4296,7 @@ const deserializeAws_json1_1DescribePredictorResponse = (
|
|
|
4290
4296
|
AutoMLOverrideStrategy: __expectString(output.AutoMLOverrideStrategy),
|
|
4291
4297
|
CreationTime:
|
|
4292
4298
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4293
|
-
?
|
|
4299
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4294
4300
|
: undefined,
|
|
4295
4301
|
DatasetImportJobArns:
|
|
4296
4302
|
output.DatasetImportJobArns !== undefined && output.DatasetImportJobArns !== null
|
|
@@ -4300,7 +4306,7 @@ const deserializeAws_json1_1DescribePredictorResponse = (
|
|
|
4300
4306
|
output.EncryptionConfig !== undefined && output.EncryptionConfig !== null
|
|
4301
4307
|
? deserializeAws_json1_1EncryptionConfig(output.EncryptionConfig, context)
|
|
4302
4308
|
: undefined,
|
|
4303
|
-
EstimatedTimeRemainingInMinutes:
|
|
4309
|
+
EstimatedTimeRemainingInMinutes: __expectLong(output.EstimatedTimeRemainingInMinutes),
|
|
4304
4310
|
EvaluationParameters:
|
|
4305
4311
|
output.EvaluationParameters !== undefined && output.EvaluationParameters !== null
|
|
4306
4312
|
? deserializeAws_json1_1EvaluationParameters(output.EvaluationParameters, context)
|
|
@@ -4309,7 +4315,7 @@ const deserializeAws_json1_1DescribePredictorResponse = (
|
|
|
4309
4315
|
output.FeaturizationConfig !== undefined && output.FeaturizationConfig !== null
|
|
4310
4316
|
? deserializeAws_json1_1FeaturizationConfig(output.FeaturizationConfig, context)
|
|
4311
4317
|
: undefined,
|
|
4312
|
-
ForecastHorizon:
|
|
4318
|
+
ForecastHorizon: __expectInt32(output.ForecastHorizon),
|
|
4313
4319
|
ForecastTypes:
|
|
4314
4320
|
output.ForecastTypes !== undefined && output.ForecastTypes !== null
|
|
4315
4321
|
? deserializeAws_json1_1ForecastTypes(output.ForecastTypes, context)
|
|
@@ -4324,9 +4330,10 @@ const deserializeAws_json1_1DescribePredictorResponse = (
|
|
|
4324
4330
|
: undefined,
|
|
4325
4331
|
LastModificationTime:
|
|
4326
4332
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4327
|
-
?
|
|
4333
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4328
4334
|
: undefined,
|
|
4329
4335
|
Message: __expectString(output.Message),
|
|
4336
|
+
OptimizationMetric: __expectString(output.OptimizationMetric),
|
|
4330
4337
|
PerformAutoML: __expectBoolean(output.PerformAutoML),
|
|
4331
4338
|
PerformHPO: __expectBoolean(output.PerformHPO),
|
|
4332
4339
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -4353,8 +4360,10 @@ const deserializeAws_json1_1EncryptionConfig = (output: any, context: __SerdeCon
|
|
|
4353
4360
|
const deserializeAws_json1_1ErrorMetric = (output: any, context: __SerdeContext): ErrorMetric => {
|
|
4354
4361
|
return {
|
|
4355
4362
|
ForecastType: __expectString(output.ForecastType),
|
|
4356
|
-
|
|
4357
|
-
|
|
4363
|
+
MAPE: __limitedParseDouble(output.MAPE),
|
|
4364
|
+
MASE: __limitedParseDouble(output.MASE),
|
|
4365
|
+
RMSE: __limitedParseDouble(output.RMSE),
|
|
4366
|
+
WAPE: __limitedParseDouble(output.WAPE),
|
|
4358
4367
|
} as any;
|
|
4359
4368
|
};
|
|
4360
4369
|
|
|
@@ -4371,8 +4380,8 @@ const deserializeAws_json1_1ErrorMetrics = (output: any, context: __SerdeContext
|
|
|
4371
4380
|
|
|
4372
4381
|
const deserializeAws_json1_1EvaluationParameters = (output: any, context: __SerdeContext): EvaluationParameters => {
|
|
4373
4382
|
return {
|
|
4374
|
-
BackTestWindowOffset:
|
|
4375
|
-
NumberOfBacktestWindows:
|
|
4383
|
+
BackTestWindowOffset: __expectInt32(output.BackTestWindowOffset),
|
|
4384
|
+
NumberOfBacktestWindows: __expectInt32(output.NumberOfBacktestWindows),
|
|
4376
4385
|
} as any;
|
|
4377
4386
|
};
|
|
4378
4387
|
|
|
@@ -4498,7 +4507,7 @@ const deserializeAws_json1_1ForecastExportJobSummary = (
|
|
|
4498
4507
|
return {
|
|
4499
4508
|
CreationTime:
|
|
4500
4509
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4501
|
-
?
|
|
4510
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4502
4511
|
: undefined,
|
|
4503
4512
|
Destination:
|
|
4504
4513
|
output.Destination !== undefined && output.Destination !== null
|
|
@@ -4508,7 +4517,7 @@ const deserializeAws_json1_1ForecastExportJobSummary = (
|
|
|
4508
4517
|
ForecastExportJobName: __expectString(output.ForecastExportJobName),
|
|
4509
4518
|
LastModificationTime:
|
|
4510
4519
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4511
|
-
?
|
|
4520
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4512
4521
|
: undefined,
|
|
4513
4522
|
Message: __expectString(output.Message),
|
|
4514
4523
|
Status: __expectString(output.Status),
|
|
@@ -4530,14 +4539,14 @@ const deserializeAws_json1_1ForecastSummary = (output: any, context: __SerdeCont
|
|
|
4530
4539
|
return {
|
|
4531
4540
|
CreationTime:
|
|
4532
4541
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4533
|
-
?
|
|
4542
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4534
4543
|
: undefined,
|
|
4535
4544
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
4536
4545
|
ForecastArn: __expectString(output.ForecastArn),
|
|
4537
4546
|
ForecastName: __expectString(output.ForecastName),
|
|
4538
4547
|
LastModificationTime:
|
|
4539
4548
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4540
|
-
?
|
|
4549
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4541
4550
|
: undefined,
|
|
4542
4551
|
Message: __expectString(output.Message),
|
|
4543
4552
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -4562,6 +4571,7 @@ const deserializeAws_json1_1GetAccuracyMetricsResponse = (
|
|
|
4562
4571
|
): GetAccuracyMetricsResponse => {
|
|
4563
4572
|
return {
|
|
4564
4573
|
AutoMLOverrideStrategy: __expectString(output.AutoMLOverrideStrategy),
|
|
4574
|
+
OptimizationMetric: __expectString(output.OptimizationMetric),
|
|
4565
4575
|
PredictorEvaluationResults:
|
|
4566
4576
|
output.PredictorEvaluationResults !== undefined && output.PredictorEvaluationResults !== null
|
|
4567
4577
|
? deserializeAws_json1_1PredictorEvaluationResults(output.PredictorEvaluationResults, context)
|
|
@@ -4593,8 +4603,8 @@ const deserializeAws_json1_1InputDataConfig = (output: any, context: __SerdeCont
|
|
|
4593
4603
|
|
|
4594
4604
|
const deserializeAws_json1_1IntegerParameterRange = (output: any, context: __SerdeContext): IntegerParameterRange => {
|
|
4595
4605
|
return {
|
|
4596
|
-
MaxValue:
|
|
4597
|
-
MinValue:
|
|
4606
|
+
MaxValue: __expectInt32(output.MaxValue),
|
|
4607
|
+
MinValue: __expectInt32(output.MinValue),
|
|
4598
4608
|
Name: __expectString(output.Name),
|
|
4599
4609
|
ScalingType: __expectString(output.ScalingType),
|
|
4600
4610
|
} as any;
|
|
@@ -4729,11 +4739,12 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (
|
|
|
4729
4739
|
|
|
4730
4740
|
const deserializeAws_json1_1Metrics = (output: any, context: __SerdeContext): Metrics => {
|
|
4731
4741
|
return {
|
|
4742
|
+
AverageWeightedQuantileLoss: __limitedParseDouble(output.AverageWeightedQuantileLoss),
|
|
4732
4743
|
ErrorMetrics:
|
|
4733
4744
|
output.ErrorMetrics !== undefined && output.ErrorMetrics !== null
|
|
4734
4745
|
? deserializeAws_json1_1ErrorMetrics(output.ErrorMetrics, context)
|
|
4735
4746
|
: undefined,
|
|
4736
|
-
RMSE:
|
|
4747
|
+
RMSE: __limitedParseDouble(output.RMSE),
|
|
4737
4748
|
WeightedQuantileLosses:
|
|
4738
4749
|
output.WeightedQuantileLosses !== undefined && output.WeightedQuantileLosses !== null
|
|
4739
4750
|
? deserializeAws_json1_1WeightedQuantileLosses(output.WeightedQuantileLosses, context)
|
|
@@ -4779,7 +4790,7 @@ const deserializeAws_json1_1PredictorBacktestExportJobSummary = (
|
|
|
4779
4790
|
return {
|
|
4780
4791
|
CreationTime:
|
|
4781
4792
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4782
|
-
?
|
|
4793
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4783
4794
|
: undefined,
|
|
4784
4795
|
Destination:
|
|
4785
4796
|
output.Destination !== undefined && output.Destination !== null
|
|
@@ -4787,7 +4798,7 @@ const deserializeAws_json1_1PredictorBacktestExportJobSummary = (
|
|
|
4787
4798
|
: undefined,
|
|
4788
4799
|
LastModificationTime:
|
|
4789
4800
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4790
|
-
?
|
|
4801
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4791
4802
|
: undefined,
|
|
4792
4803
|
Message: __expectString(output.Message),
|
|
4793
4804
|
PredictorBacktestExportJobArn: __expectString(output.PredictorBacktestExportJobArn),
|
|
@@ -4855,12 +4866,12 @@ const deserializeAws_json1_1PredictorSummary = (output: any, context: __SerdeCon
|
|
|
4855
4866
|
return {
|
|
4856
4867
|
CreationTime:
|
|
4857
4868
|
output.CreationTime !== undefined && output.CreationTime !== null
|
|
4858
|
-
?
|
|
4869
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4859
4870
|
: undefined,
|
|
4860
4871
|
DatasetGroupArn: __expectString(output.DatasetGroupArn),
|
|
4861
4872
|
LastModificationTime:
|
|
4862
4873
|
output.LastModificationTime !== undefined && output.LastModificationTime !== null
|
|
4863
|
-
?
|
|
4874
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModificationTime)))
|
|
4864
4875
|
: undefined,
|
|
4865
4876
|
Message: __expectString(output.Message),
|
|
4866
4877
|
PredictorArn: __expectString(output.PredictorArn),
|
|
@@ -4930,18 +4941,18 @@ const deserializeAws_json1_1SchemaAttributes = (output: any, context: __SerdeCon
|
|
|
4930
4941
|
|
|
4931
4942
|
const deserializeAws_json1_1Statistics = (output: any, context: __SerdeContext): Statistics => {
|
|
4932
4943
|
return {
|
|
4933
|
-
Avg:
|
|
4934
|
-
Count:
|
|
4935
|
-
CountDistinct:
|
|
4936
|
-
CountDistinctLong:
|
|
4937
|
-
CountLong:
|
|
4938
|
-
CountNan:
|
|
4939
|
-
CountNanLong:
|
|
4940
|
-
CountNull:
|
|
4941
|
-
CountNullLong:
|
|
4944
|
+
Avg: __limitedParseDouble(output.Avg),
|
|
4945
|
+
Count: __expectInt32(output.Count),
|
|
4946
|
+
CountDistinct: __expectInt32(output.CountDistinct),
|
|
4947
|
+
CountDistinctLong: __expectLong(output.CountDistinctLong),
|
|
4948
|
+
CountLong: __expectLong(output.CountLong),
|
|
4949
|
+
CountNan: __expectInt32(output.CountNan),
|
|
4950
|
+
CountNanLong: __expectLong(output.CountNanLong),
|
|
4951
|
+
CountNull: __expectInt32(output.CountNull),
|
|
4952
|
+
CountNullLong: __expectLong(output.CountNullLong),
|
|
4942
4953
|
Max: __expectString(output.Max),
|
|
4943
4954
|
Min: __expectString(output.Min),
|
|
4944
|
-
Stddev:
|
|
4955
|
+
Stddev: __limitedParseDouble(output.Stddev),
|
|
4945
4956
|
} as any;
|
|
4946
4957
|
};
|
|
4947
4958
|
|
|
@@ -5013,11 +5024,11 @@ const deserializeAws_json1_1TestWindowSummary = (output: any, context: __SerdeCo
|
|
|
5013
5024
|
Status: __expectString(output.Status),
|
|
5014
5025
|
TestWindowEnd:
|
|
5015
5026
|
output.TestWindowEnd !== undefined && output.TestWindowEnd !== null
|
|
5016
|
-
?
|
|
5027
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowEnd)))
|
|
5017
5028
|
: undefined,
|
|
5018
5029
|
TestWindowStart:
|
|
5019
5030
|
output.TestWindowStart !== undefined && output.TestWindowStart !== null
|
|
5020
|
-
?
|
|
5031
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowStart)))
|
|
5021
5032
|
: undefined,
|
|
5022
5033
|
} as any;
|
|
5023
5034
|
};
|
|
@@ -5058,8 +5069,8 @@ const deserializeAws_json1_1Values = (output: any, context: __SerdeContext): str
|
|
|
5058
5069
|
|
|
5059
5070
|
const deserializeAws_json1_1WeightedQuantileLoss = (output: any, context: __SerdeContext): WeightedQuantileLoss => {
|
|
5060
5071
|
return {
|
|
5061
|
-
LossValue:
|
|
5062
|
-
Quantile:
|
|
5072
|
+
LossValue: __limitedParseDouble(output.LossValue),
|
|
5073
|
+
Quantile: __limitedParseDouble(output.Quantile),
|
|
5063
5074
|
} as any;
|
|
5064
5075
|
};
|
|
5065
5076
|
|
|
@@ -5077,18 +5088,18 @@ const deserializeAws_json1_1WeightedQuantileLosses = (output: any, context: __Se
|
|
|
5077
5088
|
const deserializeAws_json1_1WindowSummary = (output: any, context: __SerdeContext): WindowSummary => {
|
|
5078
5089
|
return {
|
|
5079
5090
|
EvaluationType: __expectString(output.EvaluationType),
|
|
5080
|
-
ItemCount:
|
|
5091
|
+
ItemCount: __expectInt32(output.ItemCount),
|
|
5081
5092
|
Metrics:
|
|
5082
5093
|
output.Metrics !== undefined && output.Metrics !== null
|
|
5083
5094
|
? deserializeAws_json1_1Metrics(output.Metrics, context)
|
|
5084
5095
|
: undefined,
|
|
5085
5096
|
TestWindowEnd:
|
|
5086
5097
|
output.TestWindowEnd !== undefined && output.TestWindowEnd !== null
|
|
5087
|
-
?
|
|
5098
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowEnd)))
|
|
5088
5099
|
: undefined,
|
|
5089
5100
|
TestWindowStart:
|
|
5090
5101
|
output.TestWindowStart !== undefined && output.TestWindowStart !== null
|
|
5091
|
-
?
|
|
5102
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TestWindowStart)))
|
|
5092
5103
|
: undefined,
|
|
5093
5104
|
} as any;
|
|
5094
5105
|
};
|