aws-sdk-forecastservice 1.7.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,6 +64,8 @@ module Aws::ForecastService
64
64
  Double = Shapes::FloatShape.new(name: 'Double')
65
65
  EncryptionConfig = Shapes::StructureShape.new(name: 'EncryptionConfig')
66
66
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
67
+ ErrorMetric = Shapes::StructureShape.new(name: 'ErrorMetric')
68
+ ErrorMetrics = Shapes::ListShape.new(name: 'ErrorMetrics')
67
69
  EvaluationParameters = Shapes::StructureShape.new(name: 'EvaluationParameters')
68
70
  EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
69
71
  EvaluationType = Shapes::StringShape.new(name: 'EvaluationType')
@@ -109,6 +111,8 @@ module Aws::ForecastService
109
111
  ListForecastsResponse = Shapes::StructureShape.new(name: 'ListForecastsResponse')
110
112
  ListPredictorsRequest = Shapes::StructureShape.new(name: 'ListPredictorsRequest')
111
113
  ListPredictorsResponse = Shapes::StructureShape.new(name: 'ListPredictorsResponse')
114
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
115
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
112
116
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
113
117
  Message = Shapes::StringShape.new(name: 'Message')
114
118
  Metrics = Shapes::StructureShape.new(name: 'Metrics')
@@ -137,12 +141,21 @@ module Aws::ForecastService
137
141
  String = Shapes::StringShape.new(name: 'String')
138
142
  SupplementaryFeature = Shapes::StructureShape.new(name: 'SupplementaryFeature')
139
143
  SupplementaryFeatures = Shapes::ListShape.new(name: 'SupplementaryFeatures')
144
+ Tag = Shapes::StructureShape.new(name: 'Tag')
145
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
146
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
147
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
148
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
149
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
150
+ Tags = Shapes::ListShape.new(name: 'Tags')
140
151
  TestWindowDetails = Shapes::ListShape.new(name: 'TestWindowDetails')
141
152
  TestWindowSummary = Shapes::StructureShape.new(name: 'TestWindowSummary')
142
153
  TestWindows = Shapes::ListShape.new(name: 'TestWindows')
143
154
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
144
155
  TimestampFormat = Shapes::StringShape.new(name: 'TimestampFormat')
145
156
  TrainingParameters = Shapes::MapShape.new(name: 'TrainingParameters')
157
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
158
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
146
159
  UpdateDatasetGroupRequest = Shapes::StructureShape.new(name: 'UpdateDatasetGroupRequest')
147
160
  UpdateDatasetGroupResponse = Shapes::StructureShape.new(name: 'UpdateDatasetGroupResponse')
148
161
  Value = Shapes::StringShape.new(name: 'Value')
@@ -170,6 +183,7 @@ module Aws::ForecastService
170
183
  CreateDatasetGroupRequest.add_member(:dataset_group_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "DatasetGroupName"))
171
184
  CreateDatasetGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, required: true, location_name: "Domain"))
172
185
  CreateDatasetGroupRequest.add_member(:dataset_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "DatasetArns"))
186
+ CreateDatasetGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
173
187
  CreateDatasetGroupRequest.struct_class = Types::CreateDatasetGroupRequest
174
188
 
175
189
  CreateDatasetGroupResponse.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetGroupArn"))
@@ -179,6 +193,7 @@ module Aws::ForecastService
179
193
  CreateDatasetImportJobRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn"))
180
194
  CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "DataSource"))
181
195
  CreateDatasetImportJobRequest.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
196
+ CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
182
197
  CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
183
198
 
184
199
  CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn"))
@@ -190,6 +205,7 @@ module Aws::ForecastService
190
205
  CreateDatasetRequest.add_member(:data_frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "DataFrequency"))
191
206
  CreateDatasetRequest.add_member(:schema, Shapes::ShapeRef.new(shape: Schema, required: true, location_name: "Schema"))
192
207
  CreateDatasetRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
208
+ CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
193
209
  CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
194
210
 
195
211
  CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetArn"))
@@ -198,6 +214,7 @@ module Aws::ForecastService
198
214
  CreateForecastExportJobRequest.add_member(:forecast_export_job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ForecastExportJobName"))
199
215
  CreateForecastExportJobRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn"))
200
216
  CreateForecastExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
217
+ CreateForecastExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
201
218
  CreateForecastExportJobRequest.struct_class = Types::CreateForecastExportJobRequest
202
219
 
203
220
  CreateForecastExportJobResponse.add_member(:forecast_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastExportJobArn"))
@@ -206,6 +223,7 @@ module Aws::ForecastService
206
223
  CreateForecastRequest.add_member(:forecast_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ForecastName"))
207
224
  CreateForecastRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
208
225
  CreateForecastRequest.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
226
+ CreateForecastRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
209
227
  CreateForecastRequest.struct_class = Types::CreateForecastRequest
210
228
 
211
229
  CreateForecastResponse.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastArn"))
@@ -214,6 +232,7 @@ module Aws::ForecastService
214
232
  CreatePredictorRequest.add_member(:predictor_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "PredictorName"))
215
233
  CreatePredictorRequest.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
216
234
  CreatePredictorRequest.add_member(:forecast_horizon, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ForecastHorizon"))
235
+ CreatePredictorRequest.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
217
236
  CreatePredictorRequest.add_member(:perform_auto_ml, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformAutoML"))
218
237
  CreatePredictorRequest.add_member(:perform_hpo, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformHPO"))
219
238
  CreatePredictorRequest.add_member(:training_parameters, Shapes::ShapeRef.new(shape: TrainingParameters, location_name: "TrainingParameters"))
@@ -222,6 +241,7 @@ module Aws::ForecastService
222
241
  CreatePredictorRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
223
242
  CreatePredictorRequest.add_member(:featurization_config, Shapes::ShapeRef.new(shape: FeaturizationConfig, required: true, location_name: "FeaturizationConfig"))
224
243
  CreatePredictorRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
244
+ CreatePredictorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
225
245
  CreatePredictorRequest.struct_class = Types::CreatePredictorRequest
226
246
 
227
247
  CreatePredictorResponse.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorArn"))
@@ -357,6 +377,7 @@ module Aws::ForecastService
357
377
  DescribePredictorResponse.add_member(:predictor_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorName"))
358
378
  DescribePredictorResponse.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
359
379
  DescribePredictorResponse.add_member(:forecast_horizon, Shapes::ShapeRef.new(shape: Integer, location_name: "ForecastHorizon"))
380
+ DescribePredictorResponse.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
360
381
  DescribePredictorResponse.add_member(:perform_auto_ml, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformAutoML"))
361
382
  DescribePredictorResponse.add_member(:perform_hpo, Shapes::ShapeRef.new(shape: Boolean, location_name: "PerformHPO"))
362
383
  DescribePredictorResponse.add_member(:training_parameters, Shapes::ShapeRef.new(shape: TrainingParameters, location_name: "TrainingParameters"))
@@ -378,6 +399,13 @@ module Aws::ForecastService
378
399
  EncryptionConfig.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, required: true, location_name: "KMSKeyArn"))
379
400
  EncryptionConfig.struct_class = Types::EncryptionConfig
380
401
 
402
+ ErrorMetric.add_member(:forecast_type, Shapes::ShapeRef.new(shape: ForecastType, location_name: "ForecastType"))
403
+ ErrorMetric.add_member(:wape, Shapes::ShapeRef.new(shape: Double, location_name: "WAPE"))
404
+ ErrorMetric.add_member(:rmse, Shapes::ShapeRef.new(shape: Double, location_name: "RMSE"))
405
+ ErrorMetric.struct_class = Types::ErrorMetric
406
+
407
+ ErrorMetrics.member = Shapes::ShapeRef.new(shape: ErrorMetric)
408
+
381
409
  EvaluationParameters.add_member(:number_of_backtest_windows, Shapes::ShapeRef.new(shape: Integer, location_name: "NumberOfBacktestWindows"))
382
410
  EvaluationParameters.add_member(:back_test_window_offset, Shapes::ShapeRef.new(shape: Integer, location_name: "BackTestWindowOffset"))
383
411
  EvaluationParameters.struct_class = Types::EvaluationParameters
@@ -525,8 +553,15 @@ module Aws::ForecastService
525
553
  ListPredictorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
526
554
  ListPredictorsResponse.struct_class = Types::ListPredictorsResponse
527
555
 
528
- Metrics.add_member(:rmse, Shapes::ShapeRef.new(shape: Double, location_name: "RMSE"))
556
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
557
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
558
+
559
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
560
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
561
+
562
+ 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"}))
529
563
  Metrics.add_member(:weighted_quantile_losses, Shapes::ShapeRef.new(shape: WeightedQuantileLosses, location_name: "WeightedQuantileLosses"))
564
+ Metrics.add_member(:error_metrics, Shapes::ShapeRef.new(shape: ErrorMetrics, location_name: "ErrorMetrics"))
530
565
  Metrics.struct_class = Types::Metrics
531
566
 
532
567
  ParameterRanges.add_member(:categorical_parameter_ranges, Shapes::ShapeRef.new(shape: CategoricalParameterRanges, location_name: "CategoricalParameterRanges"))
@@ -595,6 +630,20 @@ module Aws::ForecastService
595
630
 
596
631
  SupplementaryFeatures.member = Shapes::ShapeRef.new(shape: SupplementaryFeature)
597
632
 
633
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
634
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
635
+ Tag.struct_class = Types::Tag
636
+
637
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
638
+
639
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
640
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
641
+ TagResourceRequest.struct_class = Types::TagResourceRequest
642
+
643
+ TagResourceResponse.struct_class = Types::TagResourceResponse
644
+
645
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
646
+
598
647
  TestWindowDetails.member = Shapes::ShapeRef.new(shape: TestWindowSummary)
599
648
 
600
649
  TestWindowSummary.add_member(:test_window_start, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TestWindowStart"))
@@ -608,6 +657,12 @@ module Aws::ForecastService
608
657
  TrainingParameters.key = Shapes::ShapeRef.new(shape: ParameterKey)
609
658
  TrainingParameters.value = Shapes::ShapeRef.new(shape: ParameterValue)
610
659
 
660
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
661
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
662
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
663
+
664
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
665
+
611
666
  UpdateDatasetGroupRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetGroupArn"))
612
667
  UpdateDatasetGroupRequest.add_member(:dataset_arns, Shapes::ShapeRef.new(shape: ArnList, required: true, location_name: "DatasetArns"))
613
668
  UpdateDatasetGroupRequest.struct_class = Types::UpdateDatasetGroupRequest
@@ -955,6 +1010,37 @@ module Aws::ForecastService
955
1010
  )
956
1011
  end)
957
1012
 
1013
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1014
+ o.name = "ListTagsForResource"
1015
+ o.http_method = "POST"
1016
+ o.http_request_uri = "/"
1017
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1018
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1019
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1021
+ end)
1022
+
1023
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1024
+ o.name = "TagResource"
1025
+ o.http_method = "POST"
1026
+ o.http_request_uri = "/"
1027
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1028
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1032
+ end)
1033
+
1034
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1035
+ o.name = "UntagResource"
1036
+ o.http_method = "POST"
1037
+ o.http_request_uri = "/"
1038
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1039
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1040
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1042
+ end)
1043
+
958
1044
  api.add_operation(:update_dataset_group, Seahorse::Model::Operation.new.tap do |o|
959
1045
  o.name = "UpdateDatasetGroup"
960
1046
  o.http_method = "POST"
@@ -119,6 +119,12 @@ module Aws::ForecastService
119
119
  # dataset_group_name: "Name", # required
120
120
  # domain: "RETAIL", # required, accepts RETAIL, CUSTOM, INVENTORY_PLANNING, EC2_CAPACITY, WORK_FORCE, WEB_TRAFFIC, METRICS
121
121
  # dataset_arns: ["Arn"],
122
+ # tags: [
123
+ # {
124
+ # key: "TagKey", # required
125
+ # value: "TagValue", # required
126
+ # },
127
+ # ],
122
128
  # }
123
129
  #
124
130
  # @!attribute [rw] dataset_group_name
@@ -143,12 +149,46 @@ module Aws::ForecastService
143
149
  # want to include in the dataset group.
144
150
  # @return [Array<String>]
145
151
  #
152
+ # @!attribute [rw] tags
153
+ # The optional metadata that you apply to the dataset group to help
154
+ # you categorize and organize them. Each tag consists of a key and an
155
+ # optional value, both of which you define.
156
+ #
157
+ # The following basic restrictions apply to tags:
158
+ #
159
+ # * Maximum number of tags per resource - 50.
160
+ #
161
+ # * For each resource, each tag key must be unique, and each tag key
162
+ # can have only one value.
163
+ #
164
+ # * Maximum key length - 128 Unicode characters in UTF-8.
165
+ #
166
+ # * Maximum value length - 256 Unicode characters in UTF-8.
167
+ #
168
+ # * If your tagging schema is used across multiple services and
169
+ # resources, remember that other services may have restrictions on
170
+ # allowed characters. Generally allowed characters are: letters,
171
+ # numbers, and spaces representable in UTF-8, and the following
172
+ # characters: + - = . \_ : / @.
173
+ #
174
+ # * Tag keys and values are case sensitive.
175
+ #
176
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
177
+ # of such as a prefix for keys as it is reserved for AWS use. You
178
+ # cannot edit or delete tag keys with this prefix. Values can have
179
+ # this prefix. If a tag value has `aws` as its prefix but the key
180
+ # does not, then Forecast considers it to be a user tag and will
181
+ # count against the limit of 50 tags. Tags with only the key prefix
182
+ # of `aws` do not count against your tags per resource limit.
183
+ # @return [Array<Types::Tag>]
184
+ #
146
185
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetGroupRequest AWS API Documentation
147
186
  #
148
187
  class CreateDatasetGroupRequest < Struct.new(
149
188
  :dataset_group_name,
150
189
  :domain,
151
- :dataset_arns)
190
+ :dataset_arns,
191
+ :tags)
152
192
  SENSITIVE = []
153
193
  include Aws::Structure
154
194
  end
@@ -179,6 +219,12 @@ module Aws::ForecastService
179
219
  # },
180
220
  # },
181
221
  # timestamp_format: "TimestampFormat",
222
+ # tags: [
223
+ # {
224
+ # key: "TagKey", # required
225
+ # value: "TagValue", # required
226
+ # },
227
+ # ],
182
228
  # }
183
229
  #
184
230
  # @!attribute [rw] dataset_import_job_name
@@ -224,13 +270,47 @@ module Aws::ForecastService
224
270
  # to be "yyyy-MM-dd HH:mm:ss".
225
271
  # @return [String]
226
272
  #
273
+ # @!attribute [rw] tags
274
+ # The optional metadata that you apply to the dataset import job to
275
+ # help you categorize and organize them. Each tag consists of a key
276
+ # and an optional value, both of which you define.
277
+ #
278
+ # The following basic restrictions apply to tags:
279
+ #
280
+ # * Maximum number of tags per resource - 50.
281
+ #
282
+ # * For each resource, each tag key must be unique, and each tag key
283
+ # can have only one value.
284
+ #
285
+ # * Maximum key length - 128 Unicode characters in UTF-8.
286
+ #
287
+ # * Maximum value length - 256 Unicode characters in UTF-8.
288
+ #
289
+ # * If your tagging schema is used across multiple services and
290
+ # resources, remember that other services may have restrictions on
291
+ # allowed characters. Generally allowed characters are: letters,
292
+ # numbers, and spaces representable in UTF-8, and the following
293
+ # characters: + - = . \_ : / @.
294
+ #
295
+ # * Tag keys and values are case sensitive.
296
+ #
297
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
298
+ # of such as a prefix for keys as it is reserved for AWS use. You
299
+ # cannot edit or delete tag keys with this prefix. Values can have
300
+ # this prefix. If a tag value has `aws` as its prefix but the key
301
+ # does not, then Forecast considers it to be a user tag and will
302
+ # count against the limit of 50 tags. Tags with only the key prefix
303
+ # of `aws` do not count against your tags per resource limit.
304
+ # @return [Array<Types::Tag>]
305
+ #
227
306
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetImportJobRequest AWS API Documentation
228
307
  #
229
308
  class CreateDatasetImportJobRequest < Struct.new(
230
309
  :dataset_import_job_name,
231
310
  :dataset_arn,
232
311
  :data_source,
233
- :timestamp_format)
312
+ :timestamp_format,
313
+ :tags)
234
314
  SENSITIVE = []
235
315
  include Aws::Structure
236
316
  end
@@ -267,6 +347,12 @@ module Aws::ForecastService
267
347
  # role_arn: "Arn", # required
268
348
  # kms_key_arn: "KMSKeyArn", # required
269
349
  # },
350
+ # tags: [
351
+ # {
352
+ # key: "TagKey", # required
353
+ # value: "TagValue", # required
354
+ # },
355
+ # ],
270
356
  # }
271
357
  #
272
358
  # @!attribute [rw] dataset_name
@@ -314,6 +400,39 @@ module Aws::ForecastService
314
400
  # access the key.
315
401
  # @return [Types::EncryptionConfig]
316
402
  #
403
+ # @!attribute [rw] tags
404
+ # The optional metadata that you apply to the dataset to help you
405
+ # categorize and organize them. Each tag consists of a key and an
406
+ # optional value, both of which you define.
407
+ #
408
+ # The following basic restrictions apply to tags:
409
+ #
410
+ # * Maximum number of tags per resource - 50.
411
+ #
412
+ # * For each resource, each tag key must be unique, and each tag key
413
+ # can have only one value.
414
+ #
415
+ # * Maximum key length - 128 Unicode characters in UTF-8.
416
+ #
417
+ # * Maximum value length - 256 Unicode characters in UTF-8.
418
+ #
419
+ # * If your tagging schema is used across multiple services and
420
+ # resources, remember that other services may have restrictions on
421
+ # allowed characters. Generally allowed characters are: letters,
422
+ # numbers, and spaces representable in UTF-8, and the following
423
+ # characters: + - = . \_ : / @.
424
+ #
425
+ # * Tag keys and values are case sensitive.
426
+ #
427
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
428
+ # of such as a prefix for keys as it is reserved for AWS use. You
429
+ # cannot edit or delete tag keys with this prefix. Values can have
430
+ # this prefix. If a tag value has `aws` as its prefix but the key
431
+ # does not, then Forecast considers it to be a user tag and will
432
+ # count against the limit of 50 tags. Tags with only the key prefix
433
+ # of `aws` do not count against your tags per resource limit.
434
+ # @return [Array<Types::Tag>]
435
+ #
317
436
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetRequest AWS API Documentation
318
437
  #
319
438
  class CreateDatasetRequest < Struct.new(
@@ -322,7 +441,8 @@ module Aws::ForecastService
322
441
  :dataset_type,
323
442
  :data_frequency,
324
443
  :schema,
325
- :encryption_config)
444
+ :encryption_config,
445
+ :tags)
326
446
  SENSITIVE = []
327
447
  include Aws::Structure
328
448
  end
@@ -352,6 +472,12 @@ module Aws::ForecastService
352
472
  # kms_key_arn: "KMSKeyArn",
353
473
  # },
354
474
  # },
475
+ # tags: [
476
+ # {
477
+ # key: "TagKey", # required
478
+ # value: "TagValue", # required
479
+ # },
480
+ # ],
355
481
  # }
356
482
  #
357
483
  # @!attribute [rw] forecast_export_job_name
@@ -374,12 +500,46 @@ module Aws::ForecastService
374
500
  # Forecast permission to access the key.
375
501
  # @return [Types::DataDestination]
376
502
  #
503
+ # @!attribute [rw] tags
504
+ # The optional metadata that you apply to the forecast export job to
505
+ # help you categorize and organize them. Each tag consists of a key
506
+ # and an optional value, both of which you define.
507
+ #
508
+ # The following basic restrictions apply to tags:
509
+ #
510
+ # * Maximum number of tags per resource - 50.
511
+ #
512
+ # * For each resource, each tag key must be unique, and each tag key
513
+ # can have only one value.
514
+ #
515
+ # * Maximum key length - 128 Unicode characters in UTF-8.
516
+ #
517
+ # * Maximum value length - 256 Unicode characters in UTF-8.
518
+ #
519
+ # * If your tagging schema is used across multiple services and
520
+ # resources, remember that other services may have restrictions on
521
+ # allowed characters. Generally allowed characters are: letters,
522
+ # numbers, and spaces representable in UTF-8, and the following
523
+ # characters: + - = . \_ : / @.
524
+ #
525
+ # * Tag keys and values are case sensitive.
526
+ #
527
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
528
+ # of such as a prefix for keys as it is reserved for AWS use. You
529
+ # cannot edit or delete tag keys with this prefix. Values can have
530
+ # this prefix. If a tag value has `aws` as its prefix but the key
531
+ # does not, then Forecast considers it to be a user tag and will
532
+ # count against the limit of 50 tags. Tags with only the key prefix
533
+ # of `aws` do not count against your tags per resource limit.
534
+ # @return [Array<Types::Tag>]
535
+ #
377
536
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastExportJobRequest AWS API Documentation
378
537
  #
379
538
  class CreateForecastExportJobRequest < Struct.new(
380
539
  :forecast_export_job_name,
381
540
  :forecast_arn,
382
- :destination)
541
+ :destination,
542
+ :tags)
383
543
  SENSITIVE = []
384
544
  include Aws::Structure
385
545
  end
@@ -403,6 +563,12 @@ module Aws::ForecastService
403
563
  # forecast_name: "Name", # required
404
564
  # predictor_arn: "Arn", # required
405
565
  # forecast_types: ["ForecastType"],
566
+ # tags: [
567
+ # {
568
+ # key: "TagKey", # required
569
+ # value: "TagValue", # required
570
+ # },
571
+ # ],
406
572
  # }
407
573
  #
408
574
  # @!attribute [rw] forecast_name
@@ -415,20 +581,54 @@ module Aws::ForecastService
415
581
  # @return [String]
416
582
  #
417
583
  # @!attribute [rw] forecast_types
418
- # The quantiles at which probabilistic forecasts are generated. You
419
- # can specify up to 5 quantiles per forecast. Accepted values include
420
- # `0.01 to 0.99` (increments of .01 only) and `mean`. The mean
421
- # forecast is different from the median (0.50) when the distribution
422
- # is not symmetric (e.g. Beta, Negative Binomial). The default value
423
- # is `["0.1", "0.5", "0.9"]`.
584
+ # The quantiles at which probabilistic forecasts are generated. **You
585
+ # can currently specify up to 5 quantiles per forecast**. Accepted
586
+ # values include `0.01 to 0.99` (increments of .01 only) and `mean`.
587
+ # The mean forecast is different from the median (0.50) when the
588
+ # distribution is not symmetric (for example, Beta and Negative
589
+ # Binomial). The default value is `["0.1", "0.5", "0.9"]`.
424
590
  # @return [Array<String>]
425
591
  #
592
+ # @!attribute [rw] tags
593
+ # The optional metadata that you apply to the forecast to help you
594
+ # categorize and organize them. Each tag consists of a key and an
595
+ # optional value, both of which you define.
596
+ #
597
+ # The following basic restrictions apply to tags:
598
+ #
599
+ # * Maximum number of tags per resource - 50.
600
+ #
601
+ # * For each resource, each tag key must be unique, and each tag key
602
+ # can have only one value.
603
+ #
604
+ # * Maximum key length - 128 Unicode characters in UTF-8.
605
+ #
606
+ # * Maximum value length - 256 Unicode characters in UTF-8.
607
+ #
608
+ # * If your tagging schema is used across multiple services and
609
+ # resources, remember that other services may have restrictions on
610
+ # allowed characters. Generally allowed characters are: letters,
611
+ # numbers, and spaces representable in UTF-8, and the following
612
+ # characters: + - = . \_ : / @.
613
+ #
614
+ # * Tag keys and values are case sensitive.
615
+ #
616
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
617
+ # of such as a prefix for keys as it is reserved for AWS use. You
618
+ # cannot edit or delete tag keys with this prefix. Values can have
619
+ # this prefix. If a tag value has `aws` as its prefix but the key
620
+ # does not, then Forecast considers it to be a user tag and will
621
+ # count against the limit of 50 tags. Tags with only the key prefix
622
+ # of `aws` do not count against your tags per resource limit.
623
+ # @return [Array<Types::Tag>]
624
+ #
426
625
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastRequest AWS API Documentation
427
626
  #
428
627
  class CreateForecastRequest < Struct.new(
429
628
  :forecast_name,
430
629
  :predictor_arn,
431
- :forecast_types)
630
+ :forecast_types,
631
+ :tags)
432
632
  SENSITIVE = []
433
633
  include Aws::Structure
434
634
  end
@@ -452,6 +652,7 @@ module Aws::ForecastService
452
652
  # predictor_name: "Name", # required
453
653
  # algorithm_arn: "Arn",
454
654
  # forecast_horizon: 1, # required
655
+ # forecast_types: ["ForecastType"],
455
656
  # perform_auto_ml: false,
456
657
  # perform_hpo: false,
457
658
  # training_parameters: {
@@ -517,6 +718,12 @@ module Aws::ForecastService
517
718
  # role_arn: "Arn", # required
518
719
  # kms_key_arn: "KMSKeyArn", # required
519
720
  # },
721
+ # tags: [
722
+ # {
723
+ # key: "TagKey", # required
724
+ # value: "TagValue", # required
725
+ # },
726
+ # ],
520
727
  # }
521
728
  #
522
729
  # @!attribute [rw] predictor_name
@@ -531,9 +738,9 @@ module Aws::ForecastService
531
738
  #
532
739
  # * `arn:aws:forecast:::algorithm/ARIMA`
533
740
  #
534
- # * `arn:aws:forecast:::algorithm/Deep_AR_Plus`
741
+ # * `arn:aws:forecast:::algorithm/CNN-QR`
535
742
  #
536
- # Supports hyperparameter optimization (HPO)
743
+ # * `arn:aws:forecast:::algorithm/Deep_AR_Plus`
537
744
  #
538
745
  # * `arn:aws:forecast:::algorithm/ETS`
539
746
  #
@@ -555,6 +762,15 @@ module Aws::ForecastService
555
762
  # of the TARGET\_TIME\_SERIES dataset length.
556
763
  # @return [Integer]
557
764
  #
765
+ # @!attribute [rw] forecast_types
766
+ # Specifies the forecast types used to train a predictor. You can
767
+ # specify up to five forecast types. Forecast types can be quantiles
768
+ # from 0.01 to 0.99, by increments of 0.01 or higher. You can also
769
+ # specify the mean forecast with `mean`.
770
+ #
771
+ # The default value is `["0.10", "0.50", "0.9"]`.
772
+ # @return [Array<String>]
773
+ #
558
774
  # @!attribute [rw] perform_auto_ml
559
775
  # Whether to perform AutoML. When Amazon Forecast performs AutoML, it
560
776
  # evaluates the algorithms it provides and chooses the best algorithm
@@ -584,11 +800,11 @@ module Aws::ForecastService
584
800
  # hyperparameter. In this case, you are required to specify an
585
801
  # algorithm and `PerformAutoML` must be false.
586
802
  #
587
- # The following algorithm supports HPO:
803
+ # The following algorithms support HPO:
588
804
  #
589
805
  # * DeepAR+
590
806
  #
591
- # ^
807
+ # * CNN-QR
592
808
  # @return [Boolean]
593
809
  #
594
810
  # @!attribute [rw] training_parameters
@@ -632,12 +848,46 @@ module Aws::ForecastService
632
848
  # access the key.
633
849
  # @return [Types::EncryptionConfig]
634
850
  #
851
+ # @!attribute [rw] tags
852
+ # The optional metadata that you apply to the predictor to help you
853
+ # categorize and organize them. Each tag consists of a key and an
854
+ # optional value, both of which you define.
855
+ #
856
+ # The following basic restrictions apply to tags:
857
+ #
858
+ # * Maximum number of tags per resource - 50.
859
+ #
860
+ # * For each resource, each tag key must be unique, and each tag key
861
+ # can have only one value.
862
+ #
863
+ # * Maximum key length - 128 Unicode characters in UTF-8.
864
+ #
865
+ # * Maximum value length - 256 Unicode characters in UTF-8.
866
+ #
867
+ # * If your tagging schema is used across multiple services and
868
+ # resources, remember that other services may have restrictions on
869
+ # allowed characters. Generally allowed characters are: letters,
870
+ # numbers, and spaces representable in UTF-8, and the following
871
+ # characters: + - = . \_ : / @.
872
+ #
873
+ # * Tag keys and values are case sensitive.
874
+ #
875
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
876
+ # of such as a prefix for keys as it is reserved for AWS use. You
877
+ # cannot edit or delete tag keys with this prefix. Values can have
878
+ # this prefix. If a tag value has `aws` as its prefix but the key
879
+ # does not, then Forecast considers it to be a user tag and will
880
+ # count against the limit of 50 tags. Tags with only the key prefix
881
+ # of `aws` do not count against your tags per resource limit.
882
+ # @return [Array<Types::Tag>]
883
+ #
635
884
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorRequest AWS API Documentation
636
885
  #
637
886
  class CreatePredictorRequest < Struct.new(
638
887
  :predictor_name,
639
888
  :algorithm_arn,
640
889
  :forecast_horizon,
890
+ :forecast_types,
641
891
  :perform_auto_ml,
642
892
  :perform_hpo,
643
893
  :training_parameters,
@@ -645,7 +895,8 @@ module Aws::ForecastService
645
895
  :hpo_config,
646
896
  :input_data_config,
647
897
  :featurization_config,
648
- :encryption_config)
898
+ :encryption_config,
899
+ :tags)
649
900
  SENSITIVE = []
650
901
  include Aws::Structure
651
902
  end
@@ -1394,7 +1645,7 @@ module Aws::ForecastService
1394
1645
  # @return [String]
1395
1646
  #
1396
1647
  # @!attribute [rw] forecast_types
1397
- # The quantiles at which proababilistic forecasts were generated.
1648
+ # The quantiles at which probabilistic forecasts were generated.
1398
1649
  # @return [Array<String>]
1399
1650
  #
1400
1651
  # @!attribute [rw] predictor_arn
@@ -1491,6 +1742,11 @@ module Aws::ForecastService
1491
1742
  # also called the prediction length.
1492
1743
  # @return [Integer]
1493
1744
  #
1745
+ # @!attribute [rw] forecast_types
1746
+ # The forecast types used during predictor training. Default value is
1747
+ # `["0.1","0.5","0.9"]`
1748
+ # @return [Array<String>]
1749
+ #
1494
1750
  # @!attribute [rw] perform_auto_ml
1495
1751
  # Whether the predictor is set to perform AutoML.
1496
1752
  # @return [Boolean]
@@ -1502,10 +1758,9 @@ module Aws::ForecastService
1502
1758
  #
1503
1759
  # @!attribute [rw] training_parameters
1504
1760
  # The default training parameters or overrides selected during model
1505
- # training. If using the AutoML algorithm or if HPO is turned on while
1506
- # using the DeepAR+ algorithms, the optimized values for the chosen
1507
- # hyperparameters are returned. For more information, see
1508
- # aws-forecast-choosing-recipes.
1761
+ # training. When running AutoML or choosing HPO with CNN-QR or
1762
+ # DeepAR+, the optimized values for the chosen hyperparameters are
1763
+ # returned. For more information, see aws-forecast-choosing-recipes.
1509
1764
  # @return [Hash<String,String>]
1510
1765
  #
1511
1766
  # @!attribute [rw] evaluation_parameters
@@ -1590,6 +1845,7 @@ module Aws::ForecastService
1590
1845
  :predictor_name,
1591
1846
  :algorithm_arn,
1592
1847
  :forecast_horizon,
1848
+ :forecast_types,
1593
1849
  :perform_auto_ml,
1594
1850
  :perform_hpo,
1595
1851
  :training_parameters,
@@ -1644,6 +1900,32 @@ module Aws::ForecastService
1644
1900
  include Aws::Structure
1645
1901
  end
1646
1902
 
1903
+ # Provides detailed error metrics to evaluate the performance of a
1904
+ # predictor. This object is part of the Metrics object.
1905
+ #
1906
+ # @!attribute [rw] forecast_type
1907
+ # Forecast types can be quantiles from 0.01 to 0.99 (by increments of
1908
+ # 0.01), and the mean.
1909
+ # @return [String]
1910
+ #
1911
+ # @!attribute [rw] wape
1912
+ # The weighted absolute percentage error (WAPE).
1913
+ # @return [Float]
1914
+ #
1915
+ # @!attribute [rw] rmse
1916
+ # The root-mean-square error (RMSE).
1917
+ # @return [Float]
1918
+ #
1919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ErrorMetric AWS API Documentation
1920
+ #
1921
+ class ErrorMetric < Struct.new(
1922
+ :forecast_type,
1923
+ :wape,
1924
+ :rmse)
1925
+ SENSITIVE = []
1926
+ include Aws::Structure
1927
+ end
1928
+
1647
1929
  # Parameters that define how to split a dataset into training data and
1648
1930
  # testing data, and the number of iterations to perform. These
1649
1931
  # parameters are specified in the predefined algorithms but you can
@@ -1743,10 +2025,11 @@ module Aws::ForecastService
1743
2025
  #
1744
2026
  # @!attribute [rw] attribute_name
1745
2027
  # The name of the schema attribute that specifies the data field to be
1746
- # featurized. Only the `target` field of the `TARGET_TIME_SERIES`
1747
- # dataset type is supported. For example, for the `RETAIL` domain, the
1748
- # target is `demand`, and for the `CUSTOM` domain, the target is
1749
- # `target_value`.
2028
+ # featurized. Amazon Forecast supports the target field of the
2029
+ # `TARGET_TIME_SERIES` and the `RELATED_TIME_SERIES` datasets. For
2030
+ # example, for the `RETAIL` domain, the target is `demand`, and for
2031
+ # the `CUSTOM` domain, the target is `target_value`. For more
2032
+ # information, see howitworks-missing-values.
1750
2033
  # @return [String]
1751
2034
  #
1752
2035
  # @!attribute [rw] featurization_pipeline
@@ -1772,8 +2055,8 @@ module Aws::ForecastService
1772
2055
  # specify an array of transformations, one for each field that you want
1773
2056
  # to featurize. You then include the `FeaturizationConfig` object in
1774
2057
  # your `CreatePredictor` request. Amazon Forecast applies the
1775
- # featurization to the `TARGET_TIME_SERIES` dataset before model
1776
- # training.
2058
+ # featurization to the `TARGET_TIME_SERIES` and `RELATED_TIME_SERIES`
2059
+ # datasets before model training.
1777
2060
  #
1778
2061
  # You can create multiple featurization configurations. For example, you
1779
2062
  # might call the `CreatePredictor` operation twice by specifying
@@ -1833,7 +2116,7 @@ module Aws::ForecastService
1833
2116
  #
1834
2117
  # @!attribute [rw] featurizations
1835
2118
  # An array of featurization (transformation) information for the
1836
- # fields of a dataset. Only a single featurization is supported.
2119
+ # fields of a dataset.
1837
2120
  # @return [Array<Types::Featurization>]
1838
2121
  #
1839
2122
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/FeaturizationConfig AWS API Documentation
@@ -1848,9 +2131,7 @@ module Aws::ForecastService
1848
2131
 
1849
2132
  # Provides information about the method that featurizes (transforms) a
1850
2133
  # dataset field. The method is part of the `FeaturizationPipeline` of
1851
- # the Featurization object. If you don't specify
1852
- # `FeaturizationMethodParameters`, Amazon Forecast uses default
1853
- # parameters.
2134
+ # the Featurization object.
1854
2135
  #
1855
2136
  # The following is an example of how you specify a `FeaturizationMethod`
1856
2137
  # object.
@@ -1859,8 +2140,8 @@ module Aws::ForecastService
1859
2140
  #
1860
2141
  # `"FeaturizationMethodName": "filling",`
1861
2142
  #
1862
- # `"FeaturizationMethodParameters": \{"aggregation": "avg", "backfill":
1863
- # "nan"\}`
2143
+ # `"FeaturizationMethodParameters": \{"aggregation": "sum",
2144
+ # "middlefill": "zero", "backfill": "zero"\}`
1864
2145
  #
1865
2146
  # `\}`
1866
2147
  #
@@ -1880,17 +2161,38 @@ module Aws::ForecastService
1880
2161
  # @return [String]
1881
2162
  #
1882
2163
  # @!attribute [rw] featurization_method_parameters
1883
- # The method parameters (key-value pairs). Specify these parameters to
1884
- # override the default values. The following list shows the parameters
1885
- # and their valid values. Bold signifies the default value.
2164
+ # The method parameters (key-value pairs), which are a map of override
2165
+ # parameters. Specify these parameters to override the default values.
2166
+ # Related Time Series attributes do not accept aggregation parameters.
2167
+ #
2168
+ # The following list shows the parameters and their valid values for
2169
+ # the "filling" featurization method for a **Target Time Series**
2170
+ # dataset. Bold signifies the default value.
1886
2171
  #
1887
2172
  # * `aggregation`\: **sum**, `avg`, `first`, `min`, `max`
1888
2173
  #
1889
2174
  # * `frontfill`\: **none**
1890
2175
  #
1891
- # * `middlefill`\: **zero**, `nan` (not a number)
2176
+ # * `middlefill`\: **zero**, `nan` (not a number), `value`, `median`,
2177
+ # `mean`, `min`, `max`
2178
+ #
2179
+ # * `backfill`\: **zero**, `nan`, `value`, `median`, `mean`, `min`,
2180
+ # `max`
2181
+ #
2182
+ # The following list shows the parameters and their valid values for a
2183
+ # **Related Time Series** featurization method (there are no
2184
+ # defaults):
2185
+ #
2186
+ # * `middlefill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
1892
2187
  #
1893
- # * `backfill`\: **zero**, `nan`
2188
+ # * `backfill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
2189
+ #
2190
+ # * `futurefill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
2191
+ #
2192
+ # To set a filling method to a specific value, set the fill parameter
2193
+ # to `value` and define the value in a corresponding `_value`
2194
+ # parameter. For example, to set backfilling to a value of 2, include
2195
+ # the following: `"backfill": "value"` and `"backfill_value":"2"`.
1894
2196
  # @return [Hash<String,String>]
1895
2197
  #
1896
2198
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/FeaturizationMethod AWS API Documentation
@@ -2709,11 +3011,45 @@ module Aws::ForecastService
2709
3011
  include Aws::Structure
2710
3012
  end
2711
3013
 
3014
+ # @note When making an API call, you may pass ListTagsForResourceRequest
3015
+ # data as a hash:
3016
+ #
3017
+ # {
3018
+ # resource_arn: "Arn", # required
3019
+ # }
3020
+ #
3021
+ # @!attribute [rw] resource_arn
3022
+ # The Amazon Resource Name (ARN) that identifies the resource for
3023
+ # which to list the tags. Currently, the supported resources are
3024
+ # Forecast dataset groups, datasets, dataset import jobs, predictors,
3025
+ # forecasts, and forecast export jobs.
3026
+ # @return [String]
3027
+ #
3028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListTagsForResourceRequest AWS API Documentation
3029
+ #
3030
+ class ListTagsForResourceRequest < Struct.new(
3031
+ :resource_arn)
3032
+ SENSITIVE = []
3033
+ include Aws::Structure
3034
+ end
3035
+
3036
+ # @!attribute [rw] tags
3037
+ # The tags for the resource.
3038
+ # @return [Array<Types::Tag>]
3039
+ #
3040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListTagsForResourceResponse AWS API Documentation
3041
+ #
3042
+ class ListTagsForResourceResponse < Struct.new(
3043
+ :tags)
3044
+ SENSITIVE = []
3045
+ include Aws::Structure
3046
+ end
3047
+
2712
3048
  # Provides metrics that are used to evaluate the performance of a
2713
3049
  # predictor. This object is part of the WindowSummary object.
2714
3050
  #
2715
3051
  # @!attribute [rw] rmse
2716
- # The root mean square error (RMSE).
3052
+ # The root-mean-square error (RMSE).
2717
3053
  # @return [Float]
2718
3054
  #
2719
3055
  # @!attribute [rw] weighted_quantile_losses
@@ -2722,11 +3058,17 @@ module Aws::ForecastService
2722
3058
  # this case is the loss function.
2723
3059
  # @return [Array<Types::WeightedQuantileLoss>]
2724
3060
  #
3061
+ # @!attribute [rw] error_metrics
3062
+ # Provides detailed error metrics on forecast type, root-mean
3063
+ # square-error (RMSE), and weighted average percentage error (WAPE).
3064
+ # @return [Array<Types::ErrorMetric>]
3065
+ #
2725
3066
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/Metrics AWS API Documentation
2726
3067
  #
2727
3068
  class Metrics < Struct.new(
2728
3069
  :rmse,
2729
- :weighted_quantile_losses)
3070
+ :weighted_quantile_losses,
3071
+ :error_metrics)
2730
3072
  SENSITIVE = []
2731
3073
  include Aws::Structure
2732
3074
  end
@@ -3092,10 +3434,10 @@ module Aws::ForecastService
3092
3434
  # Describes a supplementary feature of a dataset group. This object is
3093
3435
  # part of the InputDataConfig object.
3094
3436
  #
3095
- # The only supported feature is a holiday calendar. If you use the
3096
- # calendar, all data in the datasets should belong to the same country
3097
- # as the calendar. For the holiday calendar data, see the [Jollyday][1]
3098
- # web site.
3437
+ # The only supported feature is Holidays. If you use the calendar, all
3438
+ # data in the datasets should belong to the same country as the
3439
+ # calendar. For the holiday calendar data, see the [Jollyday][1]
3440
+ # website.
3099
3441
  #
3100
3442
  #
3101
3443
  #
@@ -3116,15 +3458,137 @@ module Aws::ForecastService
3116
3458
  # @!attribute [rw] value
3117
3459
  # One of the following 2 letter country codes:
3118
3460
  #
3461
+ # * "AL" - ALBANIA
3462
+ #
3463
+ # * "AR" - ARGENTINA
3464
+ #
3465
+ # * "AT" - AUSTRIA
3466
+ #
3119
3467
  # * "AU" - AUSTRALIA
3120
3468
  #
3469
+ # * "BA" - BOSNIA HERZEGOVINA
3470
+ #
3471
+ # * "BE" - BELGIUM
3472
+ #
3473
+ # * "BG" - BULGARIA
3474
+ #
3475
+ # * "BO" - BOLIVIA
3476
+ #
3477
+ # * "BR" - BRAZIL
3478
+ #
3479
+ # * "BY" - BELARUS
3480
+ #
3481
+ # * "CA" - CANADA
3482
+ #
3483
+ # * "CL" - CHILE
3484
+ #
3485
+ # * "CO" - COLOMBIA
3486
+ #
3487
+ # * "CR" - COSTA RICA
3488
+ #
3489
+ # * "HR" - CROATIA
3490
+ #
3491
+ # * "CZ" - CZECH REPUBLIC
3492
+ #
3493
+ # * "DK" - DENMARK
3494
+ #
3495
+ # * "EC" - ECUADOR
3496
+ #
3497
+ # * "EE" - ESTONIA
3498
+ #
3499
+ # * "ET" - ETHIOPIA
3500
+ #
3501
+ # * "FI" - FINLAND
3502
+ #
3503
+ # * "FR" - FRANCE
3504
+ #
3121
3505
  # * "DE" - GERMANY
3122
3506
  #
3507
+ # * "GR" - GREECE
3508
+ #
3509
+ # * "HU" - HUNGARY
3510
+ #
3511
+ # * "IS" - ICELAND
3512
+ #
3513
+ # * "IN" - INDIA
3514
+ #
3515
+ # * "IE" - IRELAND
3516
+ #
3517
+ # * "IT" - ITALY
3518
+ #
3123
3519
  # * "JP" - JAPAN
3124
3520
  #
3125
- # * "US" - UNITED\_STATES
3521
+ # * "KZ" - KAZAKHSTAN
3522
+ #
3523
+ # * "KR" - KOREA
3524
+ #
3525
+ # * "LV" - LATVIA
3526
+ #
3527
+ # * "LI" - LIECHTENSTEIN
3528
+ #
3529
+ # * "LT" - LITHUANIA
3530
+ #
3531
+ # * "LU" - LUXEMBOURG
3126
3532
  #
3127
- # * "UK" - UNITED\_KINGDOM
3533
+ # * "MK" - MACEDONIA
3534
+ #
3535
+ # * "MT" - MALTA
3536
+ #
3537
+ # * "MX" - MEXICO
3538
+ #
3539
+ # * "MD" - MOLDOVA
3540
+ #
3541
+ # * "ME" - MONTENEGRO
3542
+ #
3543
+ # * "NL" - NETHERLANDS
3544
+ #
3545
+ # * "NZ" - NEW ZEALAND
3546
+ #
3547
+ # * "NI" - NICARAGUA
3548
+ #
3549
+ # * "NG" - NIGERIA
3550
+ #
3551
+ # * "NO" - NORWAY
3552
+ #
3553
+ # * "PA" - PANAMA
3554
+ #
3555
+ # * "PY" - PARAGUAY
3556
+ #
3557
+ # * "PE" - PERU
3558
+ #
3559
+ # * "PL" - POLAND
3560
+ #
3561
+ # * "PT" - PORTUGAL
3562
+ #
3563
+ # * "RO" - ROMANIA
3564
+ #
3565
+ # * "RU" - RUSSIA
3566
+ #
3567
+ # * "RS" - SERBIA
3568
+ #
3569
+ # * "SK" - SLOVAKIA
3570
+ #
3571
+ # * "SI" - SLOVENIA
3572
+ #
3573
+ # * "ZA" - SOUTH AFRICA
3574
+ #
3575
+ # * "ES" - SPAIN
3576
+ #
3577
+ # * "SE" - SWEDEN
3578
+ #
3579
+ # * "CH" - SWITZERLAND
3580
+ #
3581
+ # * "UA" - UKRAINE
3582
+ #
3583
+ # * "AE" - UNITED ARAB EMIRATES
3584
+ #
3585
+ # * "US" - UNITED STATES
3586
+ #
3587
+ # * "UK" - UNITED KINGDOM
3588
+ #
3589
+ # * "UY" - URUGUAY
3590
+ #
3591
+ # * "VE" - VENEZUELA
3128
3592
  # @return [String]
3129
3593
  #
3130
3594
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/SupplementaryFeature AWS API Documentation
@@ -3136,6 +3600,130 @@ module Aws::ForecastService
3136
3600
  include Aws::Structure
3137
3601
  end
3138
3602
 
3603
+ # The optional metadata that you apply to a resource to help you
3604
+ # categorize and organize them. Each tag consists of a key and an
3605
+ # optional value, both of which you define.
3606
+ #
3607
+ # The following basic restrictions apply to tags:
3608
+ #
3609
+ # * Maximum number of tags per resource - 50.
3610
+ #
3611
+ # * For each resource, each tag key must be unique, and each tag key can
3612
+ # have only one value.
3613
+ #
3614
+ # * Maximum key length - 128 Unicode characters in UTF-8.
3615
+ #
3616
+ # * Maximum value length - 256 Unicode characters in UTF-8.
3617
+ #
3618
+ # * If your tagging schema is used across multiple services and
3619
+ # resources, remember that other services may have restrictions on
3620
+ # allowed characters. Generally allowed characters are: letters,
3621
+ # numbers, and spaces representable in UTF-8, and the following
3622
+ # characters: + - = . \_ : / @.
3623
+ #
3624
+ # * Tag keys and values are case sensitive.
3625
+ #
3626
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
3627
+ # such as a prefix for keys as it is reserved for AWS use. You cannot
3628
+ # edit or delete tag keys with this prefix. Values can have this
3629
+ # prefix. If a tag value has `aws` as its prefix but the key does not,
3630
+ # then Forecast considers it to be a user tag and will count against
3631
+ # the limit of 50 tags. Tags with only the key prefix of `aws` do not
3632
+ # count against your tags per resource limit.
3633
+ #
3634
+ # @note When making an API call, you may pass Tag
3635
+ # data as a hash:
3636
+ #
3637
+ # {
3638
+ # key: "TagKey", # required
3639
+ # value: "TagValue", # required
3640
+ # }
3641
+ #
3642
+ # @!attribute [rw] key
3643
+ # One part of a key-value pair that makes up a tag. A `key` is a
3644
+ # general label that acts like a category for more specific tag
3645
+ # values.
3646
+ # @return [String]
3647
+ #
3648
+ # @!attribute [rw] value
3649
+ # The optional part of a key-value pair that makes up a tag. A `value`
3650
+ # acts as a descriptor within a tag category (key).
3651
+ # @return [String]
3652
+ #
3653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/Tag AWS API Documentation
3654
+ #
3655
+ class Tag < Struct.new(
3656
+ :key,
3657
+ :value)
3658
+ SENSITIVE = []
3659
+ include Aws::Structure
3660
+ end
3661
+
3662
+ # @note When making an API call, you may pass TagResourceRequest
3663
+ # data as a hash:
3664
+ #
3665
+ # {
3666
+ # resource_arn: "Arn", # required
3667
+ # tags: [ # required
3668
+ # {
3669
+ # key: "TagKey", # required
3670
+ # value: "TagValue", # required
3671
+ # },
3672
+ # ],
3673
+ # }
3674
+ #
3675
+ # @!attribute [rw] resource_arn
3676
+ # The Amazon Resource Name (ARN) that identifies the resource for
3677
+ # which to list the tags. Currently, the supported resources are
3678
+ # Forecast dataset groups, datasets, dataset import jobs, predictors,
3679
+ # forecasts, and forecast export jobs.
3680
+ # @return [String]
3681
+ #
3682
+ # @!attribute [rw] tags
3683
+ # The tags to add to the resource. A tag is an array of key-value
3684
+ # pairs.
3685
+ #
3686
+ # The following basic restrictions apply to tags:
3687
+ #
3688
+ # * Maximum number of tags per resource - 50.
3689
+ #
3690
+ # * For each resource, each tag key must be unique, and each tag key
3691
+ # can have only one value.
3692
+ #
3693
+ # * Maximum key length - 128 Unicode characters in UTF-8.
3694
+ #
3695
+ # * Maximum value length - 256 Unicode characters in UTF-8.
3696
+ #
3697
+ # * If your tagging schema is used across multiple services and
3698
+ # resources, remember that other services may have restrictions on
3699
+ # allowed characters. Generally allowed characters are: letters,
3700
+ # numbers, and spaces representable in UTF-8, and the following
3701
+ # characters: + - = . \_ : / @.
3702
+ #
3703
+ # * Tag keys and values are case sensitive.
3704
+ #
3705
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
3706
+ # of such as a prefix for keys as it is reserved for AWS use. You
3707
+ # cannot edit or delete tag keys with this prefix. Values can have
3708
+ # this prefix. If a tag value has `aws` as its prefix but the key
3709
+ # does not, then Forecast considers it to be a user tag and will
3710
+ # count against the limit of 50 tags. Tags with only the key prefix
3711
+ # of `aws` do not count against your tags per resource limit.
3712
+ # @return [Array<Types::Tag>]
3713
+ #
3714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TagResourceRequest AWS API Documentation
3715
+ #
3716
+ class TagResourceRequest < Struct.new(
3717
+ :resource_arn,
3718
+ :tags)
3719
+ SENSITIVE = []
3720
+ include Aws::Structure
3721
+ end
3722
+
3723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TagResourceResponse AWS API Documentation
3724
+ #
3725
+ class TagResourceResponse < Aws::EmptyStructure; end
3726
+
3139
3727
  # The status, start time, and end time of a backtest, as well as a
3140
3728
  # failure reason if applicable.
3141
3729
  #
@@ -3172,6 +3760,38 @@ module Aws::ForecastService
3172
3760
  include Aws::Structure
3173
3761
  end
3174
3762
 
3763
+ # @note When making an API call, you may pass UntagResourceRequest
3764
+ # data as a hash:
3765
+ #
3766
+ # {
3767
+ # resource_arn: "Arn", # required
3768
+ # tag_keys: ["TagKey"], # required
3769
+ # }
3770
+ #
3771
+ # @!attribute [rw] resource_arn
3772
+ # The Amazon Resource Name (ARN) that identifies the resource for
3773
+ # which to list the tags. Currently, the supported resources are
3774
+ # Forecast dataset groups, datasets, dataset import jobs, predictors,
3775
+ # forecasts, and forecast exports.
3776
+ # @return [String]
3777
+ #
3778
+ # @!attribute [rw] tag_keys
3779
+ # The keys of the tags to be removed.
3780
+ # @return [Array<String>]
3781
+ #
3782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UntagResourceRequest AWS API Documentation
3783
+ #
3784
+ class UntagResourceRequest < Struct.new(
3785
+ :resource_arn,
3786
+ :tag_keys)
3787
+ SENSITIVE = []
3788
+ include Aws::Structure
3789
+ end
3790
+
3791
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UntagResourceResponse AWS API Documentation
3792
+ #
3793
+ class UntagResourceResponse < Aws::EmptyStructure; end
3794
+
3175
3795
  # @note When making an API call, you may pass UpdateDatasetGroupRequest
3176
3796
  # data as a hash:
3177
3797
  #