aws-sdk-forecastqueryservice 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81ae676e9341e9f4e10999c56fe817f3100cf9dc
|
4
|
+
data.tar.gz: b0209d5efbd1d43fadeea0a769454f02f36e5bab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcd18cadc393b5b6fa01e7f7257980386bed9e1cf134bd7918d630baccca6496479fdf817b5991e75e5e16e920d448a57d812a4b6679e83a57c9df98296e4019
|
7
|
+
data.tar.gz: cccdc4847b804ddd0513a32fabdc0097d41bad9b7f9f8d55077c291429cee829705f98d2f233590e92375256c4cdb175bdd1a984f523222ec4addcb9bfb9d9cd
|
@@ -264,56 +264,55 @@ module Aws::ForecastQueryService
|
|
264
264
|
|
265
265
|
# @!group API Operations
|
266
266
|
|
267
|
-
# Retrieves a forecast filtered by the supplied
|
267
|
+
# Retrieves a forecast for a single item, filtered by the supplied
|
268
|
+
# criteria.
|
268
269
|
#
|
269
270
|
# The criteria is a key-value pair. The key is either `item_id` (or the
|
270
271
|
# equivalent non-timestamp, non-target field) from the
|
271
272
|
# `TARGET_TIME_SERIES` dataset, or one of the forecast dimensions
|
272
273
|
# specified as part of the `FeaturizationConfig` object.
|
273
274
|
#
|
274
|
-
# By default, the complete date range
|
275
|
-
#
|
276
|
-
#
|
275
|
+
# By default, `QueryForecast` returns the complete date range for the
|
276
|
+
# filtered forecast. You can request a specific date range.
|
277
|
+
#
|
278
|
+
# To get the full forecast, use the [CreateForecastExportJob][1]
|
279
|
+
# operation.
|
277
280
|
#
|
278
281
|
# <note markdown="1"> The forecasts generated by Amazon Forecast are in the same timezone as
|
279
282
|
# the dataset that was used to create the predictor.
|
280
283
|
#
|
281
284
|
# </note>
|
282
285
|
#
|
286
|
+
#
|
287
|
+
#
|
288
|
+
# [1]: https://docs.aws.amazon.com/en_us/forecast/latest/dg/API_CreateForecastExportJob.html
|
289
|
+
#
|
283
290
|
# @option params [required, String] :forecast_arn
|
284
291
|
# The Amazon Resource Name (ARN) of the forecast to query.
|
285
292
|
#
|
286
293
|
# @option params [String] :start_date
|
287
294
|
# The start date for the forecast. Specify the date using this format:
|
288
|
-
# yyyy-MM-dd'T'HH:mm:ss
|
289
|
-
#
|
295
|
+
# yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
|
296
|
+
# 2015-01-01T08:00:00.
|
290
297
|
#
|
291
298
|
# @option params [String] :end_date
|
292
299
|
# The end date for the forecast. Specify the date using this format:
|
293
|
-
# yyyy-MM-dd'T'HH:mm:ss
|
294
|
-
#
|
300
|
+
# yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
|
301
|
+
# 2015-01-01T20:00:00.
|
295
302
|
#
|
296
303
|
# @option params [required, Hash<String,String>] :filters
|
297
304
|
# The filtering criteria to apply when retrieving the forecast. For
|
298
|
-
# example
|
299
|
-
#
|
300
|
-
# * To get a forecast for a specific item specify the following:
|
301
|
-
#
|
302
|
-
# `\{"item_id" : "client_1"\}`
|
303
|
-
# ^
|
305
|
+
# example, to get the forecast for `client_21` in the electricity usage
|
306
|
+
# dataset, specify the following:
|
304
307
|
#
|
305
|
-
#
|
306
|
-
# specify the following:
|
308
|
+
# `\{"item_id" : "client_21"\}`
|
307
309
|
#
|
308
|
-
#
|
309
|
-
#
|
310
|
+
# To get the full forecast, use the [CreateForecastExportJob][1]
|
311
|
+
# operation.
|
310
312
|
#
|
311
|
-
# * To get a forecast for all blue items sold in a specific location,
|
312
|
-
# specify the following:
|
313
313
|
#
|
314
|
-
# `\{ "location" : "ny", "color":"blue"\}`
|
315
314
|
#
|
316
|
-
#
|
315
|
+
# [1]: https://docs.aws.amazon.com/en_us/forecast/latest/dg/API_CreateForecastExportJob.html
|
317
316
|
#
|
318
317
|
# @option params [String] :next_token
|
319
318
|
# If the result of the previous request was truncated, the response
|
@@ -365,7 +364,7 @@ module Aws::ForecastQueryService
|
|
365
364
|
params: params,
|
366
365
|
config: config)
|
367
366
|
context[:gem_name] = 'aws-sdk-forecastqueryservice'
|
368
|
-
context[:gem_version] = '1.
|
367
|
+
context[:gem_version] = '1.2.0'
|
369
368
|
Seahorse::Client::Request.new(handlers, context)
|
370
369
|
end
|
371
370
|
|
@@ -32,11 +32,9 @@ module Aws::ForecastQueryService
|
|
32
32
|
# @!attribute [rw] predictions
|
33
33
|
# The forecast.
|
34
34
|
#
|
35
|
-
# The *string* of the string
|
35
|
+
# The *string* of the string-to-array map is one of the following
|
36
36
|
# values:
|
37
37
|
#
|
38
|
-
# * mean
|
39
|
-
#
|
40
38
|
# * p10
|
41
39
|
#
|
42
40
|
# * p50
|
@@ -51,7 +49,7 @@ module Aws::ForecastQueryService
|
|
51
49
|
include Aws::Structure
|
52
50
|
end
|
53
51
|
|
54
|
-
# The value
|
52
|
+
# The value is invalid or is too long.
|
55
53
|
#
|
56
54
|
# @!attribute [rw] message
|
57
55
|
# @return [String]
|
@@ -106,37 +104,29 @@ module Aws::ForecastQueryService
|
|
106
104
|
#
|
107
105
|
# @!attribute [rw] start_date
|
108
106
|
# The start date for the forecast. Specify the date using this format:
|
109
|
-
# yyyy-MM-dd'T'HH:mm:ss
|
110
|
-
#
|
107
|
+
# yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
|
108
|
+
# 2015-01-01T08:00:00.
|
111
109
|
# @return [String]
|
112
110
|
#
|
113
111
|
# @!attribute [rw] end_date
|
114
112
|
# The end date for the forecast. Specify the date using this format:
|
115
|
-
# yyyy-MM-dd'T'HH:mm:ss
|
116
|
-
#
|
113
|
+
# yyyy-MM-dd'T'HH:mm:ss (ISO 8601 format). For example,
|
114
|
+
# 2015-01-01T20:00:00.
|
117
115
|
# @return [String]
|
118
116
|
#
|
119
117
|
# @!attribute [rw] filters
|
120
118
|
# The filtering criteria to apply when retrieving the forecast. For
|
121
|
-
# example
|
122
|
-
#
|
123
|
-
# * To get a forecast for a specific item specify the following:
|
124
|
-
#
|
125
|
-
# `\{"item_id" : "client_1"\}`
|
126
|
-
# ^
|
119
|
+
# example, to get the forecast for `client_21` in the electricity
|
120
|
+
# usage dataset, specify the following:
|
127
121
|
#
|
128
|
-
#
|
129
|
-
# specify the following:
|
122
|
+
# `\{"item_id" : "client_21"\}`
|
130
123
|
#
|
131
|
-
#
|
132
|
-
#
|
124
|
+
# To get the full forecast, use the [CreateForecastExportJob][1]
|
125
|
+
# operation.
|
133
126
|
#
|
134
|
-
# * To get a forecast for all blue items sold in a specific location,
|
135
|
-
# specify the following:
|
136
127
|
#
|
137
|
-
# `\{ "location" : "ny", "color":"blue"\}`
|
138
128
|
#
|
139
|
-
#
|
129
|
+
# [1]: https://docs.aws.amazon.com/en_us/forecast/latest/dg/API_CreateForecastExportJob.html
|
140
130
|
# @return [Hash<String,String>]
|
141
131
|
#
|
142
132
|
# @!attribute [rw] next_token
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-forecastqueryservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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:
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|