aws-sdk-forecastservice 1.12.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-forecastservice.rb +1 -1
- data/lib/aws-sdk-forecastservice/client.rb +247 -1
- data/lib/aws-sdk-forecastservice/client_api.rb +104 -0
- data/lib/aws-sdk-forecastservice/types.rb +335 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47c5be302516af22f5ed8d15fd0693158f3c643b466e061f167ead0fdb197dec
|
4
|
+
data.tar.gz: 57753a38f00308802d7378215da48681977bead8c61099a84e7dbecbd469671a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 985391b7401ffa81e6a2c916c814b734f9aeb4e9d4fa519c7b7dc9edb11cf55104280b8858937b5ad7b1b60c4e3a42c2f2ec22d8c7d36762913d422d45d34cf8
|
7
|
+
data.tar.gz: 5b5f48e7719e315a3799be2e28150ca8f7254b0b8b2d66d9c9c0bab7930b52b9f601a0e5ac9dea7dd56c271449e8396a9ce75d7bc80375fd86d341cb0789d286
|
@@ -1230,6 +1230,92 @@ module Aws::ForecastService
|
|
1230
1230
|
req.send_request(options)
|
1231
1231
|
end
|
1232
1232
|
|
1233
|
+
# Exports backtest forecasts and accuracy metrics generated by the
|
1234
|
+
# CreatePredictor operation. Two CSV files are exported to a specified
|
1235
|
+
# S3 bucket.
|
1236
|
+
#
|
1237
|
+
# You must specify a DataDestination object that includes an AWS
|
1238
|
+
# Identity and Access Management (IAM) role that Amazon Forecast can
|
1239
|
+
# assume to access the Amazon S3 bucket. For more information, see
|
1240
|
+
# aws-forecast-iam-roles.
|
1241
|
+
#
|
1242
|
+
# @option params [required, String] :predictor_backtest_export_job_name
|
1243
|
+
# The name for the backtest export job.
|
1244
|
+
#
|
1245
|
+
# @option params [required, String] :predictor_arn
|
1246
|
+
# The Amazon Resource Name (ARN) of the predictor that you want to
|
1247
|
+
# export.
|
1248
|
+
#
|
1249
|
+
# @option params [required, Types::DataDestination] :destination
|
1250
|
+
# The destination for an export job, an AWS Identity and Access
|
1251
|
+
# Management (IAM) role that allows Amazon Forecast to access the
|
1252
|
+
# location and, optionally, an AWS Key Management Service (KMS) key.
|
1253
|
+
#
|
1254
|
+
# @option params [Array<Types::Tag>] :tags
|
1255
|
+
# Optional metadata to help you categorize and organize your backtests.
|
1256
|
+
# Each tag consists of a key and an optional value, both of which you
|
1257
|
+
# define. Tag keys and values are case sensitive.
|
1258
|
+
#
|
1259
|
+
# The following restrictions apply to tags:
|
1260
|
+
#
|
1261
|
+
# * For each resource, each tag key must be unique and each tag key must
|
1262
|
+
# have one value.
|
1263
|
+
#
|
1264
|
+
# * Maximum number of tags per resource: 50.
|
1265
|
+
#
|
1266
|
+
# * Maximum key length: 128 Unicode characters in UTF-8.
|
1267
|
+
#
|
1268
|
+
# * Maximum value length: 256 Unicode characters in UTF-8.
|
1269
|
+
#
|
1270
|
+
# * Accepted characters: all letters and numbers, spaces representable
|
1271
|
+
# in UTF-8, and + - = . \_ : / @. If your tagging schema is used
|
1272
|
+
# across other services and resources, the character restrictions of
|
1273
|
+
# those services also apply.
|
1274
|
+
#
|
1275
|
+
# * Key prefixes cannot include any upper or lowercase combination of
|
1276
|
+
# `aws:` or `AWS:`. Values can have this prefix. If a tag value has
|
1277
|
+
# `aws` as its prefix but the key does not, Forecast considers it to
|
1278
|
+
# be a user tag and will count against the limit of 50 tags. Tags with
|
1279
|
+
# only the key prefix of `aws` do not count against your tags per
|
1280
|
+
# resource limit. You cannot edit or delete tag keys with this prefix.
|
1281
|
+
#
|
1282
|
+
# @return [Types::CreatePredictorBacktestExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1283
|
+
#
|
1284
|
+
# * {Types::CreatePredictorBacktestExportJobResponse#predictor_backtest_export_job_arn #predictor_backtest_export_job_arn} => String
|
1285
|
+
#
|
1286
|
+
# @example Request syntax with placeholder values
|
1287
|
+
#
|
1288
|
+
# resp = client.create_predictor_backtest_export_job({
|
1289
|
+
# predictor_backtest_export_job_name: "Name", # required
|
1290
|
+
# predictor_arn: "Arn", # required
|
1291
|
+
# destination: { # required
|
1292
|
+
# s3_config: { # required
|
1293
|
+
# path: "S3Path", # required
|
1294
|
+
# role_arn: "Arn", # required
|
1295
|
+
# kms_key_arn: "KMSKeyArn",
|
1296
|
+
# },
|
1297
|
+
# },
|
1298
|
+
# tags: [
|
1299
|
+
# {
|
1300
|
+
# key: "TagKey", # required
|
1301
|
+
# value: "TagValue", # required
|
1302
|
+
# },
|
1303
|
+
# ],
|
1304
|
+
# })
|
1305
|
+
#
|
1306
|
+
# @example Response structure
|
1307
|
+
#
|
1308
|
+
# resp.predictor_backtest_export_job_arn #=> String
|
1309
|
+
#
|
1310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJob AWS API Documentation
|
1311
|
+
#
|
1312
|
+
# @overload create_predictor_backtest_export_job(params = {})
|
1313
|
+
# @param [Hash] params ({})
|
1314
|
+
def create_predictor_backtest_export_job(params = {}, options = {})
|
1315
|
+
req = build_request(:create_predictor_backtest_export_job, params)
|
1316
|
+
req.send_request(options)
|
1317
|
+
end
|
1318
|
+
|
1233
1319
|
# Deletes an Amazon Forecast dataset that was created using the
|
1234
1320
|
# CreateDataset operation. You can only delete datasets that have a
|
1235
1321
|
# status of `ACTIVE` or `CREATE_FAILED`. To get the status use the
|
@@ -1392,6 +1478,29 @@ module Aws::ForecastService
|
|
1392
1478
|
req.send_request(options)
|
1393
1479
|
end
|
1394
1480
|
|
1481
|
+
# Deletes a predictor backtest export job.
|
1482
|
+
#
|
1483
|
+
# @option params [required, String] :predictor_backtest_export_job_arn
|
1484
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job to
|
1485
|
+
# delete.
|
1486
|
+
#
|
1487
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1488
|
+
#
|
1489
|
+
# @example Request syntax with placeholder values
|
1490
|
+
#
|
1491
|
+
# resp = client.delete_predictor_backtest_export_job({
|
1492
|
+
# predictor_backtest_export_job_arn: "Arn", # required
|
1493
|
+
# })
|
1494
|
+
#
|
1495
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictorBacktestExportJob AWS API Documentation
|
1496
|
+
#
|
1497
|
+
# @overload delete_predictor_backtest_export_job(params = {})
|
1498
|
+
# @param [Hash] params ({})
|
1499
|
+
def delete_predictor_backtest_export_job(params = {}, options = {})
|
1500
|
+
req = build_request(:delete_predictor_backtest_export_job, params)
|
1501
|
+
req.send_request(options)
|
1502
|
+
end
|
1503
|
+
|
1395
1504
|
# Describes an Amazon Forecast dataset created using the CreateDataset
|
1396
1505
|
# operation.
|
1397
1506
|
#
|
@@ -1817,6 +1926,63 @@ module Aws::ForecastService
|
|
1817
1926
|
req.send_request(options)
|
1818
1927
|
end
|
1819
1928
|
|
1929
|
+
# Describes a predictor backtest export job created using the
|
1930
|
+
# CreatePredictorBacktestExportJob operation.
|
1931
|
+
#
|
1932
|
+
# In addition to listing the properties provided by the user in the
|
1933
|
+
# `CreatePredictorBacktestExportJob` request, this operation lists the
|
1934
|
+
# following properties:
|
1935
|
+
#
|
1936
|
+
# * `CreationTime`
|
1937
|
+
#
|
1938
|
+
# * `LastModificationTime`
|
1939
|
+
#
|
1940
|
+
# * `Status`
|
1941
|
+
#
|
1942
|
+
# * `Message` (if an error occurred)
|
1943
|
+
#
|
1944
|
+
# @option params [required, String] :predictor_backtest_export_job_arn
|
1945
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job.
|
1946
|
+
#
|
1947
|
+
# @return [Types::DescribePredictorBacktestExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1948
|
+
#
|
1949
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#predictor_backtest_export_job_arn #predictor_backtest_export_job_arn} => String
|
1950
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#predictor_backtest_export_job_name #predictor_backtest_export_job_name} => String
|
1951
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#predictor_arn #predictor_arn} => String
|
1952
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#destination #destination} => Types::DataDestination
|
1953
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#message #message} => String
|
1954
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#status #status} => String
|
1955
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#creation_time #creation_time} => Time
|
1956
|
+
# * {Types::DescribePredictorBacktestExportJobResponse#last_modification_time #last_modification_time} => Time
|
1957
|
+
#
|
1958
|
+
# @example Request syntax with placeholder values
|
1959
|
+
#
|
1960
|
+
# resp = client.describe_predictor_backtest_export_job({
|
1961
|
+
# predictor_backtest_export_job_arn: "Arn", # required
|
1962
|
+
# })
|
1963
|
+
#
|
1964
|
+
# @example Response structure
|
1965
|
+
#
|
1966
|
+
# resp.predictor_backtest_export_job_arn #=> String
|
1967
|
+
# resp.predictor_backtest_export_job_name #=> String
|
1968
|
+
# resp.predictor_arn #=> String
|
1969
|
+
# resp.destination.s3_config.path #=> String
|
1970
|
+
# resp.destination.s3_config.role_arn #=> String
|
1971
|
+
# resp.destination.s3_config.kms_key_arn #=> String
|
1972
|
+
# resp.message #=> String
|
1973
|
+
# resp.status #=> String
|
1974
|
+
# resp.creation_time #=> Time
|
1975
|
+
# resp.last_modification_time #=> Time
|
1976
|
+
#
|
1977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJob AWS API Documentation
|
1978
|
+
#
|
1979
|
+
# @overload describe_predictor_backtest_export_job(params = {})
|
1980
|
+
# @param [Hash] params ({})
|
1981
|
+
def describe_predictor_backtest_export_job(params = {}, options = {})
|
1982
|
+
req = build_request(:describe_predictor_backtest_export_job, params)
|
1983
|
+
req.send_request(options)
|
1984
|
+
end
|
1985
|
+
|
1820
1986
|
# Provides metrics on the accuracy of the models that were trained by
|
1821
1987
|
# the CreatePredictor operation. Use metrics to see how well the model
|
1822
1988
|
# performed and to decide whether to use the predictor to generate a
|
@@ -2227,6 +2393,86 @@ module Aws::ForecastService
|
|
2227
2393
|
req.send_request(options)
|
2228
2394
|
end
|
2229
2395
|
|
2396
|
+
# Returns a list of predictor backtest export jobs created using the
|
2397
|
+
# CreatePredictorBacktestExportJob operation. This operation returns a
|
2398
|
+
# summary for each backtest export job. You can filter the list using an
|
2399
|
+
# array of Filter objects.
|
2400
|
+
#
|
2401
|
+
# To retrieve the complete set of properties for a particular backtest
|
2402
|
+
# export job, use the ARN with the DescribePredictorBacktestExportJob
|
2403
|
+
# operation.
|
2404
|
+
#
|
2405
|
+
# @option params [String] :next_token
|
2406
|
+
# If the result of the previous request was truncated, the response
|
2407
|
+
# includes a NextToken. To retrieve the next set of results, use the
|
2408
|
+
# token in the next request. Tokens expire after 24 hours.
|
2409
|
+
#
|
2410
|
+
# @option params [Integer] :max_results
|
2411
|
+
# The number of items to return in the response.
|
2412
|
+
#
|
2413
|
+
# @option params [Array<Types::Filter>] :filters
|
2414
|
+
# An array of filters. For each filter, provide a condition and a match
|
2415
|
+
# statement. The condition is either `IS` or `IS_NOT`, which specifies
|
2416
|
+
# whether to include or exclude the predictor backtest export jobs that
|
2417
|
+
# match the statement from the list. The match statement consists of a
|
2418
|
+
# key and a value.
|
2419
|
+
#
|
2420
|
+
# **Filter properties**
|
2421
|
+
#
|
2422
|
+
# * `Condition` - The condition to apply. Valid values are `IS` and
|
2423
|
+
# `IS_NOT`. To include the predictor backtest export jobs that match
|
2424
|
+
# the statement, specify `IS`. To exclude matching predictor backtest
|
2425
|
+
# export jobs, specify `IS_NOT`.
|
2426
|
+
#
|
2427
|
+
# * `Key` - The name of the parameter to filter on. Valid values are
|
2428
|
+
# `PredictorBacktestExportJobArn` and `Status`.
|
2429
|
+
#
|
2430
|
+
# * `Value` - The value to match.
|
2431
|
+
#
|
2432
|
+
# @return [Types::ListPredictorBacktestExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2433
|
+
#
|
2434
|
+
# * {Types::ListPredictorBacktestExportJobsResponse#predictor_backtest_export_jobs #predictor_backtest_export_jobs} => Array<Types::PredictorBacktestExportJobSummary>
|
2435
|
+
# * {Types::ListPredictorBacktestExportJobsResponse#next_token #next_token} => String
|
2436
|
+
#
|
2437
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2438
|
+
#
|
2439
|
+
# @example Request syntax with placeholder values
|
2440
|
+
#
|
2441
|
+
# resp = client.list_predictor_backtest_export_jobs({
|
2442
|
+
# next_token: "NextToken",
|
2443
|
+
# max_results: 1,
|
2444
|
+
# filters: [
|
2445
|
+
# {
|
2446
|
+
# key: "String", # required
|
2447
|
+
# value: "Arn", # required
|
2448
|
+
# condition: "IS", # required, accepts IS, IS_NOT
|
2449
|
+
# },
|
2450
|
+
# ],
|
2451
|
+
# })
|
2452
|
+
#
|
2453
|
+
# @example Response structure
|
2454
|
+
#
|
2455
|
+
# resp.predictor_backtest_export_jobs #=> Array
|
2456
|
+
# resp.predictor_backtest_export_jobs[0].predictor_backtest_export_job_arn #=> String
|
2457
|
+
# resp.predictor_backtest_export_jobs[0].predictor_backtest_export_job_name #=> String
|
2458
|
+
# resp.predictor_backtest_export_jobs[0].destination.s3_config.path #=> String
|
2459
|
+
# resp.predictor_backtest_export_jobs[0].destination.s3_config.role_arn #=> String
|
2460
|
+
# resp.predictor_backtest_export_jobs[0].destination.s3_config.kms_key_arn #=> String
|
2461
|
+
# resp.predictor_backtest_export_jobs[0].status #=> String
|
2462
|
+
# resp.predictor_backtest_export_jobs[0].message #=> String
|
2463
|
+
# resp.predictor_backtest_export_jobs[0].creation_time #=> Time
|
2464
|
+
# resp.predictor_backtest_export_jobs[0].last_modification_time #=> Time
|
2465
|
+
# resp.next_token #=> String
|
2466
|
+
#
|
2467
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobs AWS API Documentation
|
2468
|
+
#
|
2469
|
+
# @overload list_predictor_backtest_export_jobs(params = {})
|
2470
|
+
# @param [Hash] params ({})
|
2471
|
+
def list_predictor_backtest_export_jobs(params = {}, options = {})
|
2472
|
+
req = build_request(:list_predictor_backtest_export_jobs, params)
|
2473
|
+
req.send_request(options)
|
2474
|
+
end
|
2475
|
+
|
2230
2476
|
# Returns a list of predictors created using the CreatePredictor
|
2231
2477
|
# operation. For each predictor, this operation returns a summary of its
|
2232
2478
|
# properties, including its Amazon Resource Name (ARN). You can retrieve
|
@@ -2480,7 +2726,7 @@ module Aws::ForecastService
|
|
2480
2726
|
params: params,
|
2481
2727
|
config: config)
|
2482
2728
|
context[:gem_name] = 'aws-sdk-forecastservice'
|
2483
|
-
context[:gem_version] = '1.
|
2729
|
+
context[:gem_version] = '1.13.0'
|
2484
2730
|
Seahorse::Client::Request.new(handlers, context)
|
2485
2731
|
end
|
2486
2732
|
|
@@ -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')
|
@@ -109,6 +114,8 @@ module Aws::ForecastService
|
|
109
114
|
ListForecastExportJobsResponse = Shapes::StructureShape.new(name: 'ListForecastExportJobsResponse')
|
110
115
|
ListForecastsRequest = Shapes::StructureShape.new(name: 'ListForecastsRequest')
|
111
116
|
ListForecastsResponse = Shapes::StructureShape.new(name: 'ListForecastsResponse')
|
117
|
+
ListPredictorBacktestExportJobsRequest = Shapes::StructureShape.new(name: 'ListPredictorBacktestExportJobsRequest')
|
118
|
+
ListPredictorBacktestExportJobsResponse = Shapes::StructureShape.new(name: 'ListPredictorBacktestExportJobsResponse')
|
112
119
|
ListPredictorsRequest = Shapes::StructureShape.new(name: 'ListPredictorsRequest')
|
113
120
|
ListPredictorsResponse = Shapes::StructureShape.new(name: 'ListPredictorsResponse')
|
114
121
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -121,6 +128,8 @@ module Aws::ForecastService
|
|
121
128
|
ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
|
122
129
|
ParameterRanges = Shapes::StructureShape.new(name: 'ParameterRanges')
|
123
130
|
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
131
|
+
PredictorBacktestExportJobSummary = Shapes::StructureShape.new(name: 'PredictorBacktestExportJobSummary')
|
132
|
+
PredictorBacktestExportJobs = Shapes::ListShape.new(name: 'PredictorBacktestExportJobs')
|
124
133
|
PredictorEvaluationResults = Shapes::ListShape.new(name: 'PredictorEvaluationResults')
|
125
134
|
PredictorExecution = Shapes::StructureShape.new(name: 'PredictorExecution')
|
126
135
|
PredictorExecutionDetails = Shapes::StructureShape.new(name: 'PredictorExecutionDetails')
|
@@ -229,6 +238,15 @@ module Aws::ForecastService
|
|
229
238
|
CreateForecastResponse.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "ForecastArn"))
|
230
239
|
CreateForecastResponse.struct_class = Types::CreateForecastResponse
|
231
240
|
|
241
|
+
CreatePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "PredictorBacktestExportJobName"))
|
242
|
+
CreatePredictorBacktestExportJobRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
|
243
|
+
CreatePredictorBacktestExportJobRequest.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, required: true, location_name: "Destination"))
|
244
|
+
CreatePredictorBacktestExportJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
245
|
+
CreatePredictorBacktestExportJobRequest.struct_class = Types::CreatePredictorBacktestExportJobRequest
|
246
|
+
|
247
|
+
CreatePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
|
248
|
+
CreatePredictorBacktestExportJobResponse.struct_class = Types::CreatePredictorBacktestExportJobResponse
|
249
|
+
|
232
250
|
CreatePredictorRequest.add_member(:predictor_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "PredictorName"))
|
233
251
|
CreatePredictorRequest.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
|
234
252
|
CreatePredictorRequest.add_member(:forecast_horizon, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ForecastHorizon"))
|
@@ -297,6 +315,9 @@ module Aws::ForecastService
|
|
297
315
|
DeleteForecastRequest.add_member(:forecast_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ForecastArn"))
|
298
316
|
DeleteForecastRequest.struct_class = Types::DeleteForecastRequest
|
299
317
|
|
318
|
+
DeletePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorBacktestExportJobArn"))
|
319
|
+
DeletePredictorBacktestExportJobRequest.struct_class = Types::DeletePredictorBacktestExportJobRequest
|
320
|
+
|
300
321
|
DeletePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
|
301
322
|
DeletePredictorRequest.struct_class = Types::DeletePredictorRequest
|
302
323
|
|
@@ -370,6 +391,19 @@ module Aws::ForecastService
|
|
370
391
|
DescribeForecastResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
|
371
392
|
DescribeForecastResponse.struct_class = Types::DescribeForecastResponse
|
372
393
|
|
394
|
+
DescribePredictorBacktestExportJobRequest.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorBacktestExportJobArn"))
|
395
|
+
DescribePredictorBacktestExportJobRequest.struct_class = Types::DescribePredictorBacktestExportJobRequest
|
396
|
+
|
397
|
+
DescribePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
|
398
|
+
DescribePredictorBacktestExportJobResponse.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorBacktestExportJobName"))
|
399
|
+
DescribePredictorBacktestExportJobResponse.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorArn"))
|
400
|
+
DescribePredictorBacktestExportJobResponse.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, location_name: "Destination"))
|
401
|
+
DescribePredictorBacktestExportJobResponse.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
402
|
+
DescribePredictorBacktestExportJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
403
|
+
DescribePredictorBacktestExportJobResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
404
|
+
DescribePredictorBacktestExportJobResponse.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
|
405
|
+
DescribePredictorBacktestExportJobResponse.struct_class = Types::DescribePredictorBacktestExportJobResponse
|
406
|
+
|
373
407
|
DescribePredictorRequest.add_member(:predictor_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "PredictorArn"))
|
374
408
|
DescribePredictorRequest.struct_class = Types::DescribePredictorRequest
|
375
409
|
|
@@ -544,6 +578,15 @@ module Aws::ForecastService
|
|
544
578
|
ListForecastsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
545
579
|
ListForecastsResponse.struct_class = Types::ListForecastsResponse
|
546
580
|
|
581
|
+
ListPredictorBacktestExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
582
|
+
ListPredictorBacktestExportJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
583
|
+
ListPredictorBacktestExportJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
584
|
+
ListPredictorBacktestExportJobsRequest.struct_class = Types::ListPredictorBacktestExportJobsRequest
|
585
|
+
|
586
|
+
ListPredictorBacktestExportJobsResponse.add_member(:predictor_backtest_export_jobs, Shapes::ShapeRef.new(shape: PredictorBacktestExportJobs, location_name: "PredictorBacktestExportJobs"))
|
587
|
+
ListPredictorBacktestExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
588
|
+
ListPredictorBacktestExportJobsResponse.struct_class = Types::ListPredictorBacktestExportJobsResponse
|
589
|
+
|
547
590
|
ListPredictorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
548
591
|
ListPredictorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
549
592
|
ListPredictorsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
@@ -569,6 +612,17 @@ module Aws::ForecastService
|
|
569
612
|
ParameterRanges.add_member(:integer_parameter_ranges, Shapes::ShapeRef.new(shape: IntegerParameterRanges, location_name: "IntegerParameterRanges"))
|
570
613
|
ParameterRanges.struct_class = Types::ParameterRanges
|
571
614
|
|
615
|
+
PredictorBacktestExportJobSummary.add_member(:predictor_backtest_export_job_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "PredictorBacktestExportJobArn"))
|
616
|
+
PredictorBacktestExportJobSummary.add_member(:predictor_backtest_export_job_name, Shapes::ShapeRef.new(shape: Name, location_name: "PredictorBacktestExportJobName"))
|
617
|
+
PredictorBacktestExportJobSummary.add_member(:destination, Shapes::ShapeRef.new(shape: DataDestination, location_name: "Destination"))
|
618
|
+
PredictorBacktestExportJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
619
|
+
PredictorBacktestExportJobSummary.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
620
|
+
PredictorBacktestExportJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
|
621
|
+
PredictorBacktestExportJobSummary.add_member(:last_modification_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModificationTime"))
|
622
|
+
PredictorBacktestExportJobSummary.struct_class = Types::PredictorBacktestExportJobSummary
|
623
|
+
|
624
|
+
PredictorBacktestExportJobs.member = Shapes::ShapeRef.new(shape: PredictorBacktestExportJobSummary)
|
625
|
+
|
572
626
|
PredictorEvaluationResults.member = Shapes::ShapeRef.new(shape: EvaluationResult)
|
573
627
|
|
574
628
|
PredictorExecution.add_member(:algorithm_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "AlgorithmArn"))
|
@@ -779,6 +833,19 @@ module Aws::ForecastService
|
|
779
833
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
780
834
|
end)
|
781
835
|
|
836
|
+
api.add_operation(:create_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
|
837
|
+
o.name = "CreatePredictorBacktestExportJob"
|
838
|
+
o.http_method = "POST"
|
839
|
+
o.http_request_uri = "/"
|
840
|
+
o.input = Shapes::ShapeRef.new(shape: CreatePredictorBacktestExportJobRequest)
|
841
|
+
o.output = Shapes::ShapeRef.new(shape: CreatePredictorBacktestExportJobResponse)
|
842
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
843
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
844
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
845
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
846
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
847
|
+
end)
|
848
|
+
|
782
849
|
api.add_operation(:delete_dataset, Seahorse::Model::Operation.new.tap do |o|
|
783
850
|
o.name = "DeleteDataset"
|
784
851
|
o.http_method = "POST"
|
@@ -845,6 +912,17 @@ module Aws::ForecastService
|
|
845
912
|
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
846
913
|
end)
|
847
914
|
|
915
|
+
api.add_operation(:delete_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
|
916
|
+
o.name = "DeletePredictorBacktestExportJob"
|
917
|
+
o.http_method = "POST"
|
918
|
+
o.http_request_uri = "/"
|
919
|
+
o.input = Shapes::ShapeRef.new(shape: DeletePredictorBacktestExportJobRequest)
|
920
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
921
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
922
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
923
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
924
|
+
end)
|
925
|
+
|
848
926
|
api.add_operation(:describe_dataset, Seahorse::Model::Operation.new.tap do |o|
|
849
927
|
o.name = "DescribeDataset"
|
850
928
|
o.http_method = "POST"
|
@@ -905,6 +983,16 @@ module Aws::ForecastService
|
|
905
983
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
906
984
|
end)
|
907
985
|
|
986
|
+
api.add_operation(:describe_predictor_backtest_export_job, Seahorse::Model::Operation.new.tap do |o|
|
987
|
+
o.name = "DescribePredictorBacktestExportJob"
|
988
|
+
o.http_method = "POST"
|
989
|
+
o.http_request_uri = "/"
|
990
|
+
o.input = Shapes::ShapeRef.new(shape: DescribePredictorBacktestExportJobRequest)
|
991
|
+
o.output = Shapes::ShapeRef.new(shape: DescribePredictorBacktestExportJobResponse)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
994
|
+
end)
|
995
|
+
|
908
996
|
api.add_operation(:get_accuracy_metrics, Seahorse::Model::Operation.new.tap do |o|
|
909
997
|
o.name = "GetAccuracyMetrics"
|
910
998
|
o.http_method = "POST"
|
@@ -994,6 +1082,22 @@ module Aws::ForecastService
|
|
994
1082
|
)
|
995
1083
|
end)
|
996
1084
|
|
1085
|
+
api.add_operation(:list_predictor_backtest_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1086
|
+
o.name = "ListPredictorBacktestExportJobs"
|
1087
|
+
o.http_method = "POST"
|
1088
|
+
o.http_request_uri = "/"
|
1089
|
+
o.input = Shapes::ShapeRef.new(shape: ListPredictorBacktestExportJobsRequest)
|
1090
|
+
o.output = Shapes::ShapeRef.new(shape: ListPredictorBacktestExportJobsResponse)
|
1091
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1092
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1093
|
+
o[:pager] = Aws::Pager.new(
|
1094
|
+
limit_key: "max_results",
|
1095
|
+
tokens: {
|
1096
|
+
"next_token" => "next_token"
|
1097
|
+
}
|
1098
|
+
)
|
1099
|
+
end)
|
1100
|
+
|
997
1101
|
api.add_operation(:list_predictors, Seahorse::Model::Operation.new.tap do |o|
|
998
1102
|
o.name = "ListPredictors"
|
999
1103
|
o.http_method = "POST"
|
@@ -645,6 +645,96 @@ module Aws::ForecastService
|
|
645
645
|
include Aws::Structure
|
646
646
|
end
|
647
647
|
|
648
|
+
# @note When making an API call, you may pass CreatePredictorBacktestExportJobRequest
|
649
|
+
# data as a hash:
|
650
|
+
#
|
651
|
+
# {
|
652
|
+
# predictor_backtest_export_job_name: "Name", # required
|
653
|
+
# predictor_arn: "Arn", # required
|
654
|
+
# destination: { # required
|
655
|
+
# s3_config: { # required
|
656
|
+
# path: "S3Path", # required
|
657
|
+
# role_arn: "Arn", # required
|
658
|
+
# kms_key_arn: "KMSKeyArn",
|
659
|
+
# },
|
660
|
+
# },
|
661
|
+
# tags: [
|
662
|
+
# {
|
663
|
+
# key: "TagKey", # required
|
664
|
+
# value: "TagValue", # required
|
665
|
+
# },
|
666
|
+
# ],
|
667
|
+
# }
|
668
|
+
#
|
669
|
+
# @!attribute [rw] predictor_backtest_export_job_name
|
670
|
+
# The name for the backtest export job.
|
671
|
+
# @return [String]
|
672
|
+
#
|
673
|
+
# @!attribute [rw] predictor_arn
|
674
|
+
# The Amazon Resource Name (ARN) of the predictor that you want to
|
675
|
+
# export.
|
676
|
+
# @return [String]
|
677
|
+
#
|
678
|
+
# @!attribute [rw] destination
|
679
|
+
# The destination for an export job, an AWS Identity and Access
|
680
|
+
# Management (IAM) role that allows Amazon Forecast to access the
|
681
|
+
# location and, optionally, an AWS Key Management Service (KMS) key.
|
682
|
+
# @return [Types::DataDestination]
|
683
|
+
#
|
684
|
+
# @!attribute [rw] tags
|
685
|
+
# Optional metadata to help you categorize and organize your
|
686
|
+
# backtests. Each tag consists of a key and an optional value, both of
|
687
|
+
# which you define. Tag keys and values are case sensitive.
|
688
|
+
#
|
689
|
+
# The following restrictions apply to tags:
|
690
|
+
#
|
691
|
+
# * For each resource, each tag key must be unique and each tag key
|
692
|
+
# must have one value.
|
693
|
+
#
|
694
|
+
# * Maximum number of tags per resource: 50.
|
695
|
+
#
|
696
|
+
# * Maximum key length: 128 Unicode characters in UTF-8.
|
697
|
+
#
|
698
|
+
# * Maximum value length: 256 Unicode characters in UTF-8.
|
699
|
+
#
|
700
|
+
# * Accepted characters: all letters and numbers, spaces representable
|
701
|
+
# in UTF-8, and + - = . \_ : / @. If your tagging schema is used
|
702
|
+
# across other services and resources, the character restrictions of
|
703
|
+
# those services also apply.
|
704
|
+
#
|
705
|
+
# * Key prefixes cannot include any upper or lowercase combination of
|
706
|
+
# `aws:` or `AWS:`. Values can have this prefix. If a tag value has
|
707
|
+
# `aws` as its prefix but the key does not, Forecast considers it to
|
708
|
+
# be a user tag and will count against the limit of 50 tags. Tags
|
709
|
+
# with only the key prefix of `aws` do not count against your tags
|
710
|
+
# per resource limit. You cannot edit or delete tag keys with this
|
711
|
+
# prefix.
|
712
|
+
# @return [Array<Types::Tag>]
|
713
|
+
#
|
714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobRequest AWS API Documentation
|
715
|
+
#
|
716
|
+
class CreatePredictorBacktestExportJobRequest < Struct.new(
|
717
|
+
:predictor_backtest_export_job_name,
|
718
|
+
:predictor_arn,
|
719
|
+
:destination,
|
720
|
+
:tags)
|
721
|
+
SENSITIVE = []
|
722
|
+
include Aws::Structure
|
723
|
+
end
|
724
|
+
|
725
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
726
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job
|
727
|
+
# that you want to export.
|
728
|
+
# @return [String]
|
729
|
+
#
|
730
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJobResponse AWS API Documentation
|
731
|
+
#
|
732
|
+
class CreatePredictorBacktestExportJobResponse < Struct.new(
|
733
|
+
:predictor_backtest_export_job_arn)
|
734
|
+
SENSITIVE = []
|
735
|
+
include Aws::Structure
|
736
|
+
end
|
737
|
+
|
648
738
|
# @note When making an API call, you may pass CreatePredictorRequest
|
649
739
|
# data as a hash:
|
650
740
|
#
|
@@ -913,10 +1003,9 @@ module Aws::ForecastService
|
|
913
1003
|
include Aws::Structure
|
914
1004
|
end
|
915
1005
|
|
916
|
-
# The destination for an
|
1006
|
+
# The destination for an export job, an AWS Identity and Access
|
917
1007
|
# Management (IAM) role that allows Amazon Forecast to access the
|
918
1008
|
# location and, optionally, an AWS Key Management Service (KMS) key.
|
919
|
-
# This object is submitted in the CreateForecastExportJob request.
|
920
1009
|
#
|
921
1010
|
# @note When making an API call, you may pass DataDestination
|
922
1011
|
# data as a hash:
|
@@ -1216,6 +1305,26 @@ module Aws::ForecastService
|
|
1216
1305
|
include Aws::Structure
|
1217
1306
|
end
|
1218
1307
|
|
1308
|
+
# @note When making an API call, you may pass DeletePredictorBacktestExportJobRequest
|
1309
|
+
# data as a hash:
|
1310
|
+
#
|
1311
|
+
# {
|
1312
|
+
# predictor_backtest_export_job_arn: "Arn", # required
|
1313
|
+
# }
|
1314
|
+
#
|
1315
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
1316
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job
|
1317
|
+
# to delete.
|
1318
|
+
# @return [String]
|
1319
|
+
#
|
1320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictorBacktestExportJobRequest AWS API Documentation
|
1321
|
+
#
|
1322
|
+
class DeletePredictorBacktestExportJobRequest < Struct.new(
|
1323
|
+
:predictor_backtest_export_job_arn)
|
1324
|
+
SENSITIVE = []
|
1325
|
+
include Aws::Structure
|
1326
|
+
end
|
1327
|
+
|
1219
1328
|
# @note When making an API call, you may pass DeletePredictorRequest
|
1220
1329
|
# data as a hash:
|
1221
1330
|
#
|
@@ -1704,6 +1813,89 @@ module Aws::ForecastService
|
|
1704
1813
|
include Aws::Structure
|
1705
1814
|
end
|
1706
1815
|
|
1816
|
+
# @note When making an API call, you may pass DescribePredictorBacktestExportJobRequest
|
1817
|
+
# data as a hash:
|
1818
|
+
#
|
1819
|
+
# {
|
1820
|
+
# predictor_backtest_export_job_arn: "Arn", # required
|
1821
|
+
# }
|
1822
|
+
#
|
1823
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
1824
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job.
|
1825
|
+
# @return [String]
|
1826
|
+
#
|
1827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobRequest AWS API Documentation
|
1828
|
+
#
|
1829
|
+
class DescribePredictorBacktestExportJobRequest < Struct.new(
|
1830
|
+
:predictor_backtest_export_job_arn)
|
1831
|
+
SENSITIVE = []
|
1832
|
+
include Aws::Structure
|
1833
|
+
end
|
1834
|
+
|
1835
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
1836
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job.
|
1837
|
+
# @return [String]
|
1838
|
+
#
|
1839
|
+
# @!attribute [rw] predictor_backtest_export_job_name
|
1840
|
+
# The name of the predictor backtest export job.
|
1841
|
+
# @return [String]
|
1842
|
+
#
|
1843
|
+
# @!attribute [rw] predictor_arn
|
1844
|
+
# The Amazon Resource Name (ARN) of the predictor.
|
1845
|
+
# @return [String]
|
1846
|
+
#
|
1847
|
+
# @!attribute [rw] destination
|
1848
|
+
# The destination for an export job, an AWS Identity and Access
|
1849
|
+
# Management (IAM) role that allows Amazon Forecast to access the
|
1850
|
+
# location and, optionally, an AWS Key Management Service (KMS) key.
|
1851
|
+
# @return [Types::DataDestination]
|
1852
|
+
#
|
1853
|
+
# @!attribute [rw] message
|
1854
|
+
# Information about any errors that may have occurred during the
|
1855
|
+
# backtest export.
|
1856
|
+
# @return [String]
|
1857
|
+
#
|
1858
|
+
# @!attribute [rw] status
|
1859
|
+
# The status of the predictor backtest export job. States include:
|
1860
|
+
#
|
1861
|
+
# * `ACTIVE`
|
1862
|
+
#
|
1863
|
+
# * `CREATE_PENDING`
|
1864
|
+
#
|
1865
|
+
# * `CREATE_IN_PROGRESS`
|
1866
|
+
#
|
1867
|
+
# * `CREATE_FAILED`
|
1868
|
+
#
|
1869
|
+
# * `DELETE_PENDING`
|
1870
|
+
#
|
1871
|
+
# * `DELETE_IN_PROGRESS`
|
1872
|
+
#
|
1873
|
+
# * `DELETE_FAILED`
|
1874
|
+
# @return [String]
|
1875
|
+
#
|
1876
|
+
# @!attribute [rw] creation_time
|
1877
|
+
# When the predictor backtest export job was created.
|
1878
|
+
# @return [Time]
|
1879
|
+
#
|
1880
|
+
# @!attribute [rw] last_modification_time
|
1881
|
+
# When the last successful export job finished.
|
1882
|
+
# @return [Time]
|
1883
|
+
#
|
1884
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJobResponse AWS API Documentation
|
1885
|
+
#
|
1886
|
+
class DescribePredictorBacktestExportJobResponse < Struct.new(
|
1887
|
+
:predictor_backtest_export_job_arn,
|
1888
|
+
:predictor_backtest_export_job_name,
|
1889
|
+
:predictor_arn,
|
1890
|
+
:destination,
|
1891
|
+
:message,
|
1892
|
+
:status,
|
1893
|
+
:creation_time,
|
1894
|
+
:last_modification_time)
|
1895
|
+
SENSITIVE = []
|
1896
|
+
include Aws::Structure
|
1897
|
+
end
|
1898
|
+
|
1707
1899
|
# @note When making an API call, you may pass DescribePredictorRequest
|
1708
1900
|
# data as a hash:
|
1709
1901
|
#
|
@@ -1904,8 +2096,7 @@ module Aws::ForecastService
|
|
1904
2096
|
# predictor. This object is part of the Metrics object.
|
1905
2097
|
#
|
1906
2098
|
# @!attribute [rw] forecast_type
|
1907
|
-
# Forecast
|
1908
|
-
# 0.01), and the mean.
|
2099
|
+
# The Forecast type used to compute WAPE and RMSE.
|
1909
2100
|
# @return [String]
|
1910
2101
|
#
|
1911
2102
|
# @!attribute [rw] wape
|
@@ -2933,6 +3124,80 @@ module Aws::ForecastService
|
|
2933
3124
|
include Aws::Structure
|
2934
3125
|
end
|
2935
3126
|
|
3127
|
+
# @note When making an API call, you may pass ListPredictorBacktestExportJobsRequest
|
3128
|
+
# data as a hash:
|
3129
|
+
#
|
3130
|
+
# {
|
3131
|
+
# next_token: "NextToken",
|
3132
|
+
# max_results: 1,
|
3133
|
+
# filters: [
|
3134
|
+
# {
|
3135
|
+
# key: "String", # required
|
3136
|
+
# value: "Arn", # required
|
3137
|
+
# condition: "IS", # required, accepts IS, IS_NOT
|
3138
|
+
# },
|
3139
|
+
# ],
|
3140
|
+
# }
|
3141
|
+
#
|
3142
|
+
# @!attribute [rw] next_token
|
3143
|
+
# If the result of the previous request was truncated, the response
|
3144
|
+
# includes a NextToken. To retrieve the next set of results, use the
|
3145
|
+
# token in the next request. Tokens expire after 24 hours.
|
3146
|
+
# @return [String]
|
3147
|
+
#
|
3148
|
+
# @!attribute [rw] max_results
|
3149
|
+
# The number of items to return in the response.
|
3150
|
+
# @return [Integer]
|
3151
|
+
#
|
3152
|
+
# @!attribute [rw] filters
|
3153
|
+
# An array of filters. For each filter, provide a condition and a
|
3154
|
+
# match statement. The condition is either `IS` or `IS_NOT`, which
|
3155
|
+
# specifies whether to include or exclude the predictor backtest
|
3156
|
+
# export jobs that match the statement from the list. The match
|
3157
|
+
# statement consists of a key and a value.
|
3158
|
+
#
|
3159
|
+
# **Filter properties**
|
3160
|
+
#
|
3161
|
+
# * `Condition` - The condition to apply. Valid values are `IS` and
|
3162
|
+
# `IS_NOT`. To include the predictor backtest export jobs that match
|
3163
|
+
# the statement, specify `IS`. To exclude matching predictor
|
3164
|
+
# backtest export jobs, specify `IS_NOT`.
|
3165
|
+
#
|
3166
|
+
# * `Key` - The name of the parameter to filter on. Valid values are
|
3167
|
+
# `PredictorBacktestExportJobArn` and `Status`.
|
3168
|
+
#
|
3169
|
+
# * `Value` - The value to match.
|
3170
|
+
# @return [Array<Types::Filter>]
|
3171
|
+
#
|
3172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobsRequest AWS API Documentation
|
3173
|
+
#
|
3174
|
+
class ListPredictorBacktestExportJobsRequest < Struct.new(
|
3175
|
+
:next_token,
|
3176
|
+
:max_results,
|
3177
|
+
:filters)
|
3178
|
+
SENSITIVE = []
|
3179
|
+
include Aws::Structure
|
3180
|
+
end
|
3181
|
+
|
3182
|
+
# @!attribute [rw] predictor_backtest_export_jobs
|
3183
|
+
# An array of objects that summarize the properties of each predictor
|
3184
|
+
# backtest export job.
|
3185
|
+
# @return [Array<Types::PredictorBacktestExportJobSummary>]
|
3186
|
+
#
|
3187
|
+
# @!attribute [rw] next_token
|
3188
|
+
# Returns this token if the response is truncated. To retrieve the
|
3189
|
+
# next set of results, use the token in the next request.
|
3190
|
+
# @return [String]
|
3191
|
+
#
|
3192
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobsResponse AWS API Documentation
|
3193
|
+
#
|
3194
|
+
class ListPredictorBacktestExportJobsResponse < Struct.new(
|
3195
|
+
:predictor_backtest_export_jobs,
|
3196
|
+
:next_token)
|
3197
|
+
SENSITIVE = []
|
3198
|
+
include Aws::Structure
|
3199
|
+
end
|
3200
|
+
|
2936
3201
|
# @note When making an API call, you may pass ListPredictorsRequest
|
2937
3202
|
# data as a hash:
|
2938
3203
|
#
|
@@ -3129,6 +3394,71 @@ module Aws::ForecastService
|
|
3129
3394
|
include Aws::Structure
|
3130
3395
|
end
|
3131
3396
|
|
3397
|
+
# Provides a summary of the predictor backtest export job properties
|
3398
|
+
# used in the ListPredictorBacktestExportJobs operation. To get a
|
3399
|
+
# complete set of properties, call the
|
3400
|
+
# DescribePredictorBacktestExportJob operation, and provide the listed
|
3401
|
+
# `PredictorBacktestExportJobArn`.
|
3402
|
+
#
|
3403
|
+
# @!attribute [rw] predictor_backtest_export_job_arn
|
3404
|
+
# The Amazon Resource Name (ARN) of the predictor backtest export job.
|
3405
|
+
# @return [String]
|
3406
|
+
#
|
3407
|
+
# @!attribute [rw] predictor_backtest_export_job_name
|
3408
|
+
# The name of the predictor backtest export job.
|
3409
|
+
# @return [String]
|
3410
|
+
#
|
3411
|
+
# @!attribute [rw] destination
|
3412
|
+
# The destination for an export job, an AWS Identity and Access
|
3413
|
+
# Management (IAM) role that allows Amazon Forecast to access the
|
3414
|
+
# location and, optionally, an AWS Key Management Service (KMS) key.
|
3415
|
+
# @return [Types::DataDestination]
|
3416
|
+
#
|
3417
|
+
# @!attribute [rw] status
|
3418
|
+
# The status of the predictor backtest export job. States include:
|
3419
|
+
#
|
3420
|
+
# * `ACTIVE`
|
3421
|
+
#
|
3422
|
+
# * `CREATE_PENDING`
|
3423
|
+
#
|
3424
|
+
# * `CREATE_IN_PROGRESS`
|
3425
|
+
#
|
3426
|
+
# * `CREATE_FAILED`
|
3427
|
+
#
|
3428
|
+
# * `DELETE_PENDING`
|
3429
|
+
#
|
3430
|
+
# * `DELETE_IN_PROGRESS`
|
3431
|
+
#
|
3432
|
+
# * `DELETE_FAILED`
|
3433
|
+
# @return [String]
|
3434
|
+
#
|
3435
|
+
# @!attribute [rw] message
|
3436
|
+
# Information about any errors that may have occurred during the
|
3437
|
+
# backtest export.
|
3438
|
+
# @return [String]
|
3439
|
+
#
|
3440
|
+
# @!attribute [rw] creation_time
|
3441
|
+
# When the predictor backtest export job was created.
|
3442
|
+
# @return [Time]
|
3443
|
+
#
|
3444
|
+
# @!attribute [rw] last_modification_time
|
3445
|
+
# When the last successful export job finished.
|
3446
|
+
# @return [Time]
|
3447
|
+
#
|
3448
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/PredictorBacktestExportJobSummary AWS API Documentation
|
3449
|
+
#
|
3450
|
+
class PredictorBacktestExportJobSummary < Struct.new(
|
3451
|
+
:predictor_backtest_export_job_arn,
|
3452
|
+
:predictor_backtest_export_job_name,
|
3453
|
+
:destination,
|
3454
|
+
:status,
|
3455
|
+
:message,
|
3456
|
+
:creation_time,
|
3457
|
+
:last_modification_time)
|
3458
|
+
SENSITIVE = []
|
3459
|
+
include Aws::Structure
|
3460
|
+
end
|
3461
|
+
|
3132
3462
|
# The algorithm used to perform a backtest and the status of those
|
3133
3463
|
# tests.
|
3134
3464
|
#
|
@@ -3281,8 +3611,7 @@ module Aws::ForecastService
|
|
3281
3611
|
# Amazon Forecast can assume to access the file(s). Optionally, includes
|
3282
3612
|
# an AWS Key Management Service (KMS) key. This object is part of the
|
3283
3613
|
# DataSource object that is submitted in the CreateDatasetImportJob
|
3284
|
-
# request, and part of the DataDestination object
|
3285
|
-
# the CreateForecastExportJob request.
|
3614
|
+
# request, and part of the DataDestination object.
|
3286
3615
|
#
|
3287
3616
|
# @note When making an API call, you may pass S3Config
|
3288
3617
|
# data as a hash:
|
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.
|
4
|
+
version: 1.13.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: 2020-11-
|
11
|
+
date: 2020-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|