aws-sdk-forecastservice 1.39.0 → 1.40.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8df65d02e3313151742bd11a4176a55735f83e378fd4f5da955622e019d52b4
4
- data.tar.gz: 29ec16633a8cef73b84c1e0d90e5a97655a7862f8aabe812249ead991f49247a
3
+ metadata.gz: a820c2d47b5bcbe3e6bd16fe09919de6b61f8bb308ffb45afc28d167d9d8ad37
4
+ data.tar.gz: 969eb68b74e2458ff8cd5436f100a0f8c96da4b37d0c3393a4db8afd5617a087
5
5
  SHA512:
6
- metadata.gz: 6574ced4106d59a5b40978527d8f2ef9c4fc9e42bce0a071e5d41b20d8e7c15cb453710818c7001ad23e5663930b4b58696410a5c31018d865cc13b7f79808d7
7
- data.tar.gz: 340e11976fc985063343cd9931f116f1c6de3f1a322bd0302d0a802620e3ac85206c80f7c2daf00b3d1c8c677e2851ccf0ce92a34c95259fc9bd2bf27884cabf
6
+ metadata.gz: 49028778a0c1a37acd4ddaa981abe1ae7d4be75794bbf83de9cefb73c630be8a9947899c37d8ec8836daf492d96546ba77ef333364c59f022cb828fb753d34d5
7
+ data.tar.gz: cd29686259ede8d3ce6d45f6f4ee8173aaf2fad69124106fec5a1e9ab301122fe3daf5314ca285918c066047eb1c52bd23bb3efdb1ee815262cb9b9b648482c4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2023-02-01)
5
+ ------------------
6
+
7
+ * Feature - This release will enable customer select INCREMENTAL as ImportModel in Forecast's CreateDatasetImportJob API. Verified latest SDK containing required attribute, following https://w.amazon.com/bin/view/AWS-Seer/Launch/Trebuchet/
8
+
4
9
  1.39.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.40.0
@@ -452,10 +452,28 @@ module Aws::ForecastService
452
452
  # @option params [String] :forecast_frequency
453
453
  # The frequency of predictions in a forecast.
454
454
  #
455
- # Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour),
456
- # 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5
457
- # minutes), and 1min (1 minute). For example, "Y" indicates every year
458
- # and "5min" indicates every five minutes.
455
+ # Valid intervals are an integer followed by Y (Year), M (Month), W
456
+ # (Week), D (Day), H (Hour), and min (Minute). For example, "1D"
457
+ # indicates every day and "15min" indicates every 15 minutes. You
458
+ # cannot specify a value that would overlap with the next larger
459
+ # frequency. That means, for example, you cannot specify a frequency of
460
+ # 60 minutes, because that is equivalent to 1 hour. The valid values for
461
+ # each frequency are the following:
462
+ #
463
+ # * Minute - 1-59
464
+ #
465
+ # * Hour - 1-23
466
+ #
467
+ # * Day - 1-6
468
+ #
469
+ # * Week - 1-4
470
+ #
471
+ # * Month - 1-11
472
+ #
473
+ # * Year - 1
474
+ #
475
+ # Thus, if you want every other week forecasts, specify "2W". Or, if
476
+ # you want quarterly forecasts, you specify "3M".
459
477
  #
460
478
  # The frequency must be greater than or equal to the
461
479
  # TARGET\_TIME\_SERIES dataset frequency.
@@ -468,7 +486,7 @@ module Aws::ForecastService
468
486
  # datasets.
469
487
  #
470
488
  # @option params [Types::EncryptionConfig] :encryption_config
471
- # An AWS Key Management Service (KMS) key and an AWS Identity and Access
489
+ # An Key Management Service (KMS) key and an Identity and Access
472
490
  # Management (IAM) role that Amazon Forecast can assume to access the
473
491
  # key. You can specify this optional object in the CreateDataset and
474
492
  # CreatePredictor requests.
@@ -676,10 +694,28 @@ module Aws::ForecastService
676
694
  # The frequency of data collection. This parameter is required for
677
695
  # RELATED\_TIME\_SERIES datasets.
678
696
  #
679
- # Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour),
680
- # 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5
681
- # minutes), and 1min (1 minute). For example, "D" indicates every day
682
- # and "15min" indicates every 15 minutes.
697
+ # Valid intervals are an integer followed by Y (Year), M (Month), W
698
+ # (Week), D (Day), H (Hour), and min (Minute). For example, "1D"
699
+ # indicates every day and "15min" indicates every 15 minutes. You
700
+ # cannot specify a value that would overlap with the next larger
701
+ # frequency. That means, for example, you cannot specify a frequency of
702
+ # 60 minutes, because that is equivalent to 1 hour. The valid values for
703
+ # each frequency are the following:
704
+ #
705
+ # * Minute - 1-59
706
+ #
707
+ # * Hour - 1-23
708
+ #
709
+ # * Day - 1-6
710
+ #
711
+ # * Week - 1-4
712
+ #
713
+ # * Month - 1-11
714
+ #
715
+ # * Year - 1
716
+ #
717
+ # Thus, if you want every other week forecasts, specify "2W". Or, if
718
+ # you want quarterly forecasts, you specify "3M".
683
719
  #
684
720
  # @option params [required, Types::Schema] :schema
685
721
  # The schema for the dataset. The schema attributes and their order must
@@ -693,9 +729,9 @@ module Aws::ForecastService
693
729
  # [1]: https://docs.aws.amazon.com/forecast/latest/dg/howitworks-domains-ds-types.html
694
730
  #
695
731
  # @option params [Types::EncryptionConfig] :encryption_config
696
- # An AWS Key Management Service (KMS) key and the AWS Identity and
697
- # Access Management (IAM) role that Amazon Forecast can assume to access
698
- # the key.
732
+ # An Key Management Service (KMS) key and the Identity and Access
733
+ # Management (IAM) role that Amazon Forecast can assume to access the
734
+ # key.
699
735
  #
700
736
  # @option params [Array<Types::Tag>] :tags
701
737
  # The optional metadata that you apply to the dataset to help you
@@ -722,12 +758,12 @@ module Aws::ForecastService
722
758
  # * Tag keys and values are case sensitive.
723
759
  #
724
760
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
725
- # such as a prefix for keys as it is reserved for AWS use. You cannot
726
- # edit or delete tag keys with this prefix. Values can have this
727
- # prefix. If a tag value has `aws` as its prefix but the key does not,
728
- # then Forecast considers it to be a user tag and will count against
729
- # the limit of 50 tags. Tags with only the key prefix of `aws` do not
730
- # count against your tags per resource limit.
761
+ # such as a prefix for keys as it is reserved for Amazon Web Services
762
+ # use. You cannot edit or delete tag keys with this prefix. Values can
763
+ # have this prefix. If a tag value has `aws` as its prefix but the key
764
+ # does not, then Forecast considers it to be a user tag and will count
765
+ # against the limit of 50 tags. Tags with only the key prefix of `aws`
766
+ # do not count against your tags per resource limit.
731
767
  #
732
768
  # @return [Types::CreateDatasetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
733
769
  #
@@ -846,12 +882,12 @@ module Aws::ForecastService
846
882
  # * Tag keys and values are case sensitive.
847
883
  #
848
884
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
849
- # such as a prefix for keys as it is reserved for AWS use. You cannot
850
- # edit or delete tag keys with this prefix. Values can have this
851
- # prefix. If a tag value has `aws` as its prefix but the key does not,
852
- # then Forecast considers it to be a user tag and will count against
853
- # the limit of 50 tags. Tags with only the key prefix of `aws` do not
854
- # count against your tags per resource limit.
885
+ # such as a prefix for keys as it is reserved for Amazon Web Services
886
+ # use. You cannot edit or delete tag keys with this prefix. Values can
887
+ # have this prefix. If a tag value has `aws` as its prefix but the key
888
+ # does not, then Forecast considers it to be a user tag and will count
889
+ # against the limit of 50 tags. Tags with only the key prefix of `aws`
890
+ # do not count against your tags per resource limit.
855
891
  #
856
892
  # @return [Types::CreateDatasetGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
857
893
  #
@@ -889,11 +925,11 @@ module Aws::ForecastService
889
925
  # (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset
890
926
  # that you want to import the data to.
891
927
  #
892
- # You must specify a [DataSource][1] object that includes an AWS
893
- # Identity and Access Management (IAM) role that Amazon Forecast can
894
- # assume to access the data, as Amazon Forecast makes a copy of your
895
- # data and processes it in an internal AWS system. For more information,
896
- # see [Set up permissions][2].
928
+ # You must specify a [DataSource][1] object that includes an Identity
929
+ # and Access Management (IAM) role that Amazon Forecast can assume to
930
+ # access the data, as Amazon Forecast makes a copy of your data and
931
+ # processes it in an internal Amazon Web Services system. For more
932
+ # information, see [Set up permissions][2].
897
933
  #
898
934
  # The training data must be in CSV or Parquet format. The delimiter must
899
935
  # be a comma (,).
@@ -928,11 +964,11 @@ module Aws::ForecastService
928
964
  # want to import data to.
929
965
  #
930
966
  # @option params [required, Types::DataSource] :data_source
931
- # The location of the training data to import and an AWS Identity and
932
- # Access Management (IAM) role that Amazon Forecast can assume to access
933
- # the data. The training data must be stored in an Amazon S3 bucket.
967
+ # The location of the training data to import and an Identity and Access
968
+ # Management (IAM) role that Amazon Forecast can assume to access the
969
+ # data. The training data must be stored in an Amazon S3 bucket.
934
970
  #
935
- # If encryption is used, `DataSource` must include an AWS Key Management
971
+ # If encryption is used, `DataSource` must include an Key Management
936
972
  # Service (KMS) key and the IAM role must allow Amazon Forecast
937
973
  # permission to access the key. The KMS key and IAM role must match
938
974
  # those specified in the `EncryptionConfig` parameter of the
@@ -1012,17 +1048,23 @@ module Aws::ForecastService
1012
1048
  # * Tag keys and values are case sensitive.
1013
1049
  #
1014
1050
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1015
- # such as a prefix for keys as it is reserved for AWS use. You cannot
1016
- # edit or delete tag keys with this prefix. Values can have this
1017
- # prefix. If a tag value has `aws` as its prefix but the key does not,
1018
- # then Forecast considers it to be a user tag and will count against
1019
- # the limit of 50 tags. Tags with only the key prefix of `aws` do not
1020
- # count against your tags per resource limit.
1051
+ # such as a prefix for keys as it is reserved for Amazon Web Services
1052
+ # use. You cannot edit or delete tag keys with this prefix. Values can
1053
+ # have this prefix. If a tag value has `aws` as its prefix but the key
1054
+ # does not, then Forecast considers it to be a user tag and will count
1055
+ # against the limit of 50 tags. Tags with only the key prefix of `aws`
1056
+ # do not count against your tags per resource limit.
1021
1057
  #
1022
1058
  # @option params [String] :format
1023
1059
  # The format of the imported data, CSV or PARQUET. The default value is
1024
1060
  # CSV.
1025
1061
  #
1062
+ # @option params [String] :import_mode
1063
+ # Specifies whether the dataset import job is a `FULL` or `INCREMENTAL`
1064
+ # import. A `FULL` dataset import replaces all of the existing data with
1065
+ # the newly imported data. An `INCREMENTAL` import appends the imported
1066
+ # data to the existing data.
1067
+ #
1026
1068
  # @return [Types::CreateDatasetImportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1027
1069
  #
1028
1070
  # * {Types::CreateDatasetImportJobResponse#dataset_import_job_arn #dataset_import_job_arn} => String
@@ -1050,6 +1092,7 @@ module Aws::ForecastService
1050
1092
  # },
1051
1093
  # ],
1052
1094
  # format: "Format",
1095
+ # import_mode: "FULL", # accepts FULL, INCREMENTAL
1053
1096
  # })
1054
1097
  #
1055
1098
  # @example Response structure
@@ -1160,16 +1203,16 @@ module Aws::ForecastService
1160
1203
  # and time points for the Explainability.
1161
1204
  #
1162
1205
  # @option params [Types::DataSource] :data_source
1163
- # The source of your data, an AWS Identity and Access Management (IAM)
1164
- # role that allows Amazon Forecast to access the data and, optionally,
1165
- # an AWS Key Management Service (KMS) key.
1206
+ # The source of your data, an Identity and Access Management (IAM) role
1207
+ # that allows Amazon Forecast to access the data and, optionally, an Key
1208
+ # Management Service (KMS) key.
1166
1209
  #
1167
1210
  # @option params [Types::Schema] :schema
1168
1211
  # Defines the fields of a dataset.
1169
1212
  #
1170
1213
  # @option params [Boolean] :enable_visualization
1171
- # Create an Explainability visualization that is viewable within the AWS
1172
- # console.
1214
+ # Create an Explainability visualization that is viewable within the
1215
+ # Amazon Web Services console.
1173
1216
  #
1174
1217
  # @option params [String] :start_date_time
1175
1218
  # If `TimePointGranularity` is set to `SPECIFIC`, define the first point
@@ -1270,8 +1313,8 @@ module Aws::ForecastService
1270
1313
  # Service (Amazon S3) bucket.
1271
1314
  #
1272
1315
  # You must specify a DataDestination object that includes an Amazon S3
1273
- # bucket and an AWS Identity and Access Management (IAM) role that
1274
- # Amazon Forecast can assume to access the Amazon S3 bucket. For more
1316
+ # bucket and an Identity and Access Management (IAM) role that Amazon
1317
+ # Forecast can assume to access the Amazon S3 bucket. For more
1275
1318
  # information, see aws-forecast-iam-roles.
1276
1319
  #
1277
1320
  # <note markdown="1"> The `Status` of the export job must be `ACTIVE` before you can access
@@ -1287,9 +1330,9 @@ module Aws::ForecastService
1287
1330
  # The Amazon Resource Name (ARN) of the Explainability to export.
1288
1331
  #
1289
1332
  # @option params [required, Types::DataDestination] :destination
1290
- # The destination for an export job. Provide an S3 path, an AWS Identity
1291
- # and Access Management (IAM) role that allows Amazon Forecast to access
1292
- # the location, and an AWS Key Management Service (KMS) key (optional).
1333
+ # The destination for an export job. Provide an S3 path, an Identity and
1334
+ # Access Management (IAM) role that allows Amazon Forecast to access the
1335
+ # location, and an Key Management Service (KMS) key (optional).
1293
1336
  #
1294
1337
  # @option params [Array<Types::Tag>] :tags
1295
1338
  # Optional metadata to help you categorize and organize your resources.
@@ -1439,12 +1482,12 @@ module Aws::ForecastService
1439
1482
  # * Tag keys and values are case sensitive.
1440
1483
  #
1441
1484
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1442
- # such as a prefix for keys as it is reserved for AWS use. You cannot
1443
- # edit or delete tag keys with this prefix. Values can have this
1444
- # prefix. If a tag value has `aws` as its prefix but the key does not,
1445
- # then Forecast considers it to be a user tag and will count against
1446
- # the limit of 50 tags. Tags with only the key prefix of `aws` do not
1447
- # count against your tags per resource limit.
1485
+ # such as a prefix for keys as it is reserved for Amazon Web Services
1486
+ # use. You cannot edit or delete tag keys with this prefix. Values can
1487
+ # have this prefix. If a tag value has `aws` as its prefix but the key
1488
+ # does not, then Forecast considers it to be a user tag and will count
1489
+ # against the limit of 50 tags. Tags with only the key prefix of `aws`
1490
+ # do not count against your tags per resource limit.
1448
1491
  #
1449
1492
  # @option params [Types::TimeSeriesSelector] :time_series_selector
1450
1493
  # Defines the set of time series that are used to create the forecasts
@@ -1518,9 +1561,9 @@ module Aws::ForecastService
1518
1561
  # where the &lt;ExportTimestamp&gt; component is in Java
1519
1562
  # SimpleDateFormat (yyyy-MM-ddTHH-mm-ssZ).
1520
1563
  #
1521
- # You must specify a DataDestination object that includes an AWS
1522
- # Identity and Access Management (IAM) role that Amazon Forecast can
1523
- # assume to access the Amazon S3 bucket. For more information, see
1564
+ # You must specify a DataDestination object that includes an Identity
1565
+ # and Access Management (IAM) role that Amazon Forecast can assume to
1566
+ # access the Amazon S3 bucket. For more information, see
1524
1567
  # aws-forecast-iam-roles.
1525
1568
  #
1526
1569
  # For more information, see howitworks-forecast.
@@ -1542,14 +1585,13 @@ module Aws::ForecastService
1542
1585
  # export.
1543
1586
  #
1544
1587
  # @option params [required, Types::DataDestination] :destination
1545
- # The location where you want to save the forecast and an AWS Identity
1546
- # and Access Management (IAM) role that Amazon Forecast can assume to
1547
- # access the location. The forecast must be exported to an Amazon S3
1548
- # bucket.
1588
+ # The location where you want to save the forecast and an Identity and
1589
+ # Access Management (IAM) role that Amazon Forecast can assume to access
1590
+ # the location. The forecast must be exported to an Amazon S3 bucket.
1549
1591
  #
1550
- # If encryption is used, `Destination` must include an AWS Key
1551
- # Management Service (KMS) key. The IAM role must allow Amazon Forecast
1552
- # permission to access the key.
1592
+ # If encryption is used, `Destination` must include an Key Management
1593
+ # Service (KMS) key. The IAM role must allow Amazon Forecast permission
1594
+ # to access the key.
1553
1595
  #
1554
1596
  # @option params [Array<Types::Tag>] :tags
1555
1597
  # The optional metadata that you apply to the forecast export job to
@@ -1576,12 +1618,12 @@ module Aws::ForecastService
1576
1618
  # * Tag keys and values are case sensitive.
1577
1619
  #
1578
1620
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1579
- # such as a prefix for keys as it is reserved for AWS use. You cannot
1580
- # edit or delete tag keys with this prefix. Values can have this
1581
- # prefix. If a tag value has `aws` as its prefix but the key does not,
1582
- # then Forecast considers it to be a user tag and will count against
1583
- # the limit of 50 tags. Tags with only the key prefix of `aws` do not
1584
- # count against your tags per resource limit.
1621
+ # such as a prefix for keys as it is reserved for Amazon Web Services
1622
+ # use. You cannot edit or delete tag keys with this prefix. Values can
1623
+ # have this prefix. If a tag value has `aws` as its prefix but the key
1624
+ # does not, then Forecast considers it to be a user tag and will count
1625
+ # against the limit of 50 tags. Tags with only the key prefix of `aws`
1626
+ # do not count against your tags per resource limit.
1585
1627
  #
1586
1628
  # @option params [String] :format
1587
1629
  # The format of the exported data, CSV or PARQUET. The default value is
@@ -1794,8 +1836,8 @@ module Aws::ForecastService
1794
1836
  #
1795
1837
  # @option params [String] :auto_ml_override_strategy
1796
1838
  # <note markdown="1"> The `LatencyOptimized` AutoML override strategy is only available in
1797
- # private beta. Contact AWS Support or your account manager to learn
1798
- # more about access privileges.
1839
+ # private beta. Contact Amazon Web Services Support or your account
1840
+ # manager to learn more about access privileges.
1799
1841
  #
1800
1842
  # </note>
1801
1843
  #
@@ -1856,9 +1898,9 @@ module Aws::ForecastService
1856
1898
  # The featurization configuration.
1857
1899
  #
1858
1900
  # @option params [Types::EncryptionConfig] :encryption_config
1859
- # An AWS Key Management Service (KMS) key and the AWS Identity and
1860
- # Access Management (IAM) role that Amazon Forecast can assume to access
1861
- # the key.
1901
+ # An Key Management Service (KMS) key and the Identity and Access
1902
+ # Management (IAM) role that Amazon Forecast can assume to access the
1903
+ # key.
1862
1904
  #
1863
1905
  # @option params [Array<Types::Tag>] :tags
1864
1906
  # The optional metadata that you apply to the predictor to help you
@@ -1885,12 +1927,12 @@ module Aws::ForecastService
1885
1927
  # * Tag keys and values are case sensitive.
1886
1928
  #
1887
1929
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
1888
- # such as a prefix for keys as it is reserved for AWS use. You cannot
1889
- # edit or delete tag keys with this prefix. Values can have this
1890
- # prefix. If a tag value has `aws` as its prefix but the key does not,
1891
- # then Forecast considers it to be a user tag and will count against
1892
- # the limit of 50 tags. Tags with only the key prefix of `aws` do not
1893
- # count against your tags per resource limit.
1930
+ # such as a prefix for keys as it is reserved for Amazon Web Services
1931
+ # use. You cannot edit or delete tag keys with this prefix. Values can
1932
+ # have this prefix. If a tag value has `aws` as its prefix but the key
1933
+ # does not, then Forecast considers it to be a user tag and will count
1934
+ # against the limit of 50 tags. Tags with only the key prefix of `aws`
1935
+ # do not count against your tags per resource limit.
1894
1936
  #
1895
1937
  # @option params [String] :optimization_metric
1896
1938
  # The accuracy metric used to optimize the predictor.
@@ -2007,8 +2049,8 @@ module Aws::ForecastService
2007
2049
  # (yyyy-MM-ddTHH-mm-ssZ).
2008
2050
  #
2009
2051
  # You must specify a DataDestination object that includes an Amazon S3
2010
- # bucket and an AWS Identity and Access Management (IAM) role that
2011
- # Amazon Forecast can assume to access the Amazon S3 bucket. For more
2052
+ # bucket and an Identity and Access Management (IAM) role that Amazon
2053
+ # Forecast can assume to access the Amazon S3 bucket. For more
2012
2054
  # information, see aws-forecast-iam-roles.
2013
2055
  #
2014
2056
  # <note markdown="1"> The `Status` of the export job must be `ACTIVE` before you can access
@@ -2025,9 +2067,9 @@ module Aws::ForecastService
2025
2067
  # export.
2026
2068
  #
2027
2069
  # @option params [required, Types::DataDestination] :destination
2028
- # The destination for an export job. Provide an S3 path, an AWS Identity
2029
- # and Access Management (IAM) role that allows Amazon Forecast to access
2030
- # the location, and an AWS Key Management Service (KMS) key (optional).
2070
+ # The destination for an export job. Provide an S3 path, an Identity and
2071
+ # Access Management (IAM) role that allows Amazon Forecast to access the
2072
+ # location, and an Key Management Service (KMS) key (optional).
2031
2073
  #
2032
2074
  # @option params [Array<Types::Tag>] :tags
2033
2075
  # Optional metadata to help you categorize and organize your backtests.
@@ -2109,12 +2151,13 @@ module Aws::ForecastService
2109
2151
  # For example, imagine you are a clothing retailer who is considering an
2110
2152
  # end of season sale to clear space for new styles. After creating a
2111
2153
  # baseline forecast, you can use a what-if analysis to investigate how
2112
- # different sales tactics might affect your goals. You could create a
2113
- # scenario where everything is given a 25% markdown and another where
2114
- # everything is given a fixed dollar markdown. You can create a scenario
2115
- # where the sale lasts for 1 week and another where the sale lasts for 1
2116
- # month. Your what-if analysis enables you to compare many different
2117
- # scenarios against each other.
2154
+ # different sales tactics might affect your goals.
2155
+ #
2156
+ # You could create a scenario where everything is given a 25% markdown,
2157
+ # and another where everything is given a fixed dollar markdown. You
2158
+ # could create a scenario where the sale lasts for one week and another
2159
+ # where the sale lasts for one month. With a what-if analysis, you can
2160
+ # compare many different scenarios against each other.
2118
2161
  #
2119
2162
  # Note that a what-if analysis is meant to display what the forecasting
2120
2163
  # model has learned and how it will behave in the scenarios that you are
@@ -2225,8 +2268,9 @@ module Aws::ForecastService
2225
2268
  # want to change in the related time series dataset. A replacement time
2226
2269
  # series does not need to contain all rows that are in the baseline
2227
2270
  # related time series. Include only the rows (measure-dimension
2228
- # combinations) that you want to include in the what-if forecast. This
2229
- # dataset is merged with the original time series to create a
2271
+ # combinations) that you want to include in the what-if forecast.
2272
+ #
2273
+ # This dataset is merged with the original time series to create a
2230
2274
  # transformed dataset that is used for the what-if analysis.
2231
2275
  #
2232
2276
  # This dataset should contain the items to modify (such as item\_id or
@@ -2316,9 +2360,9 @@ module Aws::ForecastService
2316
2360
  # The &lt;ExportTimestamp&gt; component is in Java SimpleDateFormat
2317
2361
  # (yyyy-MM-ddTHH-mm-ssZ).
2318
2362
  #
2319
- # You must specify a DataDestination object that includes an AWS
2320
- # Identity and Access Management (IAM) role that Amazon Forecast can
2321
- # assume to access the Amazon S3 bucket. For more information, see
2363
+ # You must specify a DataDestination object that includes an Identity
2364
+ # and Access Management (IAM) role that Amazon Forecast can assume to
2365
+ # access the Amazon S3 bucket. For more information, see
2322
2366
  # aws-forecast-iam-roles.
2323
2367
  #
2324
2368
  # For more information, see howitworks-forecast.
@@ -2339,14 +2383,13 @@ module Aws::ForecastService
2339
2383
  # The list of what-if forecast Amazon Resource Names (ARNs) to export.
2340
2384
  #
2341
2385
  # @option params [required, Types::DataDestination] :destination
2342
- # The location where you want to save the forecast and an AWS Identity
2343
- # and Access Management (IAM) role that Amazon Forecast can assume to
2344
- # access the location. The forecast must be exported to an Amazon S3
2345
- # bucket.
2386
+ # The location where you want to save the forecast and an Identity and
2387
+ # Access Management (IAM) role that Amazon Forecast can assume to access
2388
+ # the location. The forecast must be exported to an Amazon S3 bucket.
2346
2389
  #
2347
- # If encryption is used, `Destination` must include an AWS Key
2348
- # Management Service (KMS) key. The IAM role must allow Amazon Forecast
2349
- # permission to access the key.
2390
+ # If encryption is used, `Destination` must include an Key Management
2391
+ # Service (KMS) key. The IAM role must allow Amazon Forecast permission
2392
+ # to access the key.
2350
2393
  #
2351
2394
  # @option params [Array<Types::Tag>] :tags
2352
2395
  # A list of [tags][1] to apply to the what if forecast.
@@ -3051,6 +3094,7 @@ module Aws::ForecastService
3051
3094
  # * {Types::DescribeDatasetImportJobResponse#creation_time #creation_time} => Time
3052
3095
  # * {Types::DescribeDatasetImportJobResponse#last_modification_time #last_modification_time} => Time
3053
3096
  # * {Types::DescribeDatasetImportJobResponse#format #format} => String
3097
+ # * {Types::DescribeDatasetImportJobResponse#import_mode #import_mode} => String
3054
3098
  #
3055
3099
  # @example Request syntax with placeholder values
3056
3100
  #
@@ -3090,6 +3134,7 @@ module Aws::ForecastService
3090
3134
  # resp.creation_time #=> Time
3091
3135
  # resp.last_modification_time #=> Time
3092
3136
  # resp.format #=> String
3137
+ # resp.import_mode #=> String, one of "FULL", "INCREMENTAL"
3093
3138
  #
3094
3139
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetImportJob AWS API Documentation
3095
3140
  #
@@ -4006,6 +4051,7 @@ module Aws::ForecastService
4006
4051
  # resp.dataset_import_jobs[0].message #=> String
4007
4052
  # resp.dataset_import_jobs[0].creation_time #=> Time
4008
4053
  # resp.dataset_import_jobs[0].last_modification_time #=> Time
4054
+ # resp.dataset_import_jobs[0].import_mode #=> String, one of "FULL", "INCREMENTAL"
4009
4055
  # resp.next_token #=> String
4010
4056
  #
4011
4057
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasetImportJobs AWS API Documentation
@@ -5121,12 +5167,12 @@ module Aws::ForecastService
5121
5167
  # * Tag keys and values are case sensitive.
5122
5168
  #
5123
5169
  # * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
5124
- # such as a prefix for keys as it is reserved for AWS use. You cannot
5125
- # edit or delete tag keys with this prefix. Values can have this
5126
- # prefix. If a tag value has `aws` as its prefix but the key does not,
5127
- # then Forecast considers it to be a user tag and will count against
5128
- # the limit of 50 tags. Tags with only the key prefix of `aws` do not
5129
- # count against your tags per resource limit.
5170
+ # such as a prefix for keys as it is reserved for Amazon Web Services
5171
+ # use. You cannot edit or delete tag keys with this prefix. Values can
5172
+ # have this prefix. If a tag value has `aws` as its prefix but the key
5173
+ # does not, then Forecast considers it to be a user tag and will count
5174
+ # against the limit of 50 tags. Tags with only the key prefix of `aws`
5175
+ # do not count against your tags per resource limit.
5130
5176
  #
5131
5177
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5132
5178
  #
@@ -5228,7 +5274,7 @@ module Aws::ForecastService
5228
5274
  params: params,
5229
5275
  config: config)
5230
5276
  context[:gem_name] = 'aws-sdk-forecastservice'
5231
- context[:gem_version] = '1.39.0'
5277
+ context[:gem_version] = '1.40.0'
5232
5278
  Seahorse::Client::Request.new(handlers, context)
5233
5279
  end
5234
5280
 
@@ -157,6 +157,7 @@ module Aws::ForecastService
157
157
  GetAccuracyMetricsResponse = Shapes::StructureShape.new(name: 'GetAccuracyMetricsResponse')
158
158
  Hour = Shapes::IntegerShape.new(name: 'Hour')
159
159
  HyperParameterTuningJobConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningJobConfig')
160
+ ImportMode = Shapes::StringShape.new(name: 'ImportMode')
160
161
  InputDataConfig = Shapes::StructureShape.new(name: 'InputDataConfig')
161
162
  Integer = Shapes::IntegerShape.new(name: 'Integer')
162
163
  IntegerParameterRange = Shapes::StructureShape.new(name: 'IntegerParameterRange')
@@ -372,6 +373,7 @@ module Aws::ForecastService
372
373
  CreateDatasetImportJobRequest.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
373
374
  CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
374
375
  CreateDatasetImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
376
+ CreateDatasetImportJobRequest.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "ImportMode"))
375
377
  CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
376
378
 
377
379
  CreateDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn"))
@@ -526,6 +528,7 @@ module Aws::ForecastService
526
528
  DatasetImportJobSummary.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
527
529
  DatasetImportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
528
530
  DatasetImportJobSummary.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
531
+ DatasetImportJobSummary.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "ImportMode"))
529
532
  DatasetImportJobSummary.struct_class = Types::DatasetImportJobSummary
530
533
 
531
534
  DatasetImportJobs.member = Shapes::ShapeRef.new(shape: DatasetImportJobSummary)
@@ -637,6 +640,7 @@ module Aws::ForecastService
637
640
  DescribeDatasetImportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
638
641
  DescribeDatasetImportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
639
642
  DescribeDatasetImportJobResponse.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
643
+ DescribeDatasetImportJobResponse.add_member(:import_mode, Shapes::ShapeRef.new(shape: ImportMode, location_name: "ImportMode"))
640
644
  DescribeDatasetImportJobResponse.struct_class = Types::DescribeDatasetImportJobResponse
641
645
 
642
646
  DescribeDatasetRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn"))
@@ -50,6 +50,9 @@ module Aws::ForecastService
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::ForecastService
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end