aws-sdk-forecastservice 1.4.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -107,6 +109,8 @@ module Aws::ForecastService
107
109
  ListForecastsResponse = Shapes::StructureShape.new(name: 'ListForecastsResponse')
108
110
  ListPredictorsRequest = Shapes::StructureShape.new(name: 'ListPredictorsRequest')
109
111
  ListPredictorsResponse = Shapes::StructureShape.new(name: 'ListPredictorsResponse')
112
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
113
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
110
114
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
111
115
  Message = Shapes::StringShape.new(name: 'Message')
112
116
  Metrics = Shapes::StructureShape.new(name: 'Metrics')
@@ -135,12 +139,21 @@ module Aws::ForecastService
135
139
  String = Shapes::StringShape.new(name: 'String')
136
140
  SupplementaryFeature = Shapes::StructureShape.new(name: 'SupplementaryFeature')
137
141
  SupplementaryFeatures = Shapes::ListShape.new(name: 'SupplementaryFeatures')
142
+ Tag = Shapes::StructureShape.new(name: 'Tag')
143
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
144
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
145
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
146
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
147
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
148
+ Tags = Shapes::ListShape.new(name: 'Tags')
138
149
  TestWindowDetails = Shapes::ListShape.new(name: 'TestWindowDetails')
139
150
  TestWindowSummary = Shapes::StructureShape.new(name: 'TestWindowSummary')
140
151
  TestWindows = Shapes::ListShape.new(name: 'TestWindows')
141
152
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
142
153
  TimestampFormat = Shapes::StringShape.new(name: 'TimestampFormat')
143
154
  TrainingParameters = Shapes::MapShape.new(name: 'TrainingParameters')
155
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
156
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
144
157
  UpdateDatasetGroupRequest = Shapes::StructureShape.new(name: 'UpdateDatasetGroupRequest')
145
158
  UpdateDatasetGroupResponse = Shapes::StructureShape.new(name: 'UpdateDatasetGroupResponse')
146
159
  Value = Shapes::StringShape.new(name: 'Value')
@@ -168,6 +181,7 @@ module Aws::ForecastService
168
181
  CreateDatasetGroupRequest.add_member(:dataset_group_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "DatasetGroupName"))
169
182
  CreateDatasetGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: Domain, required: true, location_name: "Domain"))
170
183
  CreateDatasetGroupRequest.add_member(:dataset_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "DatasetArns"))
184
+ CreateDatasetGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
171
185
  CreateDatasetGroupRequest.struct_class = Types::CreateDatasetGroupRequest
172
186
 
173
187
  CreateDatasetGroupResponse.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetGroupArn"))
@@ -177,6 +191,7 @@ module Aws::ForecastService
177
191
  CreateDatasetImportJobRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn"))
178
192
  CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "DataSource"))
179
193
  CreateDatasetImportJobRequest.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
194
+ CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
180
195
  CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
181
196
 
182
197
  CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn"))
@@ -188,6 +203,7 @@ module Aws::ForecastService
188
203
  CreateDatasetRequest.add_member(:data_frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "DataFrequency"))
189
204
  CreateDatasetRequest.add_member(:schema, Shapes::ShapeRef.new(shape: Schema, required: true, location_name: "Schema"))
190
205
  CreateDatasetRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
206
+ CreateDatasetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
191
207
  CreateDatasetRequest.struct_class = Types::CreateDatasetRequest
192
208
 
193
209
  CreateDatasetResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetArn"))
@@ -196,6 +212,7 @@ module Aws::ForecastService
196
212
  CreateForecastExportJobRequest.add_member(:forecast_export_job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ForecastExportJobName"))
197
213
  CreateForecastExportJobRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn"))
198
214
  CreateForecastExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
215
+ CreateForecastExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
199
216
  CreateForecastExportJobRequest.struct_class = Types::CreateForecastExportJobRequest
200
217
 
201
218
  CreateForecastExportJobResponse.add_member(:forecast_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastExportJobArn"))
@@ -204,6 +221,7 @@ module Aws::ForecastService
204
221
  CreateForecastRequest.add_member(:forecast_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ForecastName"))
205
222
  CreateForecastRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
206
223
  CreateForecastRequest.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
224
+ CreateForecastRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
207
225
  CreateForecastRequest.struct_class = Types::CreateForecastRequest
208
226
 
209
227
  CreateForecastResponse.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastArn"))
@@ -220,6 +238,7 @@ module Aws::ForecastService
220
238
  CreatePredictorRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
221
239
  CreatePredictorRequest.add_member(:featurization_config, Shapes::ShapeRef.new(shape: FeaturizationConfig, required: true, location_name: "FeaturizationConfig"))
222
240
  CreatePredictorRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
241
+ CreatePredictorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
223
242
  CreatePredictorRequest.struct_class = Types::CreatePredictorRequest
224
243
 
225
244
  CreatePredictorResponse.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorArn"))
@@ -523,6 +542,12 @@ module Aws::ForecastService
523
542
  ListPredictorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
524
543
  ListPredictorsResponse.struct_class = Types::ListPredictorsResponse
525
544
 
545
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
546
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
547
+
548
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
549
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
550
+
526
551
  Metrics.add_member(:rmse, Shapes::ShapeRef.new(shape: Double, location_name: "RMSE"))
527
552
  Metrics.add_member(:weighted_quantile_losses, Shapes::ShapeRef.new(shape: WeightedQuantileLosses, location_name: "WeightedQuantileLosses"))
528
553
  Metrics.struct_class = Types::Metrics
@@ -593,6 +618,20 @@ module Aws::ForecastService
593
618
 
594
619
  SupplementaryFeatures.member = Shapes::ShapeRef.new(shape: SupplementaryFeature)
595
620
 
621
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
622
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
623
+ Tag.struct_class = Types::Tag
624
+
625
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
626
+
627
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
628
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
629
+ TagResourceRequest.struct_class = Types::TagResourceRequest
630
+
631
+ TagResourceResponse.struct_class = Types::TagResourceResponse
632
+
633
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
634
+
596
635
  TestWindowDetails.member = Shapes::ShapeRef.new(shape: TestWindowSummary)
597
636
 
598
637
  TestWindowSummary.add_member(:test_window_start, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TestWindowStart"))
@@ -606,6 +645,12 @@ module Aws::ForecastService
606
645
  TrainingParameters.key = Shapes::ShapeRef.new(shape: ParameterKey)
607
646
  TrainingParameters.value = Shapes::ShapeRef.new(shape: ParameterValue)
608
647
 
648
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
649
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
650
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
651
+
652
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
653
+
609
654
  UpdateDatasetGroupRequest.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetGroupArn"))
610
655
  UpdateDatasetGroupRequest.add_member(:dataset_arns, Shapes::ShapeRef.new(shape: ArnList, required: true, location_name: "DatasetArns"))
611
656
  UpdateDatasetGroupRequest.struct_class = Types::UpdateDatasetGroupRequest
@@ -953,6 +998,37 @@ module Aws::ForecastService
953
998
  )
954
999
  end)
955
1000
 
1001
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1002
+ o.name = "ListTagsForResource"
1003
+ o.http_method = "POST"
1004
+ o.http_request_uri = "/"
1005
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1006
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1009
+ end)
1010
+
1011
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1012
+ o.name = "TagResource"
1013
+ o.http_method = "POST"
1014
+ o.http_request_uri = "/"
1015
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1016
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1017
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1018
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1020
+ end)
1021
+
1022
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1023
+ o.name = "UntagResource"
1024
+ o.http_method = "POST"
1025
+ o.http_request_uri = "/"
1026
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1027
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1028
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1030
+ end)
1031
+
956
1032
  api.add_operation(:update_dataset_group, Seahorse::Model::Operation.new.tap do |o|
957
1033
  o.name = "UpdateDatasetGroup"
958
1034
  o.http_method = "POST"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -32,6 +34,7 @@ module Aws::ForecastService
32
34
  class CategoricalParameterRange < Struct.new(
33
35
  :name,
34
36
  :values)
37
+ SENSITIVE = []
35
38
  include Aws::Structure
36
39
  end
37
40
 
@@ -105,6 +108,7 @@ module Aws::ForecastService
105
108
  :max_value,
106
109
  :min_value,
107
110
  :scaling_type)
111
+ SENSITIVE = []
108
112
  include Aws::Structure
109
113
  end
110
114
 
@@ -115,6 +119,12 @@ module Aws::ForecastService
115
119
  # dataset_group_name: "Name", # required
116
120
  # domain: "RETAIL", # required, accepts RETAIL, CUSTOM, INVENTORY_PLANNING, EC2_CAPACITY, WORK_FORCE, WEB_TRAFFIC, METRICS
117
121
  # dataset_arns: ["Arn"],
122
+ # tags: [
123
+ # {
124
+ # key: "TagKey", # required
125
+ # value: "TagValue", # required
126
+ # },
127
+ # ],
118
128
  # }
119
129
  #
120
130
  # @!attribute [rw] dataset_group_name
@@ -139,12 +149,47 @@ module Aws::ForecastService
139
149
  # want to include in the dataset group.
140
150
  # @return [Array<String>]
141
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
+ #
142
185
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetGroupRequest AWS API Documentation
143
186
  #
144
187
  class CreateDatasetGroupRequest < Struct.new(
145
188
  :dataset_group_name,
146
189
  :domain,
147
- :dataset_arns)
190
+ :dataset_arns,
191
+ :tags)
192
+ SENSITIVE = []
148
193
  include Aws::Structure
149
194
  end
150
195
 
@@ -156,6 +201,7 @@ module Aws::ForecastService
156
201
  #
157
202
  class CreateDatasetGroupResponse < Struct.new(
158
203
  :dataset_group_arn)
204
+ SENSITIVE = []
159
205
  include Aws::Structure
160
206
  end
161
207
 
@@ -173,6 +219,12 @@ module Aws::ForecastService
173
219
  # },
174
220
  # },
175
221
  # timestamp_format: "TimestampFormat",
222
+ # tags: [
223
+ # {
224
+ # key: "TagKey", # required
225
+ # value: "TagValue", # required
226
+ # },
227
+ # ],
176
228
  # }
177
229
  #
178
230
  # @!attribute [rw] dataset_import_job_name
@@ -218,13 +270,48 @@ module Aws::ForecastService
218
270
  # to be "yyyy-MM-dd HH:mm:ss".
219
271
  # @return [String]
220
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
+ #
221
306
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetImportJobRequest AWS API Documentation
222
307
  #
223
308
  class CreateDatasetImportJobRequest < Struct.new(
224
309
  :dataset_import_job_name,
225
310
  :dataset_arn,
226
311
  :data_source,
227
- :timestamp_format)
312
+ :timestamp_format,
313
+ :tags)
314
+ SENSITIVE = []
228
315
  include Aws::Structure
229
316
  end
230
317
 
@@ -236,6 +323,7 @@ module Aws::ForecastService
236
323
  #
237
324
  class CreateDatasetImportJobResponse < Struct.new(
238
325
  :dataset_import_job_arn)
326
+ SENSITIVE = []
239
327
  include Aws::Structure
240
328
  end
241
329
 
@@ -259,6 +347,12 @@ module Aws::ForecastService
259
347
  # role_arn: "Arn", # required
260
348
  # kms_key_arn: "KMSKeyArn", # required
261
349
  # },
350
+ # tags: [
351
+ # {
352
+ # key: "TagKey", # required
353
+ # value: "TagValue", # required
354
+ # },
355
+ # ],
262
356
  # }
263
357
  #
264
358
  # @!attribute [rw] dataset_name
@@ -306,6 +400,39 @@ module Aws::ForecastService
306
400
  # access the key.
307
401
  # @return [Types::EncryptionConfig]
308
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
+ #
309
436
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetRequest AWS API Documentation
310
437
  #
311
438
  class CreateDatasetRequest < Struct.new(
@@ -314,7 +441,9 @@ module Aws::ForecastService
314
441
  :dataset_type,
315
442
  :data_frequency,
316
443
  :schema,
317
- :encryption_config)
444
+ :encryption_config,
445
+ :tags)
446
+ SENSITIVE = []
318
447
  include Aws::Structure
319
448
  end
320
449
 
@@ -326,6 +455,7 @@ module Aws::ForecastService
326
455
  #
327
456
  class CreateDatasetResponse < Struct.new(
328
457
  :dataset_arn)
458
+ SENSITIVE = []
329
459
  include Aws::Structure
330
460
  end
331
461
 
@@ -342,6 +472,12 @@ module Aws::ForecastService
342
472
  # kms_key_arn: "KMSKeyArn",
343
473
  # },
344
474
  # },
475
+ # tags: [
476
+ # {
477
+ # key: "TagKey", # required
478
+ # value: "TagValue", # required
479
+ # },
480
+ # ],
345
481
  # }
346
482
  #
347
483
  # @!attribute [rw] forecast_export_job_name
@@ -364,12 +500,47 @@ module Aws::ForecastService
364
500
  # Forecast permission to access the key.
365
501
  # @return [Types::DataDestination]
366
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
+ #
367
536
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastExportJobRequest AWS API Documentation
368
537
  #
369
538
  class CreateForecastExportJobRequest < Struct.new(
370
539
  :forecast_export_job_name,
371
540
  :forecast_arn,
372
- :destination)
541
+ :destination,
542
+ :tags)
543
+ SENSITIVE = []
373
544
  include Aws::Structure
374
545
  end
375
546
 
@@ -381,6 +552,7 @@ module Aws::ForecastService
381
552
  #
382
553
  class CreateForecastExportJobResponse < Struct.new(
383
554
  :forecast_export_job_arn)
555
+ SENSITIVE = []
384
556
  include Aws::Structure
385
557
  end
386
558
 
@@ -391,6 +563,12 @@ module Aws::ForecastService
391
563
  # forecast_name: "Name", # required
392
564
  # predictor_arn: "Arn", # required
393
565
  # forecast_types: ["ForecastType"],
566
+ # tags: [
567
+ # {
568
+ # key: "TagKey", # required
569
+ # value: "TagValue", # required
570
+ # },
571
+ # ],
394
572
  # }
395
573
  #
396
574
  # @!attribute [rw] forecast_name
@@ -403,20 +581,55 @@ module Aws::ForecastService
403
581
  # @return [String]
404
582
  #
405
583
  # @!attribute [rw] forecast_types
406
- # The quantiles at which probabilistic forecasts are generated. You
407
- # can specify up to 5 quantiles per forecast. Accepted values include
408
- # `0.01 to 0.99` (increments of .01 only) and `mean`. The mean
409
- # forecast is different from the median (0.50) when the distribution
410
- # is not symmetric (e.g. Beta, Negative Binomial). The default value
411
- # 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"]`.
412
590
  # @return [Array<String>]
413
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
+ #
414
625
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastRequest AWS API Documentation
415
626
  #
416
627
  class CreateForecastRequest < Struct.new(
417
628
  :forecast_name,
418
629
  :predictor_arn,
419
- :forecast_types)
630
+ :forecast_types,
631
+ :tags)
632
+ SENSITIVE = []
420
633
  include Aws::Structure
421
634
  end
422
635
 
@@ -428,6 +641,7 @@ module Aws::ForecastService
428
641
  #
429
642
  class CreateForecastResponse < Struct.new(
430
643
  :forecast_arn)
644
+ SENSITIVE = []
431
645
  include Aws::Structure
432
646
  end
433
647
 
@@ -503,6 +717,12 @@ module Aws::ForecastService
503
717
  # role_arn: "Arn", # required
504
718
  # kms_key_arn: "KMSKeyArn", # required
505
719
  # },
720
+ # tags: [
721
+ # {
722
+ # key: "TagKey", # required
723
+ # value: "TagValue", # required
724
+ # },
725
+ # ],
506
726
  # }
507
727
  #
508
728
  # @!attribute [rw] predictor_name
@@ -618,6 +838,39 @@ module Aws::ForecastService
618
838
  # access the key.
619
839
  # @return [Types::EncryptionConfig]
620
840
  #
841
+ # @!attribute [rw] tags
842
+ # The optional metadata that you apply to the predictor to help you
843
+ # categorize and organize them. Each tag consists of a key and an
844
+ # optional value, both of which you define.
845
+ #
846
+ # The following basic restrictions apply to tags:
847
+ #
848
+ # * Maximum number of tags per resource - 50.
849
+ #
850
+ # * For each resource, each tag key must be unique, and each tag key
851
+ # can have only one value.
852
+ #
853
+ # * Maximum key length - 128 Unicode characters in UTF-8.
854
+ #
855
+ # * Maximum value length - 256 Unicode characters in UTF-8.
856
+ #
857
+ # * If your tagging schema is used across multiple services and
858
+ # resources, remember that other services may have restrictions on
859
+ # allowed characters. Generally allowed characters are: letters,
860
+ # numbers, and spaces representable in UTF-8, and the following
861
+ # characters: + - = . \_ : / @.
862
+ #
863
+ # * Tag keys and values are case sensitive.
864
+ #
865
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
866
+ # of such as a prefix for keys as it is reserved for AWS use. You
867
+ # cannot edit or delete tag keys with this prefix. Values can have
868
+ # this prefix. If a tag value has `aws` as its prefix but the key
869
+ # does not, then Forecast considers it to be a user tag and will
870
+ # count against the limit of 50 tags. Tags with only the key prefix
871
+ # of `aws` do not count against your tags per resource limit.
872
+ # @return [Array<Types::Tag>]
873
+ #
621
874
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorRequest AWS API Documentation
622
875
  #
623
876
  class CreatePredictorRequest < Struct.new(
@@ -631,7 +884,9 @@ module Aws::ForecastService
631
884
  :hpo_config,
632
885
  :input_data_config,
633
886
  :featurization_config,
634
- :encryption_config)
887
+ :encryption_config,
888
+ :tags)
889
+ SENSITIVE = []
635
890
  include Aws::Structure
636
891
  end
637
892
 
@@ -643,6 +898,7 @@ module Aws::ForecastService
643
898
  #
644
899
  class CreatePredictorResponse < Struct.new(
645
900
  :predictor_arn)
901
+ SENSITIVE = []
646
902
  include Aws::Structure
647
903
  end
648
904
 
@@ -671,6 +927,7 @@ module Aws::ForecastService
671
927
  #
672
928
  class DataDestination < Struct.new(
673
929
  :s3_config)
930
+ SENSITIVE = []
674
931
  include Aws::Structure
675
932
  end
676
933
 
@@ -700,6 +957,7 @@ module Aws::ForecastService
700
957
  #
701
958
  class DataSource < Struct.new(
702
959
  :s3_config)
960
+ SENSITIVE = []
703
961
  include Aws::Structure
704
962
  end
705
963
 
@@ -734,6 +992,7 @@ module Aws::ForecastService
734
992
  :dataset_group_name,
735
993
  :creation_time,
736
994
  :last_modification_time)
995
+ SENSITIVE = []
737
996
  include Aws::Structure
738
997
  end
739
998
 
@@ -802,6 +1061,7 @@ module Aws::ForecastService
802
1061
  :message,
803
1062
  :creation_time,
804
1063
  :last_modification_time)
1064
+ SENSITIVE = []
805
1065
  include Aws::Structure
806
1066
  end
807
1067
 
@@ -846,6 +1106,7 @@ module Aws::ForecastService
846
1106
  :domain,
847
1107
  :creation_time,
848
1108
  :last_modification_time)
1109
+ SENSITIVE = []
849
1110
  include Aws::Structure
850
1111
  end
851
1112
 
@@ -864,6 +1125,7 @@ module Aws::ForecastService
864
1125
  #
865
1126
  class DeleteDatasetGroupRequest < Struct.new(
866
1127
  :dataset_group_arn)
1128
+ SENSITIVE = []
867
1129
  include Aws::Structure
868
1130
  end
869
1131
 
@@ -882,6 +1144,7 @@ module Aws::ForecastService
882
1144
  #
883
1145
  class DeleteDatasetImportJobRequest < Struct.new(
884
1146
  :dataset_import_job_arn)
1147
+ SENSITIVE = []
885
1148
  include Aws::Structure
886
1149
  end
887
1150
 
@@ -900,6 +1163,7 @@ module Aws::ForecastService
900
1163
  #
901
1164
  class DeleteDatasetRequest < Struct.new(
902
1165
  :dataset_arn)
1166
+ SENSITIVE = []
903
1167
  include Aws::Structure
904
1168
  end
905
1169
 
@@ -918,6 +1182,7 @@ module Aws::ForecastService
918
1182
  #
919
1183
  class DeleteForecastExportJobRequest < Struct.new(
920
1184
  :forecast_export_job_arn)
1185
+ SENSITIVE = []
921
1186
  include Aws::Structure
922
1187
  end
923
1188
 
@@ -936,6 +1201,7 @@ module Aws::ForecastService
936
1201
  #
937
1202
  class DeleteForecastRequest < Struct.new(
938
1203
  :forecast_arn)
1204
+ SENSITIVE = []
939
1205
  include Aws::Structure
940
1206
  end
941
1207
 
@@ -954,6 +1220,7 @@ module Aws::ForecastService
954
1220
  #
955
1221
  class DeletePredictorRequest < Struct.new(
956
1222
  :predictor_arn)
1223
+ SENSITIVE = []
957
1224
  include Aws::Structure
958
1225
  end
959
1226
 
@@ -972,6 +1239,7 @@ module Aws::ForecastService
972
1239
  #
973
1240
  class DescribeDatasetGroupRequest < Struct.new(
974
1241
  :dataset_group_arn)
1242
+ SENSITIVE = []
975
1243
  include Aws::Structure
976
1244
  end
977
1245
 
@@ -1033,6 +1301,7 @@ module Aws::ForecastService
1033
1301
  :status,
1034
1302
  :creation_time,
1035
1303
  :last_modification_time)
1304
+ SENSITIVE = []
1036
1305
  include Aws::Structure
1037
1306
  end
1038
1307
 
@@ -1051,6 +1320,7 @@ module Aws::ForecastService
1051
1320
  #
1052
1321
  class DescribeDatasetImportJobRequest < Struct.new(
1053
1322
  :dataset_import_job_arn)
1323
+ SENSITIVE = []
1054
1324
  include Aws::Structure
1055
1325
  end
1056
1326
 
@@ -1146,6 +1416,7 @@ module Aws::ForecastService
1146
1416
  :message,
1147
1417
  :creation_time,
1148
1418
  :last_modification_time)
1419
+ SENSITIVE = []
1149
1420
  include Aws::Structure
1150
1421
  end
1151
1422
 
@@ -1164,6 +1435,7 @@ module Aws::ForecastService
1164
1435
  #
1165
1436
  class DescribeDatasetRequest < Struct.new(
1166
1437
  :dataset_arn)
1438
+ SENSITIVE = []
1167
1439
  include Aws::Structure
1168
1440
  end
1169
1441
 
@@ -1252,6 +1524,7 @@ module Aws::ForecastService
1252
1524
  :status,
1253
1525
  :creation_time,
1254
1526
  :last_modification_time)
1527
+ SENSITIVE = []
1255
1528
  include Aws::Structure
1256
1529
  end
1257
1530
 
@@ -1270,6 +1543,7 @@ module Aws::ForecastService
1270
1543
  #
1271
1544
  class DescribeForecastExportJobRequest < Struct.new(
1272
1545
  :forecast_export_job_arn)
1546
+ SENSITIVE = []
1273
1547
  include Aws::Structure
1274
1548
  end
1275
1549
 
@@ -1328,6 +1602,7 @@ module Aws::ForecastService
1328
1602
  :status,
1329
1603
  :creation_time,
1330
1604
  :last_modification_time)
1605
+ SENSITIVE = []
1331
1606
  include Aws::Structure
1332
1607
  end
1333
1608
 
@@ -1346,6 +1621,7 @@ module Aws::ForecastService
1346
1621
  #
1347
1622
  class DescribeForecastRequest < Struct.new(
1348
1623
  :forecast_arn)
1624
+ SENSITIVE = []
1349
1625
  include Aws::Structure
1350
1626
  end
1351
1627
 
@@ -1358,7 +1634,7 @@ module Aws::ForecastService
1358
1634
  # @return [String]
1359
1635
  #
1360
1636
  # @!attribute [rw] forecast_types
1361
- # The quantiles at which proababilistic forecasts were generated.
1637
+ # The quantiles at which probabilistic forecasts were generated.
1362
1638
  # @return [Array<String>]
1363
1639
  #
1364
1640
  # @!attribute [rw] predictor_arn
@@ -1413,6 +1689,7 @@ module Aws::ForecastService
1413
1689
  :message,
1414
1690
  :creation_time,
1415
1691
  :last_modification_time)
1692
+ SENSITIVE = []
1416
1693
  include Aws::Structure
1417
1694
  end
1418
1695
 
@@ -1432,6 +1709,7 @@ module Aws::ForecastService
1432
1709
  #
1433
1710
  class DescribePredictorRequest < Struct.new(
1434
1711
  :predictor_arn)
1712
+ SENSITIVE = []
1435
1713
  include Aws::Structure
1436
1714
  end
1437
1715
 
@@ -1567,6 +1845,7 @@ module Aws::ForecastService
1567
1845
  :message,
1568
1846
  :creation_time,
1569
1847
  :last_modification_time)
1848
+ SENSITIVE = []
1570
1849
  include Aws::Structure
1571
1850
  end
1572
1851
 
@@ -1601,6 +1880,7 @@ module Aws::ForecastService
1601
1880
  class EncryptionConfig < Struct.new(
1602
1881
  :role_arn,
1603
1882
  :kms_key_arn)
1883
+ SENSITIVE = []
1604
1884
  include Aws::Structure
1605
1885
  end
1606
1886
 
@@ -1640,6 +1920,7 @@ module Aws::ForecastService
1640
1920
  class EvaluationParameters < Struct.new(
1641
1921
  :number_of_backtest_windows,
1642
1922
  :back_test_window_offset)
1923
+ SENSITIVE = []
1643
1924
  include Aws::Structure
1644
1925
  end
1645
1926
 
@@ -1661,6 +1942,7 @@ module Aws::ForecastService
1661
1942
  class EvaluationResult < Struct.new(
1662
1943
  :algorithm_arn,
1663
1944
  :test_windows)
1945
+ SENSITIVE = []
1664
1946
  include Aws::Structure
1665
1947
  end
1666
1948
 
@@ -1701,10 +1983,11 @@ module Aws::ForecastService
1701
1983
  #
1702
1984
  # @!attribute [rw] attribute_name
1703
1985
  # The name of the schema attribute that specifies the data field to be
1704
- # featurized. Only the `target` field of the `TARGET_TIME_SERIES`
1705
- # dataset type is supported. For example, for the `RETAIL` domain, the
1706
- # target is `demand`, and for the `CUSTOM` domain, the target is
1707
- # `target_value`.
1986
+ # featurized. Amazon Forecast supports the target field of the
1987
+ # `TARGET_TIME_SERIES` and the `RELATED_TIME_SERIES` datasets. For
1988
+ # example, for the `RETAIL` domain, the target is `demand`, and for
1989
+ # the `CUSTOM` domain, the target is `target_value`. For more
1990
+ # information, see howitworks-missing-values.
1708
1991
  # @return [String]
1709
1992
  #
1710
1993
  # @!attribute [rw] featurization_pipeline
@@ -1717,6 +2000,7 @@ module Aws::ForecastService
1717
2000
  class Featurization < Struct.new(
1718
2001
  :attribute_name,
1719
2002
  :featurization_pipeline)
2003
+ SENSITIVE = []
1720
2004
  include Aws::Structure
1721
2005
  end
1722
2006
 
@@ -1729,8 +2013,8 @@ module Aws::ForecastService
1729
2013
  # specify an array of transformations, one for each field that you want
1730
2014
  # to featurize. You then include the `FeaturizationConfig` object in
1731
2015
  # your `CreatePredictor` request. Amazon Forecast applies the
1732
- # featurization to the `TARGET_TIME_SERIES` dataset before model
1733
- # training.
2016
+ # featurization to the `TARGET_TIME_SERIES` and `RELATED_TIME_SERIES`
2017
+ # datasets before model training.
1734
2018
  #
1735
2019
  # You can create multiple featurization configurations. For example, you
1736
2020
  # might call the `CreatePredictor` operation twice by specifying
@@ -1790,7 +2074,7 @@ module Aws::ForecastService
1790
2074
  #
1791
2075
  # @!attribute [rw] featurizations
1792
2076
  # An array of featurization (transformation) information for the
1793
- # fields of a dataset. Only a single featurization is supported.
2077
+ # fields of a dataset.
1794
2078
  # @return [Array<Types::Featurization>]
1795
2079
  #
1796
2080
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/FeaturizationConfig AWS API Documentation
@@ -1799,14 +2083,13 @@ module Aws::ForecastService
1799
2083
  :forecast_frequency,
1800
2084
  :forecast_dimensions,
1801
2085
  :featurizations)
2086
+ SENSITIVE = []
1802
2087
  include Aws::Structure
1803
2088
  end
1804
2089
 
1805
2090
  # Provides information about the method that featurizes (transforms) a
1806
2091
  # dataset field. The method is part of the `FeaturizationPipeline` of
1807
- # the Featurization object. If you don't specify
1808
- # `FeaturizationMethodParameters`, Amazon Forecast uses default
1809
- # parameters.
2092
+ # the Featurization object.
1810
2093
  #
1811
2094
  # The following is an example of how you specify a `FeaturizationMethod`
1812
2095
  # object.
@@ -1815,8 +2098,8 @@ module Aws::ForecastService
1815
2098
  #
1816
2099
  # `"FeaturizationMethodName": "filling",`
1817
2100
  #
1818
- # `"FeaturizationMethodParameters": \{"aggregation": "avg", "backfill":
1819
- # "nan"\}`
2101
+ # `"FeaturizationMethodParameters": \{"aggregation": "sum",
2102
+ # "middlefill": "zero", "backfill": "zero"\}`
1820
2103
  #
1821
2104
  # `\}`
1822
2105
  #
@@ -1836,17 +2119,33 @@ module Aws::ForecastService
1836
2119
  # @return [String]
1837
2120
  #
1838
2121
  # @!attribute [rw] featurization_method_parameters
1839
- # The method parameters (key-value pairs). Specify these parameters to
1840
- # override the default values. The following list shows the parameters
1841
- # and their valid values. Bold signifies the default value.
2122
+ # The method parameters (key-value pairs), which are a map of override
2123
+ # parameters. Specify these parameters to override the default values.
2124
+ # Related Time Series attributes do not accept aggregation parameters.
2125
+ #
2126
+ # The following list shows the parameters and their valid values for
2127
+ # the "filling" featurization method for a **Target Time Series**
2128
+ # dataset. Bold signifies the default value.
1842
2129
  #
1843
2130
  # * `aggregation`\: **sum**, `avg`, `first`, `min`, `max`
1844
2131
  #
1845
2132
  # * `frontfill`\: **none**
1846
2133
  #
1847
- # * `middlefill`\: **zero**, `nan` (not a number)
2134
+ # * `middlefill`\: **zero**, `nan` (not a number), `value`, `median`,
2135
+ # `mean`, `min`, `max`
2136
+ #
2137
+ # * `backfill`\: **zero**, `nan`, `value`, `median`, `mean`, `min`,
2138
+ # `max`
2139
+ #
2140
+ # The following list shows the parameters and their valid values for a
2141
+ # **Related Time Series** featurization method (there are no
2142
+ # defaults):
2143
+ #
2144
+ # * `middlefill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
1848
2145
  #
1849
- # * `backfill`\: **zero**, `nan`
2146
+ # * `backfill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
2147
+ #
2148
+ # * `futurefill`\: `zero`, `value`, `median`, `mean`, `min`, `max`
1850
2149
  # @return [Hash<String,String>]
1851
2150
  #
1852
2151
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/FeaturizationMethod AWS API Documentation
@@ -1854,6 +2153,7 @@ module Aws::ForecastService
1854
2153
  class FeaturizationMethod < Struct.new(
1855
2154
  :featurization_method_name,
1856
2155
  :featurization_method_parameters)
2156
+ SENSITIVE = []
1857
2157
  include Aws::Structure
1858
2158
  end
1859
2159
 
@@ -1892,6 +2192,7 @@ module Aws::ForecastService
1892
2192
  :key,
1893
2193
  :value,
1894
2194
  :condition)
2195
+ SENSITIVE = []
1895
2196
  include Aws::Structure
1896
2197
  end
1897
2198
 
@@ -1950,6 +2251,7 @@ module Aws::ForecastService
1950
2251
  :message,
1951
2252
  :creation_time,
1952
2253
  :last_modification_time)
2254
+ SENSITIVE = []
1953
2255
  include Aws::Structure
1954
2256
  end
1955
2257
 
@@ -2017,6 +2319,7 @@ module Aws::ForecastService
2017
2319
  :message,
2018
2320
  :creation_time,
2019
2321
  :last_modification_time)
2322
+ SENSITIVE = []
2020
2323
  include Aws::Structure
2021
2324
  end
2022
2325
 
@@ -2035,6 +2338,7 @@ module Aws::ForecastService
2035
2338
  #
2036
2339
  class GetAccuracyMetricsRequest < Struct.new(
2037
2340
  :predictor_arn)
2341
+ SENSITIVE = []
2038
2342
  include Aws::Structure
2039
2343
  end
2040
2344
 
@@ -2046,6 +2350,7 @@ module Aws::ForecastService
2046
2350
  #
2047
2351
  class GetAccuracyMetricsResponse < Struct.new(
2048
2352
  :predictor_evaluation_results)
2353
+ SENSITIVE = []
2049
2354
  include Aws::Structure
2050
2355
  end
2051
2356
 
@@ -2102,6 +2407,7 @@ module Aws::ForecastService
2102
2407
  #
2103
2408
  class HyperParameterTuningJobConfig < Struct.new(
2104
2409
  :parameter_ranges)
2410
+ SENSITIVE = []
2105
2411
  include Aws::Structure
2106
2412
  end
2107
2413
 
@@ -2136,6 +2442,7 @@ module Aws::ForecastService
2136
2442
  class InputDataConfig < Struct.new(
2137
2443
  :dataset_group_arn,
2138
2444
  :supplementary_features)
2445
+ SENSITIVE = []
2139
2446
  include Aws::Structure
2140
2447
  end
2141
2448
 
@@ -2208,6 +2515,7 @@ module Aws::ForecastService
2208
2515
  :max_value,
2209
2516
  :min_value,
2210
2517
  :scaling_type)
2518
+ SENSITIVE = []
2211
2519
  include Aws::Structure
2212
2520
  end
2213
2521
 
@@ -2221,6 +2529,7 @@ module Aws::ForecastService
2221
2529
  #
2222
2530
  class InvalidInputException < Struct.new(
2223
2531
  :message)
2532
+ SENSITIVE = []
2224
2533
  include Aws::Structure
2225
2534
  end
2226
2535
 
@@ -2233,6 +2542,7 @@ module Aws::ForecastService
2233
2542
  #
2234
2543
  class InvalidNextTokenException < Struct.new(
2235
2544
  :message)
2545
+ SENSITIVE = []
2236
2546
  include Aws::Structure
2237
2547
  end
2238
2548
 
@@ -2245,6 +2555,7 @@ module Aws::ForecastService
2245
2555
  #
2246
2556
  class LimitExceededException < Struct.new(
2247
2557
  :message)
2558
+ SENSITIVE = []
2248
2559
  include Aws::Structure
2249
2560
  end
2250
2561
 
@@ -2271,6 +2582,7 @@ module Aws::ForecastService
2271
2582
  class ListDatasetGroupsRequest < Struct.new(
2272
2583
  :next_token,
2273
2584
  :max_results)
2585
+ SENSITIVE = []
2274
2586
  include Aws::Structure
2275
2587
  end
2276
2588
 
@@ -2288,6 +2600,7 @@ module Aws::ForecastService
2288
2600
  class ListDatasetGroupsResponse < Struct.new(
2289
2601
  :dataset_groups,
2290
2602
  :next_token)
2603
+ SENSITIVE = []
2291
2604
  include Aws::Structure
2292
2605
  end
2293
2606
 
@@ -2347,6 +2660,7 @@ module Aws::ForecastService
2347
2660
  :next_token,
2348
2661
  :max_results,
2349
2662
  :filters)
2663
+ SENSITIVE = []
2350
2664
  include Aws::Structure
2351
2665
  end
2352
2666
 
@@ -2365,6 +2679,7 @@ module Aws::ForecastService
2365
2679
  class ListDatasetImportJobsResponse < Struct.new(
2366
2680
  :dataset_import_jobs,
2367
2681
  :next_token)
2682
+ SENSITIVE = []
2368
2683
  include Aws::Structure
2369
2684
  end
2370
2685
 
@@ -2391,6 +2706,7 @@ module Aws::ForecastService
2391
2706
  class ListDatasetsRequest < Struct.new(
2392
2707
  :next_token,
2393
2708
  :max_results)
2709
+ SENSITIVE = []
2394
2710
  include Aws::Structure
2395
2711
  end
2396
2712
 
@@ -2408,6 +2724,7 @@ module Aws::ForecastService
2408
2724
  class ListDatasetsResponse < Struct.new(
2409
2725
  :datasets,
2410
2726
  :next_token)
2727
+ SENSITIVE = []
2411
2728
  include Aws::Structure
2412
2729
  end
2413
2730
 
@@ -2469,6 +2786,7 @@ module Aws::ForecastService
2469
2786
  :next_token,
2470
2787
  :max_results,
2471
2788
  :filters)
2789
+ SENSITIVE = []
2472
2790
  include Aws::Structure
2473
2791
  end
2474
2792
 
@@ -2486,6 +2804,7 @@ module Aws::ForecastService
2486
2804
  class ListForecastExportJobsResponse < Struct.new(
2487
2805
  :forecast_export_jobs,
2488
2806
  :next_token)
2807
+ SENSITIVE = []
2489
2808
  include Aws::Structure
2490
2809
  end
2491
2810
 
@@ -2545,6 +2864,7 @@ module Aws::ForecastService
2545
2864
  :next_token,
2546
2865
  :max_results,
2547
2866
  :filters)
2867
+ SENSITIVE = []
2548
2868
  include Aws::Structure
2549
2869
  end
2550
2870
 
@@ -2562,6 +2882,7 @@ module Aws::ForecastService
2562
2882
  class ListForecastsResponse < Struct.new(
2563
2883
  :forecasts,
2564
2884
  :next_token)
2885
+ SENSITIVE = []
2565
2886
  include Aws::Structure
2566
2887
  end
2567
2888
 
@@ -2621,6 +2942,7 @@ module Aws::ForecastService
2621
2942
  :next_token,
2622
2943
  :max_results,
2623
2944
  :filters)
2945
+ SENSITIVE = []
2624
2946
  include Aws::Structure
2625
2947
  end
2626
2948
 
@@ -2638,6 +2960,41 @@ module Aws::ForecastService
2638
2960
  class ListPredictorsResponse < Struct.new(
2639
2961
  :predictors,
2640
2962
  :next_token)
2963
+ SENSITIVE = []
2964
+ include Aws::Structure
2965
+ end
2966
+
2967
+ # @note When making an API call, you may pass ListTagsForResourceRequest
2968
+ # data as a hash:
2969
+ #
2970
+ # {
2971
+ # resource_arn: "Arn", # required
2972
+ # }
2973
+ #
2974
+ # @!attribute [rw] resource_arn
2975
+ # The Amazon Resource Name (ARN) that identifies the resource for
2976
+ # which to list the tags. Currently, the supported resources are
2977
+ # Forecast dataset groups, datasets, dataset import jobs, predictors,
2978
+ # forecasts, and forecast export jobs.
2979
+ # @return [String]
2980
+ #
2981
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListTagsForResourceRequest AWS API Documentation
2982
+ #
2983
+ class ListTagsForResourceRequest < Struct.new(
2984
+ :resource_arn)
2985
+ SENSITIVE = []
2986
+ include Aws::Structure
2987
+ end
2988
+
2989
+ # @!attribute [rw] tags
2990
+ # The tags for the resource.
2991
+ # @return [Array<Types::Tag>]
2992
+ #
2993
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListTagsForResourceResponse AWS API Documentation
2994
+ #
2995
+ class ListTagsForResourceResponse < Struct.new(
2996
+ :tags)
2997
+ SENSITIVE = []
2641
2998
  include Aws::Structure
2642
2999
  end
2643
3000
 
@@ -2659,6 +3016,7 @@ module Aws::ForecastService
2659
3016
  class Metrics < Struct.new(
2660
3017
  :rmse,
2661
3018
  :weighted_quantile_losses)
3019
+ SENSITIVE = []
2662
3020
  include Aws::Structure
2663
3021
  end
2664
3022
 
@@ -2714,6 +3072,7 @@ module Aws::ForecastService
2714
3072
  :categorical_parameter_ranges,
2715
3073
  :continuous_parameter_ranges,
2716
3074
  :integer_parameter_ranges)
3075
+ SENSITIVE = []
2717
3076
  include Aws::Structure
2718
3077
  end
2719
3078
 
@@ -2735,6 +3094,7 @@ module Aws::ForecastService
2735
3094
  class PredictorExecution < Struct.new(
2736
3095
  :algorithm_arn,
2737
3096
  :test_windows)
3097
+ SENSITIVE = []
2738
3098
  include Aws::Structure
2739
3099
  end
2740
3100
 
@@ -2754,6 +3114,7 @@ module Aws::ForecastService
2754
3114
  #
2755
3115
  class PredictorExecutionDetails < Struct.new(
2756
3116
  :predictor_executions)
3117
+ SENSITIVE = []
2757
3118
  include Aws::Structure
2758
3119
  end
2759
3120
 
@@ -2817,6 +3178,7 @@ module Aws::ForecastService
2817
3178
  :message,
2818
3179
  :creation_time,
2819
3180
  :last_modification_time)
3181
+ SENSITIVE = []
2820
3182
  include Aws::Structure
2821
3183
  end
2822
3184
 
@@ -2830,6 +3192,7 @@ module Aws::ForecastService
2830
3192
  #
2831
3193
  class ResourceAlreadyExistsException < Struct.new(
2832
3194
  :message)
3195
+ SENSITIVE = []
2833
3196
  include Aws::Structure
2834
3197
  end
2835
3198
 
@@ -2842,6 +3205,7 @@ module Aws::ForecastService
2842
3205
  #
2843
3206
  class ResourceInUseException < Struct.new(
2844
3207
  :message)
3208
+ SENSITIVE = []
2845
3209
  include Aws::Structure
2846
3210
  end
2847
3211
 
@@ -2855,6 +3219,7 @@ module Aws::ForecastService
2855
3219
  #
2856
3220
  class ResourceNotFoundException < Struct.new(
2857
3221
  :message)
3222
+ SENSITIVE = []
2858
3223
  include Aws::Structure
2859
3224
  end
2860
3225
 
@@ -2902,6 +3267,7 @@ module Aws::ForecastService
2902
3267
  :path,
2903
3268
  :role_arn,
2904
3269
  :kms_key_arn)
3270
+ SENSITIVE = []
2905
3271
  include Aws::Structure
2906
3272
  end
2907
3273
 
@@ -2929,6 +3295,7 @@ module Aws::ForecastService
2929
3295
  #
2930
3296
  class Schema < Struct.new(
2931
3297
  :attributes)
3298
+ SENSITIVE = []
2932
3299
  include Aws::Structure
2933
3300
  end
2934
3301
 
@@ -2957,6 +3324,7 @@ module Aws::ForecastService
2957
3324
  class SchemaAttribute < Struct.new(
2958
3325
  :attribute_name,
2959
3326
  :attribute_type)
3327
+ SENSITIVE = []
2960
3328
  include Aws::Structure
2961
3329
  end
2962
3330
 
@@ -3006,6 +3374,7 @@ module Aws::ForecastService
3006
3374
  :max,
3007
3375
  :avg,
3008
3376
  :stddev)
3377
+ SENSITIVE = []
3009
3378
  include Aws::Structure
3010
3379
  end
3011
3380
 
@@ -3017,6 +3386,35 @@ module Aws::ForecastService
3017
3386
  # as the calendar. For the holiday calendar data, see the [Jollyday][1]
3018
3387
  # web site.
3019
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**
3393
+ #
3394
+ # * `JANUARY 26 - REPUBLIC DAY`
3395
+ #
3396
+ # * `AUGUST 15 - INDEPENDENCE DAY`
3397
+ #
3398
+ # * `OCTOBER 2 GANDHI'S BIRTHDAY`
3399
+ #
3400
+ # **"KR" - KOREA**
3401
+ #
3402
+ # * `JANUARY 1 - NEW YEAR`
3403
+ #
3404
+ # * `MARCH 1 - INDEPENDENCE MOVEMENT DAY`
3405
+ #
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
+ #
3020
3418
  #
3021
3419
  #
3022
3420
  # [1]: http://jollyday.sourceforge.net/data.html
@@ -3036,15 +3434,69 @@ module Aws::ForecastService
3036
3434
  # @!attribute [rw] value
3037
3435
  # One of the following 2 letter country codes:
3038
3436
  #
3437
+ # * "AR" - ARGENTINA
3438
+ #
3439
+ # * "AT" - AUSTRIA
3440
+ #
3039
3441
  # * "AU" - AUSTRALIA
3040
3442
  #
3443
+ # * "BE" - BELGIUM
3444
+ #
3445
+ # * "BR" - BRAZIL
3446
+ #
3447
+ # * "CA" - CANADA
3448
+ #
3449
+ # * "CN" - CHINA
3450
+ #
3451
+ # * "CZ" - CZECH REPUBLIC
3452
+ #
3453
+ # * "DK" - DENMARK
3454
+ #
3455
+ # * "EC" - ECUADOR
3456
+ #
3457
+ # * "FI" - FINLAND
3458
+ #
3459
+ # * "FR" - FRANCE
3460
+ #
3041
3461
  # * "DE" - GERMANY
3042
3462
  #
3463
+ # * "HU" - HUNGARY
3464
+ #
3465
+ # * "IE" - IRELAND
3466
+ #
3467
+ # * "IN" - INDIA
3468
+ #
3469
+ # * "IT" - ITALY
3470
+ #
3043
3471
  # * "JP" - JAPAN
3044
3472
  #
3045
- # * "US" - UNITED\_STATES
3473
+ # * "KR" - KOREA
3046
3474
  #
3047
- # * "UK" - UNITED\_KINGDOM
3475
+ # * "LU" - LUXEMBOURG
3476
+ #
3477
+ # * "MX" - MEXICO
3478
+ #
3479
+ # * "NL" - NETHERLANDS
3480
+ #
3481
+ # * "NO" - NORWAY
3482
+ #
3483
+ # * "PL" - POLAND
3484
+ #
3485
+ # * "PT" - PORTUGAL
3486
+ #
3487
+ # * "RU" - RUSSIA
3488
+ #
3489
+ # * "ZA" - SOUTH AFRICA
3490
+ #
3491
+ # * "ES" - SPAIN
3492
+ #
3493
+ # * "SE" - SWEDEN
3494
+ #
3495
+ # * "CH" - SWITZERLAND
3496
+ #
3497
+ # * "US" - UNITED STATES
3498
+ #
3499
+ # * "UK" - UNITED KINGDOM
3048
3500
  # @return [String]
3049
3501
  #
3050
3502
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/SupplementaryFeature AWS API Documentation
@@ -3052,9 +3504,134 @@ module Aws::ForecastService
3052
3504
  class SupplementaryFeature < Struct.new(
3053
3505
  :name,
3054
3506
  :value)
3507
+ SENSITIVE = []
3055
3508
  include Aws::Structure
3056
3509
  end
3057
3510
 
3511
+ # The optional metadata that you apply to a resource to help you
3512
+ # categorize and organize them. Each tag consists of a key and an
3513
+ # optional value, both of which you define.
3514
+ #
3515
+ # The following basic restrictions apply to tags:
3516
+ #
3517
+ # * Maximum number of tags per resource - 50.
3518
+ #
3519
+ # * For each resource, each tag key must be unique, and each tag key can
3520
+ # have only one value.
3521
+ #
3522
+ # * Maximum key length - 128 Unicode characters in UTF-8.
3523
+ #
3524
+ # * Maximum value length - 256 Unicode characters in UTF-8.
3525
+ #
3526
+ # * If your tagging schema is used across multiple services and
3527
+ # resources, remember that other services may have restrictions on
3528
+ # allowed characters. Generally allowed characters are: letters,
3529
+ # numbers, and spaces representable in UTF-8, and the following
3530
+ # characters: + - = . \_ : / @.
3531
+ #
3532
+ # * Tag keys and values are case sensitive.
3533
+ #
3534
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
3535
+ # such as a prefix for keys as it is reserved for AWS use. You cannot
3536
+ # edit or delete tag keys with this prefix. Values can have this
3537
+ # prefix. If a tag value has `aws` as its prefix but the key does not,
3538
+ # then Forecast considers it to be a user tag and will count against
3539
+ # the limit of 50 tags. Tags with only the key prefix of `aws` do not
3540
+ # count against your tags per resource limit.
3541
+ #
3542
+ # @note When making an API call, you may pass Tag
3543
+ # data as a hash:
3544
+ #
3545
+ # {
3546
+ # key: "TagKey", # required
3547
+ # value: "TagValue", # required
3548
+ # }
3549
+ #
3550
+ # @!attribute [rw] key
3551
+ # One part of a key-value pair that makes up a tag. A `key` is a
3552
+ # general label that acts like a category for more specific tag
3553
+ # values.
3554
+ # @return [String]
3555
+ #
3556
+ # @!attribute [rw] value
3557
+ # The optional part of a key-value pair that makes up a tag. A `value`
3558
+ # acts as a descriptor within a tag category (key).
3559
+ # @return [String]
3560
+ #
3561
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/Tag AWS API Documentation
3562
+ #
3563
+ class Tag < Struct.new(
3564
+ :key,
3565
+ :value)
3566
+ SENSITIVE = []
3567
+ include Aws::Structure
3568
+ end
3569
+
3570
+ # @note When making an API call, you may pass TagResourceRequest
3571
+ # data as a hash:
3572
+ #
3573
+ # {
3574
+ # resource_arn: "Arn", # required
3575
+ # tags: [ # required
3576
+ # {
3577
+ # key: "TagKey", # required
3578
+ # value: "TagValue", # required
3579
+ # },
3580
+ # ],
3581
+ # }
3582
+ #
3583
+ # @!attribute [rw] resource_arn
3584
+ # The Amazon Resource Name (ARN) that identifies the resource for
3585
+ # which to list the tags. Currently, the supported resources are
3586
+ # Forecast dataset groups, datasets, dataset import jobs, predictors,
3587
+ # forecasts, and forecast export jobs.
3588
+ # @return [String]
3589
+ #
3590
+ # @!attribute [rw] tags
3591
+ # The tags to add to the resource. A tag is an array of key-value
3592
+ # pairs.
3593
+ #
3594
+ # The following basic restrictions apply to tags:
3595
+ #
3596
+ # * Maximum number of tags per resource - 50.
3597
+ #
3598
+ # * For each resource, each tag key must be unique, and each tag key
3599
+ # can have only one value.
3600
+ #
3601
+ # * Maximum key length - 128 Unicode characters in UTF-8.
3602
+ #
3603
+ # * Maximum value length - 256 Unicode characters in UTF-8.
3604
+ #
3605
+ # * If your tagging schema is used across multiple services and
3606
+ # resources, remember that other services may have restrictions on
3607
+ # allowed characters. Generally allowed characters are: letters,
3608
+ # numbers, and spaces representable in UTF-8, and the following
3609
+ # characters: + - = . \_ : / @.
3610
+ #
3611
+ # * Tag keys and values are case sensitive.
3612
+ #
3613
+ # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination
3614
+ # of such as a prefix for keys as it is reserved for AWS use. You
3615
+ # cannot edit or delete tag keys with this prefix. Values can have
3616
+ # this prefix. If a tag value has `aws` as its prefix but the key
3617
+ # does not, then Forecast considers it to be a user tag and will
3618
+ # count against the limit of 50 tags. Tags with only the key prefix
3619
+ # of `aws` do not count against your tags per resource limit.
3620
+ # @return [Array<Types::Tag>]
3621
+ #
3622
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TagResourceRequest AWS API Documentation
3623
+ #
3624
+ class TagResourceRequest < Struct.new(
3625
+ :resource_arn,
3626
+ :tags)
3627
+ SENSITIVE = []
3628
+ include Aws::Structure
3629
+ end
3630
+
3631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TagResourceResponse AWS API Documentation
3632
+ #
3633
+ class TagResourceResponse < Aws::EmptyStructure; end
3634
+
3058
3635
  # The status, start time, and end time of a backtest, as well as a
3059
3636
  # failure reason if applicable.
3060
3637
  #
@@ -3087,9 +3664,42 @@ module Aws::ForecastService
3087
3664
  :test_window_end,
3088
3665
  :status,
3089
3666
  :message)
3667
+ SENSITIVE = []
3668
+ include Aws::Structure
3669
+ end
3670
+
3671
+ # @note When making an API call, you may pass UntagResourceRequest
3672
+ # data as a hash:
3673
+ #
3674
+ # {
3675
+ # resource_arn: "Arn", # required
3676
+ # tag_keys: ["TagKey"], # required
3677
+ # }
3678
+ #
3679
+ # @!attribute [rw] resource_arn
3680
+ # The Amazon Resource Name (ARN) that identifies the resource for
3681
+ # which to list the tags. Currently, the supported resources are
3682
+ # Forecast dataset groups, datasets, dataset import jobs, predictors,
3683
+ # forecasts, and forecast exports.
3684
+ # @return [String]
3685
+ #
3686
+ # @!attribute [rw] tag_keys
3687
+ # The keys of the tags to be removed.
3688
+ # @return [Array<String>]
3689
+ #
3690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UntagResourceRequest AWS API Documentation
3691
+ #
3692
+ class UntagResourceRequest < Struct.new(
3693
+ :resource_arn,
3694
+ :tag_keys)
3695
+ SENSITIVE = []
3090
3696
  include Aws::Structure
3091
3697
  end
3092
3698
 
3699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UntagResourceResponse AWS API Documentation
3700
+ #
3701
+ class UntagResourceResponse < Aws::EmptyStructure; end
3702
+
3093
3703
  # @note When making an API call, you may pass UpdateDatasetGroupRequest
3094
3704
  # data as a hash:
3095
3705
  #
@@ -3112,6 +3722,7 @@ module Aws::ForecastService
3112
3722
  class UpdateDatasetGroupRequest < Struct.new(
3113
3723
  :dataset_group_arn,
3114
3724
  :dataset_arns)
3725
+ SENSITIVE = []
3115
3726
  include Aws::Structure
3116
3727
  end
3117
3728
 
@@ -3140,6 +3751,7 @@ module Aws::ForecastService
3140
3751
  class WeightedQuantileLoss < Struct.new(
3141
3752
  :quantile,
3142
3753
  :loss_value)
3754
+ SENSITIVE = []
3143
3755
  include Aws::Structure
3144
3756
  end
3145
3757
 
@@ -3182,6 +3794,7 @@ module Aws::ForecastService
3182
3794
  :item_count,
3183
3795
  :evaluation_type,
3184
3796
  :metrics)
3797
+ SENSITIVE = []
3185
3798
  include Aws::Structure
3186
3799
  end
3187
3800