@aws-sdk/client-forecast 3.42.0 → 3.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +7 -7
- package/dist-cjs/Forecast.js +150 -0
- package/dist-cjs/commands/CreateAutoPredictorCommand.js +36 -0
- package/dist-cjs/commands/CreateExplainabilityCommand.js +36 -0
- package/dist-cjs/commands/CreateExplainabilityExportCommand.js +36 -0
- package/dist-cjs/commands/DeleteExplainabilityCommand.js +36 -0
- package/dist-cjs/commands/DeleteExplainabilityExportCommand.js +36 -0
- package/dist-cjs/commands/DescribeAutoPredictorCommand.js +36 -0
- package/dist-cjs/commands/DescribeExplainabilityCommand.js +36 -0
- package/dist-cjs/commands/DescribeExplainabilityExportCommand.js +36 -0
- package/dist-cjs/commands/ListExplainabilitiesCommand.js +36 -0
- package/dist-cjs/commands/ListExplainabilityExportsCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +236 -61
- package/dist-cjs/protocols/Aws_json1_1.js +1280 -98
- package/dist-es/Forecast.js +150 -0
- package/dist-es/commands/CreateAutoPredictorCommand.js +39 -0
- package/dist-es/commands/CreateExplainabilityCommand.js +39 -0
- package/dist-es/commands/CreateExplainabilityExportCommand.js +39 -0
- package/dist-es/commands/DeleteExplainabilityCommand.js +39 -0
- package/dist-es/commands/DeleteExplainabilityExportCommand.js +39 -0
- package/dist-es/commands/DescribeAutoPredictorCommand.js +39 -0
- package/dist-es/commands/DescribeExplainabilityCommand.js +39 -0
- package/dist-es/commands/DescribeExplainabilityExportCommand.js +39 -0
- package/dist-es/commands/ListExplainabilitiesCommand.js +39 -0
- package/dist-es/commands/ListExplainabilityExportsCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +160 -40
- package/dist-es/protocols/Aws_json1_1.js +1364 -138
- package/dist-types/Forecast.d.ts +278 -19
- package/dist-types/ForecastClient.d.ts +12 -2
- package/dist-types/commands/CreateAutoPredictorCommand.d.ts +83 -0
- package/dist-types/commands/CreateExplainabilityCommand.d.ts +153 -0
- package/dist-types/commands/CreateExplainabilityExportCommand.d.ts +43 -0
- package/dist-types/commands/CreatePredictorCommand.d.ts +19 -18
- package/dist-types/commands/DeleteExplainabilityCommand.d.ts +37 -0
- package/dist-types/commands/DeleteExplainabilityExportCommand.d.ts +35 -0
- package/dist-types/commands/DescribeAutoPredictorCommand.d.ts +35 -0
- package/dist-types/commands/DescribeExplainabilityCommand.d.ts +35 -0
- package/dist-types/commands/DescribeExplainabilityExportCommand.d.ts +35 -0
- package/dist-types/commands/DescribePredictorCommand.d.ts +6 -1
- package/dist-types/commands/ListExplainabilitiesCommand.d.ts +39 -0
- package/dist-types/commands/ListExplainabilityExportsCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +1720 -271
- package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/ts3.4/Forecast.d.ts +50 -0
- package/dist-types/ts3.4/ForecastClient.d.ts +12 -2
- package/dist-types/ts3.4/commands/CreateAutoPredictorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExplainabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExplainabilityExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExplainabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExplainabilityExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeAutoPredictorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExplainabilityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExplainabilityExportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExplainabilitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExplainabilityExportsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +484 -83
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
- package/package.json +2 -2
package/dist-types/Forecast.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CreateAutoPredictorCommandInput, CreateAutoPredictorCommandOutput } from "./commands/CreateAutoPredictorCommand";
|
|
2
3
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
3
4
|
import { CreateDatasetGroupCommandInput, CreateDatasetGroupCommandOutput } from "./commands/CreateDatasetGroupCommand";
|
|
4
5
|
import { CreateDatasetImportJobCommandInput, CreateDatasetImportJobCommandOutput } from "./commands/CreateDatasetImportJobCommand";
|
|
6
|
+
import { CreateExplainabilityCommandInput, CreateExplainabilityCommandOutput } from "./commands/CreateExplainabilityCommand";
|
|
7
|
+
import { CreateExplainabilityExportCommandInput, CreateExplainabilityExportCommandOutput } from "./commands/CreateExplainabilityExportCommand";
|
|
5
8
|
import { CreateForecastCommandInput, CreateForecastCommandOutput } from "./commands/CreateForecastCommand";
|
|
6
9
|
import { CreateForecastExportJobCommandInput, CreateForecastExportJobCommandOutput } from "./commands/CreateForecastExportJobCommand";
|
|
7
10
|
import { CreatePredictorBacktestExportJobCommandInput, CreatePredictorBacktestExportJobCommandOutput } from "./commands/CreatePredictorBacktestExportJobCommand";
|
|
@@ -9,14 +12,19 @@ import { CreatePredictorCommandInput, CreatePredictorCommandOutput } from "./com
|
|
|
9
12
|
import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
|
|
10
13
|
import { DeleteDatasetGroupCommandInput, DeleteDatasetGroupCommandOutput } from "./commands/DeleteDatasetGroupCommand";
|
|
11
14
|
import { DeleteDatasetImportJobCommandInput, DeleteDatasetImportJobCommandOutput } from "./commands/DeleteDatasetImportJobCommand";
|
|
15
|
+
import { DeleteExplainabilityCommandInput, DeleteExplainabilityCommandOutput } from "./commands/DeleteExplainabilityCommand";
|
|
16
|
+
import { DeleteExplainabilityExportCommandInput, DeleteExplainabilityExportCommandOutput } from "./commands/DeleteExplainabilityExportCommand";
|
|
12
17
|
import { DeleteForecastCommandInput, DeleteForecastCommandOutput } from "./commands/DeleteForecastCommand";
|
|
13
18
|
import { DeleteForecastExportJobCommandInput, DeleteForecastExportJobCommandOutput } from "./commands/DeleteForecastExportJobCommand";
|
|
14
19
|
import { DeletePredictorBacktestExportJobCommandInput, DeletePredictorBacktestExportJobCommandOutput } from "./commands/DeletePredictorBacktestExportJobCommand";
|
|
15
20
|
import { DeletePredictorCommandInput, DeletePredictorCommandOutput } from "./commands/DeletePredictorCommand";
|
|
16
21
|
import { DeleteResourceTreeCommandInput, DeleteResourceTreeCommandOutput } from "./commands/DeleteResourceTreeCommand";
|
|
22
|
+
import { DescribeAutoPredictorCommandInput, DescribeAutoPredictorCommandOutput } from "./commands/DescribeAutoPredictorCommand";
|
|
17
23
|
import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
|
|
18
24
|
import { DescribeDatasetGroupCommandInput, DescribeDatasetGroupCommandOutput } from "./commands/DescribeDatasetGroupCommand";
|
|
19
25
|
import { DescribeDatasetImportJobCommandInput, DescribeDatasetImportJobCommandOutput } from "./commands/DescribeDatasetImportJobCommand";
|
|
26
|
+
import { DescribeExplainabilityCommandInput, DescribeExplainabilityCommandOutput } from "./commands/DescribeExplainabilityCommand";
|
|
27
|
+
import { DescribeExplainabilityExportCommandInput, DescribeExplainabilityExportCommandOutput } from "./commands/DescribeExplainabilityExportCommand";
|
|
20
28
|
import { DescribeForecastCommandInput, DescribeForecastCommandOutput } from "./commands/DescribeForecastCommand";
|
|
21
29
|
import { DescribeForecastExportJobCommandInput, DescribeForecastExportJobCommandOutput } from "./commands/DescribeForecastExportJobCommand";
|
|
22
30
|
import { DescribePredictorBacktestExportJobCommandInput, DescribePredictorBacktestExportJobCommandOutput } from "./commands/DescribePredictorBacktestExportJobCommand";
|
|
@@ -25,6 +33,8 @@ import { GetAccuracyMetricsCommandInput, GetAccuracyMetricsCommandOutput } from
|
|
|
25
33
|
import { ListDatasetGroupsCommandInput, ListDatasetGroupsCommandOutput } from "./commands/ListDatasetGroupsCommand";
|
|
26
34
|
import { ListDatasetImportJobsCommandInput, ListDatasetImportJobsCommandOutput } from "./commands/ListDatasetImportJobsCommand";
|
|
27
35
|
import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
|
|
36
|
+
import { ListExplainabilitiesCommandInput, ListExplainabilitiesCommandOutput } from "./commands/ListExplainabilitiesCommand";
|
|
37
|
+
import { ListExplainabilityExportsCommandInput, ListExplainabilityExportsCommandOutput } from "./commands/ListExplainabilityExportsCommand";
|
|
28
38
|
import { ListForecastExportJobsCommandInput, ListForecastExportJobsCommandOutput } from "./commands/ListForecastExportJobsCommand";
|
|
29
39
|
import { ListForecastsCommandInput, ListForecastsCommandOutput } from "./commands/ListForecastsCommand";
|
|
30
40
|
import { ListPredictorBacktestExportJobsCommandInput, ListPredictorBacktestExportJobsCommandOutput } from "./commands/ListPredictorBacktestExportJobsCommand";
|
|
@@ -39,6 +49,60 @@ import { ForecastClient } from "./ForecastClient";
|
|
|
39
49
|
* <p>Provides APIs for creating and managing Amazon Forecast resources.</p>
|
|
40
50
|
*/
|
|
41
51
|
export declare class Forecast extends ForecastClient {
|
|
52
|
+
/**
|
|
53
|
+
* <p>Creates an Amazon Forecast predictor.</p>
|
|
54
|
+
* <p>Amazon Forecast creates predictors with AutoPredictor, which involves applying the
|
|
55
|
+
* optimal combination of algorithms to each time series in your datasets. You can use
|
|
56
|
+
* CreateAutoPredictor to create new predictors or upgrade/retrain existing
|
|
57
|
+
* predictors.</p>
|
|
58
|
+
* <p>
|
|
59
|
+
* <b>Creating new predictors</b>
|
|
60
|
+
* </p>
|
|
61
|
+
* <p>The following parameters are required when creating a new predictor:</p>
|
|
62
|
+
* <ul>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>
|
|
65
|
+
* <code>PredictorName</code> - A unique name for the predictor.</p>
|
|
66
|
+
* </li>
|
|
67
|
+
* <li>
|
|
68
|
+
* <p>
|
|
69
|
+
* <code>DatasetGroupArn</code> - The ARN of the dataset group used to train the
|
|
70
|
+
* predictor.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>
|
|
74
|
+
* <code>ForecastFrequency</code> - The granularity of your forecasts (hourly,
|
|
75
|
+
* daily, weekly, etc).</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>
|
|
79
|
+
* <code>ForecastHorizon</code> - The number of time steps being
|
|
80
|
+
* forecasted.</p>
|
|
81
|
+
* </li>
|
|
82
|
+
* </ul>
|
|
83
|
+
* <p>When creating a new predictor, do not specify a value for
|
|
84
|
+
* <code>ReferencePredictorArn</code>.</p>
|
|
85
|
+
* <p>
|
|
86
|
+
* <b>Upgrading and retraining predictors</b>
|
|
87
|
+
* </p>
|
|
88
|
+
* <p>The following parameters are required when retraining or upgrading a predictor:</p>
|
|
89
|
+
* <ul>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <code>PredictorName</code> - A unique name for the predictor.</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* <li>
|
|
95
|
+
* <p>
|
|
96
|
+
* <code>ReferencePredictorArn</code> - The ARN of the predictor to retrain or
|
|
97
|
+
* upgrade.</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* </ul>
|
|
100
|
+
* <p>When upgrading or retraining a predictor, only specify values for the
|
|
101
|
+
* <code>ReferencePredictorArn</code> and <code>PredictorName</code>. </p>
|
|
102
|
+
*/
|
|
103
|
+
createAutoPredictor(args: CreateAutoPredictorCommandInput, options?: __HttpHandlerOptions): Promise<CreateAutoPredictorCommandOutput>;
|
|
104
|
+
createAutoPredictor(args: CreateAutoPredictorCommandInput, cb: (err: any, data?: CreateAutoPredictorCommandOutput) => void): void;
|
|
105
|
+
createAutoPredictor(args: CreateAutoPredictorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAutoPredictorCommandOutput) => void): void;
|
|
42
106
|
/**
|
|
43
107
|
* <p>Creates an Amazon Forecast dataset. The information about the dataset that you provide helps
|
|
44
108
|
* Forecast understand how to consume the data for model training. This includes the
|
|
@@ -126,6 +190,144 @@ export declare class Forecast extends ForecastClient {
|
|
|
126
190
|
createDatasetImportJob(args: CreateDatasetImportJobCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatasetImportJobCommandOutput>;
|
|
127
191
|
createDatasetImportJob(args: CreateDatasetImportJobCommandInput, cb: (err: any, data?: CreateDatasetImportJobCommandOutput) => void): void;
|
|
128
192
|
createDatasetImportJob(args: CreateDatasetImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatasetImportJobCommandOutput) => void): void;
|
|
193
|
+
/**
|
|
194
|
+
* <note>
|
|
195
|
+
* <p>Explainability is only available for Forecasts and Predictors generated from an
|
|
196
|
+
* AutoPredictor (<a>CreateAutoPredictor</a>)</p>
|
|
197
|
+
* </note>
|
|
198
|
+
* <p>Creates an Amazon Forecast Explainability.</p>
|
|
199
|
+
* <p>Explainability helps you better understand how the attributes in your datasets impact
|
|
200
|
+
* forecast. Amazon Forecast uses a metric called Impact scores to quantify the relative
|
|
201
|
+
* impact of each attribute and determine whether they increase or decrease forecast
|
|
202
|
+
* values.</p>
|
|
203
|
+
* <p>To enable Forecast Explainability, your predictor must include at least one of the
|
|
204
|
+
* following: related time series, item metadata, or additional datasets like Holidays and
|
|
205
|
+
* the Weather Index.</p>
|
|
206
|
+
* <p>CreateExplainability accepts either a Predictor ARN or Forecast ARN. To receive
|
|
207
|
+
* aggregated Impact scores for all time series and time points in your datasets, provide a
|
|
208
|
+
* Predictor ARN. To receive Impact scores for specific time series and time points,
|
|
209
|
+
* provide a Forecast ARN.</p>
|
|
210
|
+
* <p>
|
|
211
|
+
* <b>CreateExplainability with a Predictor ARN</b>
|
|
212
|
+
* </p>
|
|
213
|
+
* <note>
|
|
214
|
+
* <p>You can only have one Explainability resource per predictor. If you already
|
|
215
|
+
* enabled <code>ExplainPredictor</code> in <a>CreateAutoPredictor</a>, that
|
|
216
|
+
* predictor already has an Explainability resource.</p>
|
|
217
|
+
* </note>
|
|
218
|
+
* <p>The following parameters are required when providing a Predictor ARN:</p>
|
|
219
|
+
* <ul>
|
|
220
|
+
* <li>
|
|
221
|
+
* <p>
|
|
222
|
+
* <code>ExplainabilityName</code> - A unique name for the Explainability.</p>
|
|
223
|
+
* </li>
|
|
224
|
+
* <li>
|
|
225
|
+
* <p>
|
|
226
|
+
* <code>ResourceArn</code> - The Arn of the predictor.</p>
|
|
227
|
+
* </li>
|
|
228
|
+
* <li>
|
|
229
|
+
* <p>
|
|
230
|
+
* <code>TimePointGranularity</code> - Must be set to “ALL”.</p>
|
|
231
|
+
* </li>
|
|
232
|
+
* <li>
|
|
233
|
+
* <p>
|
|
234
|
+
* <code>TimeSeriesGranularity</code> - Must be set to “ALL”.</p>
|
|
235
|
+
* </li>
|
|
236
|
+
* </ul>
|
|
237
|
+
* <p>Do not specify a value for the following parameters:</p>
|
|
238
|
+
* <ul>
|
|
239
|
+
* <li>
|
|
240
|
+
* <p>
|
|
241
|
+
* <code>DataSource</code> - Only valid when TimeSeriesGranularity is
|
|
242
|
+
* “SPECIFIC”.</p>
|
|
243
|
+
* </li>
|
|
244
|
+
* <li>
|
|
245
|
+
* <p>
|
|
246
|
+
* <code>Schema</code> - Only valid when TimeSeriesGranularity is
|
|
247
|
+
* “SPECIFIC”.</p>
|
|
248
|
+
* </li>
|
|
249
|
+
* <li>
|
|
250
|
+
* <p>
|
|
251
|
+
* <code>StartDateTime</code> - Only valid when TimePointGranularity is
|
|
252
|
+
* “SPECIFIC”.</p>
|
|
253
|
+
* </li>
|
|
254
|
+
* <li>
|
|
255
|
+
* <p>
|
|
256
|
+
* <code>EndDateTime</code> - Only valid when TimePointGranularity is
|
|
257
|
+
* “SPECIFIC”.</p>
|
|
258
|
+
* </li>
|
|
259
|
+
* </ul>
|
|
260
|
+
* <p>
|
|
261
|
+
* <b>CreateExplainability with a Forecast ARN</b>
|
|
262
|
+
* </p>
|
|
263
|
+
* <note>
|
|
264
|
+
* <p>You can specify a maximum of 50 time series and 1500 time points.</p>
|
|
265
|
+
* </note>
|
|
266
|
+
* <p>The following parameters are required when providing a Predictor ARN:</p>
|
|
267
|
+
* <ul>
|
|
268
|
+
* <li>
|
|
269
|
+
* <p>
|
|
270
|
+
* <code>ExplainabilityName</code> - A unique name for the Explainability.</p>
|
|
271
|
+
* </li>
|
|
272
|
+
* <li>
|
|
273
|
+
* <p>
|
|
274
|
+
* <code>ResourceArn</code> - The Arn of the forecast.</p>
|
|
275
|
+
* </li>
|
|
276
|
+
* <li>
|
|
277
|
+
* <p>
|
|
278
|
+
* <code>TimePointGranularity</code> - Either “ALL” or “SPECIFIC”.</p>
|
|
279
|
+
* </li>
|
|
280
|
+
* <li>
|
|
281
|
+
* <p>
|
|
282
|
+
* <code>TimeSeriesGranularity</code> - Either “ALL” or “SPECIFIC”.</p>
|
|
283
|
+
* </li>
|
|
284
|
+
* </ul>
|
|
285
|
+
* <p>If you set TimeSeriesGranularity to “SPECIFIC”, you must also provide the
|
|
286
|
+
* following:</p>
|
|
287
|
+
* <ul>
|
|
288
|
+
* <li>
|
|
289
|
+
* <p>
|
|
290
|
+
* <code>DataSource</code> - The S3 location of the CSV file specifying your time
|
|
291
|
+
* series.</p>
|
|
292
|
+
* </li>
|
|
293
|
+
* <li>
|
|
294
|
+
* <p>
|
|
295
|
+
* <code>Schema</code> - The Schema defines the attributes and attribute types
|
|
296
|
+
* listed in the Data Source.</p>
|
|
297
|
+
* </li>
|
|
298
|
+
* </ul>
|
|
299
|
+
* <p>If you set TimePointGranularity to “SPECIFIC”, you must also provide the
|
|
300
|
+
* following:</p>
|
|
301
|
+
* <ul>
|
|
302
|
+
* <li>
|
|
303
|
+
* <p>
|
|
304
|
+
* <code>StartDateTime</code> - The first timestamp in the range of time
|
|
305
|
+
* points.</p>
|
|
306
|
+
* </li>
|
|
307
|
+
* <li>
|
|
308
|
+
* <p>
|
|
309
|
+
* <code>EndDateTime</code> - The last timestamp in the range of time
|
|
310
|
+
* points.</p>
|
|
311
|
+
* </li>
|
|
312
|
+
* </ul>
|
|
313
|
+
*/
|
|
314
|
+
createExplainability(args: CreateExplainabilityCommandInput, options?: __HttpHandlerOptions): Promise<CreateExplainabilityCommandOutput>;
|
|
315
|
+
createExplainability(args: CreateExplainabilityCommandInput, cb: (err: any, data?: CreateExplainabilityCommandOutput) => void): void;
|
|
316
|
+
createExplainability(args: CreateExplainabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExplainabilityCommandOutput) => void): void;
|
|
317
|
+
/**
|
|
318
|
+
* <p>Exports an Explainability resource created by the <a>CreateExplainability</a> operation. Exported files are exported to an Amazon Simple Storage Service (Amazon
|
|
319
|
+
* S3) bucket.</p>
|
|
320
|
+
* <p>You must specify a <a>DataDestination</a> object that includes an Amazon S3
|
|
321
|
+
* bucket and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3
|
|
322
|
+
* bucket. For more information, see <a>aws-forecast-iam-roles</a>.</p>
|
|
323
|
+
* <note>
|
|
324
|
+
* <p>The <code>Status</code> of the export job must be <code>ACTIVE</code> before you
|
|
325
|
+
* can access the export in your Amazon S3 bucket. To get the status, use the <a>DescribeExplainabilityExport</a> operation.</p>
|
|
326
|
+
* </note>
|
|
327
|
+
*/
|
|
328
|
+
createExplainabilityExport(args: CreateExplainabilityExportCommandInput, options?: __HttpHandlerOptions): Promise<CreateExplainabilityExportCommandOutput>;
|
|
329
|
+
createExplainabilityExport(args: CreateExplainabilityExportCommandInput, cb: (err: any, data?: CreateExplainabilityExportCommandOutput) => void): void;
|
|
330
|
+
createExplainabilityExport(args: CreateExplainabilityExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExplainabilityExportCommandOutput) => void): void;
|
|
129
331
|
/**
|
|
130
332
|
* <p>Creates a forecast for each item in the <code>TARGET_TIME_SERIES</code> dataset that was
|
|
131
333
|
* used to train the predictor. This is known as inference. To retrieve the forecast for a single
|
|
@@ -170,35 +372,36 @@ export declare class Forecast extends ForecastClient {
|
|
|
170
372
|
createForecastExportJob(args: CreateForecastExportJobCommandInput, cb: (err: any, data?: CreateForecastExportJobCommandOutput) => void): void;
|
|
171
373
|
createForecastExportJob(args: CreateForecastExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateForecastExportJobCommandOutput) => void): void;
|
|
172
374
|
/**
|
|
173
|
-
* <
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
375
|
+
* <note>
|
|
376
|
+
* <p> This operation creates a legacy predictor that does not include all the predictor
|
|
377
|
+
* functionalities provided by Amazon Forecast. To create a predictor that is compatible with all
|
|
378
|
+
* aspects of Forecast, use CreateAutoPredictor.</p>
|
|
379
|
+
* </note>
|
|
380
|
+
* <p>Creates an Amazon Forecast predictor.</p>
|
|
381
|
+
* <p>In the request, provide a dataset group and either specify an algorithm or let Amazon Forecast
|
|
382
|
+
* choose an algorithm for you using AutoML. If you specify an algorithm, you also can override
|
|
383
|
+
* algorithm-specific hyperparameters.</p>
|
|
384
|
+
* <p>Amazon Forecast uses the algorithm to train a predictor using the latest version of the datasets
|
|
385
|
+
* in the specified dataset group. You can then generate a forecast using the <a>CreateForecast</a> operation.</p>
|
|
386
|
+
* <p> To see the evaluation metrics, use the <a>GetAccuracyMetrics</a> operation. </p>
|
|
387
|
+
* <p>You can specify a featurization configuration to fill and aggregate the data fields in the
|
|
388
|
+
* <code>TARGET_TIME_SERIES</code> dataset to improve model training. For more information, see
|
|
389
|
+
* <a>FeaturizationConfig</a>.</p>
|
|
186
390
|
* <p>For RELATED_TIME_SERIES datasets, <code>CreatePredictor</code> verifies that the
|
|
187
391
|
* <code>DataFrequency</code> specified when the dataset was created matches the
|
|
188
392
|
* <code>ForecastFrequency</code>. TARGET_TIME_SERIES datasets don't have this restriction.
|
|
189
393
|
* Amazon Forecast also verifies the delimiter and timestamp format. For more information, see <a>howitworks-datasets-groups</a>.</p>
|
|
190
394
|
* <p>By default, predictors are trained and evaluated at the 0.1 (P10), 0.5 (P50), and 0.9
|
|
191
|
-
* (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor
|
|
192
|
-
*
|
|
193
|
-
* </p>
|
|
395
|
+
* (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor by
|
|
396
|
+
* setting the <code>ForecastTypes</code>. </p>
|
|
194
397
|
* <p>
|
|
195
398
|
* <b>AutoML</b>
|
|
196
399
|
* </p>
|
|
197
400
|
* <p>If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the
|
|
198
401
|
* <code>objective function</code>, set <code>PerformAutoML</code> to <code>true</code>. The
|
|
199
402
|
* <code>objective function</code> is defined as the mean of the weighted losses over the
|
|
200
|
-
* forecast types. By default, these are the p10, p50, and p90
|
|
201
|
-
*
|
|
403
|
+
* forecast types. By default, these are the p10, p50, and p90 quantile losses. For more
|
|
404
|
+
* information, see <a>EvaluationResult</a>.</p>
|
|
202
405
|
* <p>When AutoML is enabled, the following properties are disallowed:</p>
|
|
203
406
|
* <ul>
|
|
204
407
|
* <li>
|
|
@@ -287,6 +490,20 @@ export declare class Forecast extends ForecastClient {
|
|
|
287
490
|
deleteDatasetImportJob(args: DeleteDatasetImportJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatasetImportJobCommandOutput>;
|
|
288
491
|
deleteDatasetImportJob(args: DeleteDatasetImportJobCommandInput, cb: (err: any, data?: DeleteDatasetImportJobCommandOutput) => void): void;
|
|
289
492
|
deleteDatasetImportJob(args: DeleteDatasetImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatasetImportJobCommandOutput) => void): void;
|
|
493
|
+
/**
|
|
494
|
+
* <p>Deletes an Explainability resource.</p>
|
|
495
|
+
* <p>You can delete only predictor that have a status of <code>ACTIVE</code> or
|
|
496
|
+
* <code>CREATE_FAILED</code>. To get the status, use the <a>DescribeExplainability</a> operation.</p>
|
|
497
|
+
*/
|
|
498
|
+
deleteExplainability(args: DeleteExplainabilityCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExplainabilityCommandOutput>;
|
|
499
|
+
deleteExplainability(args: DeleteExplainabilityCommandInput, cb: (err: any, data?: DeleteExplainabilityCommandOutput) => void): void;
|
|
500
|
+
deleteExplainability(args: DeleteExplainabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExplainabilityCommandOutput) => void): void;
|
|
501
|
+
/**
|
|
502
|
+
* <p>Deletes an Explainability export job.</p>
|
|
503
|
+
*/
|
|
504
|
+
deleteExplainabilityExport(args: DeleteExplainabilityExportCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExplainabilityExportCommandOutput>;
|
|
505
|
+
deleteExplainabilityExport(args: DeleteExplainabilityExportCommandInput, cb: (err: any, data?: DeleteExplainabilityExportCommandOutput) => void): void;
|
|
506
|
+
deleteExplainabilityExport(args: DeleteExplainabilityExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExplainabilityExportCommandOutput) => void): void;
|
|
290
507
|
/**
|
|
291
508
|
* <p>Deletes a forecast created using the <a>CreateForecast</a> operation. You can
|
|
292
509
|
* delete only forecasts that have a status of <code>ACTIVE</code> or <code>CREATE_FAILED</code>.
|
|
@@ -356,6 +573,12 @@ export declare class Forecast extends ForecastClient {
|
|
|
356
573
|
deleteResourceTree(args: DeleteResourceTreeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteResourceTreeCommandOutput>;
|
|
357
574
|
deleteResourceTree(args: DeleteResourceTreeCommandInput, cb: (err: any, data?: DeleteResourceTreeCommandOutput) => void): void;
|
|
358
575
|
deleteResourceTree(args: DeleteResourceTreeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceTreeCommandOutput) => void): void;
|
|
576
|
+
/**
|
|
577
|
+
* <p>Describes a predictor created using the CreateAutoPredictor operation.</p>
|
|
578
|
+
*/
|
|
579
|
+
describeAutoPredictor(args: DescribeAutoPredictorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAutoPredictorCommandOutput>;
|
|
580
|
+
describeAutoPredictor(args: DescribeAutoPredictorCommandInput, cb: (err: any, data?: DescribeAutoPredictorCommandOutput) => void): void;
|
|
581
|
+
describeAutoPredictor(args: DescribeAutoPredictorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutoPredictorCommandOutput) => void): void;
|
|
359
582
|
/**
|
|
360
583
|
* <p>Describes an Amazon Forecast dataset created using the <a>CreateDataset</a>
|
|
361
584
|
* operation.</p>
|
|
@@ -452,6 +675,18 @@ export declare class Forecast extends ForecastClient {
|
|
|
452
675
|
describeDatasetImportJob(args: DescribeDatasetImportJobCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatasetImportJobCommandOutput>;
|
|
453
676
|
describeDatasetImportJob(args: DescribeDatasetImportJobCommandInput, cb: (err: any, data?: DescribeDatasetImportJobCommandOutput) => void): void;
|
|
454
677
|
describeDatasetImportJob(args: DescribeDatasetImportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDatasetImportJobCommandOutput) => void): void;
|
|
678
|
+
/**
|
|
679
|
+
* <p>Describes an Explainability resource created using the <a>CreateExplainability</a> operation.</p>
|
|
680
|
+
*/
|
|
681
|
+
describeExplainability(args: DescribeExplainabilityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExplainabilityCommandOutput>;
|
|
682
|
+
describeExplainability(args: DescribeExplainabilityCommandInput, cb: (err: any, data?: DescribeExplainabilityCommandOutput) => void): void;
|
|
683
|
+
describeExplainability(args: DescribeExplainabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExplainabilityCommandOutput) => void): void;
|
|
684
|
+
/**
|
|
685
|
+
* <p>Describes an Explainability export created using the <a>CreateExplainabilityExport</a> operation.</p>
|
|
686
|
+
*/
|
|
687
|
+
describeExplainabilityExport(args: DescribeExplainabilityExportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExplainabilityExportCommandOutput>;
|
|
688
|
+
describeExplainabilityExport(args: DescribeExplainabilityExportCommandInput, cb: (err: any, data?: DescribeExplainabilityExportCommandOutput) => void): void;
|
|
689
|
+
describeExplainabilityExport(args: DescribeExplainabilityExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExplainabilityExportCommandOutput) => void): void;
|
|
455
690
|
/**
|
|
456
691
|
* <p>Describes a forecast created using the <a>CreateForecast</a> operation.</p>
|
|
457
692
|
* <p>In addition to listing the properties provided in the <code>CreateForecast</code> request,
|
|
@@ -517,7 +752,12 @@ export declare class Forecast extends ForecastClient {
|
|
|
517
752
|
describeForecastExportJob(args: DescribeForecastExportJobCommandInput, cb: (err: any, data?: DescribeForecastExportJobCommandOutput) => void): void;
|
|
518
753
|
describeForecastExportJob(args: DescribeForecastExportJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeForecastExportJobCommandOutput) => void): void;
|
|
519
754
|
/**
|
|
520
|
-
* <
|
|
755
|
+
* <note>
|
|
756
|
+
* <p> This operation is only valid for legacy predictors created with CreatePredictor. If you
|
|
757
|
+
* are not using a legacy predictor, use DescribeAutoPredictor.</p>
|
|
758
|
+
* <p>To upgrade a legacy predictor to AutoPredictor, see Upgrading to AutoPredictor.</p>
|
|
759
|
+
* </note>
|
|
760
|
+
* <p>Describes a predictor created using the <a>CreatePredictor</a>
|
|
521
761
|
* operation.</p>
|
|
522
762
|
* <p>In addition to listing the properties provided in the <code>CreatePredictor</code>
|
|
523
763
|
* request, this operation lists the following properties:</p>
|
|
@@ -635,6 +875,25 @@ export declare class Forecast extends ForecastClient {
|
|
|
635
875
|
listDatasets(args: ListDatasetsCommandInput, options?: __HttpHandlerOptions): Promise<ListDatasetsCommandOutput>;
|
|
636
876
|
listDatasets(args: ListDatasetsCommandInput, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
|
|
637
877
|
listDatasets(args: ListDatasetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatasetsCommandOutput) => void): void;
|
|
878
|
+
/**
|
|
879
|
+
* <p>Returns a list of Explainability resources created using the <a>CreateExplainability</a> operation. This operation returns a summary for
|
|
880
|
+
* each Explainability. You can filter the list using an array of <a>Filter</a>
|
|
881
|
+
* objects.</p>
|
|
882
|
+
* <p>To retrieve the complete set of properties for a particular Explainability resource,
|
|
883
|
+
* use the ARN with the <a>DescribeExplainability</a> operation.</p>
|
|
884
|
+
*/
|
|
885
|
+
listExplainabilities(args: ListExplainabilitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListExplainabilitiesCommandOutput>;
|
|
886
|
+
listExplainabilities(args: ListExplainabilitiesCommandInput, cb: (err: any, data?: ListExplainabilitiesCommandOutput) => void): void;
|
|
887
|
+
listExplainabilities(args: ListExplainabilitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExplainabilitiesCommandOutput) => void): void;
|
|
888
|
+
/**
|
|
889
|
+
* <p>Returns a list of Explainability exports created using the <a>CreateExplainabilityExport</a> operation. This operation returns a summary
|
|
890
|
+
* for each Explainability export. You can filter the list using an array of <a>Filter</a> objects.</p>
|
|
891
|
+
* <p>To retrieve the complete set of properties for a particular Explainability export, use
|
|
892
|
+
* the ARN with the <a>DescribeExplainability</a> operation.</p>
|
|
893
|
+
*/
|
|
894
|
+
listExplainabilityExports(args: ListExplainabilityExportsCommandInput, options?: __HttpHandlerOptions): Promise<ListExplainabilityExportsCommandOutput>;
|
|
895
|
+
listExplainabilityExports(args: ListExplainabilityExportsCommandInput, cb: (err: any, data?: ListExplainabilityExportsCommandOutput) => void): void;
|
|
896
|
+
listExplainabilityExports(args: ListExplainabilityExportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExplainabilityExportsCommandOutput) => void): void;
|
|
638
897
|
/**
|
|
639
898
|
* <p>Returns a list of forecast export jobs created using the <a>CreateForecastExportJob</a> operation. For each forecast export job, this operation
|
|
640
899
|
* returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the
|
|
@@ -6,9 +6,12 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CreateAutoPredictorCommandInput, CreateAutoPredictorCommandOutput } from "./commands/CreateAutoPredictorCommand";
|
|
9
10
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
10
11
|
import { CreateDatasetGroupCommandInput, CreateDatasetGroupCommandOutput } from "./commands/CreateDatasetGroupCommand";
|
|
11
12
|
import { CreateDatasetImportJobCommandInput, CreateDatasetImportJobCommandOutput } from "./commands/CreateDatasetImportJobCommand";
|
|
13
|
+
import { CreateExplainabilityCommandInput, CreateExplainabilityCommandOutput } from "./commands/CreateExplainabilityCommand";
|
|
14
|
+
import { CreateExplainabilityExportCommandInput, CreateExplainabilityExportCommandOutput } from "./commands/CreateExplainabilityExportCommand";
|
|
12
15
|
import { CreateForecastCommandInput, CreateForecastCommandOutput } from "./commands/CreateForecastCommand";
|
|
13
16
|
import { CreateForecastExportJobCommandInput, CreateForecastExportJobCommandOutput } from "./commands/CreateForecastExportJobCommand";
|
|
14
17
|
import { CreatePredictorBacktestExportJobCommandInput, CreatePredictorBacktestExportJobCommandOutput } from "./commands/CreatePredictorBacktestExportJobCommand";
|
|
@@ -16,14 +19,19 @@ import { CreatePredictorCommandInput, CreatePredictorCommandOutput } from "./com
|
|
|
16
19
|
import { DeleteDatasetCommandInput, DeleteDatasetCommandOutput } from "./commands/DeleteDatasetCommand";
|
|
17
20
|
import { DeleteDatasetGroupCommandInput, DeleteDatasetGroupCommandOutput } from "./commands/DeleteDatasetGroupCommand";
|
|
18
21
|
import { DeleteDatasetImportJobCommandInput, DeleteDatasetImportJobCommandOutput } from "./commands/DeleteDatasetImportJobCommand";
|
|
22
|
+
import { DeleteExplainabilityCommandInput, DeleteExplainabilityCommandOutput } from "./commands/DeleteExplainabilityCommand";
|
|
23
|
+
import { DeleteExplainabilityExportCommandInput, DeleteExplainabilityExportCommandOutput } from "./commands/DeleteExplainabilityExportCommand";
|
|
19
24
|
import { DeleteForecastCommandInput, DeleteForecastCommandOutput } from "./commands/DeleteForecastCommand";
|
|
20
25
|
import { DeleteForecastExportJobCommandInput, DeleteForecastExportJobCommandOutput } from "./commands/DeleteForecastExportJobCommand";
|
|
21
26
|
import { DeletePredictorBacktestExportJobCommandInput, DeletePredictorBacktestExportJobCommandOutput } from "./commands/DeletePredictorBacktestExportJobCommand";
|
|
22
27
|
import { DeletePredictorCommandInput, DeletePredictorCommandOutput } from "./commands/DeletePredictorCommand";
|
|
23
28
|
import { DeleteResourceTreeCommandInput, DeleteResourceTreeCommandOutput } from "./commands/DeleteResourceTreeCommand";
|
|
29
|
+
import { DescribeAutoPredictorCommandInput, DescribeAutoPredictorCommandOutput } from "./commands/DescribeAutoPredictorCommand";
|
|
24
30
|
import { DescribeDatasetCommandInput, DescribeDatasetCommandOutput } from "./commands/DescribeDatasetCommand";
|
|
25
31
|
import { DescribeDatasetGroupCommandInput, DescribeDatasetGroupCommandOutput } from "./commands/DescribeDatasetGroupCommand";
|
|
26
32
|
import { DescribeDatasetImportJobCommandInput, DescribeDatasetImportJobCommandOutput } from "./commands/DescribeDatasetImportJobCommand";
|
|
33
|
+
import { DescribeExplainabilityCommandInput, DescribeExplainabilityCommandOutput } from "./commands/DescribeExplainabilityCommand";
|
|
34
|
+
import { DescribeExplainabilityExportCommandInput, DescribeExplainabilityExportCommandOutput } from "./commands/DescribeExplainabilityExportCommand";
|
|
27
35
|
import { DescribeForecastCommandInput, DescribeForecastCommandOutput } from "./commands/DescribeForecastCommand";
|
|
28
36
|
import { DescribeForecastExportJobCommandInput, DescribeForecastExportJobCommandOutput } from "./commands/DescribeForecastExportJobCommand";
|
|
29
37
|
import { DescribePredictorBacktestExportJobCommandInput, DescribePredictorBacktestExportJobCommandOutput } from "./commands/DescribePredictorBacktestExportJobCommand";
|
|
@@ -32,6 +40,8 @@ import { GetAccuracyMetricsCommandInput, GetAccuracyMetricsCommandOutput } from
|
|
|
32
40
|
import { ListDatasetGroupsCommandInput, ListDatasetGroupsCommandOutput } from "./commands/ListDatasetGroupsCommand";
|
|
33
41
|
import { ListDatasetImportJobsCommandInput, ListDatasetImportJobsCommandOutput } from "./commands/ListDatasetImportJobsCommand";
|
|
34
42
|
import { ListDatasetsCommandInput, ListDatasetsCommandOutput } from "./commands/ListDatasetsCommand";
|
|
43
|
+
import { ListExplainabilitiesCommandInput, ListExplainabilitiesCommandOutput } from "./commands/ListExplainabilitiesCommand";
|
|
44
|
+
import { ListExplainabilityExportsCommandInput, ListExplainabilityExportsCommandOutput } from "./commands/ListExplainabilityExportsCommand";
|
|
35
45
|
import { ListForecastExportJobsCommandInput, ListForecastExportJobsCommandOutput } from "./commands/ListForecastExportJobsCommand";
|
|
36
46
|
import { ListForecastsCommandInput, ListForecastsCommandOutput } from "./commands/ListForecastsCommand";
|
|
37
47
|
import { ListPredictorBacktestExportJobsCommandInput, ListPredictorBacktestExportJobsCommandOutput } from "./commands/ListPredictorBacktestExportJobsCommand";
|
|
@@ -41,8 +51,8 @@ import { StopResourceCommandInput, StopResourceCommandOutput } from "./commands/
|
|
|
41
51
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
42
52
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
43
53
|
import { UpdateDatasetGroupCommandInput, UpdateDatasetGroupCommandOutput } from "./commands/UpdateDatasetGroupCommand";
|
|
44
|
-
export declare type ServiceInputTypes = CreateDatasetCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateForecastCommandInput | CreateForecastExportJobCommandInput | CreatePredictorBacktestExportJobCommandInput | CreatePredictorCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteDatasetImportJobCommandInput | DeleteForecastCommandInput | DeleteForecastExportJobCommandInput | DeletePredictorBacktestExportJobCommandInput | DeletePredictorCommandInput | DeleteResourceTreeCommandInput | DescribeDatasetCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeForecastCommandInput | DescribeForecastExportJobCommandInput | DescribePredictorBacktestExportJobCommandInput | DescribePredictorCommandInput | GetAccuracyMetricsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListForecastExportJobsCommandInput | ListForecastsCommandInput | ListPredictorBacktestExportJobsCommandInput | ListPredictorsCommandInput | ListTagsForResourceCommandInput | StopResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasetGroupCommandInput;
|
|
45
|
-
export declare type ServiceOutputTypes = CreateDatasetCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateForecastCommandOutput | CreateForecastExportJobCommandOutput | CreatePredictorBacktestExportJobCommandOutput | CreatePredictorCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteDatasetImportJobCommandOutput | DeleteForecastCommandOutput | DeleteForecastExportJobCommandOutput | DeletePredictorBacktestExportJobCommandOutput | DeletePredictorCommandOutput | DeleteResourceTreeCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeForecastCommandOutput | DescribeForecastExportJobCommandOutput | DescribePredictorBacktestExportJobCommandOutput | DescribePredictorCommandOutput | GetAccuracyMetricsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListForecastExportJobsCommandOutput | ListForecastsCommandOutput | ListPredictorBacktestExportJobsCommandOutput | ListPredictorsCommandOutput | ListTagsForResourceCommandOutput | StopResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasetGroupCommandOutput;
|
|
54
|
+
export declare type ServiceInputTypes = CreateAutoPredictorCommandInput | CreateDatasetCommandInput | CreateDatasetGroupCommandInput | CreateDatasetImportJobCommandInput | CreateExplainabilityCommandInput | CreateExplainabilityExportCommandInput | CreateForecastCommandInput | CreateForecastExportJobCommandInput | CreatePredictorBacktestExportJobCommandInput | CreatePredictorCommandInput | DeleteDatasetCommandInput | DeleteDatasetGroupCommandInput | DeleteDatasetImportJobCommandInput | DeleteExplainabilityCommandInput | DeleteExplainabilityExportCommandInput | DeleteForecastCommandInput | DeleteForecastExportJobCommandInput | DeletePredictorBacktestExportJobCommandInput | DeletePredictorCommandInput | DeleteResourceTreeCommandInput | DescribeAutoPredictorCommandInput | DescribeDatasetCommandInput | DescribeDatasetGroupCommandInput | DescribeDatasetImportJobCommandInput | DescribeExplainabilityCommandInput | DescribeExplainabilityExportCommandInput | DescribeForecastCommandInput | DescribeForecastExportJobCommandInput | DescribePredictorBacktestExportJobCommandInput | DescribePredictorCommandInput | GetAccuracyMetricsCommandInput | ListDatasetGroupsCommandInput | ListDatasetImportJobsCommandInput | ListDatasetsCommandInput | ListExplainabilitiesCommandInput | ListExplainabilityExportsCommandInput | ListForecastExportJobsCommandInput | ListForecastsCommandInput | ListPredictorBacktestExportJobsCommandInput | ListPredictorsCommandInput | ListTagsForResourceCommandInput | StopResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatasetGroupCommandInput;
|
|
55
|
+
export declare type ServiceOutputTypes = CreateAutoPredictorCommandOutput | CreateDatasetCommandOutput | CreateDatasetGroupCommandOutput | CreateDatasetImportJobCommandOutput | CreateExplainabilityCommandOutput | CreateExplainabilityExportCommandOutput | CreateForecastCommandOutput | CreateForecastExportJobCommandOutput | CreatePredictorBacktestExportJobCommandOutput | CreatePredictorCommandOutput | DeleteDatasetCommandOutput | DeleteDatasetGroupCommandOutput | DeleteDatasetImportJobCommandOutput | DeleteExplainabilityCommandOutput | DeleteExplainabilityExportCommandOutput | DeleteForecastCommandOutput | DeleteForecastExportJobCommandOutput | DeletePredictorBacktestExportJobCommandOutput | DeletePredictorCommandOutput | DeleteResourceTreeCommandOutput | DescribeAutoPredictorCommandOutput | DescribeDatasetCommandOutput | DescribeDatasetGroupCommandOutput | DescribeDatasetImportJobCommandOutput | DescribeExplainabilityCommandOutput | DescribeExplainabilityExportCommandOutput | DescribeForecastCommandOutput | DescribeForecastExportJobCommandOutput | DescribePredictorBacktestExportJobCommandOutput | DescribePredictorCommandOutput | GetAccuracyMetricsCommandOutput | ListDatasetGroupsCommandOutput | ListDatasetImportJobsCommandOutput | ListDatasetsCommandOutput | ListExplainabilitiesCommandOutput | ListExplainabilityExportsCommandOutput | ListForecastExportJobsCommandOutput | ListForecastsCommandOutput | ListPredictorBacktestExportJobsCommandOutput | ListPredictorsCommandOutput | ListTagsForResourceCommandOutput | StopResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatasetGroupCommandOutput;
|
|
46
56
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
47
57
|
/**
|
|
48
58
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ForecastClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ForecastClient";
|
|
4
|
+
import { CreateAutoPredictorRequest, CreateAutoPredictorResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateAutoPredictorCommandInput extends CreateAutoPredictorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateAutoPredictorCommandOutput extends CreateAutoPredictorResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates an Amazon Forecast predictor.</p>
|
|
11
|
+
* <p>Amazon Forecast creates predictors with AutoPredictor, which involves applying the
|
|
12
|
+
* optimal combination of algorithms to each time series in your datasets. You can use
|
|
13
|
+
* CreateAutoPredictor to create new predictors or upgrade/retrain existing
|
|
14
|
+
* predictors.</p>
|
|
15
|
+
* <p>
|
|
16
|
+
* <b>Creating new predictors</b>
|
|
17
|
+
* </p>
|
|
18
|
+
* <p>The following parameters are required when creating a new predictor:</p>
|
|
19
|
+
* <ul>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>
|
|
22
|
+
* <code>PredictorName</code> - A unique name for the predictor.</p>
|
|
23
|
+
* </li>
|
|
24
|
+
* <li>
|
|
25
|
+
* <p>
|
|
26
|
+
* <code>DatasetGroupArn</code> - The ARN of the dataset group used to train the
|
|
27
|
+
* predictor.</p>
|
|
28
|
+
* </li>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>ForecastFrequency</code> - The granularity of your forecasts (hourly,
|
|
32
|
+
* daily, weekly, etc).</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>ForecastHorizon</code> - The number of time steps being
|
|
37
|
+
* forecasted.</p>
|
|
38
|
+
* </li>
|
|
39
|
+
* </ul>
|
|
40
|
+
* <p>When creating a new predictor, do not specify a value for
|
|
41
|
+
* <code>ReferencePredictorArn</code>.</p>
|
|
42
|
+
* <p>
|
|
43
|
+
* <b>Upgrading and retraining predictors</b>
|
|
44
|
+
* </p>
|
|
45
|
+
* <p>The following parameters are required when retraining or upgrading a predictor:</p>
|
|
46
|
+
* <ul>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <code>PredictorName</code> - A unique name for the predictor.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <code>ReferencePredictorArn</code> - The ARN of the predictor to retrain or
|
|
54
|
+
* upgrade.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* </ul>
|
|
57
|
+
* <p>When upgrading or retraining a predictor, only specify values for the
|
|
58
|
+
* <code>ReferencePredictorArn</code> and <code>PredictorName</code>. </p>
|
|
59
|
+
* @example
|
|
60
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
61
|
+
* ```javascript
|
|
62
|
+
* import { ForecastClient, CreateAutoPredictorCommand } from "@aws-sdk/client-forecast"; // ES Modules import
|
|
63
|
+
* // const { ForecastClient, CreateAutoPredictorCommand } = require("@aws-sdk/client-forecast"); // CommonJS import
|
|
64
|
+
* const client = new ForecastClient(config);
|
|
65
|
+
* const command = new CreateAutoPredictorCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @see {@link CreateAutoPredictorCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link CreateAutoPredictorCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link ForecastClientResolvedConfig | config} for ForecastClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
export declare class CreateAutoPredictorCommand extends $Command<CreateAutoPredictorCommandInput, CreateAutoPredictorCommandOutput, ForecastClientResolvedConfig> {
|
|
75
|
+
readonly input: CreateAutoPredictorCommandInput;
|
|
76
|
+
constructor(input: CreateAutoPredictorCommandInput);
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ForecastClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAutoPredictorCommandInput, CreateAutoPredictorCommandOutput>;
|
|
81
|
+
private serialize;
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|