aws-sdk-forecastservice 1.10.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,6 +31,8 @@ module Aws::ForecastService
31
31
  CreateForecastExportJobResponse = Shapes::StructureShape.new(name: 'CreateForecastExportJobResponse')
32
32
  CreateForecastRequest = Shapes::StructureShape.new(name: 'CreateForecastRequest')
33
33
  CreateForecastResponse = Shapes::StructureShape.new(name: 'CreateForecastResponse')
34
+ CreatePredictorBacktestExportJobRequest = Shapes::StructureShape.new(name: 'CreatePredictorBacktestExportJobRequest')
35
+ CreatePredictorBacktestExportJobResponse = Shapes::StructureShape.new(name: 'CreatePredictorBacktestExportJobResponse')
34
36
  CreatePredictorRequest = Shapes::StructureShape.new(name: 'CreatePredictorRequest')
35
37
  CreatePredictorResponse = Shapes::StructureShape.new(name: 'CreatePredictorResponse')
36
38
  DataDestination = Shapes::StructureShape.new(name: 'DataDestination')
@@ -47,6 +49,7 @@ module Aws::ForecastService
47
49
  DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
48
50
  DeleteForecastExportJobRequest = Shapes::StructureShape.new(name: 'DeleteForecastExportJobRequest')
49
51
  DeleteForecastRequest = Shapes::StructureShape.new(name: 'DeleteForecastRequest')
52
+ DeletePredictorBacktestExportJobRequest = Shapes::StructureShape.new(name: 'DeletePredictorBacktestExportJobRequest')
50
53
  DeletePredictorRequest = Shapes::StructureShape.new(name: 'DeletePredictorRequest')
51
54
  DescribeDatasetGroupRequest = Shapes::StructureShape.new(name: 'DescribeDatasetGroupRequest')
52
55
  DescribeDatasetGroupResponse = Shapes::StructureShape.new(name: 'DescribeDatasetGroupResponse')
@@ -58,12 +61,16 @@ module Aws::ForecastService
58
61
  DescribeForecastExportJobResponse = Shapes::StructureShape.new(name: 'DescribeForecastExportJobResponse')
59
62
  DescribeForecastRequest = Shapes::StructureShape.new(name: 'DescribeForecastRequest')
60
63
  DescribeForecastResponse = Shapes::StructureShape.new(name: 'DescribeForecastResponse')
64
+ DescribePredictorBacktestExportJobRequest = Shapes::StructureShape.new(name: 'DescribePredictorBacktestExportJobRequest')
65
+ DescribePredictorBacktestExportJobResponse = Shapes::StructureShape.new(name: 'DescribePredictorBacktestExportJobResponse')
61
66
  DescribePredictorRequest = Shapes::StructureShape.new(name: 'DescribePredictorRequest')
62
67
  DescribePredictorResponse = Shapes::StructureShape.new(name: 'DescribePredictorResponse')
63
68
  Domain = Shapes::StringShape.new(name: 'Domain')
64
69
  Double = Shapes::FloatShape.new(name: 'Double')
65
70
  EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
66
71
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
72
+ ErrorMetric = Shapes::StructureShape.new(name: 'ErrorMetric')
73
+ ErrorMetrics = Shapes::ListShape.new(name: 'ErrorMetrics')
67
74
  EvaluationParameters = Shapes::StructureShape.new(name: 'EvaluationParameters')
68
75
  EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
69
76
  EvaluationType = Shapes::StringShape.new(name: 'EvaluationType')
@@ -86,6 +93,7 @@ module Aws::ForecastService
86
93
  ForecastTypes = Shapes::ListShape.new(name: 'ForecastTypes')
87
94
  Forecasts = Shapes::ListShape.new(name: 'Forecasts')
88
95
  Frequency = Shapes::StringShape.new(name: 'Frequency')
96
+ GeolocationFormat = Shapes::StringShape.new(name: 'GeolocationFormat')
89
97
  GetAccuracyMetricsRequest = Shapes::StructureShape.new(name: 'GetAccuracyMetricsRequest')
90
98
  GetAccuracyMetricsResponse = Shapes::StructureShape.new(name: 'GetAccuracyMetricsResponse')
91
99
  HyperParameterTuningJobConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningJobConfig')
@@ -107,6 +115,8 @@ module Aws::ForecastService
107
115
  ListForecastExportJobsResponse = Shapes::StructureShape.new(name: 'ListForecastExportJobsResponse')
108
116
  ListForecastsRequest = Shapes::StructureShape.new(name: 'ListForecastsRequest')
109
117
  ListForecastsResponse = Shapes::StructureShape.new(name: 'ListForecastsResponse')
118
+ ListPredictorBacktestExportJobsRequest = Shapes::StructureShape.new(name: 'ListPredictorBacktestExportJobsRequest')
119
+ ListPredictorBacktestExportJobsResponse = Shapes::StructureShape.new(name: 'ListPredictorBacktestExportJobsResponse')
110
120
  ListPredictorsRequest = Shapes::StructureShape.new(name: 'ListPredictorsRequest')
111
121
  ListPredictorsResponse = Shapes::StructureShape.new(name: 'ListPredictorsResponse')
112
122
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -119,6 +129,8 @@ module Aws::ForecastService
119
129
  ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
120
130
  ParameterRanges = Shapes::StructureShape.new(name: 'ParameterRanges')
121
131
  ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
132
+ PredictorBacktestExportJobSummary = Shapes::StructureShape.new(name: 'PredictorBacktestExportJobSummary')
133
+ PredictorBacktestExportJobs = Shapes::ListShape.new(name: 'PredictorBacktestExportJobs')
122
134
  PredictorEvaluationResults = Shapes::ListShape.new(name: 'PredictorEvaluationResults')
123
135
  PredictorExecution = Shapes::StructureShape.new(name: 'PredictorExecution')
124
136
  PredictorExecutionDetails = Shapes::StructureShape.new(name: 'PredictorExecutionDetails')
@@ -149,6 +161,7 @@ module Aws::ForecastService
149
161
  TestWindowDetails = Shapes::ListShape.new(name: 'TestWindowDetails')
150
162
  TestWindowSummary = Shapes::StructureShape.new(name: 'TestWindowSummary')
151
163
  TestWindows = Shapes::ListShape.new(name: 'TestWindows')
164
+ TimeZone = Shapes::StringShape.new(name: 'TimeZone')
152
165
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
153
166
  TimestampFormat = Shapes::StringShape.new(name: 'TimestampFormat')
154
167
  TrainingParameters = Shapes::MapShape.new(name: 'TrainingParameters')
@@ -156,6 +169,7 @@ module Aws::ForecastService
156
169
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
157
170
  UpdateDatasetGroupRequest = Shapes::StructureShape.new(name: 'UpdateDatasetGroupRequest')
158
171
  UpdateDatasetGroupResponse = Shapes::StructureShape.new(name: 'UpdateDatasetGroupResponse')
172
+ UseGeolocationForTimeZone = Shapes::BooleanShape.new(name: 'UseGeolocationForTimeZone')
159
173
  Value = Shapes::StringShape.new(name: 'Value')
160
174
  Values = Shapes::ListShape.new(name: 'Values')
161
175
  WeightedQuantileLoss = Shapes::StructureShape.new(name: 'WeightedQuantileLoss')
@@ -191,6 +205,9 @@ module Aws::ForecastService
191
205
  CreateDatasetImportJobRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn"))
192
206
  CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "DataSource"))
193
207
  CreateDatasetImportJobRequest.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
208
+ CreateDatasetImportJobRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
209
+ CreateDatasetImportJobRequest.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone"))
210
+ CreateDatasetImportJobRequest.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
194
211
  CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
195
212
  CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
196
213
 
@@ -227,9 +244,19 @@ module Aws::ForecastService
227
244
  CreateForecastResponse.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastArn"))
228
245
  CreateForecastResponse.struct_class = Types::CreateForecastResponse
229
246
 
247
+ CreatePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "PredictorBacktestExportJobName"))
248
+ CreatePredictorBacktestExportJobRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
249
+ CreatePredictorBacktestExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
250
+ CreatePredictorBacktestExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
251
+ CreatePredictorBacktestExportJobRequest.struct_class = Types::CreatePredictorBacktestExportJobRequest
252
+
253
+ CreatePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
254
+ CreatePredictorBacktestExportJobResponse.struct_class = Types::CreatePredictorBacktestExportJobResponse
255
+
230
256
  CreatePredictorRequest.add_member(:predictor_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "PredictorName"))
231
257
  CreatePredictorRequest.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
232
258
  CreatePredictorRequest.add_member(:forecast_horizon, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ForecastHorizon"))
259
+ CreatePredictorRequest.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
233
260
  CreatePredictorRequest.add_member(:perform_auto_ml, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformAutoML"))
234
261
  CreatePredictorRequest.add_member(:perform_hpo, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformHPO"))
235
262
  CreatePredictorRequest.add_member(:training_parameters, Shapes::ShapeRef.new(shape: TrainingParameters, location_name: "TrainingParameters"))
@@ -294,6 +321,9 @@ module Aws::ForecastService
294
321
  DeleteForecastRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn"))
295
322
  DeleteForecastRequest.struct_class = Types::DeleteForecastRequest
296
323
 
324
+ DeletePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorBacktestExportJobArn"))
325
+ DeletePredictorBacktestExportJobRequest.struct_class = Types::DeletePredictorBacktestExportJobRequest
326
+
297
327
  DeletePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
298
328
  DeletePredictorRequest.struct_class = Types::DeletePredictorRequest
299
329
 
@@ -316,6 +346,9 @@ module Aws::ForecastService
316
346
  DescribeDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn"))
317
347
  DescribeDatasetImportJobResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetArn"))
318
348
  DescribeDatasetImportJobResponse.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
349
+ DescribeDatasetImportJobResponse.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
350
+ DescribeDatasetImportJobResponse.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone"))
351
+ DescribeDatasetImportJobResponse.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
319
352
  DescribeDatasetImportJobResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "DataSource"))
320
353
  DescribeDatasetImportJobResponse.add_member(:field_statistics, Shapes::ShapeRef.new(shape: FieldStatistics, location_name: "FieldStatistics"))
321
354
  DescribeDatasetImportJobResponse.add_member(:data_size, Shapes::ShapeRef.new(shape: Double, location_name: "DataSize"))
@@ -367,6 +400,19 @@ module Aws::ForecastService
367
400
  DescribeForecastResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
368
401
  DescribeForecastResponse.struct_class = Types::DescribeForecastResponse
369
402
 
403
+ DescribePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorBacktestExportJobArn"))
404
+ DescribePredictorBacktestExportJobRequest.struct_class = Types::DescribePredictorBacktestExportJobRequest
405
+
406
+ DescribePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
407
+ DescribePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorBacktestExportJobName"))
408
+ DescribePredictorBacktestExportJobResponse.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorArn"))
409
+ DescribePredictorBacktestExportJobResponse.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, location_name: "Destination"))
410
+ DescribePredictorBacktestExportJobResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
411
+ DescribePredictorBacktestExportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
412
+ DescribePredictorBacktestExportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
413
+ DescribePredictorBacktestExportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
414
+ DescribePredictorBacktestExportJobResponse.struct_class = Types::DescribePredictorBacktestExportJobResponse
415
+
370
416
  DescribePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
371
417
  DescribePredictorRequest.struct_class = Types::DescribePredictorRequest
372
418
 
@@ -374,6 +420,7 @@ module Aws::ForecastService
374
420
  DescribePredictorResponse.add_member(:predictor_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorName"))
375
421
  DescribePredictorResponse.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
376
422
  DescribePredictorResponse.add_member(:forecast_horizon, Shapes::ShapeRef.new(shape: Integer, location_name: "ForecastHorizon"))
423
+ DescribePredictorResponse.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
377
424
  DescribePredictorResponse.add_member(:perform_auto_ml, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformAutoML"))
378
425
  DescribePredictorResponse.add_member(:perform_hpo, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformHPO"))
379
426
  DescribePredictorResponse.add_member(:training_parameters, Shapes::ShapeRef.new(shape: TrainingParameters, location_name: "TrainingParameters"))
@@ -395,6 +442,13 @@ module Aws::ForecastService
395
442
  EncryptionConfig.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, required: true, location_name: "KMSKeyArn"))
396
443
  EncryptionConfig.struct_class = Types::EncryptionConfig
397
444
 
445
+ ErrorMetric.add_member(:forecast_type, Shapes::ShapeRef.new(shape: ForecastType, location_name: "ForecastType"))
446
+ ErrorMetric.add_member(:wape, Shapes::ShapeRef.new(shape: Double, location_name: "WAPE"))
447
+ ErrorMetric.add_member(:rmse, Shapes::ShapeRef.new(shape: Double, location_name: "RMSE"))
448
+ ErrorMetric.struct_class = Types::ErrorMetric
449
+
450
+ ErrorMetrics.member = Shapes::ShapeRef.new(shape: ErrorMetric)
451
+
398
452
  EvaluationParameters.add_member(:number_of_backtest_windows, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfBacktestWindows"))
399
453
  EvaluationParameters.add_member(:back_test_window_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BackTestWindowOffset"))
400
454
  EvaluationParameters.struct_class = Types::EvaluationParameters
@@ -533,6 +587,15 @@ module Aws::ForecastService
533
587
  ListForecastsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
534
588
  ListForecastsResponse.struct_class = Types::ListForecastsResponse
535
589
 
590
+ ListPredictorBacktestExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
591
+ ListPredictorBacktestExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
592
+ ListPredictorBacktestExportJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
593
+ ListPredictorBacktestExportJobsRequest.struct_class = Types::ListPredictorBacktestExportJobsRequest
594
+
595
+ ListPredictorBacktestExportJobsResponse.add_member(:predictor_backtest_export_jobs, Shapes::ShapeRef.new(shape: PredictorBacktestExportJobs, location_name: "PredictorBacktestExportJobs"))
596
+ ListPredictorBacktestExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
597
+ ListPredictorBacktestExportJobsResponse.struct_class = Types::ListPredictorBacktestExportJobsResponse
598
+
536
599
  ListPredictorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
537
600
  ListPredictorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
538
601
  ListPredictorsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
@@ -548,8 +611,9 @@ module Aws::ForecastService
548
611
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
549
612
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
550
613
 
551
- Metrics.add_member(:rmse, Shapes::ShapeRef.new(shape: Double, location_name: "RMSE"))
614
+ Metrics.add_member(:rmse, Shapes::ShapeRef.new(shape: Double, deprecated: true, location_name: "RMSE", metadata: {"deprecatedMessage"=>"This property is deprecated, please refer to ErrorMetrics for both RMSE and WAPE"}))
552
615
  Metrics.add_member(:weighted_quantile_losses, Shapes::ShapeRef.new(shape: WeightedQuantileLosses, location_name: "WeightedQuantileLosses"))
616
+ Metrics.add_member(:error_metrics, Shapes::ShapeRef.new(shape: ErrorMetrics, location_name: "ErrorMetrics"))
553
617
  Metrics.struct_class = Types::Metrics
554
618
 
555
619
  ParameterRanges.add_member(:categorical_parameter_ranges, Shapes::ShapeRef.new(shape: CategoricalParameterRanges, location_name: "CategoricalParameterRanges"))
@@ -557,6 +621,17 @@ module Aws::ForecastService
557
621
  ParameterRanges.add_member(:integer_parameter_ranges, Shapes::ShapeRef.new(shape: IntegerParameterRanges, location_name: "IntegerParameterRanges"))
558
622
  ParameterRanges.struct_class = Types::ParameterRanges
559
623
 
624
+ PredictorBacktestExportJobSummary.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
625
+ PredictorBacktestExportJobSummary.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorBacktestExportJobName"))
626
+ PredictorBacktestExportJobSummary.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, location_name: "Destination"))
627
+ PredictorBacktestExportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
628
+ PredictorBacktestExportJobSummary.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
629
+ PredictorBacktestExportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
630
+ PredictorBacktestExportJobSummary.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
631
+ PredictorBacktestExportJobSummary.struct_class = Types::PredictorBacktestExportJobSummary
632
+
633
+ PredictorBacktestExportJobs.member = Shapes::ShapeRef.new(shape: PredictorBacktestExportJobSummary)
634
+
560
635
  PredictorEvaluationResults.member = Shapes::ShapeRef.new(shape: EvaluationResult)
561
636
 
562
637
  PredictorExecution.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
@@ -767,6 +842,19 @@ module Aws::ForecastService
767
842
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
768
843
  end)
769
844
 
845
+ api.add_operation(:create_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
846
+ o.name = "CreatePredictorBacktestExportJob"
847
+ o.http_method = "POST"
848
+ o.http_request_uri = "/"
849
+ o.input = Shapes::ShapeRef.new(shape: CreatePredictorBacktestExportJobRequest)
850
+ o.output = Shapes::ShapeRef.new(shape: CreatePredictorBacktestExportJobResponse)
851
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
854
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
855
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
856
+ end)
857
+
770
858
  api.add_operation(:delete_dataset, Seahorse::Model::Operation.new.tap do |o|
771
859
  o.name = "DeleteDataset"
772
860
  o.http_method = "POST"
@@ -833,6 +921,17 @@ module Aws::ForecastService
833
921
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
834
922
  end)
835
923
 
924
+ api.add_operation(:delete_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
925
+ o.name = "DeletePredictorBacktestExportJob"
926
+ o.http_method = "POST"
927
+ o.http_request_uri = "/"
928
+ o.input = Shapes::ShapeRef.new(shape: DeletePredictorBacktestExportJobRequest)
929
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
930
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
931
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
932
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
933
+ end)
934
+
836
935
  api.add_operation(:describe_dataset, Seahorse::Model::Operation.new.tap do |o|
837
936
  o.name = "DescribeDataset"
838
937
  o.http_method = "POST"
@@ -893,6 +992,16 @@ module Aws::ForecastService
893
992
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
894
993
  end)
895
994
 
995
+ api.add_operation(:describe_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
996
+ o.name = "DescribePredictorBacktestExportJob"
997
+ o.http_method = "POST"
998
+ o.http_request_uri = "/"
999
+ o.input = Shapes::ShapeRef.new(shape: DescribePredictorBacktestExportJobRequest)
1000
+ o.output = Shapes::ShapeRef.new(shape: DescribePredictorBacktestExportJobResponse)
1001
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1002
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1003
+ end)
1004
+
896
1005
  api.add_operation(:get_accuracy_metrics, Seahorse::Model::Operation.new.tap do |o|
897
1006
  o.name = "GetAccuracyMetrics"
898
1007
  o.http_method = "POST"
@@ -982,6 +1091,22 @@ module Aws::ForecastService
982
1091
  )
983
1092
  end)
984
1093
 
1094
+ api.add_operation(:list_predictor_backtest_export_jobs, Seahorse::Model::Operation.new.tap do |o|
1095
+ o.name = "ListPredictorBacktestExportJobs"
1096
+ o.http_method = "POST"
1097
+ o.http_request_uri = "/"
1098
+ o.input = Shapes::ShapeRef.new(shape: ListPredictorBacktestExportJobsRequest)
1099
+ o.output = Shapes::ShapeRef.new(shape: ListPredictorBacktestExportJobsResponse)
1100
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1101
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1102
+ o[:pager] = Aws::Pager.new(
1103
+ limit_key: "max_results",
1104
+ tokens: {
1105
+ "next_token" => "next_token"
1106
+ }
1107
+ )
1108
+ end)
1109
+
985
1110
  api.add_operation(:list_predictors, Seahorse::Model::Operation.new.tap do |o|
986
1111
  o.name = "ListPredictors"
987
1112
  o.http_method = "POST"
@@ -219,6 +219,9 @@ module Aws::ForecastService
219
219
  # },
220
220
  # },
221
221
  # timestamp_format: "TimestampFormat",
222
+ # time_zone: "TimeZone",
223
+ # use_geolocation_for_time_zone: false,
224
+ # geolocation_format: "GeolocationFormat",
222
225
  # tags: [
223
226
  # {
224
227
  # key: "TagKey", # required
@@ -270,6 +273,37 @@ module Aws::ForecastService
270
273
  # to be "yyyy-MM-dd HH:mm:ss".
271
274
  # @return [String]
272
275
  #
276
+ # @!attribute [rw] time_zone
277
+ # A single time zone for every item in your dataset. This option is
278
+ # ideal for datasets with all timestamps within a single time zone, or
279
+ # if all timestamps are normalized to a single time zone.
280
+ #
281
+ # Refer to the [Joda-Time API][1] for a complete list of valid time
282
+ # zone names.
283
+ #
284
+ #
285
+ #
286
+ # [1]: http://joda-time.sourceforge.net/timezones.html
287
+ # @return [String]
288
+ #
289
+ # @!attribute [rw] use_geolocation_for_time_zone
290
+ # Automatically derive time zone information from the geolocation
291
+ # attribute. This option is ideal for datasets that contain timestamps
292
+ # in multiple time zones and those timestamps are expressed in local
293
+ # time.
294
+ # @return [Boolean]
295
+ #
296
+ # @!attribute [rw] geolocation_format
297
+ # The format of the geolocation attribute. The geolocation attribute
298
+ # can be formatted in one of two ways:
299
+ #
300
+ # * `LAT_LONG` - the latitude and longitude in decimal format
301
+ # (Example: 47.61\_-122.33).
302
+ #
303
+ # * `CC_POSTALCODE` (US Only) - the country code (US), followed by the
304
+ # 5-digit ZIP code (Example: US\_98121).
305
+ # @return [String]
306
+ #
273
307
  # @!attribute [rw] tags
274
308
  # The optional metadata that you apply to the dataset import job to
275
309
  # help you categorize and organize them. Each tag consists of a key
@@ -310,6 +344,9 @@ module Aws::ForecastService
310
344
  :dataset_arn,
311
345
  :data_source,
312
346
  :timestamp_format,
347
+ :time_zone,
348
+ :use_geolocation_for_time_zone,
349
+ :geolocation_format,
313
350
  :tags)
314
351
  SENSITIVE = []
315
352
  include Aws::Structure
@@ -339,7 +376,7 @@ module Aws::ForecastService
339
376
  # attributes: [
340
377
  # {
341
378
  # attribute_name: "Name",
342
- # attribute_type: "string", # accepts string, integer, float, timestamp
379
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
343
380
  # },
344
381
  # ],
345
382
  # },
@@ -645,6 +682,97 @@ module Aws::ForecastService
645
682
  include Aws::Structure
646
683
  end
647
684
 
685
+ # @note When making an API call, you may pass CreatePredictorBacktestExportJobRequest
686
+ # data as a hash:
687
+ #
688
+ # {
689
+ # predictor_backtest_export_job_name: "Name", # required
690
+ # predictor_arn: "Arn", # required
691
+ # destination: { # required
692
+ # s3_config: { # required
693
+ # path: "S3Path", # required
694
+ # role_arn: "Arn", # required
695
+ # kms_key_arn: "KMSKeyArn",
696
+ # },
697
+ # },
698
+ # tags: [
699
+ # {
700
+ # key: "TagKey", # required
701
+ # value: "TagValue", # required
702
+ # },
703
+ # ],
704
+ # }
705
+ #
706
+ # @!attribute [rw] predictor_backtest_export_job_name
707
+ # The name for the backtest export job.
708
+ # @return [String]
709
+ #
710
+ # @!attribute [rw] predictor_arn
711
+ # The Amazon Resource Name (ARN) of the predictor that you want to
712
+ # export.
713
+ # @return [String]
714
+ #
715
+ # @!attribute [rw] destination
716
+ # The destination for an export job. Provide an S3 path, an AWS
717
+ # Identity and Access Management (IAM) role that allows Amazon
718
+ # Forecast to access the location, and an AWS Key Management Service
719
+ # (KMS) key (optional).
720
+ # @return [Types::DataDestination]
721
+ #
722
+ # @!attribute [rw] tags
723
+ # Optional metadata to help you categorize and organize your
724
+ # backtests. Each tag consists of a key and an optional value, both of
725
+ # which you define. Tag keys and values are case sensitive.
726
+ #
727
+ # The following restrictions apply to tags:
728
+ #
729
+ # * For each resource, each tag key must be unique and each tag key
730
+ # must have one value.
731
+ #
732
+ # * Maximum number of tags per resource: 50.
733
+ #
734
+ # * Maximum key length: 128 Unicode characters in UTF-8.
735
+ #
736
+ # * Maximum value length: 256 Unicode characters in UTF-8.
737
+ #
738
+ # * Accepted characters: all letters and numbers, spaces representable
739
+ # in UTF-8, and + - = . \_ : / @. If your tagging schema is used
740
+ # across other services and resources, the character restrictions of
741
+ # those services also apply.
742
+ #
743
+ # * Key prefixes cannot include any upper or lowercase combination of
744
+ # `aws:` or `AWS:`. Values can have this prefix. If a tag value has
745
+ # `aws` as its prefix but the key does not, Forecast considers it to
746
+ # be a user tag and will count against the limit of 50 tags. Tags
747
+ # with only the key prefix of `aws` do not count against your tags
748
+ # per resource limit. You cannot edit or delete tag keys with this
749
+ # prefix.
750
+ # @return [Array<Types::Tag>]
751
+ #
752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobRequest AWS API Documentation
753
+ #
754
+ class CreatePredictorBacktestExportJobRequest < Struct.new(
755
+ :predictor_backtest_export_job_name,
756
+ :predictor_arn,
757
+ :destination,
758
+ :tags)
759
+ SENSITIVE = []
760
+ include Aws::Structure
761
+ end
762
+
763
+ # @!attribute [rw] predictor_backtest_export_job_arn
764
+ # The Amazon Resource Name (ARN) of the predictor backtest export job
765
+ # that you want to export.
766
+ # @return [String]
767
+ #
768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobResponse AWS API Documentation
769
+ #
770
+ class CreatePredictorBacktestExportJobResponse < Struct.new(
771
+ :predictor_backtest_export_job_arn)
772
+ SENSITIVE = []
773
+ include Aws::Structure
774
+ end
775
+
648
776
  # @note When making an API call, you may pass CreatePredictorRequest
649
777
  # data as a hash:
650
778
  #
@@ -652,6 +780,7 @@ module Aws::ForecastService
652
780
  # predictor_name: "Name", # required
653
781
  # algorithm_arn: "Arn",
654
782
  # forecast_horizon: 1, # required
783
+ # forecast_types: ["ForecastType"],
655
784
  # perform_auto_ml: false,
656
785
  # perform_hpo: false,
657
786
  # training_parameters: {
@@ -737,9 +866,9 @@ module Aws::ForecastService
737
866
  #
738
867
  # * `arn:aws:forecast:::algorithm/ARIMA`
739
868
  #
740
- # * `arn:aws:forecast:::algorithm/Deep_AR_Plus`
869
+ # * `arn:aws:forecast:::algorithm/CNN-QR`
741
870
  #
742
- # Supports hyperparameter optimization (HPO)
871
+ # * `arn:aws:forecast:::algorithm/Deep_AR_Plus`
743
872
  #
744
873
  # * `arn:aws:forecast:::algorithm/ETS`
745
874
  #
@@ -761,6 +890,15 @@ module Aws::ForecastService
761
890
  # of the TARGET\_TIME\_SERIES dataset length.
762
891
  # @return [Integer]
763
892
  #
893
+ # @!attribute [rw] forecast_types
894
+ # Specifies the forecast types used to train a predictor. You can
895
+ # specify up to five forecast types. Forecast types can be quantiles
896
+ # from 0.01 to 0.99, by increments of 0.01 or higher. You can also
897
+ # specify the mean forecast with `mean`.
898
+ #
899
+ # The default value is `["0.10", "0.50", "0.9"]`.
900
+ # @return [Array<String>]
901
+ #
764
902
  # @!attribute [rw] perform_auto_ml
765
903
  # Whether to perform AutoML. When Amazon Forecast performs AutoML, it
766
904
  # evaluates the algorithms it provides and chooses the best algorithm
@@ -790,11 +928,11 @@ module Aws::ForecastService
790
928
  # hyperparameter. In this case, you are required to specify an
791
929
  # algorithm and `PerformAutoML` must be false.
792
930
  #
793
- # The following algorithm supports HPO:
931
+ # The following algorithms support HPO:
794
932
  #
795
933
  # * DeepAR+
796
934
  #
797
- # ^
935
+ # * CNN-QR
798
936
  # @return [Boolean]
799
937
  #
800
938
  # @!attribute [rw] training_parameters
@@ -877,6 +1015,7 @@ module Aws::ForecastService
877
1015
  :predictor_name,
878
1016
  :algorithm_arn,
879
1017
  :forecast_horizon,
1018
+ :forecast_types,
880
1019
  :perform_auto_ml,
881
1020
  :perform_hpo,
882
1021
  :training_parameters,
@@ -902,10 +1041,9 @@ module Aws::ForecastService
902
1041
  include Aws::Structure
903
1042
  end
904
1043
 
905
- # The destination for an exported forecast, an AWS Identity and Access
906
- # Management (IAM) role that allows Amazon Forecast to access the
907
- # location and, optionally, an AWS Key Management Service (KMS) key.
908
- # This object is submitted in the CreateForecastExportJob request.
1044
+ # The destination for an export job. Provide an S3 path, an AWS Identity
1045
+ # and Access Management (IAM) role that allows Amazon Forecast to access
1046
+ # the location, and an AWS Key Management Service (KMS) key (optional).
909
1047
  #
910
1048
  # @note When making an API call, you may pass DataDestination
911
1049
  # data as a hash:
@@ -1205,6 +1343,26 @@ module Aws::ForecastService
1205
1343
  include Aws::Structure
1206
1344
  end
1207
1345
 
1346
+ # @note When making an API call, you may pass DeletePredictorBacktestExportJobRequest
1347
+ # data as a hash:
1348
+ #
1349
+ # {
1350
+ # predictor_backtest_export_job_arn: "Arn", # required
1351
+ # }
1352
+ #
1353
+ # @!attribute [rw] predictor_backtest_export_job_arn
1354
+ # The Amazon Resource Name (ARN) of the predictor backtest export job
1355
+ # to delete.
1356
+ # @return [String]
1357
+ #
1358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictorBacktestExportJobRequest AWS API Documentation
1359
+ #
1360
+ class DeletePredictorBacktestExportJobRequest < Struct.new(
1361
+ :predictor_backtest_export_job_arn)
1362
+ SENSITIVE = []
1363
+ include Aws::Structure
1364
+ end
1365
+
1208
1366
  # @note When making an API call, you may pass DeletePredictorRequest
1209
1367
  # data as a hash:
1210
1368
  #
@@ -1352,6 +1510,20 @@ module Aws::ForecastService
1352
1510
  # optionally, for: Y, M, W, and D
1353
1511
  # @return [String]
1354
1512
  #
1513
+ # @!attribute [rw] time_zone
1514
+ # The single time zone applied to every item in the dataset
1515
+ # @return [String]
1516
+ #
1517
+ # @!attribute [rw] use_geolocation_for_time_zone
1518
+ # Whether `TimeZone` is automatically derived from the geolocation
1519
+ # attribute.
1520
+ # @return [Boolean]
1521
+ #
1522
+ # @!attribute [rw] geolocation_format
1523
+ # The format of the geolocation attribute. Valid Values:`"LAT_LONG"`
1524
+ # and `"CC_POSTALCODE"`.
1525
+ # @return [String]
1526
+ #
1355
1527
  # @!attribute [rw] data_source
1356
1528
  # The location of the training data to import and an AWS Identity and
1357
1529
  # Access Management (IAM) role that Amazon Forecast can assume to
@@ -1409,6 +1581,9 @@ module Aws::ForecastService
1409
1581
  :dataset_import_job_arn,
1410
1582
  :dataset_arn,
1411
1583
  :timestamp_format,
1584
+ :time_zone,
1585
+ :use_geolocation_for_time_zone,
1586
+ :geolocation_format,
1412
1587
  :data_source,
1413
1588
  :field_statistics,
1414
1589
  :data_size,
@@ -1693,6 +1868,90 @@ module Aws::ForecastService
1693
1868
  include Aws::Structure
1694
1869
  end
1695
1870
 
1871
+ # @note When making an API call, you may pass DescribePredictorBacktestExportJobRequest
1872
+ # data as a hash:
1873
+ #
1874
+ # {
1875
+ # predictor_backtest_export_job_arn: "Arn", # required
1876
+ # }
1877
+ #
1878
+ # @!attribute [rw] predictor_backtest_export_job_arn
1879
+ # The Amazon Resource Name (ARN) of the predictor backtest export job.
1880
+ # @return [String]
1881
+ #
1882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobRequest AWS API Documentation
1883
+ #
1884
+ class DescribePredictorBacktestExportJobRequest < Struct.new(
1885
+ :predictor_backtest_export_job_arn)
1886
+ SENSITIVE = []
1887
+ include Aws::Structure
1888
+ end
1889
+
1890
+ # @!attribute [rw] predictor_backtest_export_job_arn
1891
+ # The Amazon Resource Name (ARN) of the predictor backtest export job.
1892
+ # @return [String]
1893
+ #
1894
+ # @!attribute [rw] predictor_backtest_export_job_name
1895
+ # The name of the predictor backtest export job.
1896
+ # @return [String]
1897
+ #
1898
+ # @!attribute [rw] predictor_arn
1899
+ # The Amazon Resource Name (ARN) of the predictor.
1900
+ # @return [String]
1901
+ #
1902
+ # @!attribute [rw] destination
1903
+ # The destination for an export job. Provide an S3 path, an AWS
1904
+ # Identity and Access Management (IAM) role that allows Amazon
1905
+ # Forecast to access the location, and an AWS Key Management Service
1906
+ # (KMS) key (optional).
1907
+ # @return [Types::DataDestination]
1908
+ #
1909
+ # @!attribute [rw] message
1910
+ # Information about any errors that may have occurred during the
1911
+ # backtest export.
1912
+ # @return [String]
1913
+ #
1914
+ # @!attribute [rw] status
1915
+ # The status of the predictor backtest export job. States include:
1916
+ #
1917
+ # * `ACTIVE`
1918
+ #
1919
+ # * `CREATE_PENDING`
1920
+ #
1921
+ # * `CREATE_IN_PROGRESS`
1922
+ #
1923
+ # * `CREATE_FAILED`
1924
+ #
1925
+ # * `DELETE_PENDING`
1926
+ #
1927
+ # * `DELETE_IN_PROGRESS`
1928
+ #
1929
+ # * `DELETE_FAILED`
1930
+ # @return [String]
1931
+ #
1932
+ # @!attribute [rw] creation_time
1933
+ # When the predictor backtest export job was created.
1934
+ # @return [Time]
1935
+ #
1936
+ # @!attribute [rw] last_modification_time
1937
+ # When the last successful export job finished.
1938
+ # @return [Time]
1939
+ #
1940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobResponse AWS API Documentation
1941
+ #
1942
+ class DescribePredictorBacktestExportJobResponse < Struct.new(
1943
+ :predictor_backtest_export_job_arn,
1944
+ :predictor_backtest_export_job_name,
1945
+ :predictor_arn,
1946
+ :destination,
1947
+ :message,
1948
+ :status,
1949
+ :creation_time,
1950
+ :last_modification_time)
1951
+ SENSITIVE = []
1952
+ include Aws::Structure
1953
+ end
1954
+
1696
1955
  # @note When making an API call, you may pass DescribePredictorRequest
1697
1956
  # data as a hash:
1698
1957
  #
@@ -1731,6 +1990,11 @@ module Aws::ForecastService
1731
1990
  # also called the prediction length.
1732
1991
  # @return [Integer]
1733
1992
  #
1993
+ # @!attribute [rw] forecast_types
1994
+ # The forecast types used during predictor training. Default value is
1995
+ # `["0.1","0.5","0.9"]`
1996
+ # @return [Array<String>]
1997
+ #
1734
1998
  # @!attribute [rw] perform_auto_ml
1735
1999
  # Whether the predictor is set to perform AutoML.
1736
2000
  # @return [Boolean]
@@ -1742,10 +2006,9 @@ module Aws::ForecastService
1742
2006
  #
1743
2007
  # @!attribute [rw] training_parameters
1744
2008
  # The default training parameters or overrides selected during model
1745
- # training. If using the AutoML algorithm or if HPO is turned on while
1746
- # using the DeepAR+ algorithms, the optimized values for the chosen
1747
- # hyperparameters are returned. For more information, see
1748
- # aws-forecast-choosing-recipes.
2009
+ # training. When running AutoML or choosing HPO with CNN-QR or
2010
+ # DeepAR+, the optimized values for the chosen hyperparameters are
2011
+ # returned. For more information, see aws-forecast-choosing-recipes.
1749
2012
  # @return [Hash<String,String>]
1750
2013
  #
1751
2014
  # @!attribute [rw] evaluation_parameters
@@ -1830,6 +2093,7 @@ module Aws::ForecastService
1830
2093
  :predictor_name,
1831
2094
  :algorithm_arn,
1832
2095
  :forecast_horizon,
2096
+ :forecast_types,
1833
2097
  :perform_auto_ml,
1834
2098
  :perform_hpo,
1835
2099
  :training_parameters,
@@ -1884,6 +2148,31 @@ module Aws::ForecastService
1884
2148
  include Aws::Structure
1885
2149
  end
1886
2150
 
2151
+ # Provides detailed error metrics to evaluate the performance of a
2152
+ # predictor. This object is part of the Metrics object.
2153
+ #
2154
+ # @!attribute [rw] forecast_type
2155
+ # The Forecast type used to compute WAPE and RMSE.
2156
+ # @return [String]
2157
+ #
2158
+ # @!attribute [rw] wape
2159
+ # The weighted absolute percentage error (WAPE).
2160
+ # @return [Float]
2161
+ #
2162
+ # @!attribute [rw] rmse
2163
+ # The root-mean-square error (RMSE).
2164
+ # @return [Float]
2165
+ #
2166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ErrorMetric AWS API Documentation
2167
+ #
2168
+ class ErrorMetric < Struct.new(
2169
+ :forecast_type,
2170
+ :wape,
2171
+ :rmse)
2172
+ SENSITIVE = []
2173
+ include Aws::Structure
2174
+ end
2175
+
1887
2176
  # Parameters that define how to split a dataset into training data and
1888
2177
  # testing data, and the number of iterations to perform. These
1889
2178
  # parameters are specified in the predefined algorithms but you can
@@ -2146,6 +2435,11 @@ module Aws::ForecastService
2146
2435
  # * `backfill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
2147
2436
  #
2148
2437
  # * `futurefill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
2438
+ #
2439
+ # To set a filling method to a specific value, set the fill parameter
2440
+ # to `value` and define the value in a corresponding `_value`
2441
+ # parameter. For example, to set backfilling to a value of 2, include
2442
+ # the following: `"backfill": "value"` and `"backfill_value":"2"`.
2149
2443
  # @return [Hash<String,String>]
2150
2444
  #
2151
2445
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/FeaturizationMethod AWS API Documentation
@@ -2886,6 +3180,80 @@ module Aws::ForecastService
2886
3180
  include Aws::Structure
2887
3181
  end
2888
3182
 
3183
+ # @note When making an API call, you may pass ListPredictorBacktestExportJobsRequest
3184
+ # data as a hash:
3185
+ #
3186
+ # {
3187
+ # next_token: "NextToken",
3188
+ # max_results: 1,
3189
+ # filters: [
3190
+ # {
3191
+ # key: "String", # required
3192
+ # value: "Arn", # required
3193
+ # condition: "IS", # required, accepts IS, IS_NOT
3194
+ # },
3195
+ # ],
3196
+ # }
3197
+ #
3198
+ # @!attribute [rw] next_token
3199
+ # If the result of the previous request was truncated, the response
3200
+ # includes a NextToken. To retrieve the next set of results, use the
3201
+ # token in the next request. Tokens expire after 24 hours.
3202
+ # @return [String]
3203
+ #
3204
+ # @!attribute [rw] max_results
3205
+ # The number of items to return in the response.
3206
+ # @return [Integer]
3207
+ #
3208
+ # @!attribute [rw] filters
3209
+ # An array of filters. For each filter, provide a condition and a
3210
+ # match statement. The condition is either `IS` or `IS_NOT`, which
3211
+ # specifies whether to include or exclude the predictor backtest
3212
+ # export jobs that match the statement from the list. The match
3213
+ # statement consists of a key and a value.
3214
+ #
3215
+ # **Filter properties**
3216
+ #
3217
+ # * `Condition` - The condition to apply. Valid values are `IS` and
3218
+ # `IS_NOT`. To include the predictor backtest export jobs that match
3219
+ # the statement, specify `IS`. To exclude matching predictor
3220
+ # backtest export jobs, specify `IS_NOT`.
3221
+ #
3222
+ # * `Key` - The name of the parameter to filter on. Valid values are
3223
+ # `PredictorBacktestExportJobArn` and `Status`.
3224
+ #
3225
+ # * `Value` - The value to match.
3226
+ # @return [Array<Types::Filter>]
3227
+ #
3228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobsRequest AWS API Documentation
3229
+ #
3230
+ class ListPredictorBacktestExportJobsRequest < Struct.new(
3231
+ :next_token,
3232
+ :max_results,
3233
+ :filters)
3234
+ SENSITIVE = []
3235
+ include Aws::Structure
3236
+ end
3237
+
3238
+ # @!attribute [rw] predictor_backtest_export_jobs
3239
+ # An array of objects that summarize the properties of each predictor
3240
+ # backtest export job.
3241
+ # @return [Array<Types::PredictorBacktestExportJobSummary>]
3242
+ #
3243
+ # @!attribute [rw] next_token
3244
+ # Returns this token if the response is truncated. To retrieve the
3245
+ # next set of results, use the token in the next request.
3246
+ # @return [String]
3247
+ #
3248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobsResponse AWS API Documentation
3249
+ #
3250
+ class ListPredictorBacktestExportJobsResponse < Struct.new(
3251
+ :predictor_backtest_export_jobs,
3252
+ :next_token)
3253
+ SENSITIVE = []
3254
+ include Aws::Structure
3255
+ end
3256
+
2889
3257
  # @note When making an API call, you may pass ListPredictorsRequest
2890
3258
  # data as a hash:
2891
3259
  #
@@ -3002,7 +3370,7 @@ module Aws::ForecastService
3002
3370
  # predictor. This object is part of the WindowSummary object.
3003
3371
  #
3004
3372
  # @!attribute [rw] rmse
3005
- # The root mean square error (RMSE).
3373
+ # The root-mean-square error (RMSE).
3006
3374
  # @return [Float]
3007
3375
  #
3008
3376
  # @!attribute [rw] weighted_quantile_losses
@@ -3011,11 +3379,17 @@ module Aws::ForecastService
3011
3379
  # this case is the loss function.
3012
3380
  # @return [Array<Types::WeightedQuantileLoss>]
3013
3381
  #
3382
+ # @!attribute [rw] error_metrics
3383
+ # Provides detailed error metrics on forecast type, root-mean
3384
+ # square-error (RMSE), and weighted average percentage error (WAPE).
3385
+ # @return [Array<Types::ErrorMetric>]
3386
+ #
3014
3387
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/Metrics AWS API Documentation
3015
3388
  #
3016
3389
  class Metrics < Struct.new(
3017
3390
  :rmse,
3018
- :weighted_quantile_losses)
3391
+ :weighted_quantile_losses,
3392
+ :error_metrics)
3019
3393
  SENSITIVE = []
3020
3394
  include Aws::Structure
3021
3395
  end
@@ -3076,6 +3450,72 @@ module Aws::ForecastService
3076
3450
  include Aws::Structure
3077
3451
  end
3078
3452
 
3453
+ # Provides a summary of the predictor backtest export job properties
3454
+ # used in the ListPredictorBacktestExportJobs operation. To get a
3455
+ # complete set of properties, call the
3456
+ # DescribePredictorBacktestExportJob operation, and provide the listed
3457
+ # `PredictorBacktestExportJobArn`.
3458
+ #
3459
+ # @!attribute [rw] predictor_backtest_export_job_arn
3460
+ # The Amazon Resource Name (ARN) of the predictor backtest export job.
3461
+ # @return [String]
3462
+ #
3463
+ # @!attribute [rw] predictor_backtest_export_job_name
3464
+ # The name of the predictor backtest export job.
3465
+ # @return [String]
3466
+ #
3467
+ # @!attribute [rw] destination
3468
+ # The destination for an export job. Provide an S3 path, an AWS
3469
+ # Identity and Access Management (IAM) role that allows Amazon
3470
+ # Forecast to access the location, and an AWS Key Management Service
3471
+ # (KMS) key (optional).
3472
+ # @return [Types::DataDestination]
3473
+ #
3474
+ # @!attribute [rw] status
3475
+ # The status of the predictor backtest export job. States include:
3476
+ #
3477
+ # * `ACTIVE`
3478
+ #
3479
+ # * `CREATE_PENDING`
3480
+ #
3481
+ # * `CREATE_IN_PROGRESS`
3482
+ #
3483
+ # * `CREATE_FAILED`
3484
+ #
3485
+ # * `DELETE_PENDING`
3486
+ #
3487
+ # * `DELETE_IN_PROGRESS`
3488
+ #
3489
+ # * `DELETE_FAILED`
3490
+ # @return [String]
3491
+ #
3492
+ # @!attribute [rw] message
3493
+ # Information about any errors that may have occurred during the
3494
+ # backtest export.
3495
+ # @return [String]
3496
+ #
3497
+ # @!attribute [rw] creation_time
3498
+ # When the predictor backtest export job was created.
3499
+ # @return [Time]
3500
+ #
3501
+ # @!attribute [rw] last_modification_time
3502
+ # When the last successful export job finished.
3503
+ # @return [Time]
3504
+ #
3505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorBacktestExportJobSummary AWS API Documentation
3506
+ #
3507
+ class PredictorBacktestExportJobSummary < Struct.new(
3508
+ :predictor_backtest_export_job_arn,
3509
+ :predictor_backtest_export_job_name,
3510
+ :destination,
3511
+ :status,
3512
+ :message,
3513
+ :creation_time,
3514
+ :last_modification_time)
3515
+ SENSITIVE = []
3516
+ include Aws::Structure
3517
+ end
3518
+
3079
3519
  # The algorithm used to perform a backtest and the status of those
3080
3520
  # tests.
3081
3521
  #
@@ -3228,8 +3668,7 @@ module Aws::ForecastService
3228
3668
  # Amazon Forecast can assume to access the file(s). Optionally, includes
3229
3669
  # an AWS Key Management Service (KMS) key. This object is part of the
3230
3670
  # DataSource object that is submitted in the CreateDatasetImportJob
3231
- # request, and part of the DataDestination object that is submitted in
3232
- # the CreateForecastExportJob request.
3671
+ # request, and part of the DataDestination object.
3233
3672
  #
3234
3673
  # @note When making an API call, you may pass S3Config
3235
3674
  # data as a hash:
@@ -3281,7 +3720,7 @@ module Aws::ForecastService
3281
3720
  # attributes: [
3282
3721
  # {
3283
3722
  # attribute_name: "Name",
3284
- # attribute_type: "string", # accepts string, integer, float, timestamp
3723
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
3285
3724
  # },
3286
3725
  # ],
3287
3726
  # }
@@ -3308,7 +3747,7 @@ module Aws::ForecastService
3308
3747
  #
3309
3748
  # {
3310
3749
  # attribute_name: "Name",
3311
- # attribute_type: "string", # accepts string, integer, float, timestamp
3750
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
3312
3751
  # }
3313
3752
  #
3314
3753
  # @!attribute [rw] attribute_name
@@ -3379,45 +3818,30 @@ module Aws::ForecastService
3379
3818
  end
3380
3819
 
3381
3820
  # Describes a supplementary feature of a dataset group. This object is
3382
- # part of the InputDataConfig object.
3383
- #
3384
- # The only supported feature is a holiday calendar. If you use the
3385
- # calendar, all data in the datasets should belong to the same country
3386
- # as the calendar. For the holiday calendar data, see the [Jollyday][1]
3387
- # web site.
3388
- #
3389
- # India and Korea's holidays are not included in the Jollyday library,
3390
- # but both are supported by Amazon Forecast. Their holidays are:
3391
- #
3392
- # **"IN" - INDIA**
3821
+ # part of the InputDataConfig object. Forecast supports the Weather
3822
+ # Index and Holidays built-in featurizations.
3393
3823
  #
3394
- # * `JANUARY 26 - REPUBLIC DAY`
3824
+ # **Weather Index**
3395
3825
  #
3396
- # * `AUGUST 15 - INDEPENDENCE DAY`
3826
+ # The Amazon Forecast Weather Index is a built-in featurization that
3827
+ # incorporates historical and projected weather information into your
3828
+ # model. The Weather Index supplements your datasets with over two years
3829
+ # of historical weather data and up to 14 days of projected weather
3830
+ # data. For more information, see [Amazon Forecast Weather Index][1].
3397
3831
  #
3398
- # * `OCTOBER 2 GANDHI'S BIRTHDAY`
3832
+ # **Holidays**
3399
3833
  #
3400
- # **"KR" - KOREA**
3834
+ # Holidays is a built-in featurization that incorporates a
3835
+ # feature-engineered dataset of national holiday information into your
3836
+ # model. It provides native support for the holiday calendars of 66
3837
+ # countries. To view the holiday calendars, refer to the [Jollyday][2]
3838
+ # library. For more information, see [Holidays Featurization][3].
3401
3839
  #
3402
- # * `JANUARY 1 - NEW YEAR`
3403
3840
  #
3404
- # * `MARCH 1 - INDEPENDENCE MOVEMENT DAY`
3405
3841
  #
3406
- # * `MAY 5 - CHILDREN'S DAY`
3407
- #
3408
- # * `JUNE 6 - MEMORIAL DAY`
3409
- #
3410
- # * `AUGUST 15 - LIBERATION DAY`
3411
- #
3412
- # * `OCTOBER 3 - NATIONAL FOUNDATION DAY`
3413
- #
3414
- # * `OCTOBER 9 - HANGEUL DAY`
3415
- #
3416
- # * `DECEMBER 25 - CHRISTMAS DAY`
3417
- #
3418
- #
3419
- #
3420
- # [1]: http://jollyday.sourceforge.net/data.html
3842
+ # [1]: https://docs.aws.amazon.com/forecast/latest/dg/weather.html
3843
+ # [2]: http://jollyday.sourceforge.net/data.html
3844
+ # [3]: https://docs.aws.amazon.com/forecast/latest/dg/holidays.html
3421
3845
  #
3422
3846
  # @note When making an API call, you may pass SupplementaryFeature
3423
3847
  # data as a hash:
@@ -3428,11 +3852,20 @@ module Aws::ForecastService
3428
3852
  # }
3429
3853
  #
3430
3854
  # @!attribute [rw] name
3431
- # The name of the feature. This must be "holiday".
3855
+ # The name of the feature. Valid values: `"holiday"` and `"weather"`.
3432
3856
  # @return [String]
3433
3857
  #
3434
3858
  # @!attribute [rw] value
3435
- # One of the following 2 letter country codes:
3859
+ # **Weather Index**
3860
+ #
3861
+ # To enable the Weather Index, set the value to `"true"`
3862
+ #
3863
+ # **Holidays**
3864
+ #
3865
+ # To enable Holidays, specify a country with one of the following
3866
+ # two-letter country codes:
3867
+ #
3868
+ # * "AL" - ALBANIA
3436
3869
  #
3437
3870
  # * "AR" - ARGENTINA
3438
3871
  #
@@ -3440,13 +3873,27 @@ module Aws::ForecastService
3440
3873
  #
3441
3874
  # * "AU" - AUSTRALIA
3442
3875
  #
3876
+ # * "BA" - BOSNIA HERZEGOVINA
3877
+ #
3443
3878
  # * "BE" - BELGIUM
3444
3879
  #
3880
+ # * "BG" - BULGARIA
3881
+ #
3882
+ # * "BO" - BOLIVIA
3883
+ #
3445
3884
  # * "BR" - BRAZIL
3446
3885
  #
3886
+ # * "BY" - BELARUS
3887
+ #
3447
3888
  # * "CA" - CANADA
3448
3889
  #
3449
- # * "CN" - CHINA
3890
+ # * "CL" - CHILE
3891
+ #
3892
+ # * "CO" - COLOMBIA
3893
+ #
3894
+ # * "CR" - COSTA RICA
3895
+ #
3896
+ # * "HR" - CROATIA
3450
3897
  #
3451
3898
  # * "CZ" - CZECH REPUBLIC
3452
3899
  #
@@ -3454,38 +3901,82 @@ module Aws::ForecastService
3454
3901
  #
3455
3902
  # * "EC" - ECUADOR
3456
3903
  #
3904
+ # * "EE" - ESTONIA
3905
+ #
3906
+ # * "ET" - ETHIOPIA
3907
+ #
3457
3908
  # * "FI" - FINLAND
3458
3909
  #
3459
3910
  # * "FR" - FRANCE
3460
3911
  #
3461
3912
  # * "DE" - GERMANY
3462
3913
  #
3914
+ # * "GR" - GREECE
3915
+ #
3463
3916
  # * "HU" - HUNGARY
3464
3917
  #
3465
- # * "IE" - IRELAND
3918
+ # * "IS" - ICELAND
3466
3919
  #
3467
3920
  # * "IN" - INDIA
3468
3921
  #
3922
+ # * "IE" - IRELAND
3923
+ #
3469
3924
  # * "IT" - ITALY
3470
3925
  #
3471
3926
  # * "JP" - JAPAN
3472
3927
  #
3928
+ # * "KZ" - KAZAKHSTAN
3929
+ #
3473
3930
  # * "KR" - KOREA
3474
3931
  #
3932
+ # * "LV" - LATVIA
3933
+ #
3934
+ # * "LI" - LIECHTENSTEIN
3935
+ #
3936
+ # * "LT" - LITHUANIA
3937
+ #
3475
3938
  # * "LU" - LUXEMBOURG
3476
3939
  #
3940
+ # * "MK" - MACEDONIA
3941
+ #
3942
+ # * "MT" - MALTA
3943
+ #
3477
3944
  # * "MX" - MEXICO
3478
3945
  #
3946
+ # * "MD" - MOLDOVA
3947
+ #
3948
+ # * "ME" - MONTENEGRO
3949
+ #
3479
3950
  # * "NL" - NETHERLANDS
3480
3951
  #
3952
+ # * "NZ" - NEW ZEALAND
3953
+ #
3954
+ # * "NI" - NICARAGUA
3955
+ #
3956
+ # * "NG" - NIGERIA
3957
+ #
3481
3958
  # * "NO" - NORWAY
3482
3959
  #
3960
+ # * "PA" - PANAMA
3961
+ #
3962
+ # * "PY" - PARAGUAY
3963
+ #
3964
+ # * "PE" - PERU
3965
+ #
3483
3966
  # * "PL" - POLAND
3484
3967
  #
3485
3968
  # * "PT" - PORTUGAL
3486
3969
  #
3970
+ # * "RO" - ROMANIA
3971
+ #
3487
3972
  # * "RU" - RUSSIA
3488
3973
  #
3974
+ # * "RS" - SERBIA
3975
+ #
3976
+ # * "SK" - SLOVAKIA
3977
+ #
3978
+ # * "SI" - SLOVENIA
3979
+ #
3489
3980
  # * "ZA" - SOUTH AFRICA
3490
3981
  #
3491
3982
  # * "ES" - SPAIN
@@ -3494,9 +3985,17 @@ module Aws::ForecastService
3494
3985
  #
3495
3986
  # * "CH" - SWITZERLAND
3496
3987
  #
3988
+ # * "UA" - UKRAINE
3989
+ #
3990
+ # * "AE" - UNITED ARAB EMIRATES
3991
+ #
3497
3992
  # * "US" - UNITED STATES
3498
3993
  #
3499
3994
  # * "UK" - UNITED KINGDOM
3995
+ #
3996
+ # * "UY" - URUGUAY
3997
+ #
3998
+ # * "VE" - VENEZUELA
3500
3999
  # @return [String]
3501
4000
  #
3502
4001
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/SupplementaryFeature AWS API Documentation
@@ -3563,7 +4062,7 @@ module Aws::ForecastService
3563
4062
  class Tag < Struct.new(
3564
4063
  :key,
3565
4064
  :value)
3566
- SENSITIVE = []
4065
+ SENSITIVE = [:key, :value]
3567
4066
  include Aws::Structure
3568
4067
  end
3569
4068