aws-sdk-forecastservice 1.35.0 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0b1136c7b930b95a83619431c9eca4f2baee09e26037da8971b47b5f17264f3
4
- data.tar.gz: 63913f9e8661e0c247adec9d3d4f2b39f96cdd2c9a8765de1a45778be60af89e
3
+ metadata.gz: 3536ed513b245cac9ea8a10b637dcb6831a4f4c5d1e83169774ab4e098da4aea
4
+ data.tar.gz: 38cdbed72d06b21494a3cec7df1a3bfa58b0eb938b3b09cb5251e3ff6ad0cc3d
5
5
  SHA512:
6
- metadata.gz: aedb6b600f47f158e9999298eba549c7731182bb64ab496c78a228d23a2257f5085f71b47bfcfe5659d4ca9ae78e5c0f75d1e04a4561565eaf875b26992f42b2
7
- data.tar.gz: c303fe52fa855ebed5a89ace542b75f9f6de614f5181de66c6c3eb56b53baa9cdbb3c47b4afb853c8b73a9edf8181d774b29aa428e82f511794bd2f87fb5a5f8
6
+ metadata.gz: 96ad6603aab6632271a974eab824ca0c64bb273b9f3111855aed837f52a993a27e3df28b4c96bc0ecdcdcdc640aba6746aad7252ffda3020c4290a13db985dc1
7
+ data.tar.gz: 1c01a7629d1f1b8ad81cb9547e801e306fd1af002c06516bc9d4fd664cffa560dcc2fdceee0ce53012fe1bd1deb30b29eb6d757bebdd6a8bc4fabd2d34b02232
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.36.0 (2022-06-01)
5
+ ------------------
6
+
7
+ * Feature - Added Format field to Import and Export APIs in Amazon Forecast. Added TimeSeriesSelector to Create Forecast API.
8
+
4
9
  1.35.0 (2022-05-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.36.0
@@ -878,11 +878,11 @@ module Aws::ForecastService
878
878
  # data and processes it in an internal AWS system. For more information,
879
879
  # see [Set up permissions][2].
880
880
  #
881
- # The training data must be in CSV format. The delimiter must be a comma
882
- # (,).
881
+ # The training data must be in CSV or Parquet format. The delimiter must
882
+ # be a comma (,).
883
883
  #
884
- # You can specify the path to a specific CSV file, the S3 bucket, or to
885
- # a folder in the S3 bucket. For the latter two cases, Amazon Forecast
884
+ # You can specify the path to a specific file, the S3 bucket, or to a
885
+ # folder in the S3 bucket. For the latter two cases, Amazon Forecast
886
886
  # imports all files up to the limit of 10,000 files.
887
887
  #
888
888
  # Because dataset imports are not aggregated, your most recent dataset
@@ -1002,6 +1002,10 @@ module Aws::ForecastService
1002
1002
  # the limit of 50 tags. Tags with only the key prefix of `aws` do not
1003
1003
  # count against your tags per resource limit.
1004
1004
  #
1005
+ # @option params [String] :format
1006
+ # The format of the imported data, CSV or PARQUET. The default value is
1007
+ # CSV.
1008
+ #
1005
1009
  # @return [Types::CreateDatasetImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1006
1010
  #
1007
1011
  # * {Types::CreateDatasetImportJobResponse#dataset_import_job_arn #dataset_import_job_arn} => String
@@ -1028,6 +1032,7 @@ module Aws::ForecastService
1028
1032
  # value: "TagValue", # required
1029
1033
  # },
1030
1034
  # ],
1035
+ # format: "Format",
1031
1036
  # })
1032
1037
  #
1033
1038
  # @example Response structure
@@ -1297,6 +1302,9 @@ module Aws::ForecastService
1297
1302
  # only the key prefix of `aws` do not count against your tags per
1298
1303
  # resource limit. You cannot edit or delete tag keys with this prefix.
1299
1304
  #
1305
+ # @option params [String] :format
1306
+ # The format of the exported data, CSV or PARQUET.
1307
+ #
1300
1308
  # @return [Types::CreateExplainabilityExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1301
1309
  #
1302
1310
  # * {Types::CreateExplainabilityExportResponse#explainability_export_arn #explainability_export_arn} => String
@@ -1319,6 +1327,7 @@ module Aws::ForecastService
1319
1327
  # value: "TagValue", # required
1320
1328
  # },
1321
1329
  # ],
1330
+ # format: "Format",
1322
1331
  # })
1323
1332
  #
1324
1333
  # @example Response structure
@@ -1361,6 +1370,14 @@ module Aws::ForecastService
1361
1370
  #
1362
1371
  # </note>
1363
1372
  #
1373
+ # By default, a forecast includes predictions for every item (`item_id`)
1374
+ # in the dataset group that was used to train the predictor. However,
1375
+ # you can use the `TimeSeriesSelector` object to generate a forecast on
1376
+ # a subset of time series. Forecast creation is skipped for any time
1377
+ # series that you specify that are not in the input dataset. The
1378
+ # forecast export file will not contain these time series or their
1379
+ # forecasted values.
1380
+ #
1364
1381
  # @option params [required, String] :forecast_name
1365
1382
  # A name for the forecast.
1366
1383
  #
@@ -1412,6 +1429,18 @@ module Aws::ForecastService
1412
1429
  # the limit of 50 tags. Tags with only the key prefix of `aws` do not
1413
1430
  # count against your tags per resource limit.
1414
1431
  #
1432
+ # @option params [Types::TimeSeriesSelector] :time_series_selector
1433
+ # Defines the set of time series that are used to create the forecasts
1434
+ # in a `TimeSeriesIdentifiers` object.
1435
+ #
1436
+ # The `TimeSeriesIdentifiers` object needs the following information:
1437
+ #
1438
+ # * `DataSource`
1439
+ #
1440
+ # * `Format`
1441
+ #
1442
+ # * `Schema`
1443
+ #
1415
1444
  # @return [Types::CreateForecastResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1416
1445
  #
1417
1446
  # * {Types::CreateForecastResponse#forecast_arn #forecast_arn} => String
@@ -1428,6 +1457,26 @@ module Aws::ForecastService
1428
1457
  # value: "TagValue", # required
1429
1458
  # },
1430
1459
  # ],
1460
+ # time_series_selector: {
1461
+ # time_series_identifiers: {
1462
+ # data_source: {
1463
+ # s3_config: { # required
1464
+ # path: "S3Path", # required
1465
+ # role_arn: "Arn", # required
1466
+ # kms_key_arn: "KMSKeyArn",
1467
+ # },
1468
+ # },
1469
+ # schema: {
1470
+ # attributes: [
1471
+ # {
1472
+ # attribute_name: "Name",
1473
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
1474
+ # },
1475
+ # ],
1476
+ # },
1477
+ # format: "Format",
1478
+ # },
1479
+ # },
1431
1480
  # })
1432
1481
  #
1433
1482
  # @example Response structure
@@ -1517,6 +1566,10 @@ module Aws::ForecastService
1517
1566
  # the limit of 50 tags. Tags with only the key prefix of `aws` do not
1518
1567
  # count against your tags per resource limit.
1519
1568
  #
1569
+ # @option params [String] :format
1570
+ # The format of the exported data, CSV or PARQUET. The default value is
1571
+ # CSV.
1572
+ #
1520
1573
  # @return [Types::CreateForecastExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1521
1574
  #
1522
1575
  # * {Types::CreateForecastExportJobResponse#forecast_export_job_arn #forecast_export_job_arn} => String
@@ -1539,6 +1592,7 @@ module Aws::ForecastService
1539
1592
  # value: "TagValue", # required
1540
1593
  # },
1541
1594
  # ],
1595
+ # format: "Format",
1542
1596
  # })
1543
1597
  #
1544
1598
  # @example Response structure
@@ -1925,7 +1979,8 @@ module Aws::ForecastService
1925
1979
 
1926
1980
  # Exports backtest forecasts and accuracy metrics generated by the
1927
1981
  # CreateAutoPredictor or CreatePredictor operations. Two folders
1928
- # containing CSV files are exported to your specified S3 bucket.
1982
+ # containing CSV or Parquet files are exported to your specified S3
1983
+ # bucket.
1929
1984
  #
1930
1985
  # The export file names will match the following conventions:
1931
1986
  #
@@ -1985,6 +2040,10 @@ module Aws::ForecastService
1985
2040
  # only the key prefix of `aws` do not count against your tags per
1986
2041
  # resource limit. You cannot edit or delete tag keys with this prefix.
1987
2042
  #
2043
+ # @option params [String] :format
2044
+ # The format of the exported data, CSV or PARQUET. The default value is
2045
+ # CSV.
2046
+ #
1988
2047
  # @return [Types::CreatePredictorBacktestExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1989
2048
  #
1990
2049
  # * {Types::CreatePredictorBacktestExportJobResponse#predictor_backtest_export_job_arn #predictor_backtest_export_job_arn} => String
@@ -2007,6 +2066,7 @@ module Aws::ForecastService
2007
2066
  # value: "TagValue", # required
2008
2067
  # },
2009
2068
  # ],
2069
+ # format: "Format",
2010
2070
  # })
2011
2071
  #
2012
2072
  # @example Response structure
@@ -2591,6 +2651,7 @@ module Aws::ForecastService
2591
2651
  # * {Types::DescribeDatasetImportJobResponse#message #message} => String
2592
2652
  # * {Types::DescribeDatasetImportJobResponse#creation_time #creation_time} => Time
2593
2653
  # * {Types::DescribeDatasetImportJobResponse#last_modification_time #last_modification_time} => Time
2654
+ # * {Types::DescribeDatasetImportJobResponse#format #format} => String
2594
2655
  #
2595
2656
  # @example Request syntax with placeholder values
2596
2657
  #
@@ -2629,6 +2690,7 @@ module Aws::ForecastService
2629
2690
  # resp.message #=> String
2630
2691
  # resp.creation_time #=> Time
2631
2692
  # resp.last_modification_time #=> Time
2693
+ # resp.format #=> String
2632
2694
  #
2633
2695
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetImportJob AWS API Documentation
2634
2696
  #
@@ -2715,6 +2777,7 @@ module Aws::ForecastService
2715
2777
  # * {Types::DescribeExplainabilityExportResponse#status #status} => String
2716
2778
  # * {Types::DescribeExplainabilityExportResponse#creation_time #creation_time} => Time
2717
2779
  # * {Types::DescribeExplainabilityExportResponse#last_modification_time #last_modification_time} => Time
2780
+ # * {Types::DescribeExplainabilityExportResponse#format #format} => String
2718
2781
  #
2719
2782
  # @example Request syntax with placeholder values
2720
2783
  #
@@ -2734,6 +2797,7 @@ module Aws::ForecastService
2734
2797
  # resp.status #=> String
2735
2798
  # resp.creation_time #=> Time
2736
2799
  # resp.last_modification_time #=> Time
2800
+ # resp.format #=> String
2737
2801
  #
2738
2802
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainabilityExport AWS API Documentation
2739
2803
  #
@@ -2775,6 +2839,7 @@ module Aws::ForecastService
2775
2839
  # * {Types::DescribeForecastResponse#message #message} => String
2776
2840
  # * {Types::DescribeForecastResponse#creation_time #creation_time} => Time
2777
2841
  # * {Types::DescribeForecastResponse#last_modification_time #last_modification_time} => Time
2842
+ # * {Types::DescribeForecastResponse#time_series_selector #time_series_selector} => Types::TimeSeriesSelector
2778
2843
  #
2779
2844
  # @example Request syntax with placeholder values
2780
2845
  #
@@ -2795,6 +2860,13 @@ module Aws::ForecastService
2795
2860
  # resp.message #=> String
2796
2861
  # resp.creation_time #=> Time
2797
2862
  # resp.last_modification_time #=> Time
2863
+ # resp.time_series_selector.time_series_identifiers.data_source.s3_config.path #=> String
2864
+ # resp.time_series_selector.time_series_identifiers.data_source.s3_config.role_arn #=> String
2865
+ # resp.time_series_selector.time_series_identifiers.data_source.s3_config.kms_key_arn #=> String
2866
+ # resp.time_series_selector.time_series_identifiers.schema.attributes #=> Array
2867
+ # resp.time_series_selector.time_series_identifiers.schema.attributes[0].attribute_name #=> String
2868
+ # resp.time_series_selector.time_series_identifiers.schema.attributes[0].attribute_type #=> String, one of "string", "integer", "float", "timestamp", "geolocation"
2869
+ # resp.time_series_selector.time_series_identifiers.format #=> String
2798
2870
  #
2799
2871
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecast AWS API Documentation
2800
2872
  #
@@ -2833,6 +2905,7 @@ module Aws::ForecastService
2833
2905
  # * {Types::DescribeForecastExportJobResponse#status #status} => String
2834
2906
  # * {Types::DescribeForecastExportJobResponse#creation_time #creation_time} => Time
2835
2907
  # * {Types::DescribeForecastExportJobResponse#last_modification_time #last_modification_time} => Time
2908
+ # * {Types::DescribeForecastExportJobResponse#format #format} => String
2836
2909
  #
2837
2910
  # @example Request syntax with placeholder values
2838
2911
  #
@@ -2852,6 +2925,7 @@ module Aws::ForecastService
2852
2925
  # resp.status #=> String
2853
2926
  # resp.creation_time #=> Time
2854
2927
  # resp.last_modification_time #=> Time
2928
+ # resp.format #=> String
2855
2929
  #
2856
2930
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJob AWS API Documentation
2857
2931
  #
@@ -3091,6 +3165,7 @@ module Aws::ForecastService
3091
3165
  # * {Types::DescribePredictorBacktestExportJobResponse#status #status} => String
3092
3166
  # * {Types::DescribePredictorBacktestExportJobResponse#creation_time #creation_time} => Time
3093
3167
  # * {Types::DescribePredictorBacktestExportJobResponse#last_modification_time #last_modification_time} => Time
3168
+ # * {Types::DescribePredictorBacktestExportJobResponse#format #format} => String
3094
3169
  #
3095
3170
  # @example Request syntax with placeholder values
3096
3171
  #
@@ -3110,6 +3185,7 @@ module Aws::ForecastService
3110
3185
  # resp.status #=> String
3111
3186
  # resp.creation_time #=> Time
3112
3187
  # resp.last_modification_time #=> Time
3188
+ # resp.format #=> String
3113
3189
  #
3114
3190
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJob AWS API Documentation
3115
3191
  #
@@ -4293,7 +4369,7 @@ module Aws::ForecastService
4293
4369
  params: params,
4294
4370
  config: config)
4295
4371
  context[:gem_name] = 'aws-sdk-forecastservice'
4296
- context[:gem_version] = '1.35.0'
4372
+ context[:gem_version] = '1.36.0'
4297
4373
  Seahorse::Client::Request.new(handlers, context)
4298
4374
  end
4299
4375
 
@@ -132,6 +132,7 @@ module Aws::ForecastService
132
132
  ForecastType = Shapes::StringShape.new(name: 'ForecastType')
133
133
  ForecastTypes = Shapes::ListShape.new(name: 'ForecastTypes')
134
134
  Forecasts = Shapes::ListShape.new(name: 'Forecasts')
135
+ Format = Shapes::StringShape.new(name: 'Format')
135
136
  Frequency = Shapes::StringShape.new(name: 'Frequency')
136
137
  GeolocationFormat = Shapes::StringShape.new(name: 'GeolocationFormat')
137
138
  GetAccuracyMetricsRequest = Shapes::StructureShape.new(name: 'GetAccuracyMetricsRequest')
@@ -233,6 +234,8 @@ module Aws::ForecastService
233
234
  TimeAlignmentBoundary = Shapes::StructureShape.new(name: 'TimeAlignmentBoundary')
234
235
  TimePointGranularity = Shapes::StringShape.new(name: 'TimePointGranularity')
235
236
  TimeSeriesGranularity = Shapes::StringShape.new(name: 'TimeSeriesGranularity')
237
+ TimeSeriesIdentifiers = Shapes::StructureShape.new(name: 'TimeSeriesIdentifiers')
238
+ TimeSeriesSelector = Shapes::StructureShape.new(name: 'TimeSeriesSelector')
236
239
  TimeZone = Shapes::StringShape.new(name: 'TimeZone')
237
240
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
238
241
  TimestampFormat = Shapes::StringShape.new(name: 'TimestampFormat')
@@ -324,6 +327,7 @@ module Aws::ForecastService
324
327
  CreateDatasetImportJobRequest.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone"))
325
328
  CreateDatasetImportJobRequest.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
326
329
  CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
330
+ CreateDatasetImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
327
331
  CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
328
332
 
329
333
  CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn"))
@@ -345,6 +349,7 @@ module Aws::ForecastService
345
349
  CreateExplainabilityExportRequest.add_member(:explainability_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExplainabilityArn"))
346
350
  CreateExplainabilityExportRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
347
351
  CreateExplainabilityExportRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
352
+ CreateExplainabilityExportRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
348
353
  CreateExplainabilityExportRequest.struct_class = Types::CreateExplainabilityExportRequest
349
354
 
350
355
  CreateExplainabilityExportResponse.add_member(:explainability_export_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ExplainabilityExportArn"))
@@ -368,6 +373,7 @@ module Aws::ForecastService
368
373
  CreateForecastExportJobRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn"))
369
374
  CreateForecastExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
370
375
  CreateForecastExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
376
+ CreateForecastExportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
371
377
  CreateForecastExportJobRequest.struct_class = Types::CreateForecastExportJobRequest
372
378
 
373
379
  CreateForecastExportJobResponse.add_member(:forecast_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastExportJobArn"))
@@ -377,6 +383,7 @@ module Aws::ForecastService
377
383
  CreateForecastRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
378
384
  CreateForecastRequest.add_member(:forecast_types, Shapes::ShapeRef.new(shape: ForecastTypes, location_name: "ForecastTypes"))
379
385
  CreateForecastRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
386
+ CreateForecastRequest.add_member(:time_series_selector, Shapes::ShapeRef.new(shape: TimeSeriesSelector, location_name: "TimeSeriesSelector"))
380
387
  CreateForecastRequest.struct_class = Types::CreateForecastRequest
381
388
 
382
389
  CreateForecastResponse.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastArn"))
@@ -394,6 +401,7 @@ module Aws::ForecastService
394
401
  CreatePredictorBacktestExportJobRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
395
402
  CreatePredictorBacktestExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
396
403
  CreatePredictorBacktestExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
404
+ CreatePredictorBacktestExportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
397
405
  CreatePredictorBacktestExportJobRequest.struct_class = Types::CreatePredictorBacktestExportJobRequest
398
406
 
399
407
  CreatePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
@@ -546,6 +554,7 @@ module Aws::ForecastService
546
554
  DescribeDatasetImportJobResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
547
555
  DescribeDatasetImportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
548
556
  DescribeDatasetImportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
557
+ DescribeDatasetImportJobResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
549
558
  DescribeDatasetImportJobResponse.struct_class = Types::DescribeDatasetImportJobResponse
550
559
 
551
560
  DescribeDatasetRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn"))
@@ -574,6 +583,7 @@ module Aws::ForecastService
574
583
  DescribeExplainabilityExportResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
575
584
  DescribeExplainabilityExportResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
576
585
  DescribeExplainabilityExportResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
586
+ DescribeExplainabilityExportResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
577
587
  DescribeExplainabilityExportResponse.struct_class = Types::DescribeExplainabilityExportResponse
578
588
 
579
589
  DescribeExplainabilityRequest.add_member(:explainability_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ExplainabilityArn"))
@@ -606,6 +616,7 @@ module Aws::ForecastService
606
616
  DescribeForecastExportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
607
617
  DescribeForecastExportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
608
618
  DescribeForecastExportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
619
+ DescribeForecastExportJobResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
609
620
  DescribeForecastExportJobResponse.struct_class = Types::DescribeForecastExportJobResponse
610
621
 
611
622
  DescribeForecastRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn"))
@@ -621,6 +632,7 @@ module Aws::ForecastService
621
632
  DescribeForecastResponse.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
622
633
  DescribeForecastResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
623
634
  DescribeForecastResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
635
+ DescribeForecastResponse.add_member(:time_series_selector, Shapes::ShapeRef.new(shape: TimeSeriesSelector, location_name: "TimeSeriesSelector"))
624
636
  DescribeForecastResponse.struct_class = Types::DescribeForecastResponse
625
637
 
626
638
  DescribeMonitorRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "MonitorArn"))
@@ -650,6 +662,7 @@ module Aws::ForecastService
650
662
  DescribePredictorBacktestExportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
651
663
  DescribePredictorBacktestExportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
652
664
  DescribePredictorBacktestExportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
665
+ DescribePredictorBacktestExportJobResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
653
666
  DescribePredictorBacktestExportJobResponse.struct_class = Types::DescribePredictorBacktestExportJobResponse
654
667
 
655
668
  DescribePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
@@ -1107,6 +1120,14 @@ module Aws::ForecastService
1107
1120
  TimeAlignmentBoundary.add_member(:hour, Shapes::ShapeRef.new(shape: Hour, location_name: "Hour"))
1108
1121
  TimeAlignmentBoundary.struct_class = Types::TimeAlignmentBoundary
1109
1122
 
1123
+ TimeSeriesIdentifiers.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "DataSource"))
1124
+ TimeSeriesIdentifiers.add_member(:schema, Shapes::ShapeRef.new(shape: Schema, location_name: "Schema"))
1125
+ TimeSeriesIdentifiers.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
1126
+ TimeSeriesIdentifiers.struct_class = Types::TimeSeriesIdentifiers
1127
+
1128
+ TimeSeriesSelector.add_member(:time_series_identifiers, Shapes::ShapeRef.new(shape: TimeSeriesIdentifiers, location_name: "TimeSeriesIdentifiers"))
1129
+ TimeSeriesSelector.struct_class = Types::TimeSeriesSelector
1130
+
1110
1131
  TrainingParameters.key = Shapes::ShapeRef.new(shape: ParameterKey)
1111
1132
  TrainingParameters.value = Shapes::ShapeRef.new(shape: ParameterValue)
1112
1133
 
@@ -767,6 +767,7 @@ module Aws::ForecastService
767
767
  # value: "TagValue", # required
768
768
  # },
769
769
  # ],
770
+ # format: "Format",
770
771
  # }
771
772
  #
772
773
  # @!attribute [rw] dataset_import_job_name
@@ -880,6 +881,11 @@ module Aws::ForecastService
880
881
  # of `aws` do not count against your tags per resource limit.
881
882
  # @return [Array<Types::Tag>]
882
883
  #
884
+ # @!attribute [rw] format
885
+ # The format of the imported data, CSV or PARQUET. The default value
886
+ # is CSV.
887
+ # @return [String]
888
+ #
883
889
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetImportJobRequest AWS API Documentation
884
890
  #
885
891
  class CreateDatasetImportJobRequest < Struct.new(
@@ -890,7 +896,8 @@ module Aws::ForecastService
890
896
  :time_zone,
891
897
  :use_geolocation_for_time_zone,
892
898
  :geolocation_format,
893
- :tags)
899
+ :tags,
900
+ :format)
894
901
  SENSITIVE = []
895
902
  include Aws::Structure
896
903
  end
@@ -1068,6 +1075,7 @@ module Aws::ForecastService
1068
1075
  # value: "TagValue", # required
1069
1076
  # },
1070
1077
  # ],
1078
+ # format: "Format",
1071
1079
  # }
1072
1080
  #
1073
1081
  # @!attribute [rw] explainability_export_name
@@ -1115,13 +1123,18 @@ module Aws::ForecastService
1115
1123
  # prefix.
1116
1124
  # @return [Array<Types::Tag>]
1117
1125
  #
1126
+ # @!attribute [rw] format
1127
+ # The format of the exported data, CSV or PARQUET.
1128
+ # @return [String]
1129
+ #
1118
1130
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateExplainabilityExportRequest AWS API Documentation
1119
1131
  #
1120
1132
  class CreateExplainabilityExportRequest < Struct.new(
1121
1133
  :explainability_export_name,
1122
1134
  :explainability_arn,
1123
1135
  :destination,
1124
- :tags)
1136
+ :tags,
1137
+ :format)
1125
1138
  SENSITIVE = []
1126
1139
  include Aws::Structure
1127
1140
  end
@@ -1296,6 +1309,7 @@ module Aws::ForecastService
1296
1309
  # value: "TagValue", # required
1297
1310
  # },
1298
1311
  # ],
1312
+ # format: "Format",
1299
1313
  # }
1300
1314
  #
1301
1315
  # @!attribute [rw] forecast_export_job_name
@@ -1351,13 +1365,19 @@ module Aws::ForecastService
1351
1365
  # of `aws` do not count against your tags per resource limit.
1352
1366
  # @return [Array<Types::Tag>]
1353
1367
  #
1368
+ # @!attribute [rw] format
1369
+ # The format of the exported data, CSV or PARQUET. The default value
1370
+ # is CSV.
1371
+ # @return [String]
1372
+ #
1354
1373
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastExportJobRequest AWS API Documentation
1355
1374
  #
1356
1375
  class CreateForecastExportJobRequest < Struct.new(
1357
1376
  :forecast_export_job_name,
1358
1377
  :forecast_arn,
1359
1378
  :destination,
1360
- :tags)
1379
+ :tags,
1380
+ :format)
1361
1381
  SENSITIVE = []
1362
1382
  include Aws::Structure
1363
1383
  end
@@ -1387,6 +1407,26 @@ module Aws::ForecastService
1387
1407
  # value: "TagValue", # required
1388
1408
  # },
1389
1409
  # ],
1410
+ # time_series_selector: {
1411
+ # time_series_identifiers: {
1412
+ # data_source: {
1413
+ # s3_config: { # required
1414
+ # path: "S3Path", # required
1415
+ # role_arn: "Arn", # required
1416
+ # kms_key_arn: "KMSKeyArn",
1417
+ # },
1418
+ # },
1419
+ # schema: {
1420
+ # attributes: [
1421
+ # {
1422
+ # attribute_name: "Name",
1423
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
1424
+ # },
1425
+ # ],
1426
+ # },
1427
+ # format: "Format",
1428
+ # },
1429
+ # },
1390
1430
  # }
1391
1431
  #
1392
1432
  # @!attribute [rw] forecast_name
@@ -1444,13 +1484,27 @@ module Aws::ForecastService
1444
1484
  # of `aws` do not count against your tags per resource limit.
1445
1485
  # @return [Array<Types::Tag>]
1446
1486
  #
1487
+ # @!attribute [rw] time_series_selector
1488
+ # Defines the set of time series that are used to create the forecasts
1489
+ # in a `TimeSeriesIdentifiers` object.
1490
+ #
1491
+ # The `TimeSeriesIdentifiers` object needs the following information:
1492
+ #
1493
+ # * `DataSource`
1494
+ #
1495
+ # * `Format`
1496
+ #
1497
+ # * `Schema`
1498
+ # @return [Types::TimeSeriesSelector]
1499
+ #
1447
1500
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastRequest AWS API Documentation
1448
1501
  #
1449
1502
  class CreateForecastRequest < Struct.new(
1450
1503
  :forecast_name,
1451
1504
  :predictor_arn,
1452
1505
  :forecast_types,
1453
- :tags)
1506
+ :tags,
1507
+ :time_series_selector)
1454
1508
  SENSITIVE = []
1455
1509
  include Aws::Structure
1456
1510
  end
@@ -1538,6 +1592,7 @@ module Aws::ForecastService
1538
1592
  # value: "TagValue", # required
1539
1593
  # },
1540
1594
  # ],
1595
+ # format: "Format",
1541
1596
  # }
1542
1597
  #
1543
1598
  # @!attribute [rw] predictor_backtest_export_job_name
@@ -1586,13 +1641,19 @@ module Aws::ForecastService
1586
1641
  # prefix.
1587
1642
  # @return [Array<Types::Tag>]
1588
1643
  #
1644
+ # @!attribute [rw] format
1645
+ # The format of the exported data, CSV or PARQUET. The default value
1646
+ # is CSV.
1647
+ # @return [String]
1648
+ #
1589
1649
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobRequest AWS API Documentation
1590
1650
  #
1591
1651
  class CreatePredictorBacktestExportJobRequest < Struct.new(
1592
1652
  :predictor_backtest_export_job_name,
1593
1653
  :predictor_arn,
1594
1654
  :destination,
1595
- :tags)
1655
+ :tags,
1656
+ :format)
1596
1657
  SENSITIVE = []
1597
1658
  include Aws::Structure
1598
1659
  end
@@ -2758,6 +2819,10 @@ module Aws::ForecastService
2758
2819
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2759
2820
  # @return [Time]
2760
2821
  #
2822
+ # @!attribute [rw] format
2823
+ # The format of the imported data, CSV or PARQUET.
2824
+ # @return [String]
2825
+ #
2761
2826
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetImportJobResponse AWS API Documentation
2762
2827
  #
2763
2828
  class DescribeDatasetImportJobResponse < Struct.new(
@@ -2775,7 +2840,8 @@ module Aws::ForecastService
2775
2840
  :status,
2776
2841
  :message,
2777
2842
  :creation_time,
2778
- :last_modification_time)
2843
+ :last_modification_time,
2844
+ :format)
2779
2845
  SENSITIVE = []
2780
2846
  include Aws::Structure
2781
2847
  end
@@ -2924,7 +2990,7 @@ module Aws::ForecastService
2924
2990
  # @return [String]
2925
2991
  #
2926
2992
  # @!attribute [rw] explainability_arn
2927
- # The Amazon Resource Name (ARN) of the Explainability.
2993
+ # The Amazon Resource Name (ARN) of the Explainability export.
2928
2994
  # @return [String]
2929
2995
  #
2930
2996
  # @!attribute [rw] destination
@@ -2969,6 +3035,10 @@ module Aws::ForecastService
2969
3035
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2970
3036
  # @return [Time]
2971
3037
  #
3038
+ # @!attribute [rw] format
3039
+ # The format of the exported data, CSV or PARQUET.
3040
+ # @return [String]
3041
+ #
2972
3042
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainabilityExportResponse AWS API Documentation
2973
3043
  #
2974
3044
  class DescribeExplainabilityExportResponse < Struct.new(
@@ -2979,7 +3049,8 @@ module Aws::ForecastService
2979
3049
  :message,
2980
3050
  :status,
2981
3051
  :creation_time,
2982
- :last_modification_time)
3052
+ :last_modification_time,
3053
+ :format)
2983
3054
  SENSITIVE = []
2984
3055
  include Aws::Structure
2985
3056
  end
@@ -3183,6 +3254,10 @@ module Aws::ForecastService
3183
3254
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
3184
3255
  # @return [Time]
3185
3256
  #
3257
+ # @!attribute [rw] format
3258
+ # The format of the exported data, CSV or PARQUET.
3259
+ # @return [String]
3260
+ #
3186
3261
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJobResponse AWS API Documentation
3187
3262
  #
3188
3263
  class DescribeForecastExportJobResponse < Struct.new(
@@ -3193,7 +3268,8 @@ module Aws::ForecastService
3193
3268
  :message,
3194
3269
  :status,
3195
3270
  :creation_time,
3196
- :last_modification_time)
3271
+ :last_modification_time,
3272
+ :format)
3197
3273
  SENSITIVE = []
3198
3274
  include Aws::Structure
3199
3275
  end
@@ -3283,6 +3359,10 @@ module Aws::ForecastService
3283
3359
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
3284
3360
  # @return [Time]
3285
3361
  #
3362
+ # @!attribute [rw] time_series_selector
3363
+ # The time series to include in the forecast.
3364
+ # @return [Types::TimeSeriesSelector]
3365
+ #
3286
3366
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastResponse AWS API Documentation
3287
3367
  #
3288
3368
  class DescribeForecastResponse < Struct.new(
@@ -3295,7 +3375,8 @@ module Aws::ForecastService
3295
3375
  :status,
3296
3376
  :message,
3297
3377
  :creation_time,
3298
- :last_modification_time)
3378
+ :last_modification_time,
3379
+ :time_series_selector)
3299
3380
  SENSITIVE = []
3300
3381
  include Aws::Structure
3301
3382
  end
@@ -3458,6 +3539,10 @@ module Aws::ForecastService
3458
3539
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
3459
3540
  # @return [Time]
3460
3541
  #
3542
+ # @!attribute [rw] format
3543
+ # The format of the exported data, CSV or PARQUET.
3544
+ # @return [String]
3545
+ #
3461
3546
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobResponse AWS API Documentation
3462
3547
  #
3463
3548
  class DescribePredictorBacktestExportJobResponse < Struct.new(
@@ -3468,7 +3553,8 @@ module Aws::ForecastService
3468
3553
  :message,
3469
3554
  :status,
3470
3555
  :creation_time,
3471
- :last_modification_time)
3556
+ :last_modification_time,
3557
+ :format)
3472
3558
  SENSITIVE = []
3473
3559
  include Aws::Structure
3474
3560
  end
@@ -3829,8 +3915,8 @@ module Aws::ForecastService
3829
3915
  # use `ALL`. To create an Explainability for specific time series in
3830
3916
  # your datasets, use `SPECIFIC`.
3831
3917
  #
3832
- # Specify time series by uploading a CSV file to an Amazon S3 bucket
3833
- # and set the location within the DataDestination data type.
3918
+ # Specify time series by uploading a CSV or Parquet file to an Amazon
3919
+ # S3 bucket and set the location within the DataDestination data type.
3834
3920
  # @return [String]
3835
3921
  #
3836
3922
  # @!attribute [rw] time_point_granularity
@@ -6809,6 +6895,103 @@ module Aws::ForecastService
6809
6895
  include Aws::Structure
6810
6896
  end
6811
6897
 
6898
+ # Details about the import file that contains the time series for which
6899
+ # you want to create forecasts.
6900
+ #
6901
+ # @note When making an API call, you may pass TimeSeriesIdentifiers
6902
+ # data as a hash:
6903
+ #
6904
+ # {
6905
+ # data_source: {
6906
+ # s3_config: { # required
6907
+ # path: "S3Path", # required
6908
+ # role_arn: "Arn", # required
6909
+ # kms_key_arn: "KMSKeyArn",
6910
+ # },
6911
+ # },
6912
+ # schema: {
6913
+ # attributes: [
6914
+ # {
6915
+ # attribute_name: "Name",
6916
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
6917
+ # },
6918
+ # ],
6919
+ # },
6920
+ # format: "Format",
6921
+ # }
6922
+ #
6923
+ # @!attribute [rw] data_source
6924
+ # The source of your data, an AWS Identity and Access Management (IAM)
6925
+ # role that allows Amazon Forecast to access the data and, optionally,
6926
+ # an AWS Key Management Service (KMS) key.
6927
+ # @return [Types::DataSource]
6928
+ #
6929
+ # @!attribute [rw] schema
6930
+ # Defines the fields of a dataset.
6931
+ # @return [Types::Schema]
6932
+ #
6933
+ # @!attribute [rw] format
6934
+ # The format of the data, either CSV or PARQUET.
6935
+ # @return [String]
6936
+ #
6937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TimeSeriesIdentifiers AWS API Documentation
6938
+ #
6939
+ class TimeSeriesIdentifiers < Struct.new(
6940
+ :data_source,
6941
+ :schema,
6942
+ :format)
6943
+ SENSITIVE = []
6944
+ include Aws::Structure
6945
+ end
6946
+
6947
+ # Defines the set of time series that are used to create the forecasts
6948
+ # in a `TimeSeriesIdentifiers` object.
6949
+ #
6950
+ # The `TimeSeriesIdentifiers` object needs the following information:
6951
+ #
6952
+ # * `DataSource`
6953
+ #
6954
+ # * `Format`
6955
+ #
6956
+ # * `Schema`
6957
+ #
6958
+ # @note When making an API call, you may pass TimeSeriesSelector
6959
+ # data as a hash:
6960
+ #
6961
+ # {
6962
+ # time_series_identifiers: {
6963
+ # data_source: {
6964
+ # s3_config: { # required
6965
+ # path: "S3Path", # required
6966
+ # role_arn: "Arn", # required
6967
+ # kms_key_arn: "KMSKeyArn",
6968
+ # },
6969
+ # },
6970
+ # schema: {
6971
+ # attributes: [
6972
+ # {
6973
+ # attribute_name: "Name",
6974
+ # attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
6975
+ # },
6976
+ # ],
6977
+ # },
6978
+ # format: "Format",
6979
+ # },
6980
+ # }
6981
+ #
6982
+ # @!attribute [rw] time_series_identifiers
6983
+ # Details about the import file that contains the time series for
6984
+ # which you want to create forecasts.
6985
+ # @return [Types::TimeSeriesIdentifiers]
6986
+ #
6987
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TimeSeriesSelector AWS API Documentation
6988
+ #
6989
+ class TimeSeriesSelector < Struct.new(
6990
+ :time_series_identifiers)
6991
+ SENSITIVE = []
6992
+ include Aws::Structure
6993
+ end
6994
+
6812
6995
  # @note When making an API call, you may pass UntagResourceRequest
6813
6996
  # data as a hash:
6814
6997
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-forecastservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ForecastService
50
50
 
51
- GEM_VERSION = '1.35.0'
51
+ GEM_VERSION = '1.36.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-forecastservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-26 00:00:00.000000000 Z
11
+ date: 2022-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core