aws-sdk-forecastservice 1.13.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -93,6 +93,7 @@ module Aws::ForecastService
93
93
  ForecastTypes = Shapes::ListShape.new(name: 'ForecastTypes')
94
94
  Forecasts = Shapes::ListShape.new(name: 'Forecasts')
95
95
  Frequency = Shapes::StringShape.new(name: 'Frequency')
96
+ GeolocationFormat = Shapes::StringShape.new(name: 'GeolocationFormat')
96
97
  GetAccuracyMetricsRequest = Shapes::StructureShape.new(name: 'GetAccuracyMetricsRequest')
97
98
  GetAccuracyMetricsResponse = Shapes::StructureShape.new(name: 'GetAccuracyMetricsResponse')
98
99
  HyperParameterTuningJobConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningJobConfig')
@@ -120,6 +121,7 @@ module Aws::ForecastService
120
121
  ListPredictorsResponse = Shapes::StructureShape.new(name: 'ListPredictorsResponse')
121
122
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
122
123
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
124
+ Long = Shapes::IntegerShape.new(name: 'Long')
123
125
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
124
126
  Message = Shapes::StringShape.new(name: 'Message')
125
127
  Metrics = Shapes::StructureShape.new(name: 'Metrics')
@@ -147,6 +149,7 @@ module Aws::ForecastService
147
149
  SchemaAttributes = Shapes::ListShape.new(name: 'SchemaAttributes')
148
150
  Statistics = Shapes::StructureShape.new(name: 'Statistics')
149
151
  Status = Shapes::StringShape.new(name: 'Status')
152
+ StopResourceRequest = Shapes::StructureShape.new(name: 'StopResourceRequest')
150
153
  String = Shapes::StringShape.new(name: 'String')
151
154
  SupplementaryFeature = Shapes::StructureShape.new(name: 'SupplementaryFeature')
152
155
  SupplementaryFeatures = Shapes::ListShape.new(name: 'SupplementaryFeatures')
@@ -160,6 +163,7 @@ module Aws::ForecastService
160
163
  TestWindowDetails = Shapes::ListShape.new(name: 'TestWindowDetails')
161
164
  TestWindowSummary = Shapes::StructureShape.new(name: 'TestWindowSummary')
162
165
  TestWindows = Shapes::ListShape.new(name: 'TestWindows')
166
+ TimeZone = Shapes::StringShape.new(name: 'TimeZone')
163
167
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
164
168
  TimestampFormat = Shapes::StringShape.new(name: 'TimestampFormat')
165
169
  TrainingParameters = Shapes::MapShape.new(name: 'TrainingParameters')
@@ -167,6 +171,7 @@ module Aws::ForecastService
167
171
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
168
172
  UpdateDatasetGroupRequest = Shapes::StructureShape.new(name: 'UpdateDatasetGroupRequest')
169
173
  UpdateDatasetGroupResponse = Shapes::StructureShape.new(name: 'UpdateDatasetGroupResponse')
174
+ UseGeolocationForTimeZone = Shapes::BooleanShape.new(name: 'UseGeolocationForTimeZone')
170
175
  Value = Shapes::StringShape.new(name: 'Value')
171
176
  Values = Shapes::ListShape.new(name: 'Values')
172
177
  WeightedQuantileLoss = Shapes::StructureShape.new(name: 'WeightedQuantileLoss')
@@ -202,6 +207,9 @@ module Aws::ForecastService
202
207
  CreateDatasetImportJobRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn"))
203
208
  CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "DataSource"))
204
209
  CreateDatasetImportJobRequest.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
210
+ CreateDatasetImportJobRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
211
+ CreateDatasetImportJobRequest.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone"))
212
+ CreateDatasetImportJobRequest.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
205
213
  CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
206
214
  CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
207
215
 
@@ -340,7 +348,11 @@ module Aws::ForecastService
340
348
  DescribeDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn"))
341
349
  DescribeDatasetImportJobResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetArn"))
342
350
  DescribeDatasetImportJobResponse.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
351
+ DescribeDatasetImportJobResponse.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
352
+ DescribeDatasetImportJobResponse.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone"))
353
+ DescribeDatasetImportJobResponse.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
343
354
  DescribeDatasetImportJobResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "DataSource"))
355
+ DescribeDatasetImportJobResponse.add_member(:estimated_time_remaining_in_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "EstimatedTimeRemainingInMinutes"))
344
356
  DescribeDatasetImportJobResponse.add_member(:field_statistics, Shapes::ShapeRef.new(shape: FieldStatistics, location_name: "FieldStatistics"))
345
357
  DescribeDatasetImportJobResponse.add_member(:data_size, Shapes::ShapeRef.new(shape: Double, location_name: "DataSize"))
346
358
  DescribeDatasetImportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
@@ -385,6 +397,7 @@ module Aws::ForecastService
385
397
  DescribeForecastResponse.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
386
398
  DescribeForecastResponse.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorArn"))
387
399
  DescribeForecastResponse.add_member(:dataset_group_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetGroupArn"))
400
+ DescribeForecastResponse.add_member(:estimated_time_remaining_in_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "EstimatedTimeRemainingInMinutes"))
388
401
  DescribeForecastResponse.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
389
402
  DescribeForecastResponse.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
390
403
  DescribeForecastResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
@@ -421,6 +434,7 @@ module Aws::ForecastService
421
434
  DescribePredictorResponse.add_member(:featurization_config, Shapes::ShapeRef.new(shape: FeaturizationConfig, location_name: "FeaturizationConfig"))
422
435
  DescribePredictorResponse.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfig, location_name: "EncryptionConfig"))
423
436
  DescribePredictorResponse.add_member(:predictor_execution_details, Shapes::ShapeRef.new(shape: PredictorExecutionDetails, location_name: "PredictorExecutionDetails"))
437
+ DescribePredictorResponse.add_member(:estimated_time_remaining_in_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "EstimatedTimeRemainingInMinutes"))
424
438
  DescribePredictorResponse.add_member(:dataset_import_job_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "DatasetImportJobArns"))
425
439
  DescribePredictorResponse.add_member(:auto_ml_algorithm_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "AutoMLAlgorithmArns"))
426
440
  DescribePredictorResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
@@ -678,6 +692,9 @@ module Aws::ForecastService
678
692
  Statistics.add_member(:stddev, Shapes::ShapeRef.new(shape: Double, location_name: "Stddev"))
679
693
  Statistics.struct_class = Types::Statistics
680
694
 
695
+ StopResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
696
+ StopResourceRequest.struct_class = Types::StopResourceRequest
697
+
681
698
  SupplementaryFeature.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
682
699
  SupplementaryFeature.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "Value"))
683
700
  SupplementaryFeature.struct_class = Types::SupplementaryFeature
@@ -1124,6 +1141,17 @@ module Aws::ForecastService
1124
1141
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1125
1142
  end)
1126
1143
 
1144
+ api.add_operation(:stop_resource, Seahorse::Model::Operation.new.tap do |o|
1145
+ o.name = "StopResource"
1146
+ o.http_method = "POST"
1147
+ o.http_request_uri = "/"
1148
+ o.input = Shapes::ShapeRef.new(shape: StopResourceRequest)
1149
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1150
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1153
+ end)
1154
+
1127
1155
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1128
1156
  o.name = "TagResource"
1129
1157
  o.http_method = "POST"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -219,6 +219,9 @@ module Aws::ForecastService
219
219
  # },
220
220
  # },
221
221
  # timestamp_format: "TimestampFormat",
222
+ # time_zone: "TimeZone",
223
+ # use_geolocation_for_time_zone: false,
224
+ # geolocation_format: "GeolocationFormat",
222
225
  # tags: [
223
226
  # {
224
227
  # key: "TagKey", # required
@@ -270,6 +273,37 @@ module Aws::ForecastService
270
273
  # to be "yyyy-MM-dd HH:mm:ss".
271
274
  # @return [String]
272
275
  #
276
+ # @!attribute [rw] time_zone
277
+ # A single time zone for every item in your dataset. This option is
278
+ # ideal for datasets with all timestamps within a single time zone, or
279
+ # if all timestamps are normalized to a single time zone.
280
+ #
281
+ # Refer to the [Joda-Time API][1] for a complete list of valid time
282
+ # zone names.
283
+ #
284
+ #
285
+ #
286
+ # [1]: http://joda-time.sourceforge.net/timezones.html
287
+ # @return [String]
288
+ #
289
+ # @!attribute [rw] use_geolocation_for_time_zone
290
+ # Automatically derive time zone information from the geolocation
291
+ # attribute. This option is ideal for datasets that contain timestamps
292
+ # in multiple time zones and those timestamps are expressed in local
293
+ # time.
294
+ # @return [Boolean]
295
+ #
296
+ # @!attribute [rw] geolocation_format
297
+ # The format of the geolocation attribute. The geolocation attribute
298
+ # can be formatted in one of two ways:
299
+ #
300
+ # * `LAT_LONG` - the latitude and longitude in decimal format
301
+ # (Example: 47.61\_-122.33).
302
+ #
303
+ # * `CC_POSTALCODE` (US Only) - the country code (US), followed by the
304
+ # 5-digit ZIP code (Example: US\_98121).
305
+ # @return [String]
306
+ #
273
307
  # @!attribute [rw] tags
274
308
  # The optional metadata that you apply to the dataset import job to
275
309
  # help you categorize and organize them. Each tag consists of a key
@@ -310,6 +344,9 @@ module Aws::ForecastService
310
344
  :dataset_arn,
311
345
  :data_source,
312
346
  :timestamp_format,
347
+ :time_zone,
348
+ :use_geolocation_for_time_zone,
349
+ :geolocation_format,
313
350
  :tags)
314
351
  SENSITIVE = []
315
352
  include Aws::Structure
@@ -339,7 +376,7 @@ module Aws::ForecastService
339
376
  # attributes: [
340
377
  # {
341
378
  # attribute_name: "Name",
342
- # attribute_type: "string", # accepts string, integer, float, timestamp
379
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
343
380
  # },
344
381
  # ],
345
382
  # },
@@ -676,9 +713,10 @@ module Aws::ForecastService
676
713
  # @return [String]
677
714
  #
678
715
  # @!attribute [rw] destination
679
- # The destination for an export job, an AWS Identity and Access
680
- # Management (IAM) role that allows Amazon Forecast to access the
681
- # location and, optionally, an AWS Key Management Service (KMS) key.
716
+ # The destination for an export job. Provide an S3 path, an AWS
717
+ # Identity and Access Management (IAM) role that allows Amazon
718
+ # Forecast to access the location, and an AWS Key Management Service
719
+ # (KMS) key (optional).
682
720
  # @return [Types::DataDestination]
683
721
  #
684
722
  # @!attribute [rw] tags
@@ -1003,9 +1041,9 @@ module Aws::ForecastService
1003
1041
  include Aws::Structure
1004
1042
  end
1005
1043
 
1006
- # The destination for an export job, an AWS Identity and Access
1007
- # Management (IAM) role that allows Amazon Forecast to access the
1008
- # location and, optionally, an AWS Key Management Service (KMS) key.
1044
+ # The destination for an export job. Provide an S3 path, an AWS Identity
1045
+ # and Access Management (IAM) role that allows Amazon Forecast to access
1046
+ # the location, and an AWS Key Management Service (KMS) key (optional).
1009
1047
  #
1010
1048
  # @note When making an API call, you may pass DataDestination
1011
1049
  # data as a hash:
@@ -1120,16 +1158,15 @@ module Aws::ForecastService
1120
1158
  # @return [Types::DataSource]
1121
1159
  #
1122
1160
  # @!attribute [rw] status
1123
- # The status of the dataset import job. The status is reflected in the
1124
- # status of the dataset. For example, when the import job status is
1125
- # `CREATE_IN_PROGRESS`, the status of the dataset is
1126
- # `UPDATE_IN_PROGRESS`. States include:
1161
+ # The status of the dataset import job. States include:
1127
1162
  #
1128
1163
  # * `ACTIVE`
1129
1164
  #
1130
1165
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1131
1166
  #
1132
1167
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1168
+ #
1169
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1133
1170
  # @return [String]
1134
1171
  #
1135
1172
  # @!attribute [rw] message
@@ -1141,13 +1178,17 @@ module Aws::ForecastService
1141
1178
  # @return [Time]
1142
1179
  #
1143
1180
  # @!attribute [rw] last_modification_time
1144
- # The last time that the dataset was modified. The time depends on the
1145
- # status of the job, as follows:
1181
+ # The last time the resource was modified. The timestamp depends on
1182
+ # the status of the job:
1146
1183
  #
1147
- # * `CREATE_PENDING` - The same time as `CreationTime`.
1184
+ # * `CREATE_PENDING` - The `CreationTime`.
1148
1185
  #
1149
1186
  # * `CREATE_IN_PROGRESS` - The current timestamp.
1150
1187
  #
1188
+ # * `CREATE_STOPPING` - The current timestamp.
1189
+ #
1190
+ # * `CREATE_STOPPED` - When the job stopped.
1191
+ #
1151
1192
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1152
1193
  # @return [Time]
1153
1194
  #
@@ -1472,6 +1513,20 @@ module Aws::ForecastService
1472
1513
  # optionally, for: Y, M, W, and D
1473
1514
  # @return [String]
1474
1515
  #
1516
+ # @!attribute [rw] time_zone
1517
+ # The single time zone applied to every item in the dataset
1518
+ # @return [String]
1519
+ #
1520
+ # @!attribute [rw] use_geolocation_for_time_zone
1521
+ # Whether `TimeZone` is automatically derived from the geolocation
1522
+ # attribute.
1523
+ # @return [Boolean]
1524
+ #
1525
+ # @!attribute [rw] geolocation_format
1526
+ # The format of the geolocation attribute. Valid Values:`"LAT_LONG"`
1527
+ # and `"CC_POSTALCODE"`.
1528
+ # @return [String]
1529
+ #
1475
1530
  # @!attribute [rw] data_source
1476
1531
  # The location of the training data to import and an AWS Identity and
1477
1532
  # Access Management (IAM) role that Amazon Forecast can assume to
@@ -1481,6 +1536,11 @@ module Aws::ForecastService
1481
1536
  # Service (KMS) key.
1482
1537
  # @return [Types::DataSource]
1483
1538
  #
1539
+ # @!attribute [rw] estimated_time_remaining_in_minutes
1540
+ # The estimated time in minutes for the dataset import job to
1541
+ # complete.
1542
+ # @return [Integer]
1543
+ #
1484
1544
  # @!attribute [rw] field_statistics
1485
1545
  # Statistical information about each field in the input data.
1486
1546
  # @return [Hash<String,Types::Statistics>]
@@ -1491,16 +1551,15 @@ module Aws::ForecastService
1491
1551
  # @return [Float]
1492
1552
  #
1493
1553
  # @!attribute [rw] status
1494
- # The status of the dataset import job. The status is reflected in the
1495
- # status of the dataset. For example, when the import job status is
1496
- # `CREATE_IN_PROGRESS`, the status of the dataset is
1497
- # `UPDATE_IN_PROGRESS`. States include:
1554
+ # The status of the dataset import job. States include:
1498
1555
  #
1499
1556
  # * `ACTIVE`
1500
1557
  #
1501
1558
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1502
1559
  #
1503
1560
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1561
+ #
1562
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1504
1563
  # @return [String]
1505
1564
  #
1506
1565
  # @!attribute [rw] message
@@ -1512,13 +1571,17 @@ module Aws::ForecastService
1512
1571
  # @return [Time]
1513
1572
  #
1514
1573
  # @!attribute [rw] last_modification_time
1515
- # The last time that the dataset was modified. The time depends on the
1516
- # status of the job, as follows:
1574
+ # The last time the resource was modified. The timestamp depends on
1575
+ # the status of the job:
1517
1576
  #
1518
- # * `CREATE_PENDING` - The same time as `CreationTime`.
1577
+ # * `CREATE_PENDING` - The `CreationTime`.
1519
1578
  #
1520
1579
  # * `CREATE_IN_PROGRESS` - The current timestamp.
1521
1580
  #
1581
+ # * `CREATE_STOPPING` - The current timestamp.
1582
+ #
1583
+ # * `CREATE_STOPPED` - When the job stopped.
1584
+ #
1522
1585
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1523
1586
  # @return [Time]
1524
1587
  #
@@ -1529,7 +1592,11 @@ module Aws::ForecastService
1529
1592
  :dataset_import_job_arn,
1530
1593
  :dataset_arn,
1531
1594
  :timestamp_format,
1595
+ :time_zone,
1596
+ :use_geolocation_for_time_zone,
1597
+ :geolocation_format,
1532
1598
  :data_source,
1599
+ :estimated_time_remaining_in_minutes,
1533
1600
  :field_statistics,
1534
1601
  :data_size,
1535
1602
  :status,
@@ -1695,6 +1762,8 @@ module Aws::ForecastService
1695
1762
  #
1696
1763
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1697
1764
  #
1765
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1766
+ #
1698
1767
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1699
1768
  #
1700
1769
  # <note markdown="1"> The `Status` of the forecast export job must be `ACTIVE` before you
@@ -1708,7 +1777,18 @@ module Aws::ForecastService
1708
1777
  # @return [Time]
1709
1778
  #
1710
1779
  # @!attribute [rw] last_modification_time
1711
- # When the last successful export job finished.
1780
+ # The last time the resource was modified. The timestamp depends on
1781
+ # the status of the job:
1782
+ #
1783
+ # * `CREATE_PENDING` - The `CreationTime`.
1784
+ #
1785
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
1786
+ #
1787
+ # * `CREATE_STOPPING` - The current timestamp.
1788
+ #
1789
+ # * `CREATE_STOPPED` - When the job stopped.
1790
+ #
1791
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1712
1792
  # @return [Time]
1713
1793
  #
1714
1794
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJobResponse AWS API Documentation
@@ -1766,6 +1846,10 @@ module Aws::ForecastService
1766
1846
  # the predictor.
1767
1847
  # @return [String]
1768
1848
  #
1849
+ # @!attribute [rw] estimated_time_remaining_in_minutes
1850
+ # The estimated time in minutes for the forecast job to complete.
1851
+ # @return [Integer]
1852
+ #
1769
1853
  # @!attribute [rw] status
1770
1854
  # The status of the forecast. States include:
1771
1855
  #
@@ -1773,6 +1857,8 @@ module Aws::ForecastService
1773
1857
  #
1774
1858
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1775
1859
  #
1860
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1861
+ #
1776
1862
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1777
1863
  #
1778
1864
  # <note markdown="1"> The `Status` of the forecast must be `ACTIVE` before you can query
@@ -1790,11 +1876,18 @@ module Aws::ForecastService
1790
1876
  # @return [Time]
1791
1877
  #
1792
1878
  # @!attribute [rw] last_modification_time
1793
- # Initially, the same as `CreationTime` (status is `CREATE_PENDING`).
1794
- # Updated when inference (creating the forecast) starts (status
1795
- # changed to `CREATE_IN_PROGRESS`), and when inference is complete
1796
- # (status changed to `ACTIVE`) or fails (status changed to
1797
- # `CREATE_FAILED`).
1879
+ # The last time the resource was modified. The timestamp depends on
1880
+ # the status of the job:
1881
+ #
1882
+ # * `CREATE_PENDING` - The `CreationTime`.
1883
+ #
1884
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
1885
+ #
1886
+ # * `CREATE_STOPPING` - The current timestamp.
1887
+ #
1888
+ # * `CREATE_STOPPED` - When the job stopped.
1889
+ #
1890
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1798
1891
  # @return [Time]
1799
1892
  #
1800
1893
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastResponse AWS API Documentation
@@ -1805,6 +1898,7 @@ module Aws::ForecastService
1805
1898
  :forecast_types,
1806
1899
  :predictor_arn,
1807
1900
  :dataset_group_arn,
1901
+ :estimated_time_remaining_in_minutes,
1808
1902
  :status,
1809
1903
  :message,
1810
1904
  :creation_time,
@@ -1845,9 +1939,10 @@ module Aws::ForecastService
1845
1939
  # @return [String]
1846
1940
  #
1847
1941
  # @!attribute [rw] destination
1848
- # The destination for an export job, an AWS Identity and Access
1849
- # Management (IAM) role that allows Amazon Forecast to access the
1850
- # location and, optionally, an AWS Key Management Service (KMS) key.
1942
+ # The destination for an export job. Provide an S3 path, an AWS
1943
+ # Identity and Access Management (IAM) role that allows Amazon
1944
+ # Forecast to access the location, and an AWS Key Management Service
1945
+ # (KMS) key (optional).
1851
1946
  # @return [Types::DataDestination]
1852
1947
  #
1853
1948
  # @!attribute [rw] message
@@ -1860,17 +1955,11 @@ module Aws::ForecastService
1860
1955
  #
1861
1956
  # * `ACTIVE`
1862
1957
  #
1863
- # * `CREATE_PENDING`
1864
- #
1865
- # * `CREATE_IN_PROGRESS`
1866
- #
1867
- # * `CREATE_FAILED`
1868
- #
1869
- # * `DELETE_PENDING`
1958
+ # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1870
1959
  #
1871
- # * `DELETE_IN_PROGRESS`
1960
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1872
1961
  #
1873
- # * `DELETE_FAILED`
1962
+ # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1874
1963
  # @return [String]
1875
1964
  #
1876
1965
  # @!attribute [rw] creation_time
@@ -1878,7 +1967,18 @@ module Aws::ForecastService
1878
1967
  # @return [Time]
1879
1968
  #
1880
1969
  # @!attribute [rw] last_modification_time
1881
- # When the last successful export job finished.
1970
+ # The last time the resource was modified. The timestamp depends on
1971
+ # the status of the job:
1972
+ #
1973
+ # * `CREATE_PENDING` - The `CreationTime`.
1974
+ #
1975
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
1976
+ #
1977
+ # * `CREATE_STOPPING` - The current timestamp.
1978
+ #
1979
+ # * `CREATE_STOPPED` - When the job stopped.
1980
+ #
1981
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1882
1982
  # @return [Time]
1883
1983
  #
1884
1984
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobResponse AWS API Documentation
@@ -1988,6 +2088,11 @@ module Aws::ForecastService
1988
2088
  # backtests to perform when you call the operation.
1989
2089
  # @return [Types::PredictorExecutionDetails]
1990
2090
  #
2091
+ # @!attribute [rw] estimated_time_remaining_in_minutes
2092
+ # The estimated time in minutes for the predictor training job to
2093
+ # complete.
2094
+ # @return [Integer]
2095
+ #
1991
2096
  # @!attribute [rw] dataset_import_job_arns
1992
2097
  # An array of the ARNs of the dataset import jobs used to import
1993
2098
  # training data for the predictor.
@@ -2006,7 +2111,7 @@ module Aws::ForecastService
2006
2111
  #
2007
2112
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
2008
2113
  #
2009
- # * `UPDATE_PENDING`, `UPDATE_IN_PROGRESS`, `UPDATE_FAILED`
2114
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
2010
2115
  #
2011
2116
  # <note markdown="1"> The `Status` of the predictor must be `ACTIVE` before you can use
2012
2117
  # the predictor to create a forecast.
@@ -2023,11 +2128,18 @@ module Aws::ForecastService
2023
2128
  # @return [Time]
2024
2129
  #
2025
2130
  # @!attribute [rw] last_modification_time
2026
- # Initially, the same as `CreationTime` (when the status is
2027
- # `CREATE_PENDING`). This value is updated when training starts (when
2028
- # the status changes to `CREATE_IN_PROGRESS`), and when training has
2029
- # completed (when the status changes to `ACTIVE`) or fails (when the
2030
- # status changes to `CREATE_FAILED`).
2131
+ # The last time the resource was modified. The timestamp depends on
2132
+ # the status of the job:
2133
+ #
2134
+ # * `CREATE_PENDING` - The `CreationTime`.
2135
+ #
2136
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
2137
+ #
2138
+ # * `CREATE_STOPPING` - The current timestamp.
2139
+ #
2140
+ # * `CREATE_STOPPED` - When the job stopped.
2141
+ #
2142
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2031
2143
  # @return [Time]
2032
2144
  #
2033
2145
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorResponse AWS API Documentation
@@ -2047,6 +2159,7 @@ module Aws::ForecastService
2047
2159
  :featurization_config,
2048
2160
  :encryption_config,
2049
2161
  :predictor_execution_details,
2162
+ :estimated_time_remaining_in_minutes,
2050
2163
  :dataset_import_job_arns,
2051
2164
  :auto_ml_algorithm_arns,
2052
2165
  :status,
@@ -2459,6 +2572,8 @@ module Aws::ForecastService
2459
2572
  #
2460
2573
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
2461
2574
  #
2575
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
2576
+ #
2462
2577
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
2463
2578
  #
2464
2579
  # <note markdown="1"> The `Status` of the forecast export job must be `ACTIVE` before you
@@ -2476,7 +2591,18 @@ module Aws::ForecastService
2476
2591
  # @return [Time]
2477
2592
  #
2478
2593
  # @!attribute [rw] last_modification_time
2479
- # When the last successful export job finished.
2594
+ # The last time the resource was modified. The timestamp depends on
2595
+ # the status of the job:
2596
+ #
2597
+ # * `CREATE_PENDING` - The `CreationTime`.
2598
+ #
2599
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
2600
+ #
2601
+ # * `CREATE_STOPPING` - The current timestamp.
2602
+ #
2603
+ # * `CREATE_STOPPED` - When the job stopped.
2604
+ #
2605
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2480
2606
  # @return [Time]
2481
2607
  #
2482
2608
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ForecastExportJobSummary AWS API Documentation
@@ -2522,6 +2648,8 @@ module Aws::ForecastService
2522
2648
  #
2523
2649
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
2524
2650
  #
2651
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
2652
+ #
2525
2653
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
2526
2654
  #
2527
2655
  # <note markdown="1"> The `Status` of the forecast must be `ACTIVE` before you can query
@@ -2539,11 +2667,18 @@ module Aws::ForecastService
2539
2667
  # @return [Time]
2540
2668
  #
2541
2669
  # @!attribute [rw] last_modification_time
2542
- # Initially, the same as `CreationTime` (status is `CREATE_PENDING`).
2543
- # Updated when inference (creating the forecast) starts (status
2544
- # changed to `CREATE_IN_PROGRESS`), and when inference is complete
2545
- # (status changed to `ACTIVE`) or fails (status changed to
2546
- # `CREATE_FAILED`).
2670
+ # The last time the resource was modified. The timestamp depends on
2671
+ # the status of the job:
2672
+ #
2673
+ # * `CREATE_PENDING` - The `CreationTime`.
2674
+ #
2675
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
2676
+ #
2677
+ # * `CREATE_STOPPING` - The current timestamp.
2678
+ #
2679
+ # * `CREATE_STOPPED` - When the job stopped.
2680
+ #
2681
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2547
2682
  # @return [Time]
2548
2683
  #
2549
2684
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ForecastSummary AWS API Documentation
@@ -3164,7 +3299,7 @@ module Aws::ForecastService
3164
3299
  # backtest export jobs, specify `IS_NOT`.
3165
3300
  #
3166
3301
  # * `Key` - The name of the parameter to filter on. Valid values are
3167
- # `PredictorBacktestExportJobArn` and `Status`.
3302
+ # `PredictorArn` and `Status`.
3168
3303
  #
3169
3304
  # * `Value` - The value to match.
3170
3305
  # @return [Array<Types::Filter>]
@@ -3409,9 +3544,10 @@ module Aws::ForecastService
3409
3544
  # @return [String]
3410
3545
  #
3411
3546
  # @!attribute [rw] destination
3412
- # The destination for an export job, an AWS Identity and Access
3413
- # Management (IAM) role that allows Amazon Forecast to access the
3414
- # location and, optionally, an AWS Key Management Service (KMS) key.
3547
+ # The destination for an export job. Provide an S3 path, an AWS
3548
+ # Identity and Access Management (IAM) role that allows Amazon
3549
+ # Forecast to access the location, and an AWS Key Management Service
3550
+ # (KMS) key (optional).
3415
3551
  # @return [Types::DataDestination]
3416
3552
  #
3417
3553
  # @!attribute [rw] status
@@ -3419,17 +3555,11 @@ module Aws::ForecastService
3419
3555
  #
3420
3556
  # * `ACTIVE`
3421
3557
  #
3422
- # * `CREATE_PENDING`
3423
- #
3424
- # * `CREATE_IN_PROGRESS`
3425
- #
3426
- # * `CREATE_FAILED`
3427
- #
3428
- # * `DELETE_PENDING`
3558
+ # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
3429
3559
  #
3430
- # * `DELETE_IN_PROGRESS`
3560
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
3431
3561
  #
3432
- # * `DELETE_FAILED`
3562
+ # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
3433
3563
  # @return [String]
3434
3564
  #
3435
3565
  # @!attribute [rw] message
@@ -3442,7 +3572,18 @@ module Aws::ForecastService
3442
3572
  # @return [Time]
3443
3573
  #
3444
3574
  # @!attribute [rw] last_modification_time
3445
- # When the last successful export job finished.
3575
+ # The last time the resource was modified. The timestamp depends on
3576
+ # the status of the job:
3577
+ #
3578
+ # * `CREATE_PENDING` - The `CreationTime`.
3579
+ #
3580
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
3581
+ #
3582
+ # * `CREATE_STOPPING` - The current timestamp.
3583
+ #
3584
+ # * `CREATE_STOPPED` - When the job stopped.
3585
+ #
3586
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
3446
3587
  # @return [Time]
3447
3588
  #
3448
3589
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorBacktestExportJobSummary AWS API Documentation
@@ -3528,7 +3669,7 @@ module Aws::ForecastService
3528
3669
  #
3529
3670
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
3530
3671
  #
3531
- # * `UPDATE_PENDING`, `UPDATE_IN_PROGRESS`, `UPDATE_FAILED`
3672
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
3532
3673
  #
3533
3674
  # <note markdown="1"> The `Status` of the predictor must be `ACTIVE` before you can use
3534
3675
  # the predictor to create a forecast.
@@ -3545,10 +3686,18 @@ module Aws::ForecastService
3545
3686
  # @return [Time]
3546
3687
  #
3547
3688
  # @!attribute [rw] last_modification_time
3548
- # Initially, the same as `CreationTime` (status is `CREATE_PENDING`).
3549
- # Updated when training starts (status changed to
3550
- # `CREATE_IN_PROGRESS`), and when training is complete (status changed
3551
- # to `ACTIVE`) or fails (status changed to `CREATE_FAILED`).
3689
+ # The last time the resource was modified. The timestamp depends on
3690
+ # the status of the job:
3691
+ #
3692
+ # * `CREATE_PENDING` - The `CreationTime`.
3693
+ #
3694
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
3695
+ #
3696
+ # * `CREATE_STOPPING` - The current timestamp.
3697
+ #
3698
+ # * `CREATE_STOPPED` - When the job stopped.
3699
+ #
3700
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
3552
3701
  # @return [Time]
3553
3702
  #
3554
3703
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorSummary AWS API Documentation
@@ -3663,7 +3812,7 @@ module Aws::ForecastService
3663
3812
  # attributes: [
3664
3813
  # {
3665
3814
  # attribute_name: "Name",
3666
- # attribute_type: "string", # accepts string, integer, float, timestamp
3815
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
3667
3816
  # },
3668
3817
  # ],
3669
3818
  # }
@@ -3690,7 +3839,7 @@ module Aws::ForecastService
3690
3839
  #
3691
3840
  # {
3692
3841
  # attribute_name: "Name",
3693
- # attribute_type: "string", # accepts string, integer, float, timestamp
3842
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
3694
3843
  # }
3695
3844
  #
3696
3845
  # @!attribute [rw] attribute_name
@@ -3760,17 +3909,53 @@ module Aws::ForecastService
3760
3909
  include Aws::Structure
3761
3910
  end
3762
3911
 
3912
+ # @note When making an API call, you may pass StopResourceRequest
3913
+ # data as a hash:
3914
+ #
3915
+ # {
3916
+ # resource_arn: "Arn", # required
3917
+ # }
3918
+ #
3919
+ # @!attribute [rw] resource_arn
3920
+ # The Amazon Resource Name (ARN) that identifies the resource to stop.
3921
+ # The supported ARNs are `DatasetImportJobArn`, `PredictorArn`,
3922
+ # `PredictorBacktestExportJobArn`, `ForecastArn`, and
3923
+ # `ForecastExportJobArn`.
3924
+ # @return [String]
3925
+ #
3926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/StopResourceRequest AWS API Documentation
3927
+ #
3928
+ class StopResourceRequest < Struct.new(
3929
+ :resource_arn)
3930
+ SENSITIVE = []
3931
+ include Aws::Structure
3932
+ end
3933
+
3763
3934
  # Describes a supplementary feature of a dataset group. This object is
3764
- # part of the InputDataConfig object.
3935
+ # part of the InputDataConfig object. Forecast supports the Weather
3936
+ # Index and Holidays built-in featurizations.
3937
+ #
3938
+ # **Weather Index**
3939
+ #
3940
+ # The Amazon Forecast Weather Index is a built-in featurization that
3941
+ # incorporates historical and projected weather information into your
3942
+ # model. The Weather Index supplements your datasets with over two years
3943
+ # of historical weather data and up to 14 days of projected weather
3944
+ # data. For more information, see [Amazon Forecast Weather Index][1].
3945
+ #
3946
+ # **Holidays**
3765
3947
  #
3766
- # The only supported feature is Holidays. If you use the calendar, all
3767
- # data in the datasets should belong to the same country as the
3768
- # calendar. For the holiday calendar data, see the [Jollyday][1]
3769
- # website.
3948
+ # Holidays is a built-in featurization that incorporates a
3949
+ # feature-engineered dataset of national holiday information into your
3950
+ # model. It provides native support for the holiday calendars of 66
3951
+ # countries. To view the holiday calendars, refer to the [Jollyday][2]
3952
+ # library. For more information, see [Holidays Featurization][3].
3770
3953
  #
3771
3954
  #
3772
3955
  #
3773
- # [1]: http://jollyday.sourceforge.net/data.html
3956
+ # [1]: https://docs.aws.amazon.com/forecast/latest/dg/weather.html
3957
+ # [2]: http://jollyday.sourceforge.net/data.html
3958
+ # [3]: https://docs.aws.amazon.com/forecast/latest/dg/holidays.html
3774
3959
  #
3775
3960
  # @note When making an API call, you may pass SupplementaryFeature
3776
3961
  # data as a hash:
@@ -3781,11 +3966,18 @@ module Aws::ForecastService
3781
3966
  # }
3782
3967
  #
3783
3968
  # @!attribute [rw] name
3784
- # The name of the feature. This must be "holiday".
3969
+ # The name of the feature. Valid values: `"holiday"` and `"weather"`.
3785
3970
  # @return [String]
3786
3971
  #
3787
3972
  # @!attribute [rw] value
3788
- # One of the following 2 letter country codes:
3973
+ # **Weather Index**
3974
+ #
3975
+ # To enable the Weather Index, set the value to `"true"`
3976
+ #
3977
+ # **Holidays**
3978
+ #
3979
+ # To enable Holidays, specify a country with one of the following
3980
+ # two-letter country codes:
3789
3981
  #
3790
3982
  # * "AL" - ALBANIA
3791
3983
  #
@@ -3984,7 +4176,7 @@ module Aws::ForecastService
3984
4176
  class Tag < Struct.new(
3985
4177
  :key,
3986
4178
  :value)
3987
- SENSITIVE = []
4179
+ SENSITIVE = [:key, :value]
3988
4180
  include Aws::Structure
3989
4181
  end
3990
4182