aws-sdk-forecastservice 1.15.0 → 1.16.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: 98f6a824086513cdba18f8ef9094184651e0aeda59269c8f189d4d43c8e2a592
4
- data.tar.gz: 2ad50a3f22c6cdb1e5f56ce257165929ae8242fc81f7390972bef40c4c0e1937
3
+ metadata.gz: 3837442c9af2a5a98a59e49a12a86dbe1b4e3d5666f5d282354520f2eb8cb792
4
+ data.tar.gz: 806d88f643d636b08e01c5f17637a619a9b83654337fbb249e401d2371788ba7
5
5
  SHA512:
6
- metadata.gz: ea26e478e109994431b5b900dadbaadc96717ee98fd83fb5fdf1b9fb5671eed7c988dc17ef98a4c82b80047e599066bfbb696693f93d644a1602f798a129879e
7
- data.tar.gz: 2bcea47a137d9b2a08453ad4034d59cd47a013db8b86a8db15d337dd47ef6dd8c284a2a59b2f02e3477dd06839dbfb73a42e85ee00627b520e0436699fce2eef
6
+ metadata.gz: 2ad14e8d73344cf2bcc58d9b3f2d662f681e1fa3ec039016af1b58a8be75c82a888ffc1c667ac59804fb5a96ca6078cab3aed0e3376fed160449d3c4c0139e01
7
+ data.tar.gz: c5694ee5ac1c2bf4de1420685f26c555e5d82d7980fdf8ca840ae977bc547f2abf8fd16d9c92ad78d3ae01312fff4441b2c1cb28f9590af99d9315bc0086bb3d
@@ -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.15.0'
51
+ GEM_VERSION = '1.16.0'
52
52
 
53
53
  end
@@ -2475,7 +2475,7 @@ module Aws::ForecastService
2475
2475
  # export jobs, specify `IS_NOT`.
2476
2476
  #
2477
2477
  # * `Key` - The name of the parameter to filter on. Valid values are
2478
- # `PredictorBacktestExportJobArn` and `Status`.
2478
+ # `PredictorArn` and `Status`.
2479
2479
  #
2480
2480
  # * `Value` - The value to match.
2481
2481
  #
@@ -2637,6 +2637,48 @@ module Aws::ForecastService
2637
2637
  req.send_request(options)
2638
2638
  end
2639
2639
 
2640
+ # Stops a resource.
2641
+ #
2642
+ # The resource undergoes the following states: `CREATE_STOPPING` and
2643
+ # `CREATE_STOPPED`. You cannot resume a resource once it has been
2644
+ # stopped.
2645
+ #
2646
+ # This operation can be applied to the following resources (and their
2647
+ # corresponding child resources):
2648
+ #
2649
+ # * Dataset Import Job
2650
+ #
2651
+ # * Predictor Job
2652
+ #
2653
+ # * Forecast Job
2654
+ #
2655
+ # * Forecast Export Job
2656
+ #
2657
+ # * Predictor Backtest Export Job
2658
+ #
2659
+ # @option params [required, String] :resource_arn
2660
+ # The Amazon Resource Name (ARN) that identifies the resource to stop.
2661
+ # The supported ARNs are `DatasetImportJobArn`, `PredictorArn`,
2662
+ # `PredictorBacktestExportJobArn`, `ForecastArn`, and
2663
+ # `ForecastExportJobArn`.
2664
+ #
2665
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2666
+ #
2667
+ # @example Request syntax with placeholder values
2668
+ #
2669
+ # resp = client.stop_resource({
2670
+ # resource_arn: "Arn", # required
2671
+ # })
2672
+ #
2673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/StopResource AWS API Documentation
2674
+ #
2675
+ # @overload stop_resource(params = {})
2676
+ # @param [Hash] params ({})
2677
+ def stop_resource(params = {}, options = {})
2678
+ req = build_request(:stop_resource, params)
2679
+ req.send_request(options)
2680
+ end
2681
+
2640
2682
  # Associates the specified tags to a resource with the specified
2641
2683
  # `resourceArn`. If existing tags on a resource are not specified in the
2642
2684
  # request parameters, they are not changed. When a resource is deleted,
@@ -2776,7 +2818,7 @@ module Aws::ForecastService
2776
2818
  params: params,
2777
2819
  config: config)
2778
2820
  context[:gem_name] = 'aws-sdk-forecastservice'
2779
- context[:gem_version] = '1.15.0'
2821
+ context[:gem_version] = '1.16.0'
2780
2822
  Seahorse::Client::Request.new(handlers, context)
2781
2823
  end
2782
2824
 
@@ -148,6 +148,7 @@ module Aws::ForecastService
148
148
  SchemaAttributes = Shapes::ListShape.new(name: 'SchemaAttributes')
149
149
  Statistics = Shapes::StructureShape.new(name: 'Statistics')
150
150
  Status = Shapes::StringShape.new(name: 'Status')
151
+ StopResourceRequest = Shapes::StructureShape.new(name: 'StopResourceRequest')
151
152
  String = Shapes::StringShape.new(name: 'String')
152
153
  SupplementaryFeature = Shapes::StructureShape.new(name: 'SupplementaryFeature')
153
154
  SupplementaryFeatures = Shapes::ListShape.new(name: 'SupplementaryFeatures')
@@ -687,6 +688,9 @@ module Aws::ForecastService
687
688
  Statistics.add_member(:stddev, Shapes::ShapeRef.new(shape: Double, location_name: "Stddev"))
688
689
  Statistics.struct_class = Types::Statistics
689
690
 
691
+ StopResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
692
+ StopResourceRequest.struct_class = Types::StopResourceRequest
693
+
690
694
  SupplementaryFeature.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
691
695
  SupplementaryFeature.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "Value"))
692
696
  SupplementaryFeature.struct_class = Types::SupplementaryFeature
@@ -1133,6 +1137,17 @@ module Aws::ForecastService
1133
1137
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1134
1138
  end)
1135
1139
 
1140
+ api.add_operation(:stop_resource, Seahorse::Model::Operation.new.tap do |o|
1141
+ o.name = "StopResource"
1142
+ o.http_method = "POST"
1143
+ o.http_request_uri = "/"
1144
+ o.input = Shapes::ShapeRef.new(shape: StopResourceRequest)
1145
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1146
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1149
+ end)
1150
+
1136
1151
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1137
1152
  o.name = "TagResource"
1138
1153
  o.http_method = "POST"
@@ -1158,16 +1158,15 @@ module Aws::ForecastService
1158
1158
  # @return [Types::DataSource]
1159
1159
  #
1160
1160
  # @!attribute [rw] status
1161
- # The status of the dataset import job. The status is reflected in the
1162
- # status of the dataset. For example, when the import job status is
1163
- # `CREATE_IN_PROGRESS`, the status of the dataset is
1164
- # `UPDATE_IN_PROGRESS`. States include:
1161
+ # The status of the dataset import job. States include:
1165
1162
  #
1166
1163
  # * `ACTIVE`
1167
1164
  #
1168
1165
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1169
1166
  #
1170
1167
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1168
+ #
1169
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1171
1170
  # @return [String]
1172
1171
  #
1173
1172
  # @!attribute [rw] message
@@ -1179,13 +1178,17 @@ module Aws::ForecastService
1179
1178
  # @return [Time]
1180
1179
  #
1181
1180
  # @!attribute [rw] last_modification_time
1182
- # The last time that the dataset was modified. The time depends on the
1183
- # status of the job, as follows:
1181
+ # The last time the resource was modified. The timestamp depends on
1182
+ # the status of the job:
1184
1183
  #
1185
- # * `CREATE_PENDING` - The same time as `CreationTime`.
1184
+ # * `CREATE_PENDING` - The `CreationTime`.
1186
1185
  #
1187
1186
  # * `CREATE_IN_PROGRESS` - The current timestamp.
1188
1187
  #
1188
+ # * `CREATE_STOPPING` - The current timestamp.
1189
+ #
1190
+ # * `CREATE_STOPPED` - When the job stopped.
1191
+ #
1189
1192
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1190
1193
  # @return [Time]
1191
1194
  #
@@ -1543,16 +1546,15 @@ module Aws::ForecastService
1543
1546
  # @return [Float]
1544
1547
  #
1545
1548
  # @!attribute [rw] status
1546
- # The status of the dataset import job. The status is reflected in the
1547
- # status of the dataset. For example, when the import job status is
1548
- # `CREATE_IN_PROGRESS`, the status of the dataset is
1549
- # `UPDATE_IN_PROGRESS`. States include:
1549
+ # The status of the dataset import job. States include:
1550
1550
  #
1551
1551
  # * `ACTIVE`
1552
1552
  #
1553
1553
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1554
1554
  #
1555
1555
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1556
+ #
1557
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1556
1558
  # @return [String]
1557
1559
  #
1558
1560
  # @!attribute [rw] message
@@ -1564,13 +1566,17 @@ module Aws::ForecastService
1564
1566
  # @return [Time]
1565
1567
  #
1566
1568
  # @!attribute [rw] last_modification_time
1567
- # The last time that the dataset was modified. The time depends on the
1568
- # status of the job, as follows:
1569
+ # The last time the resource was modified. The timestamp depends on
1570
+ # the status of the job:
1569
1571
  #
1570
- # * `CREATE_PENDING` - The same time as `CreationTime`.
1572
+ # * `CREATE_PENDING` - The `CreationTime`.
1571
1573
  #
1572
1574
  # * `CREATE_IN_PROGRESS` - The current timestamp.
1573
1575
  #
1576
+ # * `CREATE_STOPPING` - The current timestamp.
1577
+ #
1578
+ # * `CREATE_STOPPED` - When the job stopped.
1579
+ #
1574
1580
  # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1575
1581
  # @return [Time]
1576
1582
  #
@@ -1750,6 +1756,8 @@ module Aws::ForecastService
1750
1756
  #
1751
1757
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1752
1758
  #
1759
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1760
+ #
1753
1761
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1754
1762
  #
1755
1763
  # <note markdown="1"> The `Status` of the forecast export job must be `ACTIVE` before you
@@ -1763,7 +1771,18 @@ module Aws::ForecastService
1763
1771
  # @return [Time]
1764
1772
  #
1765
1773
  # @!attribute [rw] last_modification_time
1766
- # When the last successful export job finished.
1774
+ # The last time the resource was modified. The timestamp depends on
1775
+ # the status of the job:
1776
+ #
1777
+ # * `CREATE_PENDING` - The `CreationTime`.
1778
+ #
1779
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
1780
+ #
1781
+ # * `CREATE_STOPPING` - The current timestamp.
1782
+ #
1783
+ # * `CREATE_STOPPED` - When the job stopped.
1784
+ #
1785
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1767
1786
  # @return [Time]
1768
1787
  #
1769
1788
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJobResponse AWS API Documentation
@@ -1828,6 +1847,8 @@ module Aws::ForecastService
1828
1847
  #
1829
1848
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1830
1849
  #
1850
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1851
+ #
1831
1852
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1832
1853
  #
1833
1854
  # <note markdown="1"> The `Status` of the forecast must be `ACTIVE` before you can query
@@ -1845,11 +1866,18 @@ module Aws::ForecastService
1845
1866
  # @return [Time]
1846
1867
  #
1847
1868
  # @!attribute [rw] last_modification_time
1848
- # Initially, the same as `CreationTime` (status is `CREATE_PENDING`).
1849
- # Updated when inference (creating the forecast) starts (status
1850
- # changed to `CREATE_IN_PROGRESS`), and when inference is complete
1851
- # (status changed to `ACTIVE`) or fails (status changed to
1852
- # `CREATE_FAILED`).
1869
+ # The last time the resource was modified. The timestamp depends on
1870
+ # the status of the job:
1871
+ #
1872
+ # * `CREATE_PENDING` - The `CreationTime`.
1873
+ #
1874
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
1875
+ #
1876
+ # * `CREATE_STOPPING` - The current timestamp.
1877
+ #
1878
+ # * `CREATE_STOPPED` - When the job stopped.
1879
+ #
1880
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1853
1881
  # @return [Time]
1854
1882
  #
1855
1883
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastResponse AWS API Documentation
@@ -1916,17 +1944,11 @@ module Aws::ForecastService
1916
1944
  #
1917
1945
  # * `ACTIVE`
1918
1946
  #
1919
- # * `CREATE_PENDING`
1920
- #
1921
- # * `CREATE_IN_PROGRESS`
1922
- #
1923
- # * `CREATE_FAILED`
1924
- #
1925
- # * `DELETE_PENDING`
1947
+ # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
1926
1948
  #
1927
- # * `DELETE_IN_PROGRESS`
1949
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
1928
1950
  #
1929
- # * `DELETE_FAILED`
1951
+ # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
1930
1952
  # @return [String]
1931
1953
  #
1932
1954
  # @!attribute [rw] creation_time
@@ -1934,7 +1956,18 @@ module Aws::ForecastService
1934
1956
  # @return [Time]
1935
1957
  #
1936
1958
  # @!attribute [rw] last_modification_time
1937
- # When the last successful export job finished.
1959
+ # The last time the resource was modified. The timestamp depends on
1960
+ # the status of the job:
1961
+ #
1962
+ # * `CREATE_PENDING` - The `CreationTime`.
1963
+ #
1964
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
1965
+ #
1966
+ # * `CREATE_STOPPING` - The current timestamp.
1967
+ #
1968
+ # * `CREATE_STOPPED` - When the job stopped.
1969
+ #
1970
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
1938
1971
  # @return [Time]
1939
1972
  #
1940
1973
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobResponse AWS API Documentation
@@ -2062,7 +2095,7 @@ module Aws::ForecastService
2062
2095
  #
2063
2096
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
2064
2097
  #
2065
- # * `UPDATE_PENDING`, `UPDATE_IN_PROGRESS`, `UPDATE_FAILED`
2098
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
2066
2099
  #
2067
2100
  # <note markdown="1"> The `Status` of the predictor must be `ACTIVE` before you can use
2068
2101
  # the predictor to create a forecast.
@@ -2079,11 +2112,18 @@ module Aws::ForecastService
2079
2112
  # @return [Time]
2080
2113
  #
2081
2114
  # @!attribute [rw] last_modification_time
2082
- # Initially, the same as `CreationTime` (when the status is
2083
- # `CREATE_PENDING`). This value is updated when training starts (when
2084
- # the status changes to `CREATE_IN_PROGRESS`), and when training has
2085
- # completed (when the status changes to `ACTIVE`) or fails (when the
2086
- # status changes to `CREATE_FAILED`).
2115
+ # The last time the resource was modified. The timestamp depends on
2116
+ # the status of the job:
2117
+ #
2118
+ # * `CREATE_PENDING` - The `CreationTime`.
2119
+ #
2120
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
2121
+ #
2122
+ # * `CREATE_STOPPING` - The current timestamp.
2123
+ #
2124
+ # * `CREATE_STOPPED` - When the job stopped.
2125
+ #
2126
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2087
2127
  # @return [Time]
2088
2128
  #
2089
2129
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorResponse AWS API Documentation
@@ -2515,6 +2555,8 @@ module Aws::ForecastService
2515
2555
  #
2516
2556
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
2517
2557
  #
2558
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
2559
+ #
2518
2560
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
2519
2561
  #
2520
2562
  # <note markdown="1"> The `Status` of the forecast export job must be `ACTIVE` before you
@@ -2532,7 +2574,18 @@ module Aws::ForecastService
2532
2574
  # @return [Time]
2533
2575
  #
2534
2576
  # @!attribute [rw] last_modification_time
2535
- # When the last successful export job finished.
2577
+ # The last time the resource was modified. The timestamp depends on
2578
+ # the status of the job:
2579
+ #
2580
+ # * `CREATE_PENDING` - The `CreationTime`.
2581
+ #
2582
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
2583
+ #
2584
+ # * `CREATE_STOPPING` - The current timestamp.
2585
+ #
2586
+ # * `CREATE_STOPPED` - When the job stopped.
2587
+ #
2588
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2536
2589
  # @return [Time]
2537
2590
  #
2538
2591
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ForecastExportJobSummary AWS API Documentation
@@ -2578,6 +2631,8 @@ module Aws::ForecastService
2578
2631
  #
2579
2632
  # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
2580
2633
  #
2634
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
2635
+ #
2581
2636
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
2582
2637
  #
2583
2638
  # <note markdown="1"> The `Status` of the forecast must be `ACTIVE` before you can query
@@ -2595,11 +2650,18 @@ module Aws::ForecastService
2595
2650
  # @return [Time]
2596
2651
  #
2597
2652
  # @!attribute [rw] last_modification_time
2598
- # Initially, the same as `CreationTime` (status is `CREATE_PENDING`).
2599
- # Updated when inference (creating the forecast) starts (status
2600
- # changed to `CREATE_IN_PROGRESS`), and when inference is complete
2601
- # (status changed to `ACTIVE`) or fails (status changed to
2602
- # `CREATE_FAILED`).
2653
+ # The last time the resource was modified. The timestamp depends on
2654
+ # the status of the job:
2655
+ #
2656
+ # * `CREATE_PENDING` - The `CreationTime`.
2657
+ #
2658
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
2659
+ #
2660
+ # * `CREATE_STOPPING` - The current timestamp.
2661
+ #
2662
+ # * `CREATE_STOPPED` - When the job stopped.
2663
+ #
2664
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
2603
2665
  # @return [Time]
2604
2666
  #
2605
2667
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ForecastSummary AWS API Documentation
@@ -3220,7 +3282,7 @@ module Aws::ForecastService
3220
3282
  # backtest export jobs, specify `IS_NOT`.
3221
3283
  #
3222
3284
  # * `Key` - The name of the parameter to filter on. Valid values are
3223
- # `PredictorBacktestExportJobArn` and `Status`.
3285
+ # `PredictorArn` and `Status`.
3224
3286
  #
3225
3287
  # * `Value` - The value to match.
3226
3288
  # @return [Array<Types::Filter>]
@@ -3476,17 +3538,11 @@ module Aws::ForecastService
3476
3538
  #
3477
3539
  # * `ACTIVE`
3478
3540
  #
3479
- # * `CREATE_PENDING`
3480
- #
3481
- # * `CREATE_IN_PROGRESS`
3482
- #
3483
- # * `CREATE_FAILED`
3484
- #
3485
- # * `DELETE_PENDING`
3541
+ # * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
3486
3542
  #
3487
- # * `DELETE_IN_PROGRESS`
3543
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
3488
3544
  #
3489
- # * `DELETE_FAILED`
3545
+ # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
3490
3546
  # @return [String]
3491
3547
  #
3492
3548
  # @!attribute [rw] message
@@ -3499,7 +3555,18 @@ module Aws::ForecastService
3499
3555
  # @return [Time]
3500
3556
  #
3501
3557
  # @!attribute [rw] last_modification_time
3502
- # When the last successful export job finished.
3558
+ # The last time the resource was modified. The timestamp depends on
3559
+ # the status of the job:
3560
+ #
3561
+ # * `CREATE_PENDING` - The `CreationTime`.
3562
+ #
3563
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
3564
+ #
3565
+ # * `CREATE_STOPPING` - The current timestamp.
3566
+ #
3567
+ # * `CREATE_STOPPED` - When the job stopped.
3568
+ #
3569
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
3503
3570
  # @return [Time]
3504
3571
  #
3505
3572
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorBacktestExportJobSummary AWS API Documentation
@@ -3585,7 +3652,7 @@ module Aws::ForecastService
3585
3652
  #
3586
3653
  # * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
3587
3654
  #
3588
- # * `UPDATE_PENDING`, `UPDATE_IN_PROGRESS`, `UPDATE_FAILED`
3655
+ # * `CREATE_STOPPING`, `CREATE_STOPPED`
3589
3656
  #
3590
3657
  # <note markdown="1"> The `Status` of the predictor must be `ACTIVE` before you can use
3591
3658
  # the predictor to create a forecast.
@@ -3602,10 +3669,18 @@ module Aws::ForecastService
3602
3669
  # @return [Time]
3603
3670
  #
3604
3671
  # @!attribute [rw] last_modification_time
3605
- # Initially, the same as `CreationTime` (status is `CREATE_PENDING`).
3606
- # Updated when training starts (status changed to
3607
- # `CREATE_IN_PROGRESS`), and when training is complete (status changed
3608
- # to `ACTIVE`) or fails (status changed to `CREATE_FAILED`).
3672
+ # The last time the resource was modified. The timestamp depends on
3673
+ # the status of the job:
3674
+ #
3675
+ # * `CREATE_PENDING` - The `CreationTime`.
3676
+ #
3677
+ # * `CREATE_IN_PROGRESS` - The current timestamp.
3678
+ #
3679
+ # * `CREATE_STOPPING` - The current timestamp.
3680
+ #
3681
+ # * `CREATE_STOPPED` - When the job stopped.
3682
+ #
3683
+ # * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
3609
3684
  # @return [Time]
3610
3685
  #
3611
3686
  # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorSummary AWS API Documentation
@@ -3817,6 +3892,28 @@ module Aws::ForecastService
3817
3892
  include Aws::Structure
3818
3893
  end
3819
3894
 
3895
+ # @note When making an API call, you may pass StopResourceRequest
3896
+ # data as a hash:
3897
+ #
3898
+ # {
3899
+ # resource_arn: "Arn", # required
3900
+ # }
3901
+ #
3902
+ # @!attribute [rw] resource_arn
3903
+ # The Amazon Resource Name (ARN) that identifies the resource to stop.
3904
+ # The supported ARNs are `DatasetImportJobArn`, `PredictorArn`,
3905
+ # `PredictorBacktestExportJobArn`, `ForecastArn`, and
3906
+ # `ForecastExportJobArn`.
3907
+ # @return [String]
3908
+ #
3909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/StopResourceRequest AWS API Documentation
3910
+ #
3911
+ class StopResourceRequest < Struct.new(
3912
+ :resource_arn)
3913
+ SENSITIVE = []
3914
+ include Aws::Structure
3915
+ end
3916
+
3820
3917
  # Describes a supplementary feature of a dataset group. This object is
3821
3918
  # part of the InputDataConfig object. Forecast supports the Weather
3822
3919
  # Index and Holidays built-in featurizations.
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.15.0
4
+ version: 1.16.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core