aws-sdk-forecastservice 1.12.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +98 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-forecastservice.rb +2 -2
- data/lib/aws-sdk-forecastservice/client.rb +342 -4
- data/lib/aws-sdk-forecastservice/client_api.rb +129 -1
- data/lib/aws-sdk-forecastservice/errors.rb +1 -1
- data/lib/aws-sdk-forecastservice/resource.rb +1 -1
- data/lib/aws-sdk-forecastservice/types.rb +562 -58
- metadata +8 -5
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -31,6 +31,8 @@ module Aws::ForecastService
|
|
31
31
|
CreateForecastExportJobResponse = Shapes::StructureShape.new(name: 'CreateForecastExportJobResponse')
|
32
32
|
CreateForecastRequest = Shapes::StructureShape.new(name: 'CreateForecastRequest')
|
33
33
|
CreateForecastResponse = Shapes::StructureShape.new(name: 'CreateForecastResponse')
|
34
|
+
CreatePredictorBacktestExportJobRequest = Shapes::StructureShape.new(name: 'CreatePredictorBacktestExportJobRequest')
|
35
|
+
CreatePredictorBacktestExportJobResponse = Shapes::StructureShape.new(name: 'CreatePredictorBacktestExportJobResponse')
|
34
36
|
CreatePredictorRequest = Shapes::StructureShape.new(name: 'CreatePredictorRequest')
|
35
37
|
CreatePredictorResponse = Shapes::StructureShape.new(name: 'CreatePredictorResponse')
|
36
38
|
DataDestination = Shapes::StructureShape.new(name: 'DataDestination')
|
@@ -47,6 +49,7 @@ module Aws::ForecastService
|
|
47
49
|
DeleteDatasetRequest = Shapes::StructureShape.new(name: 'DeleteDatasetRequest')
|
48
50
|
DeleteForecastExportJobRequest = Shapes::StructureShape.new(name: 'DeleteForecastExportJobRequest')
|
49
51
|
DeleteForecastRequest = Shapes::StructureShape.new(name: 'DeleteForecastRequest')
|
52
|
+
DeletePredictorBacktestExportJobRequest = Shapes::StructureShape.new(name: 'DeletePredictorBacktestExportJobRequest')
|
50
53
|
DeletePredictorRequest = Shapes::StructureShape.new(name: 'DeletePredictorRequest')
|
51
54
|
DescribeDatasetGroupRequest = Shapes::StructureShape.new(name: 'DescribeDatasetGroupRequest')
|
52
55
|
DescribeDatasetGroupResponse = Shapes::StructureShape.new(name: 'DescribeDatasetGroupResponse')
|
@@ -58,6 +61,8 @@ module Aws::ForecastService
|
|
58
61
|
DescribeForecastExportJobResponse = Shapes::StructureShape.new(name: 'DescribeForecastExportJobResponse')
|
59
62
|
DescribeForecastRequest = Shapes::StructureShape.new(name: 'DescribeForecastRequest')
|
60
63
|
DescribeForecastResponse = Shapes::StructureShape.new(name: 'DescribeForecastResponse')
|
64
|
+
DescribePredictorBacktestExportJobRequest = Shapes::StructureShape.new(name: 'DescribePredictorBacktestExportJobRequest')
|
65
|
+
DescribePredictorBacktestExportJobResponse = Shapes::StructureShape.new(name: 'DescribePredictorBacktestExportJobResponse')
|
61
66
|
DescribePredictorRequest = Shapes::StructureShape.new(name: 'DescribePredictorRequest')
|
62
67
|
DescribePredictorResponse = Shapes::StructureShape.new(name: 'DescribePredictorResponse')
|
63
68
|
Domain = Shapes::StringShape.new(name: 'Domain')
|
@@ -88,6 +93,7 @@ module Aws::ForecastService
|
|
88
93
|
ForecastTypes = Shapes::ListShape.new(name: 'ForecastTypes')
|
89
94
|
Forecasts = Shapes::ListShape.new(name: 'Forecasts')
|
90
95
|
Frequency = Shapes::StringShape.new(name: 'Frequency')
|
96
|
+
GeolocationFormat = Shapes::StringShape.new(name: 'GeolocationFormat')
|
91
97
|
GetAccuracyMetricsRequest = Shapes::StructureShape.new(name: 'GetAccuracyMetricsRequest')
|
92
98
|
GetAccuracyMetricsResponse = Shapes::StructureShape.new(name: 'GetAccuracyMetricsResponse')
|
93
99
|
HyperParameterTuningJobConfig = Shapes::StructureShape.new(name: 'HyperParameterTuningJobConfig')
|
@@ -109,6 +115,8 @@ module Aws::ForecastService
|
|
109
115
|
ListForecastExportJobsResponse = Shapes::StructureShape.new(name: 'ListForecastExportJobsResponse')
|
110
116
|
ListForecastsRequest = Shapes::StructureShape.new(name: 'ListForecastsRequest')
|
111
117
|
ListForecastsResponse = Shapes::StructureShape.new(name: 'ListForecastsResponse')
|
118
|
+
ListPredictorBacktestExportJobsRequest = Shapes::StructureShape.new(name: 'ListPredictorBacktestExportJobsRequest')
|
119
|
+
ListPredictorBacktestExportJobsResponse = Shapes::StructureShape.new(name: 'ListPredictorBacktestExportJobsResponse')
|
112
120
|
ListPredictorsRequest = Shapes::StructureShape.new(name: 'ListPredictorsRequest')
|
113
121
|
ListPredictorsResponse = Shapes::StructureShape.new(name: 'ListPredictorsResponse')
|
114
122
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -121,6 +129,8 @@ module Aws::ForecastService
|
|
121
129
|
ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
|
122
130
|
ParameterRanges = Shapes::StructureShape.new(name: 'ParameterRanges')
|
123
131
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
132
|
+
PredictorBacktestExportJobSummary = Shapes::StructureShape.new(name: 'PredictorBacktestExportJobSummary')
|
133
|
+
PredictorBacktestExportJobs = Shapes::ListShape.new(name: 'PredictorBacktestExportJobs')
|
124
134
|
PredictorEvaluationResults = Shapes::ListShape.new(name: 'PredictorEvaluationResults')
|
125
135
|
PredictorExecution = Shapes::StructureShape.new(name: 'PredictorExecution')
|
126
136
|
PredictorExecutionDetails = Shapes::StructureShape.new(name: 'PredictorExecutionDetails')
|
@@ -138,6 +148,7 @@ module Aws::ForecastService
|
|
138
148
|
SchemaAttributes = Shapes::ListShape.new(name: 'SchemaAttributes')
|
139
149
|
Statistics = Shapes::StructureShape.new(name: 'Statistics')
|
140
150
|
Status = Shapes::StringShape.new(name: 'Status')
|
151
|
+
StopResourceRequest = Shapes::StructureShape.new(name: 'StopResourceRequest')
|
141
152
|
String = Shapes::StringShape.new(name: 'String')
|
142
153
|
SupplementaryFeature = Shapes::StructureShape.new(name: 'SupplementaryFeature')
|
143
154
|
SupplementaryFeatures = Shapes::ListShape.new(name: 'SupplementaryFeatures')
|
@@ -151,6 +162,7 @@ module Aws::ForecastService
|
|
151
162
|
TestWindowDetails = Shapes::ListShape.new(name: 'TestWindowDetails')
|
152
163
|
TestWindowSummary = Shapes::StructureShape.new(name: 'TestWindowSummary')
|
153
164
|
TestWindows = Shapes::ListShape.new(name: 'TestWindows')
|
165
|
+
TimeZone = Shapes::StringShape.new(name: 'TimeZone')
|
154
166
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
155
167
|
TimestampFormat = Shapes::StringShape.new(name: 'TimestampFormat')
|
156
168
|
TrainingParameters = Shapes::MapShape.new(name: 'TrainingParameters')
|
@@ -158,6 +170,7 @@ module Aws::ForecastService
|
|
158
170
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
159
171
|
UpdateDatasetGroupRequest = Shapes::StructureShape.new(name: 'UpdateDatasetGroupRequest')
|
160
172
|
UpdateDatasetGroupResponse = Shapes::StructureShape.new(name: 'UpdateDatasetGroupResponse')
|
173
|
+
UseGeolocationForTimeZone = Shapes::BooleanShape.new(name: 'UseGeolocationForTimeZone')
|
161
174
|
Value = Shapes::StringShape.new(name: 'Value')
|
162
175
|
Values = Shapes::ListShape.new(name: 'Values')
|
163
176
|
WeightedQuantileLoss = Shapes::StructureShape.new(name: 'WeightedQuantileLoss')
|
@@ -193,6 +206,9 @@ module Aws::ForecastService
|
|
193
206
|
CreateDatasetImportJobRequest.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "DatasetArn"))
|
194
207
|
CreateDatasetImportJobRequest.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "DataSource"))
|
195
208
|
CreateDatasetImportJobRequest.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
|
209
|
+
CreateDatasetImportJobRequest.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
210
|
+
CreateDatasetImportJobRequest.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone"))
|
211
|
+
CreateDatasetImportJobRequest.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
|
196
212
|
CreateDatasetImportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
197
213
|
CreateDatasetImportJobRequest.struct_class = Types::CreateDatasetImportJobRequest
|
198
214
|
|
@@ -229,6 +245,15 @@ module Aws::ForecastService
|
|
229
245
|
CreateForecastResponse.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastArn"))
|
230
246
|
CreateForecastResponse.struct_class = Types::CreateForecastResponse
|
231
247
|
|
248
|
+
CreatePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "PredictorBacktestExportJobName"))
|
249
|
+
CreatePredictorBacktestExportJobRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
|
250
|
+
CreatePredictorBacktestExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
|
251
|
+
CreatePredictorBacktestExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
252
|
+
CreatePredictorBacktestExportJobRequest.struct_class = Types::CreatePredictorBacktestExportJobRequest
|
253
|
+
|
254
|
+
CreatePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
|
255
|
+
CreatePredictorBacktestExportJobResponse.struct_class = Types::CreatePredictorBacktestExportJobResponse
|
256
|
+
|
232
257
|
CreatePredictorRequest.add_member(:predictor_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "PredictorName"))
|
233
258
|
CreatePredictorRequest.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
|
234
259
|
CreatePredictorRequest.add_member(:forecast_horizon, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ForecastHorizon"))
|
@@ -297,6 +322,9 @@ module Aws::ForecastService
|
|
297
322
|
DeleteForecastRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn"))
|
298
323
|
DeleteForecastRequest.struct_class = Types::DeleteForecastRequest
|
299
324
|
|
325
|
+
DeletePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorBacktestExportJobArn"))
|
326
|
+
DeletePredictorBacktestExportJobRequest.struct_class = Types::DeletePredictorBacktestExportJobRequest
|
327
|
+
|
300
328
|
DeletePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
|
301
329
|
DeletePredictorRequest.struct_class = Types::DeletePredictorRequest
|
302
330
|
|
@@ -319,6 +347,9 @@ module Aws::ForecastService
|
|
319
347
|
DescribeDatasetImportJobResponse.add_member(:dataset_import_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetImportJobArn"))
|
320
348
|
DescribeDatasetImportJobResponse.add_member(:dataset_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "DatasetArn"))
|
321
349
|
DescribeDatasetImportJobResponse.add_member(:timestamp_format, Shapes::ShapeRef.new(shape: TimestampFormat, location_name: "TimestampFormat"))
|
350
|
+
DescribeDatasetImportJobResponse.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
351
|
+
DescribeDatasetImportJobResponse.add_member(:use_geolocation_for_time_zone, Shapes::ShapeRef.new(shape: UseGeolocationForTimeZone, location_name: "UseGeolocationForTimeZone"))
|
352
|
+
DescribeDatasetImportJobResponse.add_member(:geolocation_format, Shapes::ShapeRef.new(shape: GeolocationFormat, location_name: "GeolocationFormat"))
|
322
353
|
DescribeDatasetImportJobResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "DataSource"))
|
323
354
|
DescribeDatasetImportJobResponse.add_member(:field_statistics, Shapes::ShapeRef.new(shape: FieldStatistics, location_name: "FieldStatistics"))
|
324
355
|
DescribeDatasetImportJobResponse.add_member(:data_size, Shapes::ShapeRef.new(shape: Double, location_name: "DataSize"))
|
@@ -370,6 +401,19 @@ module Aws::ForecastService
|
|
370
401
|
DescribeForecastResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
|
371
402
|
DescribeForecastResponse.struct_class = Types::DescribeForecastResponse
|
372
403
|
|
404
|
+
DescribePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorBacktestExportJobArn"))
|
405
|
+
DescribePredictorBacktestExportJobRequest.struct_class = Types::DescribePredictorBacktestExportJobRequest
|
406
|
+
|
407
|
+
DescribePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
|
408
|
+
DescribePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorBacktestExportJobName"))
|
409
|
+
DescribePredictorBacktestExportJobResponse.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorArn"))
|
410
|
+
DescribePredictorBacktestExportJobResponse.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, location_name: "Destination"))
|
411
|
+
DescribePredictorBacktestExportJobResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
412
|
+
DescribePredictorBacktestExportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
413
|
+
DescribePredictorBacktestExportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
414
|
+
DescribePredictorBacktestExportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
|
415
|
+
DescribePredictorBacktestExportJobResponse.struct_class = Types::DescribePredictorBacktestExportJobResponse
|
416
|
+
|
373
417
|
DescribePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
|
374
418
|
DescribePredictorRequest.struct_class = Types::DescribePredictorRequest
|
375
419
|
|
@@ -544,6 +588,15 @@ module Aws::ForecastService
|
|
544
588
|
ListForecastsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
545
589
|
ListForecastsResponse.struct_class = Types::ListForecastsResponse
|
546
590
|
|
591
|
+
ListPredictorBacktestExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
592
|
+
ListPredictorBacktestExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
593
|
+
ListPredictorBacktestExportJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
594
|
+
ListPredictorBacktestExportJobsRequest.struct_class = Types::ListPredictorBacktestExportJobsRequest
|
595
|
+
|
596
|
+
ListPredictorBacktestExportJobsResponse.add_member(:predictor_backtest_export_jobs, Shapes::ShapeRef.new(shape: PredictorBacktestExportJobs, location_name: "PredictorBacktestExportJobs"))
|
597
|
+
ListPredictorBacktestExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
598
|
+
ListPredictorBacktestExportJobsResponse.struct_class = Types::ListPredictorBacktestExportJobsResponse
|
599
|
+
|
547
600
|
ListPredictorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
548
601
|
ListPredictorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
549
602
|
ListPredictorsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
@@ -569,6 +622,17 @@ module Aws::ForecastService
|
|
569
622
|
ParameterRanges.add_member(:integer_parameter_ranges, Shapes::ShapeRef.new(shape: IntegerParameterRanges, location_name: "IntegerParameterRanges"))
|
570
623
|
ParameterRanges.struct_class = Types::ParameterRanges
|
571
624
|
|
625
|
+
PredictorBacktestExportJobSummary.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
|
626
|
+
PredictorBacktestExportJobSummary.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorBacktestExportJobName"))
|
627
|
+
PredictorBacktestExportJobSummary.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, location_name: "Destination"))
|
628
|
+
PredictorBacktestExportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
629
|
+
PredictorBacktestExportJobSummary.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
630
|
+
PredictorBacktestExportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
631
|
+
PredictorBacktestExportJobSummary.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
|
632
|
+
PredictorBacktestExportJobSummary.struct_class = Types::PredictorBacktestExportJobSummary
|
633
|
+
|
634
|
+
PredictorBacktestExportJobs.member = Shapes::ShapeRef.new(shape: PredictorBacktestExportJobSummary)
|
635
|
+
|
572
636
|
PredictorEvaluationResults.member = Shapes::ShapeRef.new(shape: EvaluationResult)
|
573
637
|
|
574
638
|
PredictorExecution.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
|
@@ -624,6 +688,9 @@ module Aws::ForecastService
|
|
624
688
|
Statistics.add_member(:stddev, Shapes::ShapeRef.new(shape: Double, location_name: "Stddev"))
|
625
689
|
Statistics.struct_class = Types::Statistics
|
626
690
|
|
691
|
+
StopResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
|
692
|
+
StopResourceRequest.struct_class = Types::StopResourceRequest
|
693
|
+
|
627
694
|
SupplementaryFeature.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "Name"))
|
628
695
|
SupplementaryFeature.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "Value"))
|
629
696
|
SupplementaryFeature.struct_class = Types::SupplementaryFeature
|
@@ -779,6 +846,19 @@ module Aws::ForecastService
|
|
779
846
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
780
847
|
end)
|
781
848
|
|
849
|
+
api.add_operation(:create_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
|
850
|
+
o.name = "CreatePredictorBacktestExportJob"
|
851
|
+
o.http_method = "POST"
|
852
|
+
o.http_request_uri = "/"
|
853
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePredictorBacktestExportJobRequest)
|
854
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePredictorBacktestExportJobResponse)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
856
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
857
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
858
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
859
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
860
|
+
end)
|
861
|
+
|
782
862
|
api.add_operation(:delete_dataset, Seahorse::Model::Operation.new.tap do |o|
|
783
863
|
o.name = "DeleteDataset"
|
784
864
|
o.http_method = "POST"
|
@@ -845,6 +925,17 @@ module Aws::ForecastService
|
|
845
925
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
846
926
|
end)
|
847
927
|
|
928
|
+
api.add_operation(:delete_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
|
929
|
+
o.name = "DeletePredictorBacktestExportJob"
|
930
|
+
o.http_method = "POST"
|
931
|
+
o.http_request_uri = "/"
|
932
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePredictorBacktestExportJobRequest)
|
933
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
934
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
936
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
937
|
+
end)
|
938
|
+
|
848
939
|
api.add_operation(:describe_dataset, Seahorse::Model::Operation.new.tap do |o|
|
849
940
|
o.name = "DescribeDataset"
|
850
941
|
o.http_method = "POST"
|
@@ -905,6 +996,16 @@ module Aws::ForecastService
|
|
905
996
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
906
997
|
end)
|
907
998
|
|
999
|
+
api.add_operation(:describe_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
|
1000
|
+
o.name = "DescribePredictorBacktestExportJob"
|
1001
|
+
o.http_method = "POST"
|
1002
|
+
o.http_request_uri = "/"
|
1003
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePredictorBacktestExportJobRequest)
|
1004
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePredictorBacktestExportJobResponse)
|
1005
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1006
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1007
|
+
end)
|
1008
|
+
|
908
1009
|
api.add_operation(:get_accuracy_metrics, Seahorse::Model::Operation.new.tap do |o|
|
909
1010
|
o.name = "GetAccuracyMetrics"
|
910
1011
|
o.http_method = "POST"
|
@@ -994,6 +1095,22 @@ module Aws::ForecastService
|
|
994
1095
|
)
|
995
1096
|
end)
|
996
1097
|
|
1098
|
+
api.add_operation(:list_predictor_backtest_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1099
|
+
o.name = "ListPredictorBacktestExportJobs"
|
1100
|
+
o.http_method = "POST"
|
1101
|
+
o.http_request_uri = "/"
|
1102
|
+
o.input = Shapes::ShapeRef.new(shape: ListPredictorBacktestExportJobsRequest)
|
1103
|
+
o.output = Shapes::ShapeRef.new(shape: ListPredictorBacktestExportJobsResponse)
|
1104
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1105
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1106
|
+
o[:pager] = Aws::Pager.new(
|
1107
|
+
limit_key: "max_results",
|
1108
|
+
tokens: {
|
1109
|
+
"next_token" => "next_token"
|
1110
|
+
}
|
1111
|
+
)
|
1112
|
+
end)
|
1113
|
+
|
997
1114
|
api.add_operation(:list_predictors, Seahorse::Model::Operation.new.tap do |o|
|
998
1115
|
o.name = "ListPredictors"
|
999
1116
|
o.http_method = "POST"
|
@@ -1020,6 +1137,17 @@ module Aws::ForecastService
|
|
1020
1137
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1021
1138
|
end)
|
1022
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
|
+
|
1023
1151
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1024
1152
|
o.name = "TagResource"
|
1025
1153
|
o.http_method = "POST"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -219,6 +219,9 @@ module Aws::ForecastService
|
|
219
219
|
# },
|
220
220
|
# },
|
221
221
|
# timestamp_format: "TimestampFormat",
|
222
|
+
# time_zone: "TimeZone",
|
223
|
+
# use_geolocation_for_time_zone: false,
|
224
|
+
# geolocation_format: "GeolocationFormat",
|
222
225
|
# tags: [
|
223
226
|
# {
|
224
227
|
# key: "TagKey", # required
|
@@ -270,6 +273,37 @@ module Aws::ForecastService
|
|
270
273
|
# to be "yyyy-MM-dd HH:mm:ss".
|
271
274
|
# @return [String]
|
272
275
|
#
|
276
|
+
# @!attribute [rw] time_zone
|
277
|
+
# A single time zone for every item in your dataset. This option is
|
278
|
+
# ideal for datasets with all timestamps within a single time zone, or
|
279
|
+
# if all timestamps are normalized to a single time zone.
|
280
|
+
#
|
281
|
+
# Refer to the [Joda-Time API][1] for a complete list of valid time
|
282
|
+
# zone names.
|
283
|
+
#
|
284
|
+
#
|
285
|
+
#
|
286
|
+
# [1]: http://joda-time.sourceforge.net/timezones.html
|
287
|
+
# @return [String]
|
288
|
+
#
|
289
|
+
# @!attribute [rw] use_geolocation_for_time_zone
|
290
|
+
# Automatically derive time zone information from the geolocation
|
291
|
+
# attribute. This option is ideal for datasets that contain timestamps
|
292
|
+
# in multiple time zones and those timestamps are expressed in local
|
293
|
+
# time.
|
294
|
+
# @return [Boolean]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] geolocation_format
|
297
|
+
# The format of the geolocation attribute. The geolocation attribute
|
298
|
+
# can be formatted in one of two ways:
|
299
|
+
#
|
300
|
+
# * `LAT_LONG` - the latitude and longitude in decimal format
|
301
|
+
# (Example: 47.61\_-122.33).
|
302
|
+
#
|
303
|
+
# * `CC_POSTALCODE` (US Only) - the country code (US), followed by the
|
304
|
+
# 5-digit ZIP code (Example: US\_98121).
|
305
|
+
# @return [String]
|
306
|
+
#
|
273
307
|
# @!attribute [rw] tags
|
274
308
|
# The optional metadata that you apply to the dataset import job to
|
275
309
|
# help you categorize and organize them. Each tag consists of a key
|
@@ -310,6 +344,9 @@ module Aws::ForecastService
|
|
310
344
|
:dataset_arn,
|
311
345
|
:data_source,
|
312
346
|
:timestamp_format,
|
347
|
+
:time_zone,
|
348
|
+
:use_geolocation_for_time_zone,
|
349
|
+
:geolocation_format,
|
313
350
|
:tags)
|
314
351
|
SENSITIVE = []
|
315
352
|
include Aws::Structure
|
@@ -339,7 +376,7 @@ module Aws::ForecastService
|
|
339
376
|
# attributes: [
|
340
377
|
# {
|
341
378
|
# attribute_name: "Name",
|
342
|
-
# attribute_type: "string", # accepts string, integer, float, timestamp
|
379
|
+
# attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
|
343
380
|
# },
|
344
381
|
# ],
|
345
382
|
# },
|
@@ -645,6 +682,97 @@ module Aws::ForecastService
|
|
645
682
|
include Aws::Structure
|
646
683
|
end
|
647
684
|
|
685
|
+
# @note When making an API call, you may pass CreatePredictorBacktestExportJobRequest
|
686
|
+
# data as a hash:
|
687
|
+
#
|
688
|
+
# {
|
689
|
+
# predictor_backtest_export_job_name: "Name", # required
|
690
|
+
# predictor_arn: "Arn", # required
|
691
|
+
# destination: { # required
|
692
|
+
# s3_config: { # required
|
693
|
+
# path: "S3Path", # required
|
694
|
+
# role_arn: "Arn", # required
|
695
|
+
# kms_key_arn: "KMSKeyArn",
|
696
|
+
# },
|
697
|
+
# },
|
698
|
+
# tags: [
|
699
|
+
# {
|
700
|
+
# key: "TagKey", # required
|
701
|
+
# value: "TagValue", # required
|
702
|
+
# },
|
703
|
+
# ],
|
704
|
+
# }
|
705
|
+
#
|
706
|
+
# @!attribute [rw] predictor_backtest_export_job_name
|
707
|
+
# The name for the backtest export job.
|
708
|
+
# @return [String]
|
709
|
+
#
|
710
|
+
# @!attribute [rw] predictor_arn
|
711
|
+
# The Amazon Resource Name (ARN) of the predictor that you want to
|
712
|
+
# export.
|
713
|
+
# @return [String]
|
714
|
+
#
|
715
|
+
# @!attribute [rw] destination
|
716
|
+
# The destination for an export job. Provide an S3 path, an AWS
|
717
|
+
# Identity and Access Management (IAM) role that allows Amazon
|
718
|
+
# Forecast to access the location, and an AWS Key Management Service
|
719
|
+
# (KMS) key (optional).
|
720
|
+
# @return [Types::DataDestination]
|
721
|
+
#
|
722
|
+
# @!attribute [rw] tags
|
723
|
+
# Optional metadata to help you categorize and organize your
|
724
|
+
# backtests. Each tag consists of a key and an optional value, both of
|
725
|
+
# which you define. Tag keys and values are case sensitive.
|
726
|
+
#
|
727
|
+
# The following restrictions apply to tags:
|
728
|
+
#
|
729
|
+
# * For each resource, each tag key must be unique and each tag key
|
730
|
+
# must have one value.
|
731
|
+
#
|
732
|
+
# * Maximum number of tags per resource: 50.
|
733
|
+
#
|
734
|
+
# * Maximum key length: 128 Unicode characters in UTF-8.
|
735
|
+
#
|
736
|
+
# * Maximum value length: 256 Unicode characters in UTF-8.
|
737
|
+
#
|
738
|
+
# * Accepted characters: all letters and numbers, spaces representable
|
739
|
+
# in UTF-8, and + - = . \_ : / @. If your tagging schema is used
|
740
|
+
# across other services and resources, the character restrictions of
|
741
|
+
# those services also apply.
|
742
|
+
#
|
743
|
+
# * Key prefixes cannot include any upper or lowercase combination of
|
744
|
+
# `aws:` or `AWS:`. Values can have this prefix. If a tag value has
|
745
|
+
# `aws` as its prefix but the key does not, Forecast considers it to
|
746
|
+
# be a user tag and will count against the limit of 50 tags. Tags
|
747
|
+
# with only the key prefix of `aws` do not count against your tags
|
748
|
+
# per resource limit. You cannot edit or delete tag keys with this
|
749
|
+
# prefix.
|
750
|
+
# @return [Array<Types::Tag>]
|
751
|
+
#
|
752
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobRequest AWS API Documentation
|
753
|
+
#
|
754
|
+
class CreatePredictorBacktestExportJobRequest < Struct.new(
|
755
|
+
:predictor_backtest_export_job_name,
|
756
|
+
:predictor_arn,
|
757
|
+
:destination,
|
758
|
+
:tags)
|
759
|
+
SENSITIVE = []
|
760
|
+
include Aws::Structure
|
761
|
+
end
|
762
|
+
|
763
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
764
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job
|
765
|
+
# that you want to export.
|
766
|
+
# @return [String]
|
767
|
+
#
|
768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobResponse AWS API Documentation
|
769
|
+
#
|
770
|
+
class CreatePredictorBacktestExportJobResponse < Struct.new(
|
771
|
+
:predictor_backtest_export_job_arn)
|
772
|
+
SENSITIVE = []
|
773
|
+
include Aws::Structure
|
774
|
+
end
|
775
|
+
|
648
776
|
# @note When making an API call, you may pass CreatePredictorRequest
|
649
777
|
# data as a hash:
|
650
778
|
#
|
@@ -913,10 +1041,9 @@ module Aws::ForecastService
|
|
913
1041
|
include Aws::Structure
|
914
1042
|
end
|
915
1043
|
|
916
|
-
# The destination for an
|
917
|
-
# Management (IAM) role that allows Amazon Forecast to access
|
918
|
-
# location and
|
919
|
-
# This object is submitted in the CreateForecastExportJob request.
|
1044
|
+
# The destination for an export job. Provide an S3 path, an AWS Identity
|
1045
|
+
# and Access Management (IAM) role that allows Amazon Forecast to access
|
1046
|
+
# the location, and an AWS Key Management Service (KMS) key (optional).
|
920
1047
|
#
|
921
1048
|
# @note When making an API call, you may pass DataDestination
|
922
1049
|
# data as a hash:
|
@@ -1031,16 +1158,15 @@ module Aws::ForecastService
|
|
1031
1158
|
# @return [Types::DataSource]
|
1032
1159
|
#
|
1033
1160
|
# @!attribute [rw] status
|
1034
|
-
# The status of the dataset import job.
|
1035
|
-
# status of the dataset. For example, when the import job status is
|
1036
|
-
# `CREATE_IN_PROGRESS`, the status of the dataset is
|
1037
|
-
# `UPDATE_IN_PROGRESS`. States include:
|
1161
|
+
# The status of the dataset import job. States include:
|
1038
1162
|
#
|
1039
1163
|
# * `ACTIVE`
|
1040
1164
|
#
|
1041
1165
|
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
1042
1166
|
#
|
1043
1167
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
1168
|
+
#
|
1169
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
1044
1170
|
# @return [String]
|
1045
1171
|
#
|
1046
1172
|
# @!attribute [rw] message
|
@@ -1052,13 +1178,17 @@ module Aws::ForecastService
|
|
1052
1178
|
# @return [Time]
|
1053
1179
|
#
|
1054
1180
|
# @!attribute [rw] last_modification_time
|
1055
|
-
# The last time
|
1056
|
-
# status of the job
|
1181
|
+
# The last time the resource was modified. The timestamp depends on
|
1182
|
+
# the status of the job:
|
1057
1183
|
#
|
1058
|
-
# * `CREATE_PENDING` - The
|
1184
|
+
# * `CREATE_PENDING` - The `CreationTime`.
|
1059
1185
|
#
|
1060
1186
|
# * `CREATE_IN_PROGRESS` - The current timestamp.
|
1061
1187
|
#
|
1188
|
+
# * `CREATE_STOPPING` - The current timestamp.
|
1189
|
+
#
|
1190
|
+
# * `CREATE_STOPPED` - When the job stopped.
|
1191
|
+
#
|
1062
1192
|
# * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
|
1063
1193
|
# @return [Time]
|
1064
1194
|
#
|
@@ -1216,6 +1346,26 @@ module Aws::ForecastService
|
|
1216
1346
|
include Aws::Structure
|
1217
1347
|
end
|
1218
1348
|
|
1349
|
+
# @note When making an API call, you may pass DeletePredictorBacktestExportJobRequest
|
1350
|
+
# data as a hash:
|
1351
|
+
#
|
1352
|
+
# {
|
1353
|
+
# predictor_backtest_export_job_arn: "Arn", # required
|
1354
|
+
# }
|
1355
|
+
#
|
1356
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
1357
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job
|
1358
|
+
# to delete.
|
1359
|
+
# @return [String]
|
1360
|
+
#
|
1361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictorBacktestExportJobRequest AWS API Documentation
|
1362
|
+
#
|
1363
|
+
class DeletePredictorBacktestExportJobRequest < Struct.new(
|
1364
|
+
:predictor_backtest_export_job_arn)
|
1365
|
+
SENSITIVE = []
|
1366
|
+
include Aws::Structure
|
1367
|
+
end
|
1368
|
+
|
1219
1369
|
# @note When making an API call, you may pass DeletePredictorRequest
|
1220
1370
|
# data as a hash:
|
1221
1371
|
#
|
@@ -1363,6 +1513,20 @@ module Aws::ForecastService
|
|
1363
1513
|
# optionally, for: Y, M, W, and D
|
1364
1514
|
# @return [String]
|
1365
1515
|
#
|
1516
|
+
# @!attribute [rw] time_zone
|
1517
|
+
# The single time zone applied to every item in the dataset
|
1518
|
+
# @return [String]
|
1519
|
+
#
|
1520
|
+
# @!attribute [rw] use_geolocation_for_time_zone
|
1521
|
+
# Whether `TimeZone` is automatically derived from the geolocation
|
1522
|
+
# attribute.
|
1523
|
+
# @return [Boolean]
|
1524
|
+
#
|
1525
|
+
# @!attribute [rw] geolocation_format
|
1526
|
+
# The format of the geolocation attribute. Valid Values:`"LAT_LONG"`
|
1527
|
+
# and `"CC_POSTALCODE"`.
|
1528
|
+
# @return [String]
|
1529
|
+
#
|
1366
1530
|
# @!attribute [rw] data_source
|
1367
1531
|
# The location of the training data to import and an AWS Identity and
|
1368
1532
|
# Access Management (IAM) role that Amazon Forecast can assume to
|
@@ -1382,16 +1546,15 @@ module Aws::ForecastService
|
|
1382
1546
|
# @return [Float]
|
1383
1547
|
#
|
1384
1548
|
# @!attribute [rw] status
|
1385
|
-
# The status of the dataset import job.
|
1386
|
-
# status of the dataset. For example, when the import job status is
|
1387
|
-
# `CREATE_IN_PROGRESS`, the status of the dataset is
|
1388
|
-
# `UPDATE_IN_PROGRESS`. States include:
|
1549
|
+
# The status of the dataset import job. States include:
|
1389
1550
|
#
|
1390
1551
|
# * `ACTIVE`
|
1391
1552
|
#
|
1392
1553
|
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
1393
1554
|
#
|
1394
1555
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
1556
|
+
#
|
1557
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
1395
1558
|
# @return [String]
|
1396
1559
|
#
|
1397
1560
|
# @!attribute [rw] message
|
@@ -1403,13 +1566,17 @@ module Aws::ForecastService
|
|
1403
1566
|
# @return [Time]
|
1404
1567
|
#
|
1405
1568
|
# @!attribute [rw] last_modification_time
|
1406
|
-
# The last time
|
1407
|
-
# status of the job
|
1569
|
+
# The last time the resource was modified. The timestamp depends on
|
1570
|
+
# the status of the job:
|
1408
1571
|
#
|
1409
|
-
# * `CREATE_PENDING` - The
|
1572
|
+
# * `CREATE_PENDING` - The `CreationTime`.
|
1410
1573
|
#
|
1411
1574
|
# * `CREATE_IN_PROGRESS` - The current timestamp.
|
1412
1575
|
#
|
1576
|
+
# * `CREATE_STOPPING` - The current timestamp.
|
1577
|
+
#
|
1578
|
+
# * `CREATE_STOPPED` - When the job stopped.
|
1579
|
+
#
|
1413
1580
|
# * `ACTIVE` or `CREATE_FAILED` - When the job finished or failed.
|
1414
1581
|
# @return [Time]
|
1415
1582
|
#
|
@@ -1420,6 +1587,9 @@ module Aws::ForecastService
|
|
1420
1587
|
:dataset_import_job_arn,
|
1421
1588
|
:dataset_arn,
|
1422
1589
|
:timestamp_format,
|
1590
|
+
:time_zone,
|
1591
|
+
:use_geolocation_for_time_zone,
|
1592
|
+
:geolocation_format,
|
1423
1593
|
:data_source,
|
1424
1594
|
:field_statistics,
|
1425
1595
|
:data_size,
|
@@ -1586,6 +1756,8 @@ module Aws::ForecastService
|
|
1586
1756
|
#
|
1587
1757
|
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
1588
1758
|
#
|
1759
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
1760
|
+
#
|
1589
1761
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
1590
1762
|
#
|
1591
1763
|
# <note markdown="1"> The `Status` of the forecast export job must be `ACTIVE` before you
|
@@ -1599,7 +1771,18 @@ module Aws::ForecastService
|
|
1599
1771
|
# @return [Time]
|
1600
1772
|
#
|
1601
1773
|
# @!attribute [rw] last_modification_time
|
1602
|
-
#
|
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.
|
1603
1786
|
# @return [Time]
|
1604
1787
|
#
|
1605
1788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJobResponse AWS API Documentation
|
@@ -1664,6 +1847,8 @@ module Aws::ForecastService
|
|
1664
1847
|
#
|
1665
1848
|
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
1666
1849
|
#
|
1850
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
1851
|
+
#
|
1667
1852
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
1668
1853
|
#
|
1669
1854
|
# <note markdown="1"> The `Status` of the forecast must be `ACTIVE` before you can query
|
@@ -1681,11 +1866,18 @@ module Aws::ForecastService
|
|
1681
1866
|
# @return [Time]
|
1682
1867
|
#
|
1683
1868
|
# @!attribute [rw] last_modification_time
|
1684
|
-
#
|
1685
|
-
#
|
1686
|
-
#
|
1687
|
-
#
|
1688
|
-
#
|
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.
|
1689
1881
|
# @return [Time]
|
1690
1882
|
#
|
1691
1883
|
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastResponse AWS API Documentation
|
@@ -1704,6 +1896,95 @@ module Aws::ForecastService
|
|
1704
1896
|
include Aws::Structure
|
1705
1897
|
end
|
1706
1898
|
|
1899
|
+
# @note When making an API call, you may pass DescribePredictorBacktestExportJobRequest
|
1900
|
+
# data as a hash:
|
1901
|
+
#
|
1902
|
+
# {
|
1903
|
+
# predictor_backtest_export_job_arn: "Arn", # required
|
1904
|
+
# }
|
1905
|
+
#
|
1906
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
1907
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job.
|
1908
|
+
# @return [String]
|
1909
|
+
#
|
1910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobRequest AWS API Documentation
|
1911
|
+
#
|
1912
|
+
class DescribePredictorBacktestExportJobRequest < Struct.new(
|
1913
|
+
:predictor_backtest_export_job_arn)
|
1914
|
+
SENSITIVE = []
|
1915
|
+
include Aws::Structure
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
1919
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job.
|
1920
|
+
# @return [String]
|
1921
|
+
#
|
1922
|
+
# @!attribute [rw] predictor_backtest_export_job_name
|
1923
|
+
# The name of the predictor backtest export job.
|
1924
|
+
# @return [String]
|
1925
|
+
#
|
1926
|
+
# @!attribute [rw] predictor_arn
|
1927
|
+
# The Amazon Resource Name (ARN) of the predictor.
|
1928
|
+
# @return [String]
|
1929
|
+
#
|
1930
|
+
# @!attribute [rw] destination
|
1931
|
+
# The destination for an export job. Provide an S3 path, an AWS
|
1932
|
+
# Identity and Access Management (IAM) role that allows Amazon
|
1933
|
+
# Forecast to access the location, and an AWS Key Management Service
|
1934
|
+
# (KMS) key (optional).
|
1935
|
+
# @return [Types::DataDestination]
|
1936
|
+
#
|
1937
|
+
# @!attribute [rw] message
|
1938
|
+
# Information about any errors that may have occurred during the
|
1939
|
+
# backtest export.
|
1940
|
+
# @return [String]
|
1941
|
+
#
|
1942
|
+
# @!attribute [rw] status
|
1943
|
+
# The status of the predictor backtest export job. States include:
|
1944
|
+
#
|
1945
|
+
# * `ACTIVE`
|
1946
|
+
#
|
1947
|
+
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
1948
|
+
#
|
1949
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
1950
|
+
#
|
1951
|
+
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
1952
|
+
# @return [String]
|
1953
|
+
#
|
1954
|
+
# @!attribute [rw] creation_time
|
1955
|
+
# When the predictor backtest export job was created.
|
1956
|
+
# @return [Time]
|
1957
|
+
#
|
1958
|
+
# @!attribute [rw] last_modification_time
|
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.
|
1971
|
+
# @return [Time]
|
1972
|
+
#
|
1973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobResponse AWS API Documentation
|
1974
|
+
#
|
1975
|
+
class DescribePredictorBacktestExportJobResponse < Struct.new(
|
1976
|
+
:predictor_backtest_export_job_arn,
|
1977
|
+
:predictor_backtest_export_job_name,
|
1978
|
+
:predictor_arn,
|
1979
|
+
:destination,
|
1980
|
+
:message,
|
1981
|
+
:status,
|
1982
|
+
:creation_time,
|
1983
|
+
:last_modification_time)
|
1984
|
+
SENSITIVE = []
|
1985
|
+
include Aws::Structure
|
1986
|
+
end
|
1987
|
+
|
1707
1988
|
# @note When making an API call, you may pass DescribePredictorRequest
|
1708
1989
|
# data as a hash:
|
1709
1990
|
#
|
@@ -1814,7 +2095,7 @@ module Aws::ForecastService
|
|
1814
2095
|
#
|
1815
2096
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
1816
2097
|
#
|
1817
|
-
# * `
|
2098
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
1818
2099
|
#
|
1819
2100
|
# <note markdown="1"> The `Status` of the predictor must be `ACTIVE` before you can use
|
1820
2101
|
# the predictor to create a forecast.
|
@@ -1831,11 +2112,18 @@ module Aws::ForecastService
|
|
1831
2112
|
# @return [Time]
|
1832
2113
|
#
|
1833
2114
|
# @!attribute [rw] last_modification_time
|
1834
|
-
#
|
1835
|
-
#
|
1836
|
-
#
|
1837
|
-
#
|
1838
|
-
#
|
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.
|
1839
2127
|
# @return [Time]
|
1840
2128
|
#
|
1841
2129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorResponse AWS API Documentation
|
@@ -1904,8 +2192,7 @@ module Aws::ForecastService
|
|
1904
2192
|
# predictor. This object is part of the Metrics object.
|
1905
2193
|
#
|
1906
2194
|
# @!attribute [rw] forecast_type
|
1907
|
-
# Forecast
|
1908
|
-
# 0.01), and the mean.
|
2195
|
+
# The Forecast type used to compute WAPE and RMSE.
|
1909
2196
|
# @return [String]
|
1910
2197
|
#
|
1911
2198
|
# @!attribute [rw] wape
|
@@ -2268,6 +2555,8 @@ module Aws::ForecastService
|
|
2268
2555
|
#
|
2269
2556
|
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
2270
2557
|
#
|
2558
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
2559
|
+
#
|
2271
2560
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
2272
2561
|
#
|
2273
2562
|
# <note markdown="1"> The `Status` of the forecast export job must be `ACTIVE` before you
|
@@ -2285,7 +2574,18 @@ module Aws::ForecastService
|
|
2285
2574
|
# @return [Time]
|
2286
2575
|
#
|
2287
2576
|
# @!attribute [rw] last_modification_time
|
2288
|
-
#
|
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.
|
2289
2589
|
# @return [Time]
|
2290
2590
|
#
|
2291
2591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ForecastExportJobSummary AWS API Documentation
|
@@ -2331,6 +2631,8 @@ module Aws::ForecastService
|
|
2331
2631
|
#
|
2332
2632
|
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
2333
2633
|
#
|
2634
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
2635
|
+
#
|
2334
2636
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
2335
2637
|
#
|
2336
2638
|
# <note markdown="1"> The `Status` of the forecast must be `ACTIVE` before you can query
|
@@ -2348,11 +2650,18 @@ module Aws::ForecastService
|
|
2348
2650
|
# @return [Time]
|
2349
2651
|
#
|
2350
2652
|
# @!attribute [rw] last_modification_time
|
2351
|
-
#
|
2352
|
-
#
|
2353
|
-
#
|
2354
|
-
#
|
2355
|
-
#
|
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.
|
2356
2665
|
# @return [Time]
|
2357
2666
|
#
|
2358
2667
|
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ForecastSummary AWS API Documentation
|
@@ -2933,6 +3242,80 @@ module Aws::ForecastService
|
|
2933
3242
|
include Aws::Structure
|
2934
3243
|
end
|
2935
3244
|
|
3245
|
+
# @note When making an API call, you may pass ListPredictorBacktestExportJobsRequest
|
3246
|
+
# data as a hash:
|
3247
|
+
#
|
3248
|
+
# {
|
3249
|
+
# next_token: "NextToken",
|
3250
|
+
# max_results: 1,
|
3251
|
+
# filters: [
|
3252
|
+
# {
|
3253
|
+
# key: "String", # required
|
3254
|
+
# value: "Arn", # required
|
3255
|
+
# condition: "IS", # required, accepts IS, IS_NOT
|
3256
|
+
# },
|
3257
|
+
# ],
|
3258
|
+
# }
|
3259
|
+
#
|
3260
|
+
# @!attribute [rw] next_token
|
3261
|
+
# If the result of the previous request was truncated, the response
|
3262
|
+
# includes a NextToken. To retrieve the next set of results, use the
|
3263
|
+
# token in the next request. Tokens expire after 24 hours.
|
3264
|
+
# @return [String]
|
3265
|
+
#
|
3266
|
+
# @!attribute [rw] max_results
|
3267
|
+
# The number of items to return in the response.
|
3268
|
+
# @return [Integer]
|
3269
|
+
#
|
3270
|
+
# @!attribute [rw] filters
|
3271
|
+
# An array of filters. For each filter, provide a condition and a
|
3272
|
+
# match statement. The condition is either `IS` or `IS_NOT`, which
|
3273
|
+
# specifies whether to include or exclude the predictor backtest
|
3274
|
+
# export jobs that match the statement from the list. The match
|
3275
|
+
# statement consists of a key and a value.
|
3276
|
+
#
|
3277
|
+
# **Filter properties**
|
3278
|
+
#
|
3279
|
+
# * `Condition` - The condition to apply. Valid values are `IS` and
|
3280
|
+
# `IS_NOT`. To include the predictor backtest export jobs that match
|
3281
|
+
# the statement, specify `IS`. To exclude matching predictor
|
3282
|
+
# backtest export jobs, specify `IS_NOT`.
|
3283
|
+
#
|
3284
|
+
# * `Key` - The name of the parameter to filter on. Valid values are
|
3285
|
+
# `PredictorArn` and `Status`.
|
3286
|
+
#
|
3287
|
+
# * `Value` - The value to match.
|
3288
|
+
# @return [Array<Types::Filter>]
|
3289
|
+
#
|
3290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobsRequest AWS API Documentation
|
3291
|
+
#
|
3292
|
+
class ListPredictorBacktestExportJobsRequest < Struct.new(
|
3293
|
+
:next_token,
|
3294
|
+
:max_results,
|
3295
|
+
:filters)
|
3296
|
+
SENSITIVE = []
|
3297
|
+
include Aws::Structure
|
3298
|
+
end
|
3299
|
+
|
3300
|
+
# @!attribute [rw] predictor_backtest_export_jobs
|
3301
|
+
# An array of objects that summarize the properties of each predictor
|
3302
|
+
# backtest export job.
|
3303
|
+
# @return [Array<Types::PredictorBacktestExportJobSummary>]
|
3304
|
+
#
|
3305
|
+
# @!attribute [rw] next_token
|
3306
|
+
# Returns this token if the response is truncated. To retrieve the
|
3307
|
+
# next set of results, use the token in the next request.
|
3308
|
+
# @return [String]
|
3309
|
+
#
|
3310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobsResponse AWS API Documentation
|
3311
|
+
#
|
3312
|
+
class ListPredictorBacktestExportJobsResponse < Struct.new(
|
3313
|
+
:predictor_backtest_export_jobs,
|
3314
|
+
:next_token)
|
3315
|
+
SENSITIVE = []
|
3316
|
+
include Aws::Structure
|
3317
|
+
end
|
3318
|
+
|
2936
3319
|
# @note When making an API call, you may pass ListPredictorsRequest
|
2937
3320
|
# data as a hash:
|
2938
3321
|
#
|
@@ -3129,6 +3512,77 @@ module Aws::ForecastService
|
|
3129
3512
|
include Aws::Structure
|
3130
3513
|
end
|
3131
3514
|
|
3515
|
+
# Provides a summary of the predictor backtest export job properties
|
3516
|
+
# used in the ListPredictorBacktestExportJobs operation. To get a
|
3517
|
+
# complete set of properties, call the
|
3518
|
+
# DescribePredictorBacktestExportJob operation, and provide the listed
|
3519
|
+
# `PredictorBacktestExportJobArn`.
|
3520
|
+
#
|
3521
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
3522
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job.
|
3523
|
+
# @return [String]
|
3524
|
+
#
|
3525
|
+
# @!attribute [rw] predictor_backtest_export_job_name
|
3526
|
+
# The name of the predictor backtest export job.
|
3527
|
+
# @return [String]
|
3528
|
+
#
|
3529
|
+
# @!attribute [rw] destination
|
3530
|
+
# The destination for an export job. Provide an S3 path, an AWS
|
3531
|
+
# Identity and Access Management (IAM) role that allows Amazon
|
3532
|
+
# Forecast to access the location, and an AWS Key Management Service
|
3533
|
+
# (KMS) key (optional).
|
3534
|
+
# @return [Types::DataDestination]
|
3535
|
+
#
|
3536
|
+
# @!attribute [rw] status
|
3537
|
+
# The status of the predictor backtest export job. States include:
|
3538
|
+
#
|
3539
|
+
# * `ACTIVE`
|
3540
|
+
#
|
3541
|
+
# * `CREATE_PENDING`, `CREATE_IN_PROGRESS`, `CREATE_FAILED`
|
3542
|
+
#
|
3543
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
3544
|
+
#
|
3545
|
+
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
3546
|
+
# @return [String]
|
3547
|
+
#
|
3548
|
+
# @!attribute [rw] message
|
3549
|
+
# Information about any errors that may have occurred during the
|
3550
|
+
# backtest export.
|
3551
|
+
# @return [String]
|
3552
|
+
#
|
3553
|
+
# @!attribute [rw] creation_time
|
3554
|
+
# When the predictor backtest export job was created.
|
3555
|
+
# @return [Time]
|
3556
|
+
#
|
3557
|
+
# @!attribute [rw] last_modification_time
|
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.
|
3570
|
+
# @return [Time]
|
3571
|
+
#
|
3572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorBacktestExportJobSummary AWS API Documentation
|
3573
|
+
#
|
3574
|
+
class PredictorBacktestExportJobSummary < Struct.new(
|
3575
|
+
:predictor_backtest_export_job_arn,
|
3576
|
+
:predictor_backtest_export_job_name,
|
3577
|
+
:destination,
|
3578
|
+
:status,
|
3579
|
+
:message,
|
3580
|
+
:creation_time,
|
3581
|
+
:last_modification_time)
|
3582
|
+
SENSITIVE = []
|
3583
|
+
include Aws::Structure
|
3584
|
+
end
|
3585
|
+
|
3132
3586
|
# The algorithm used to perform a backtest and the status of those
|
3133
3587
|
# tests.
|
3134
3588
|
#
|
@@ -3198,7 +3652,7 @@ module Aws::ForecastService
|
|
3198
3652
|
#
|
3199
3653
|
# * `DELETE_PENDING`, `DELETE_IN_PROGRESS`, `DELETE_FAILED`
|
3200
3654
|
#
|
3201
|
-
# * `
|
3655
|
+
# * `CREATE_STOPPING`, `CREATE_STOPPED`
|
3202
3656
|
#
|
3203
3657
|
# <note markdown="1"> The `Status` of the predictor must be `ACTIVE` before you can use
|
3204
3658
|
# the predictor to create a forecast.
|
@@ -3215,10 +3669,18 @@ module Aws::ForecastService
|
|
3215
3669
|
# @return [Time]
|
3216
3670
|
#
|
3217
3671
|
# @!attribute [rw] last_modification_time
|
3218
|
-
#
|
3219
|
-
#
|
3220
|
-
#
|
3221
|
-
#
|
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.
|
3222
3684
|
# @return [Time]
|
3223
3685
|
#
|
3224
3686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorSummary AWS API Documentation
|
@@ -3281,8 +3743,7 @@ module Aws::ForecastService
|
|
3281
3743
|
# Amazon Forecast can assume to access the file(s). Optionally, includes
|
3282
3744
|
# an AWS Key Management Service (KMS) key. This object is part of the
|
3283
3745
|
# DataSource object that is submitted in the CreateDatasetImportJob
|
3284
|
-
# request, and part of the DataDestination object
|
3285
|
-
# the CreateForecastExportJob request.
|
3746
|
+
# request, and part of the DataDestination object.
|
3286
3747
|
#
|
3287
3748
|
# @note When making an API call, you may pass S3Config
|
3288
3749
|
# data as a hash:
|
@@ -3334,7 +3795,7 @@ module Aws::ForecastService
|
|
3334
3795
|
# attributes: [
|
3335
3796
|
# {
|
3336
3797
|
# attribute_name: "Name",
|
3337
|
-
# attribute_type: "string", # accepts string, integer, float, timestamp
|
3798
|
+
# attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
|
3338
3799
|
# },
|
3339
3800
|
# ],
|
3340
3801
|
# }
|
@@ -3361,7 +3822,7 @@ module Aws::ForecastService
|
|
3361
3822
|
#
|
3362
3823
|
# {
|
3363
3824
|
# attribute_name: "Name",
|
3364
|
-
# attribute_type: "string", # accepts string, integer, float, timestamp
|
3825
|
+
# attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
|
3365
3826
|
# }
|
3366
3827
|
#
|
3367
3828
|
# @!attribute [rw] attribute_name
|
@@ -3431,17 +3892,53 @@ module Aws::ForecastService
|
|
3431
3892
|
include Aws::Structure
|
3432
3893
|
end
|
3433
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
|
+
|
3434
3917
|
# Describes a supplementary feature of a dataset group. This object is
|
3435
|
-
# part of the InputDataConfig object.
|
3918
|
+
# part of the InputDataConfig object. Forecast supports the Weather
|
3919
|
+
# Index and Holidays built-in featurizations.
|
3920
|
+
#
|
3921
|
+
# **Weather Index**
|
3922
|
+
#
|
3923
|
+
# The Amazon Forecast Weather Index is a built-in featurization that
|
3924
|
+
# incorporates historical and projected weather information into your
|
3925
|
+
# model. The Weather Index supplements your datasets with over two years
|
3926
|
+
# of historical weather data and up to 14 days of projected weather
|
3927
|
+
# data. For more information, see [Amazon Forecast Weather Index][1].
|
3928
|
+
#
|
3929
|
+
# **Holidays**
|
3436
3930
|
#
|
3437
|
-
#
|
3438
|
-
#
|
3439
|
-
#
|
3440
|
-
#
|
3931
|
+
# Holidays is a built-in featurization that incorporates a
|
3932
|
+
# feature-engineered dataset of national holiday information into your
|
3933
|
+
# model. It provides native support for the holiday calendars of 66
|
3934
|
+
# countries. To view the holiday calendars, refer to the [Jollyday][2]
|
3935
|
+
# library. For more information, see [Holidays Featurization][3].
|
3441
3936
|
#
|
3442
3937
|
#
|
3443
3938
|
#
|
3444
|
-
# [1]:
|
3939
|
+
# [1]: https://docs.aws.amazon.com/forecast/latest/dg/weather.html
|
3940
|
+
# [2]: http://jollyday.sourceforge.net/data.html
|
3941
|
+
# [3]: https://docs.aws.amazon.com/forecast/latest/dg/holidays.html
|
3445
3942
|
#
|
3446
3943
|
# @note When making an API call, you may pass SupplementaryFeature
|
3447
3944
|
# data as a hash:
|
@@ -3452,11 +3949,18 @@ module Aws::ForecastService
|
|
3452
3949
|
# }
|
3453
3950
|
#
|
3454
3951
|
# @!attribute [rw] name
|
3455
|
-
# The name of the feature.
|
3952
|
+
# The name of the feature. Valid values: `"holiday"` and `"weather"`.
|
3456
3953
|
# @return [String]
|
3457
3954
|
#
|
3458
3955
|
# @!attribute [rw] value
|
3459
|
-
#
|
3956
|
+
# **Weather Index**
|
3957
|
+
#
|
3958
|
+
# To enable the Weather Index, set the value to `"true"`
|
3959
|
+
#
|
3960
|
+
# **Holidays**
|
3961
|
+
#
|
3962
|
+
# To enable Holidays, specify a country with one of the following
|
3963
|
+
# two-letter country codes:
|
3460
3964
|
#
|
3461
3965
|
# * "AL" - ALBANIA
|
3462
3966
|
#
|
@@ -3655,7 +4159,7 @@ module Aws::ForecastService
|
|
3655
4159
|
class Tag < Struct.new(
|
3656
4160
|
:key,
|
3657
4161
|
:value)
|
3658
|
-
SENSITIVE = []
|
4162
|
+
SENSITIVE = [:key, :value]
|
3659
4163
|
include Aws::Structure
|
3660
4164
|
end
|
3661
4165
|
|