1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class ForecastService extends Service {
|
9 | /**
|
10 | * Constructs a service object. This object has one method for each API operation.
|
11 | */
|
12 | constructor(options?: ForecastService.Types.ClientConfiguration)
|
13 | config: Config & ForecastService.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates an Amazon Forecast dataset. The information about the dataset that you provide helps Forecast understand how to consume the data for model training. This includes the following: DataFrequency - How frequently your historical time-series data is collected. Amazon Forecast uses this information when training the model and generating a forecast. Domain and DatasetType - Each dataset has an associated dataset domain and a type within the domain. Amazon Forecast provides a list of predefined domains and types within each domain. For each unique dataset domain and type within the domain, Amazon Forecast requires your data to include a minimum set of predefined fields. Schema - A schema specifies the fields of the dataset, including the field name and data type. After creating a dataset, you import your training data into the dataset and add the dataset to a dataset group. You then use the dataset group to create a predictor. For more information, see howitworks-datasets-groups. To get a list of all your datasets, use the ListDatasets operation. The Status of a dataset must be ACTIVE before you can import training data. Use the DescribeDataset operation to get the status.
|
16 | */
|
17 | createDataset(params: ForecastService.Types.CreateDatasetRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetResponse) => void): Request<ForecastService.Types.CreateDatasetResponse, AWSError>;
|
18 | /**
|
19 | * Creates an Amazon Forecast dataset. The information about the dataset that you provide helps Forecast understand how to consume the data for model training. This includes the following: DataFrequency - How frequently your historical time-series data is collected. Amazon Forecast uses this information when training the model and generating a forecast. Domain and DatasetType - Each dataset has an associated dataset domain and a type within the domain. Amazon Forecast provides a list of predefined domains and types within each domain. For each unique dataset domain and type within the domain, Amazon Forecast requires your data to include a minimum set of predefined fields. Schema - A schema specifies the fields of the dataset, including the field name and data type. After creating a dataset, you import your training data into the dataset and add the dataset to a dataset group. You then use the dataset group to create a predictor. For more information, see howitworks-datasets-groups. To get a list of all your datasets, use the ListDatasets operation. The Status of a dataset must be ACTIVE before you can import training data. Use the DescribeDataset operation to get the status.
|
20 | */
|
21 | createDataset(callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetResponse) => void): Request<ForecastService.Types.CreateDatasetResponse, AWSError>;
|
22 | /**
|
23 | * Creates an Amazon Forecast dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or you can add datasets later with the UpdateDatasetGroup operation. After creating a dataset group and adding datasets, you use the dataset group when you create a predictor. For more information, see howitworks-datasets-groups. To get a list of all your datasets groups, use the ListDatasetGroups operation. The Status of a dataset group must be ACTIVE before you can create a predictor using the dataset group. Use the DescribeDatasetGroup operation to get the status.
|
24 | */
|
25 | createDatasetGroup(params: ForecastService.Types.CreateDatasetGroupRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetGroupResponse) => void): Request<ForecastService.Types.CreateDatasetGroupResponse, AWSError>;
|
26 | /**
|
27 | * Creates an Amazon Forecast dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or you can add datasets later with the UpdateDatasetGroup operation. After creating a dataset group and adding datasets, you use the dataset group when you create a predictor. For more information, see howitworks-datasets-groups. To get a list of all your datasets groups, use the ListDatasetGroups operation. The Status of a dataset group must be ACTIVE before you can create a predictor using the dataset group. Use the DescribeDatasetGroup operation to get the status.
|
28 | */
|
29 | createDatasetGroup(callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetGroupResponse) => void): Request<ForecastService.Types.CreateDatasetGroupResponse, AWSError>;
|
30 | /**
|
31 | * Imports your training data to an Amazon Forecast dataset. You provide the location of your training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset that you want to import the data to. You must specify a DataSource object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. For more information, see aws-forecast-iam-roles. Two properties of the training data are optionally specified: The delimiter that separates the data fields. The default delimiter is a comma (,), which is the only supported delimiter in this release. The format of timestamps. If the format is not specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss". When Amazon Forecast uploads your training data, it verifies that the data was collected at the DataFrequency specified when the target dataset was created. For more information, see CreateDataset and howitworks-datasets-groups. Amazon Forecast also verifies the delimiter and timestamp format. You can use the ListDatasetImportJobs operation to get a list of all your dataset import jobs, filtered by specified criteria. To get a list of all your dataset import jobs, filtered by the specified criteria, use the ListDatasetGroups operation.
|
32 | */
|
33 | createDatasetImportJob(params: ForecastService.Types.CreateDatasetImportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetImportJobResponse) => void): Request<ForecastService.Types.CreateDatasetImportJobResponse, AWSError>;
|
34 | /**
|
35 | * Imports your training data to an Amazon Forecast dataset. You provide the location of your training data in an Amazon Simple Storage Service (Amazon S3) bucket and the Amazon Resource Name (ARN) of the dataset that you want to import the data to. You must specify a DataSource object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. For more information, see aws-forecast-iam-roles. Two properties of the training data are optionally specified: The delimiter that separates the data fields. The default delimiter is a comma (,), which is the only supported delimiter in this release. The format of timestamps. If the format is not specified, Amazon Forecast expects the format to be "yyyy-MM-dd HH:mm:ss". When Amazon Forecast uploads your training data, it verifies that the data was collected at the DataFrequency specified when the target dataset was created. For more information, see CreateDataset and howitworks-datasets-groups. Amazon Forecast also verifies the delimiter and timestamp format. You can use the ListDatasetImportJobs operation to get a list of all your dataset import jobs, filtered by specified criteria. To get a list of all your dataset import jobs, filtered by the specified criteria, use the ListDatasetGroups operation.
|
36 | */
|
37 | createDatasetImportJob(callback?: (err: AWSError, data: ForecastService.Types.CreateDatasetImportJobResponse) => void): Request<ForecastService.Types.CreateDatasetImportJobResponse, AWSError>;
|
38 | /**
|
39 | * Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor. This is known as inference. To retrieve the forecast for a single item at low latency, use the operation. To export the complete forecast into your Amazon Simple Storage Service (Amazon S3), use the CreateForecastExportJob operation. The range of the forecast is determined by the ForecastHorizon, specified in the CreatePredictor request, multiplied by the DataFrequency, specified in the CreateDataset request. When you query a forecast, you can request a specific date range within the complete forecast. To get a list of all your forecasts, use the ListForecasts operation. The forecasts generated by Amazon Forecast are in the same timezone as the dataset that was used to create the predictor. For more information, see howitworks-forecast. The Status of the forecast must be ACTIVE before you can query or export the forecast. Use the DescribeForecast operation to get the status.
|
40 | */
|
41 | createForecast(params: ForecastService.Types.CreateForecastRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateForecastResponse) => void): Request<ForecastService.Types.CreateForecastResponse, AWSError>;
|
42 | /**
|
43 | * Creates a forecast for each item in the TARGET_TIME_SERIES dataset that was used to train the predictor. This is known as inference. To retrieve the forecast for a single item at low latency, use the operation. To export the complete forecast into your Amazon Simple Storage Service (Amazon S3), use the CreateForecastExportJob operation. The range of the forecast is determined by the ForecastHorizon, specified in the CreatePredictor request, multiplied by the DataFrequency, specified in the CreateDataset request. When you query a forecast, you can request a specific date range within the complete forecast. To get a list of all your forecasts, use the ListForecasts operation. The forecasts generated by Amazon Forecast are in the same timezone as the dataset that was used to create the predictor. For more information, see howitworks-forecast. The Status of the forecast must be ACTIVE before you can query or export the forecast. Use the DescribeForecast operation to get the status.
|
44 | */
|
45 | createForecast(callback?: (err: AWSError, data: ForecastService.Types.CreateForecastResponse) => void): Request<ForecastService.Types.CreateForecastResponse, AWSError>;
|
46 | /**
|
47 | * Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. You must specify a DataDestination object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. For more information, see howitworks-forecast. To get a list of all your forecast export jobs, use the ListForecastExportJobs operation. The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. Use the DescribeForecastExportJob operation to get the status.
|
48 | */
|
49 | createForecastExportJob(params: ForecastService.Types.CreateForecastExportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.CreateForecastExportJobResponse) => void): Request<ForecastService.Types.CreateForecastExportJobResponse, AWSError>;
|
50 | /**
|
51 | * Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. You must specify a DataDestination object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles. For more information, see howitworks-forecast. To get a list of all your forecast export jobs, use the ListForecastExportJobs operation. The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. Use the DescribeForecastExportJob operation to get the status.
|
52 | */
|
53 | createForecastExportJob(callback?: (err: AWSError, data: ForecastService.Types.CreateForecastExportJobResponse) => void): Request<ForecastService.Types.CreateForecastExportJobResponse, AWSError>;
|
54 | /**
|
55 | * Creates an Amazon Forecast predictor. In the request, you provide a dataset group and either specify an algorithm or let Amazon Forecast choose the algorithm for you using AutoML. If you specify an algorithm, you also can override algorithm-specific hyperparameters. Amazon Forecast uses the chosen algorithm to train a model using the latest version of the datasets in the specified dataset group. The result is called a predictor. You then generate a forecast using the CreateForecast operation. After training a model, the CreatePredictor operation also evaluates it. To see the evaluation metrics, use the GetAccuracyMetrics operation. Always review the evaluation metrics before deciding to use the predictor to generate a forecast. Optionally, you can specify a featurization configuration to fill and aggragate the data fields in the TARGET_TIME_SERIES dataset to improve model training. For more information, see FeaturizationConfig. AutoML If you set PerformAutoML to true, Amazon Forecast evaluates each algorithm and chooses the one that minimizes the objective function. The objective function is defined as the mean of the weighted p10, p50, and p90 quantile losses. For more information, see EvaluationResult. When AutoML is enabled, the following properties are disallowed: AlgorithmArn HPOConfig PerformHPO TrainingParameters To get a list of all your predictors, use the ListPredictors operation. The Status of the predictor must be ACTIVE, signifying that training has completed, before you can use the predictor to create a forecast. Use the DescribePredictor operation to get the status.
|
56 | */
|
57 | createPredictor(params: ForecastService.Types.CreatePredictorRequest, callback?: (err: AWSError, data: ForecastService.Types.CreatePredictorResponse) => void): Request<ForecastService.Types.CreatePredictorResponse, AWSError>;
|
58 | /**
|
59 | * Creates an Amazon Forecast predictor. In the request, you provide a dataset group and either specify an algorithm or let Amazon Forecast choose the algorithm for you using AutoML. If you specify an algorithm, you also can override algorithm-specific hyperparameters. Amazon Forecast uses the chosen algorithm to train a model using the latest version of the datasets in the specified dataset group. The result is called a predictor. You then generate a forecast using the CreateForecast operation. After training a model, the CreatePredictor operation also evaluates it. To see the evaluation metrics, use the GetAccuracyMetrics operation. Always review the evaluation metrics before deciding to use the predictor to generate a forecast. Optionally, you can specify a featurization configuration to fill and aggragate the data fields in the TARGET_TIME_SERIES dataset to improve model training. For more information, see FeaturizationConfig. AutoML If you set PerformAutoML to true, Amazon Forecast evaluates each algorithm and chooses the one that minimizes the objective function. The objective function is defined as the mean of the weighted p10, p50, and p90 quantile losses. For more information, see EvaluationResult. When AutoML is enabled, the following properties are disallowed: AlgorithmArn HPOConfig PerformHPO TrainingParameters To get a list of all your predictors, use the ListPredictors operation. The Status of the predictor must be ACTIVE, signifying that training has completed, before you can use the predictor to create a forecast. Use the DescribePredictor operation to get the status.
|
60 | */
|
61 | createPredictor(callback?: (err: AWSError, data: ForecastService.Types.CreatePredictorResponse) => void): Request<ForecastService.Types.CreatePredictorResponse, AWSError>;
|
62 | /**
|
63 | * Deletes an Amazon Forecast dataset created using the CreateDataset operation. To be deleted, the dataset must have a status of ACTIVE or CREATE_FAILED. Use the DescribeDataset operation to get the status.
|
64 | */
|
65 | deleteDataset(params: ForecastService.Types.DeleteDatasetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
66 | /**
|
67 | * Deletes an Amazon Forecast dataset created using the CreateDataset operation. To be deleted, the dataset must have a status of ACTIVE or CREATE_FAILED. Use the DescribeDataset operation to get the status.
|
68 | */
|
69 | deleteDataset(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
70 | /**
|
71 | * Deletes a dataset group created using the CreateDatasetGroup operation. To be deleted, the dataset group must have a status of ACTIVE, CREATE_FAILED, or UPDATE_FAILED. Use the DescribeDatasetGroup operation to get the status. The operation deletes only the dataset group, not the datasets in the group.
|
72 | */
|
73 | deleteDatasetGroup(params: ForecastService.Types.DeleteDatasetGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
74 | /**
|
75 | * Deletes a dataset group created using the CreateDatasetGroup operation. To be deleted, the dataset group must have a status of ACTIVE, CREATE_FAILED, or UPDATE_FAILED. Use the DescribeDatasetGroup operation to get the status. The operation deletes only the dataset group, not the datasets in the group.
|
76 | */
|
77 | deleteDatasetGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
78 | /**
|
79 | * Deletes a dataset import job created using the CreateDatasetImportJob operation. To be deleted, the import job must have a status of ACTIVE or CREATE_FAILED. Use the DescribeDatasetImportJob operation to get the status.
|
80 | */
|
81 | deleteDatasetImportJob(params: ForecastService.Types.DeleteDatasetImportJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
82 | /**
|
83 | * Deletes a dataset import job created using the CreateDatasetImportJob operation. To be deleted, the import job must have a status of ACTIVE or CREATE_FAILED. Use the DescribeDatasetImportJob operation to get the status.
|
84 | */
|
85 | deleteDatasetImportJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
86 | /**
|
87 | * Deletes a forecast created using the CreateForecast operation. To be deleted, the forecast must have a status of ACTIVE or CREATE_FAILED. Use the DescribeForecast operation to get the status. You can't delete a forecast while it is being exported.
|
88 | */
|
89 | deleteForecast(params: ForecastService.Types.DeleteForecastRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
90 | /**
|
91 | * Deletes a forecast created using the CreateForecast operation. To be deleted, the forecast must have a status of ACTIVE or CREATE_FAILED. Use the DescribeForecast operation to get the status. You can't delete a forecast while it is being exported.
|
92 | */
|
93 | deleteForecast(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
94 | /**
|
95 | * Deletes a forecast export job created using the CreateForecastExportJob operation. To be deleted, the export job must have a status of ACTIVE or CREATE_FAILED. Use the DescribeForecastExportJob operation to get the status.
|
96 | */
|
97 | deleteForecastExportJob(params: ForecastService.Types.DeleteForecastExportJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
98 | /**
|
99 | * Deletes a forecast export job created using the CreateForecastExportJob operation. To be deleted, the export job must have a status of ACTIVE or CREATE_FAILED. Use the DescribeForecastExportJob operation to get the status.
|
100 | */
|
101 | deleteForecastExportJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
102 | /**
|
103 | * Deletes a predictor created using the CreatePredictor operation. To be deleted, the predictor must have a status of ACTIVE or CREATE_FAILED. Use the DescribePredictor operation to get the status. Any forecasts generated by the predictor will no longer be available.
|
104 | */
|
105 | deletePredictor(params: ForecastService.Types.DeletePredictorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
106 | /**
|
107 | * Deletes a predictor created using the CreatePredictor operation. To be deleted, the predictor must have a status of ACTIVE or CREATE_FAILED. Use the DescribePredictor operation to get the status. Any forecasts generated by the predictor will no longer be available.
|
108 | */
|
109 | deletePredictor(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
110 | /**
|
111 | * Describes an Amazon Forecast dataset created using the CreateDataset operation. In addition to listing the properties provided by the user in the CreateDataset request, this operation includes the following properties: CreationTime LastModificationTime Status
|
112 | */
|
113 | describeDataset(params: ForecastService.Types.DescribeDatasetRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetResponse) => void): Request<ForecastService.Types.DescribeDatasetResponse, AWSError>;
|
114 | /**
|
115 | * Describes an Amazon Forecast dataset created using the CreateDataset operation. In addition to listing the properties provided by the user in the CreateDataset request, this operation includes the following properties: CreationTime LastModificationTime Status
|
116 | */
|
117 | describeDataset(callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetResponse) => void): Request<ForecastService.Types.DescribeDatasetResponse, AWSError>;
|
118 | /**
|
119 | * Describes a dataset group created using the CreateDatasetGroup operation. In addition to listing the properties provided by the user in the CreateDatasetGroup request, this operation includes the following properties: DatasetArns - The datasets belonging to the group. CreationTime LastModificationTime Status
|
120 | */
|
121 | describeDatasetGroup(params: ForecastService.Types.DescribeDatasetGroupRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetGroupResponse) => void): Request<ForecastService.Types.DescribeDatasetGroupResponse, AWSError>;
|
122 | /**
|
123 | * Describes a dataset group created using the CreateDatasetGroup operation. In addition to listing the properties provided by the user in the CreateDatasetGroup request, this operation includes the following properties: DatasetArns - The datasets belonging to the group. CreationTime LastModificationTime Status
|
124 | */
|
125 | describeDatasetGroup(callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetGroupResponse) => void): Request<ForecastService.Types.DescribeDatasetGroupResponse, AWSError>;
|
126 | /**
|
127 | * Describes a dataset import job created using the CreateDatasetImportJob operation. In addition to listing the properties provided by the user in the CreateDatasetImportJob request, this operation includes the following properties: CreationTime LastModificationTime DataSize FieldStatistics Status Message - If an error occurred, information about the error.
|
128 | */
|
129 | describeDatasetImportJob(params: ForecastService.Types.DescribeDatasetImportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetImportJobResponse) => void): Request<ForecastService.Types.DescribeDatasetImportJobResponse, AWSError>;
|
130 | /**
|
131 | * Describes a dataset import job created using the CreateDatasetImportJob operation. In addition to listing the properties provided by the user in the CreateDatasetImportJob request, this operation includes the following properties: CreationTime LastModificationTime DataSize FieldStatistics Status Message - If an error occurred, information about the error.
|
132 | */
|
133 | describeDatasetImportJob(callback?: (err: AWSError, data: ForecastService.Types.DescribeDatasetImportJobResponse) => void): Request<ForecastService.Types.DescribeDatasetImportJobResponse, AWSError>;
|
134 | /**
|
135 | * Describes a forecast created using the CreateForecast operation. In addition to listing the properties provided by the user in the CreateForecast request, this operation includes the following properties: DatasetGroupArn - The dataset group that provided the training data. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
|
136 | */
|
137 | describeForecast(params: ForecastService.Types.DescribeForecastRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastResponse) => void): Request<ForecastService.Types.DescribeForecastResponse, AWSError>;
|
138 | /**
|
139 | * Describes a forecast created using the CreateForecast operation. In addition to listing the properties provided by the user in the CreateForecast request, this operation includes the following properties: DatasetGroupArn - The dataset group that provided the training data. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
|
140 | */
|
141 | describeForecast(callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastResponse) => void): Request<ForecastService.Types.DescribeForecastResponse, AWSError>;
|
142 | /**
|
143 | * Describes a forecast export job created using the CreateForecastExportJob operation. In addition to listing the properties provided by the user in the CreateForecastExportJob request, this operation includes the following properties: CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
|
144 | */
|
145 | describeForecastExportJob(params: ForecastService.Types.DescribeForecastExportJobRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastExportJobResponse) => void): Request<ForecastService.Types.DescribeForecastExportJobResponse, AWSError>;
|
146 | /**
|
147 | * Describes a forecast export job created using the CreateForecastExportJob operation. In addition to listing the properties provided by the user in the CreateForecastExportJob request, this operation includes the following properties: CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
|
148 | */
|
149 | describeForecastExportJob(callback?: (err: AWSError, data: ForecastService.Types.DescribeForecastExportJobResponse) => void): Request<ForecastService.Types.DescribeForecastExportJobResponse, AWSError>;
|
150 | /**
|
151 | * Describes a predictor created using the CreatePredictor operation. In addition to listing the properties provided by the user in the CreatePredictor request, this operation includes the following properties: DatasetImportJobArns - The dataset import jobs used to import training data. AutoMLAlgorithmArns - If AutoML is performed, the algorithms evaluated. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
|
152 | */
|
153 | describePredictor(params: ForecastService.Types.DescribePredictorRequest, callback?: (err: AWSError, data: ForecastService.Types.DescribePredictorResponse) => void): Request<ForecastService.Types.DescribePredictorResponse, AWSError>;
|
154 | /**
|
155 | * Describes a predictor created using the CreatePredictor operation. In addition to listing the properties provided by the user in the CreatePredictor request, this operation includes the following properties: DatasetImportJobArns - The dataset import jobs used to import training data. AutoMLAlgorithmArns - If AutoML is performed, the algorithms evaluated. CreationTime LastModificationTime Status Message - If an error occurred, information about the error.
|
156 | */
|
157 | describePredictor(callback?: (err: AWSError, data: ForecastService.Types.DescribePredictorResponse) => void): Request<ForecastService.Types.DescribePredictorResponse, AWSError>;
|
158 | /**
|
159 | * Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation. Use metrics to see how well the model performed and to decide whether to use the predictor to generate a forecast. Metrics are generated for each backtest window evaluated. For more information, see EvaluationParameters. The parameters of the filling method determine which items contribute to the metrics. If zero is specified, all items contribute. If nan is specified, only those items that have complete data in the range being evaluated contribute. For more information, see FeaturizationMethod. For an example of how to train a model and review metrics, see getting-started.
|
160 | */
|
161 | getAccuracyMetrics(params: ForecastService.Types.GetAccuracyMetricsRequest, callback?: (err: AWSError, data: ForecastService.Types.GetAccuracyMetricsResponse) => void): Request<ForecastService.Types.GetAccuracyMetricsResponse, AWSError>;
|
162 | /**
|
163 | * Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation. Use metrics to see how well the model performed and to decide whether to use the predictor to generate a forecast. Metrics are generated for each backtest window evaluated. For more information, see EvaluationParameters. The parameters of the filling method determine which items contribute to the metrics. If zero is specified, all items contribute. If nan is specified, only those items that have complete data in the range being evaluated contribute. For more information, see FeaturizationMethod. For an example of how to train a model and review metrics, see getting-started.
|
164 | */
|
165 | getAccuracyMetrics(callback?: (err: AWSError, data: ForecastService.Types.GetAccuracyMetricsResponse) => void): Request<ForecastService.Types.GetAccuracyMetricsResponse, AWSError>;
|
166 | /**
|
167 | * Returns a list of dataset groups created using the CreateDatasetGroup operation. For each dataset group, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeDatasetGroup operation.
|
168 | */
|
169 | listDatasetGroups(params: ForecastService.Types.ListDatasetGroupsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListDatasetGroupsResponse) => void): Request<ForecastService.Types.ListDatasetGroupsResponse, AWSError>;
|
170 | /**
|
171 | * Returns a list of dataset groups created using the CreateDatasetGroup operation. For each dataset group, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeDatasetGroup operation.
|
172 | */
|
173 | listDatasetGroups(callback?: (err: AWSError, data: ForecastService.Types.ListDatasetGroupsResponse) => void): Request<ForecastService.Types.ListDatasetGroupsResponse, AWSError>;
|
174 | /**
|
175 | * Returns a list of dataset import jobs created using the CreateDatasetImportJob operation. For each import job, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeDatasetImportJob operation. You can filter the list by providing an array of Filter objects.
|
176 | */
|
177 | listDatasetImportJobs(params: ForecastService.Types.ListDatasetImportJobsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListDatasetImportJobsResponse) => void): Request<ForecastService.Types.ListDatasetImportJobsResponse, AWSError>;
|
178 | /**
|
179 | * Returns a list of dataset import jobs created using the CreateDatasetImportJob operation. For each import job, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeDatasetImportJob operation. You can filter the list by providing an array of Filter objects.
|
180 | */
|
181 | listDatasetImportJobs(callback?: (err: AWSError, data: ForecastService.Types.ListDatasetImportJobsResponse) => void): Request<ForecastService.Types.ListDatasetImportJobsResponse, AWSError>;
|
182 | /**
|
183 | * Returns a list of datasets created using the CreateDataset operation. For each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeDataset operation.
|
184 | */
|
185 | listDatasets(params: ForecastService.Types.ListDatasetsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListDatasetsResponse) => void): Request<ForecastService.Types.ListDatasetsResponse, AWSError>;
|
186 | /**
|
187 | * Returns a list of datasets created using the CreateDataset operation. For each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeDataset operation.
|
188 | */
|
189 | listDatasets(callback?: (err: AWSError, data: ForecastService.Types.ListDatasetsResponse) => void): Request<ForecastService.Types.ListDatasetsResponse, AWSError>;
|
190 | /**
|
191 | * Returns a list of forecast export jobs created using the CreateForecastExportJob operation. For each forecast export job, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeForecastExportJob operation. The list can be filtered using an array of Filter objects.
|
192 | */
|
193 | listForecastExportJobs(params: ForecastService.Types.ListForecastExportJobsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListForecastExportJobsResponse) => void): Request<ForecastService.Types.ListForecastExportJobsResponse, AWSError>;
|
194 | /**
|
195 | * Returns a list of forecast export jobs created using the CreateForecastExportJob operation. For each forecast export job, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeForecastExportJob operation. The list can be filtered using an array of Filter objects.
|
196 | */
|
197 | listForecastExportJobs(callback?: (err: AWSError, data: ForecastService.Types.ListForecastExportJobsResponse) => void): Request<ForecastService.Types.ListForecastExportJobsResponse, AWSError>;
|
198 | /**
|
199 | * Returns a list of forecasts created using the CreateForecast operation. For each forecast, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeForecast operation. The list can be filtered using an array of Filter objects.
|
200 | */
|
201 | listForecasts(params: ForecastService.Types.ListForecastsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListForecastsResponse) => void): Request<ForecastService.Types.ListForecastsResponse, AWSError>;
|
202 | /**
|
203 | * Returns a list of forecasts created using the CreateForecast operation. For each forecast, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribeForecast operation. The list can be filtered using an array of Filter objects.
|
204 | */
|
205 | listForecasts(callback?: (err: AWSError, data: ForecastService.Types.ListForecastsResponse) => void): Request<ForecastService.Types.ListForecastsResponse, AWSError>;
|
206 | /**
|
207 | * Returns a list of predictors created using the CreatePredictor operation. For each predictor, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribePredictor operation. The list can be filtered using an array of Filter objects.
|
208 | */
|
209 | listPredictors(params: ForecastService.Types.ListPredictorsRequest, callback?: (err: AWSError, data: ForecastService.Types.ListPredictorsResponse) => void): Request<ForecastService.Types.ListPredictorsResponse, AWSError>;
|
210 | /**
|
211 | * Returns a list of predictors created using the CreatePredictor operation. For each predictor, a summary of its properties, including its Amazon Resource Name (ARN), is returned. You can retrieve the complete set of properties by using the ARN with the DescribePredictor operation. The list can be filtered using an array of Filter objects.
|
212 | */
|
213 | listPredictors(callback?: (err: AWSError, data: ForecastService.Types.ListPredictorsResponse) => void): Request<ForecastService.Types.ListPredictorsResponse, AWSError>;
|
214 | /**
|
215 | * Replaces any existing datasets in the dataset group with the specified datasets. The Status of the dataset group must be ACTIVE before creating a predictor using the dataset group. Use the DescribeDatasetGroup operation to get the status.
|
216 | */
|
217 | updateDatasetGroup(params: ForecastService.Types.UpdateDatasetGroupRequest, callback?: (err: AWSError, data: ForecastService.Types.UpdateDatasetGroupResponse) => void): Request<ForecastService.Types.UpdateDatasetGroupResponse, AWSError>;
|
218 | /**
|
219 | * Replaces any existing datasets in the dataset group with the specified datasets. The Status of the dataset group must be ACTIVE before creating a predictor using the dataset group. Use the DescribeDatasetGroup operation to get the status.
|
220 | */
|
221 | updateDatasetGroup(callback?: (err: AWSError, data: ForecastService.Types.UpdateDatasetGroupResponse) => void): Request<ForecastService.Types.UpdateDatasetGroupResponse, AWSError>;
|
222 | }
|
223 | declare namespace ForecastService {
|
224 | export type Arn = string;
|
225 | export type ArnList = Arn[];
|
226 | export type AttributeType = "string"|"integer"|"float"|"timestamp"|string;
|
227 | export type Boolean = boolean;
|
228 | export interface CategoricalParameterRange {
|
229 | /**
|
230 | * The name of the categorical hyperparameter to tune.
|
231 | */
|
232 | Name: Name;
|
233 | /**
|
234 | * A list of the tunable categories for the hyperparameter.
|
235 | */
|
236 | Values: Values;
|
237 | }
|
238 | export type CategoricalParameterRanges = CategoricalParameterRange[];
|
239 | export interface ContinuousParameterRange {
|
240 | /**
|
241 | * The name of the hyperparameter to tune.
|
242 | */
|
243 | Name: Name;
|
244 | /**
|
245 | * The maximum tunable value of the hyperparameter.
|
246 | */
|
247 | MaxValue: Double;
|
248 | /**
|
249 | * The minimum tunable value of the hyperparameter.
|
250 | */
|
251 | MinValue: Double;
|
252 | /**
|
253 | * The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values: Auto Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter. Linear Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale. Logarithmic Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale. Logarithmic scaling works only for ranges that have only values greater than 0. ReverseLogarithmic Hyperparemeter tuning searches the values in the hyperparameter range by using a reverse logarithmic scale. Reverse logarithmic scaling works only for ranges that are entirely within the range 0 <= x < 1.0.
|
254 | */
|
255 | ScalingType?: ScalingType;
|
256 | }
|
257 | export type ContinuousParameterRanges = ContinuousParameterRange[];
|
258 | export interface CreateDatasetGroupRequest {
|
259 | /**
|
260 | * A name for the dataset group.
|
261 | */
|
262 | DatasetGroupName: Name;
|
263 | /**
|
264 | * The domain associated with the dataset group. The Domain and DatasetType that you choose determine the fields that must be present in the training data that you import to the dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires item_id, timestamp, and demand fields to be present in your data. For more information, see howitworks-datasets-groups.
|
265 | */
|
266 | Domain: Domain;
|
267 | /**
|
268 | * An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
|
269 | */
|
270 | DatasetArns?: ArnList;
|
271 | }
|
272 | export interface CreateDatasetGroupResponse {
|
273 | /**
|
274 | * The Amazon Resource Name (ARN) of the dataset group.
|
275 | */
|
276 | DatasetGroupArn?: Arn;
|
277 | }
|
278 | export interface CreateDatasetImportJobRequest {
|
279 | /**
|
280 | * The name for the dataset import job. It is recommended to include the current timestamp in the name to guard against getting a ResourceAlreadyExistsException exception, for example, 20190721DatasetImport.
|
281 | */
|
282 | DatasetImportJobName: Name;
|
283 | /**
|
284 | * The Amazon Resource Name (ARN) of the Amazon Forecast dataset that you want to import data to.
|
285 | */
|
286 | DatasetArn: Arn;
|
287 | /**
|
288 | * The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data.
|
289 | */
|
290 | DataSource: DataSource;
|
291 | /**
|
292 | * The format of timestamps in the dataset. Two formats are supported, dependent on the DataFrequency specified when the dataset was created. "yyyy-MM-dd" For data frequencies: Y, M, W, and D "yyyy-MM-dd HH:mm:ss" For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
|
293 | */
|
294 | TimestampFormat?: TimestampFormat;
|
295 | }
|
296 | export interface CreateDatasetImportJobResponse {
|
297 | /**
|
298 | * The Amazon Resource Name (ARN) of the dataset import job.
|
299 | */
|
300 | DatasetImportJobArn?: Arn;
|
301 | }
|
302 | export interface CreateDatasetRequest {
|
303 | /**
|
304 | * A name for the dataset.
|
305 | */
|
306 | DatasetName: Name;
|
307 | /**
|
308 | * The domain associated with the dataset. The Domain and DatasetType that you choose determine the fields that must be present in the training data that you import to the dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires item_id, timestamp, and demand fields to be present in your data. For more information, see howitworks-datasets-groups.
|
309 | */
|
310 | Domain: Domain;
|
311 | /**
|
312 | * The dataset type. Valid values depend on the chosen Domain.
|
313 | */
|
314 | DatasetType: DatasetType;
|
315 | /**
|
316 | * The frequency of data collection. Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "D" indicates every day and "15min" indicates every 15 minutes.
|
317 | */
|
318 | DataFrequency?: Frequency;
|
319 | /**
|
320 | * The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset Domain and DatasetType that you choose determine the minimum required fields in your training data. For information about the required fields for a specific dataset domain and type, see howitworks-domains-ds-types.
|
321 | */
|
322 | Schema: Schema;
|
323 | /**
|
324 | * An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
|
325 | */
|
326 | EncryptionConfig?: EncryptionConfig;
|
327 | }
|
328 | export interface CreateDatasetResponse {
|
329 | /**
|
330 | * The Amazon Resource Name (ARN) of the dataset.
|
331 | */
|
332 | DatasetArn?: Arn;
|
333 | }
|
334 | export interface CreateForecastExportJobRequest {
|
335 | /**
|
336 | * The name for the forecast export job.
|
337 | */
|
338 | ForecastExportJobName: Name;
|
339 | /**
|
340 | * The Amazon Resource Name (ARN) of the forecast that you want to export.
|
341 | */
|
342 | ForecastArn: Arn;
|
343 | /**
|
344 | * The path to the Amazon S3 bucket where you want to save the forecast and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the bucket.
|
345 | */
|
346 | Destination: DataDestination;
|
347 | }
|
348 | export interface CreateForecastExportJobResponse {
|
349 | /**
|
350 | * The Amazon Resource Name (ARN) of the export job.
|
351 | */
|
352 | ForecastExportJobArn?: Arn;
|
353 | }
|
354 | export interface CreateForecastRequest {
|
355 | /**
|
356 | * The name for the forecast.
|
357 | */
|
358 | ForecastName: Name;
|
359 | /**
|
360 | * The Amazon Resource Name (ARN) of the predictor to use to generate the forecast.
|
361 | */
|
362 | PredictorArn: Arn;
|
363 | }
|
364 | export interface CreateForecastResponse {
|
365 | /**
|
366 | * The Amazon Resource Name (ARN) of the forecast.
|
367 | */
|
368 | ForecastArn?: Arn;
|
369 | }
|
370 | export interface CreatePredictorRequest {
|
371 | /**
|
372 | * A name for the predictor.
|
373 | */
|
374 | PredictorName: Name;
|
375 | /**
|
376 | * The Amazon Resource Name (ARN) of the algorithm to use for model training. Required if PerformAutoML is not set to true. Supported algorithms arn:aws:forecast:::algorithm/ARIMA arn:aws:forecast:::algorithm/Deep_AR_Plus - supports hyperparameter optimization (HPO) arn:aws:forecast:::algorithm/ETS arn:aws:forecast:::algorithm/NPTS arn:aws:forecast:::algorithm/Prophet
|
377 | */
|
378 | AlgorithmArn?: Arn;
|
379 | /**
|
380 | * Specifies the number of time-steps that the model is trained to predict. The forecast horizon is also called the prediction length. For example, if you configure a dataset for daily data collection (using the DataFrequency parameter of the CreateDataset operation) and set the forecast horizon to 10, the model returns predictions for 10 days.
|
381 | */
|
382 | ForecastHorizon: Integer;
|
383 | /**
|
384 | * Whether to perform AutoML. The default value is false. In this case, you are required to specify an algorithm. If you want Amazon Forecast to evaluate the algorithms it provides and choose the best algorithm and configuration for your training dataset, set PerformAutoML to true. This is a good option if you aren't sure which algorithm is suitable for your application.
|
385 | */
|
386 | PerformAutoML?: Boolean;
|
387 | /**
|
388 | * Whether to perform hyperparameter optimization (HPO). HPO finds optimal hyperparameter values for your training data. The process of performing HPO is known as a hyperparameter tuning job. The default value is false. In this case, Amazon Forecast uses default hyperparameter values from the chosen algorithm. To override the default values, set PerformHPO to true and supply the HyperParameterTuningJobConfig object. The tuning job specifies an objective metric, the hyperparameters to optimize, and the valid range for each hyperparameter. The following algorithms support HPO: DeepAR+
|
389 | */
|
390 | PerformHPO?: Boolean;
|
391 | /**
|
392 | * The training parameters to override for model training. The parameters that you can override are listed in the individual algorithms in aws-forecast-choosing-recipes.
|
393 | */
|
394 | TrainingParameters?: TrainingParameters;
|
395 | /**
|
396 | * Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.
|
397 | */
|
398 | EvaluationParameters?: EvaluationParameters;
|
399 | /**
|
400 | * Provides hyperparameter override values for the algorithm. If you don't provide this parameter, Amazon Forecast uses default values. The individual algorithms specify which hyperparameters support hyperparameter optimization (HPO). For more information, see aws-forecast-choosing-recipes.
|
401 | */
|
402 | HPOConfig?: HyperParameterTuningJobConfig;
|
403 | /**
|
404 | * Describes the dataset group that contains the data to use to train the predictor.
|
405 | */
|
406 | InputDataConfig: InputDataConfig;
|
407 | /**
|
408 | * The featurization configuration.
|
409 | */
|
410 | FeaturizationConfig: FeaturizationConfig;
|
411 | /**
|
412 | * An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
|
413 | */
|
414 | EncryptionConfig?: EncryptionConfig;
|
415 | }
|
416 | export interface CreatePredictorResponse {
|
417 | /**
|
418 | * The Amazon Resource Name (ARN) of the predictor.
|
419 | */
|
420 | PredictorArn?: Arn;
|
421 | }
|
422 | export interface DataDestination {
|
423 | /**
|
424 | * The path to an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the bucket.
|
425 | */
|
426 | S3Config: S3Config;
|
427 | }
|
428 | export interface DataSource {
|
429 | /**
|
430 | * The path to the training data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.
|
431 | */
|
432 | S3Config: S3Config;
|
433 | }
|
434 | export interface DatasetGroupSummary {
|
435 | /**
|
436 | * The Amazon Resource Name (ARN) of the dataset group.
|
437 | */
|
438 | DatasetGroupArn?: Arn;
|
439 | /**
|
440 | * The name of the dataset group.
|
441 | */
|
442 | DatasetGroupName?: Name;
|
443 | /**
|
444 | * When the datase group was created.
|
445 | */
|
446 | CreationTime?: Timestamp;
|
447 | /**
|
448 | * When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated, LastModificationTime is the current query time.
|
449 | */
|
450 | LastModificationTime?: Timestamp;
|
451 | }
|
452 | export type DatasetGroups = DatasetGroupSummary[];
|
453 | export interface DatasetImportJobSummary {
|
454 | /**
|
455 | * The Amazon Resource Name (ARN) of the dataset import job.
|
456 | */
|
457 | DatasetImportJobArn?: Arn;
|
458 | /**
|
459 | * The name of the dataset import job.
|
460 | */
|
461 | DatasetImportJobName?: Name;
|
462 | /**
|
463 | * The location of the Amazon S3 bucket that contains the training data.
|
464 | */
|
465 | DataSource?: DataSource;
|
466 | /**
|
467 | * The status of the dataset import job. The status is reflected in the status of the dataset. For example, when the import job status is CREATE_IN_PROGRESS, the status of the dataset is UPDATE_IN_PROGRESS. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
|
468 | */
|
469 | Status?: Status;
|
470 | /**
|
471 | * If an error occurred, an informational message about the error.
|
472 | */
|
473 | Message?: ErrorMessage;
|
474 | /**
|
475 | * When the dataset import job was created.
|
476 | */
|
477 | CreationTime?: Timestamp;
|
478 | /**
|
479 | * Dependent on the status as follows: CREATE_PENDING - same as CreationTime CREATE_IN_PROGRESS - the current timestamp ACTIVE or CREATE_FAILED - when the job finished or failed
|
480 | */
|
481 | LastModificationTime?: Timestamp;
|
482 | }
|
483 | export type DatasetImportJobs = DatasetImportJobSummary[];
|
484 | export interface DatasetSummary {
|
485 | /**
|
486 | * The Amazon Resource Name (ARN) of the dataset.
|
487 | */
|
488 | DatasetArn?: Arn;
|
489 | /**
|
490 | * The name of the dataset.
|
491 | */
|
492 | DatasetName?: Name;
|
493 | /**
|
494 | * The dataset type.
|
495 | */
|
496 | DatasetType?: DatasetType;
|
497 | /**
|
498 | * The domain associated with the dataset.
|
499 | */
|
500 | Domain?: Domain;
|
501 | /**
|
502 | * When the dataset was created.
|
503 | */
|
504 | CreationTime?: Timestamp;
|
505 | /**
|
506 | * When the dataset is created, LastModificationTime is the same as CreationTime. After a CreateDatasetImportJob operation is called, LastModificationTime is when the import job finished or failed. While data is being imported to the dataset, LastModificationTime is the current query time.
|
507 | */
|
508 | LastModificationTime?: Timestamp;
|
509 | }
|
510 | export type DatasetType = "TARGET_TIME_SERIES"|"RELATED_TIME_SERIES"|"ITEM_METADATA"|string;
|
511 | export type Datasets = DatasetSummary[];
|
512 | export interface DeleteDatasetGroupRequest {
|
513 | /**
|
514 | * The Amazon Resource Name (ARN) of the dataset group to delete.
|
515 | */
|
516 | DatasetGroupArn: Arn;
|
517 | }
|
518 | export interface DeleteDatasetImportJobRequest {
|
519 | /**
|
520 | * The Amazon Resource Name (ARN) of the dataset import job to delete.
|
521 | */
|
522 | DatasetImportJobArn: Arn;
|
523 | }
|
524 | export interface DeleteDatasetRequest {
|
525 | /**
|
526 | * The Amazon Resource Name (ARN) of the dataset to delete.
|
527 | */
|
528 | DatasetArn: Arn;
|
529 | }
|
530 | export interface DeleteForecastExportJobRequest {
|
531 | /**
|
532 | * The Amazon Resource Name (ARN) of the forecast export job to delete.
|
533 | */
|
534 | ForecastExportJobArn: Arn;
|
535 | }
|
536 | export interface DeleteForecastRequest {
|
537 | /**
|
538 | * The Amazon Resource Name (ARN) of the forecast to delete.
|
539 | */
|
540 | ForecastArn: Arn;
|
541 | }
|
542 | export interface DeletePredictorRequest {
|
543 | /**
|
544 | * The Amazon Resource Name (ARN) of the predictor to delete.
|
545 | */
|
546 | PredictorArn: Arn;
|
547 | }
|
548 | export interface DescribeDatasetGroupRequest {
|
549 | /**
|
550 | * The Amazon Resource Name (ARN) of the dataset group.
|
551 | */
|
552 | DatasetGroupArn: Arn;
|
553 | }
|
554 | export interface DescribeDatasetGroupResponse {
|
555 | /**
|
556 | * The name of the dataset group.
|
557 | */
|
558 | DatasetGroupName?: Name;
|
559 | /**
|
560 | * The ARN of the dataset group.
|
561 | */
|
562 | DatasetGroupArn?: Arn;
|
563 | /**
|
564 | * An array of Amazon Resource Names (ARNs) of the datasets contained in the dataset group.
|
565 | */
|
566 | DatasetArns?: ArnList;
|
567 | /**
|
568 | * The domain associated with the dataset group. The Domain and DatasetType that you choose determine the fields that must be present in the training data that you import to the dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires item_id, timestamp, and demand fields to be present in your data. For more information, see howitworks-datasets-groups.
|
569 | */
|
570 | Domain?: Domain;
|
571 | /**
|
572 | * The status of the dataset group. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED The UPDATE states apply when the UpdateDatasetGroup operation is called. The Status of the dataset group must be ACTIVE before creating a predictor using the dataset group.
|
573 | */
|
574 | Status?: Status;
|
575 | /**
|
576 | * When the dataset group was created.
|
577 | */
|
578 | CreationTime?: Timestamp;
|
579 | /**
|
580 | * When the dataset group was created or last updated from a call to the UpdateDatasetGroup operation. While the dataset group is being updated, LastModificationTime is the current query time.
|
581 | */
|
582 | LastModificationTime?: Timestamp;
|
583 | }
|
584 | export interface DescribeDatasetImportJobRequest {
|
585 | /**
|
586 | * The Amazon Resource Name (ARN) of the dataset import job.
|
587 | */
|
588 | DatasetImportJobArn: Arn;
|
589 | }
|
590 | export interface DescribeDatasetImportJobResponse {
|
591 | /**
|
592 | * The name of the dataset import job.
|
593 | */
|
594 | DatasetImportJobName?: Name;
|
595 | /**
|
596 | * The ARN of the dataset import job.
|
597 | */
|
598 | DatasetImportJobArn?: Arn;
|
599 | /**
|
600 | * The Amazon Resource Name (ARN) of the dataset that the training data was imported to.
|
601 | */
|
602 | DatasetArn?: Arn;
|
603 | /**
|
604 | * The format of timestamps in the dataset. Two formats are supported dependent on the DataFrequency specified when the dataset was created. "yyyy-MM-dd" For data frequencies: Y, M, W, and D "yyyy-MM-dd HH:mm:ss" For data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D
|
605 | */
|
606 | TimestampFormat?: TimestampFormat;
|
607 | /**
|
608 | * The location of the training data to import. The training data must be stored in an Amazon S3 bucket.
|
609 | */
|
610 | DataSource?: DataSource;
|
611 | /**
|
612 | * Statistical information about each field in the input data.
|
613 | */
|
614 | FieldStatistics?: FieldStatistics;
|
615 | /**
|
616 | * The size of the dataset in gigabytes (GB) after completion of the import job.
|
617 | */
|
618 | DataSize?: Double;
|
619 | /**
|
620 | * The status of the dataset import job. The status is reflected in the status of the dataset. For example, when the import job status is CREATE_IN_PROGRESS, the status of the dataset is UPDATE_IN_PROGRESS. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
|
621 | */
|
622 | Status?: Status;
|
623 | /**
|
624 | * If an error occurred, an informational message about the error.
|
625 | */
|
626 | Message?: Message;
|
627 | /**
|
628 | * When the dataset import job was created.
|
629 | */
|
630 | CreationTime?: Timestamp;
|
631 | /**
|
632 | * Dependent on the status as follows: CREATE_PENDING - same as CreationTime CREATE_IN_PROGRESS - the current timestamp ACTIVE or CREATE_FAILED - when the job finished or failed
|
633 | */
|
634 | LastModificationTime?: Timestamp;
|
635 | }
|
636 | export interface DescribeDatasetRequest {
|
637 | /**
|
638 | * The Amazon Resource Name (ARN) of the dataset.
|
639 | */
|
640 | DatasetArn: Arn;
|
641 | }
|
642 | export interface DescribeDatasetResponse {
|
643 | /**
|
644 | * The Amazon Resource Name (ARN) of the dataset.
|
645 | */
|
646 | DatasetArn?: Arn;
|
647 | /**
|
648 | * The name of the dataset.
|
649 | */
|
650 | DatasetName?: Name;
|
651 | /**
|
652 | * The dataset domain.
|
653 | */
|
654 | Domain?: Domain;
|
655 | /**
|
656 | * The dataset type.
|
657 | */
|
658 | DatasetType?: DatasetType;
|
659 | /**
|
660 | * The frequency of data collection. Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
|
661 | */
|
662 | DataFrequency?: Frequency;
|
663 | /**
|
664 | * An array of SchemaAttribute objects that specify the dataset fields. Each SchemaAttribute specifies the name and data type of a field.
|
665 | */
|
666 | Schema?: Schema;
|
667 | /**
|
668 | * An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
|
669 | */
|
670 | EncryptionConfig?: EncryptionConfig;
|
671 | /**
|
672 | * The status of the dataset. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED The UPDATE states apply while data is imported to the dataset from a call to the CreateDatasetImportJob operation. During this time, the status reflects the status of the dataset import job. For example, when the import job status is CREATE_IN_PROGRESS, the status of the dataset is UPDATE_IN_PROGRESS. The Status of the dataset must be ACTIVE before you can import training data.
|
673 | */
|
674 | Status?: Status;
|
675 | /**
|
676 | * When the dataset was created.
|
677 | */
|
678 | CreationTime?: Timestamp;
|
679 | /**
|
680 | * When the dataset is created, LastModificationTime is the same as CreationTime. After a CreateDatasetImportJob operation is called, LastModificationTime is when the import job finished or failed. While data is being imported to the dataset, LastModificationTime is the current query time.
|
681 | */
|
682 | LastModificationTime?: Timestamp;
|
683 | }
|
684 | export interface DescribeForecastExportJobRequest {
|
685 | /**
|
686 | * The Amazon Resource Name (ARN) of the forecast export job.
|
687 | */
|
688 | ForecastExportJobArn: Arn;
|
689 | }
|
690 | export interface DescribeForecastExportJobResponse {
|
691 | /**
|
692 | * The ARN of the forecast export job.
|
693 | */
|
694 | ForecastExportJobArn?: Arn;
|
695 | /**
|
696 | * The name of the forecast export job.
|
697 | */
|
698 | ForecastExportJobName?: Name;
|
699 | /**
|
700 | * The Amazon Resource Name (ARN) of the exported forecast.
|
701 | */
|
702 | ForecastArn?: Arn;
|
703 | /**
|
704 | * The path to the AWS S3 bucket where the forecast is exported.
|
705 | */
|
706 | Destination?: DataDestination;
|
707 | /**
|
708 | * If an error occurred, an informational message about the error.
|
709 | */
|
710 | Message?: Message;
|
711 | /**
|
712 | * The status of the forecast export job. One of the following states: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket.
|
713 | */
|
714 | Status?: Status;
|
715 | /**
|
716 | * When the forecast export job was created.
|
717 | */
|
718 | CreationTime?: Timestamp;
|
719 | /**
|
720 | * When the last successful export job finished.
|
721 | */
|
722 | LastModificationTime?: Timestamp;
|
723 | }
|
724 | export interface DescribeForecastRequest {
|
725 | /**
|
726 | * The Amazon Resource Name (ARN) of the forecast.
|
727 | */
|
728 | ForecastArn: Arn;
|
729 | }
|
730 | export interface DescribeForecastResponse {
|
731 | /**
|
732 | * The same forecast ARN as given in the request.
|
733 | */
|
734 | ForecastArn?: Arn;
|
735 | /**
|
736 | * The name of the forecast.
|
737 | */
|
738 | ForecastName?: Name;
|
739 | /**
|
740 | * The ARN of the predictor used to generate the forecast.
|
741 | */
|
742 | PredictorArn?: Arn;
|
743 | /**
|
744 | * The ARN of the dataset group that provided the data used to train the predictor.
|
745 | */
|
746 | DatasetGroupArn?: Arn;
|
747 | /**
|
748 | * The status of the forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast must be ACTIVE before you can query or export the forecast.
|
749 | */
|
750 | Status?: String;
|
751 | /**
|
752 | * If an error occurred, an informational message about the error.
|
753 | */
|
754 | Message?: ErrorMessage;
|
755 | /**
|
756 | * When the forecast creation task was created.
|
757 | */
|
758 | CreationTime?: Timestamp;
|
759 | /**
|
760 | * Initially, the same as CreationTime (status is CREATE_PENDING). Updated when inference (creating the forecast) starts (status changed to CREATE_IN_PROGRESS), and when inference is complete (status changed to ACTIVE) or fails (status changed to CREATE_FAILED).
|
761 | */
|
762 | LastModificationTime?: Timestamp;
|
763 | }
|
764 | export interface DescribePredictorRequest {
|
765 | /**
|
766 | * The Amazon Resource Name (ARN) of the predictor that you want information about.
|
767 | */
|
768 | PredictorArn: Arn;
|
769 | }
|
770 | export interface DescribePredictorResponse {
|
771 | /**
|
772 | * The ARN of the predictor.
|
773 | */
|
774 | PredictorArn?: Name;
|
775 | /**
|
776 | * The name of the predictor.
|
777 | */
|
778 | PredictorName?: Name;
|
779 | /**
|
780 | * The Amazon Resource Name (ARN) of the algorithm used for model training.
|
781 | */
|
782 | AlgorithmArn?: Arn;
|
783 | /**
|
784 | * The number of time-steps of the forecast. The forecast horizon is also called the prediction length.
|
785 | */
|
786 | ForecastHorizon?: Integer;
|
787 | /**
|
788 | * Whether the predictor is set to perform AutoML.
|
789 | */
|
790 | PerformAutoML?: Boolean;
|
791 | /**
|
792 | * Whether the predictor is set to perform HPO.
|
793 | */
|
794 | PerformHPO?: Boolean;
|
795 | /**
|
796 | * The training parameters to override for model training. The parameters that you can override are listed in the individual algorithms in aws-forecast-choosing-recipes.
|
797 | */
|
798 | TrainingParameters?: TrainingParameters;
|
799 | /**
|
800 | * Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.
|
801 | */
|
802 | EvaluationParameters?: EvaluationParameters;
|
803 | /**
|
804 | * The hyperparameter override values for the algorithm.
|
805 | */
|
806 | HPOConfig?: HyperParameterTuningJobConfig;
|
807 | /**
|
808 | * Describes the dataset group that contains the data to use to train the predictor.
|
809 | */
|
810 | InputDataConfig?: InputDataConfig;
|
811 | /**
|
812 | * The featurization configuration.
|
813 | */
|
814 | FeaturizationConfig?: FeaturizationConfig;
|
815 | /**
|
816 | * An AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
|
817 | */
|
818 | EncryptionConfig?: EncryptionConfig;
|
819 | /**
|
820 | * An array of ARNs of the dataset import jobs used to import training data for the predictor.
|
821 | */
|
822 | DatasetImportJobArns?: ArnList;
|
823 | /**
|
824 | * When PerformAutoML is specified, the ARN of the chosen algorithm.
|
825 | */
|
826 | AutoMLAlgorithmArns?: ArnList;
|
827 | /**
|
828 | * The status of the predictor. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED The Status of the predictor must be ACTIVE before using the predictor to create a forecast.
|
829 | */
|
830 | Status?: Status;
|
831 | /**
|
832 | * If an error occurred, an informational message about the error.
|
833 | */
|
834 | Message?: Message;
|
835 | /**
|
836 | * When the model training task was created.
|
837 | */
|
838 | CreationTime?: Timestamp;
|
839 | /**
|
840 | * Initially, the same as CreationTime (status is CREATE_PENDING). Updated when training starts (status changed to CREATE_IN_PROGRESS), and when training is complete (status changed to ACTIVE) or fails (status changed to CREATE_FAILED).
|
841 | */
|
842 | LastModificationTime?: Timestamp;
|
843 | }
|
844 | export type Domain = "RETAIL"|"CUSTOM"|"INVENTORY_PLANNING"|"EC2_CAPACITY"|"WORK_FORCE"|"WEB_TRAFFIC"|"METRICS"|string;
|
845 | export type Double = number;
|
846 | export interface EncryptionConfig {
|
847 | /**
|
848 | * The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the AWS KMS key. Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an InvalidInputException is thrown.
|
849 | */
|
850 | RoleArn: Arn;
|
851 | /**
|
852 | * The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
|
853 | */
|
854 | KMSKeyArn: KMSKeyArn;
|
855 | }
|
856 | export type ErrorMessage = string;
|
857 | export interface EvaluationParameters {
|
858 | /**
|
859 | * The number of times to split the input data. The default is 1. The range is 1 through 5.
|
860 | */
|
861 | NumberOfBacktestWindows?: Integer;
|
862 | /**
|
863 | * The point from the end of the dataset where you want to split the data for model training and evaluation. The value is specified as the number of data points.
|
864 | */
|
865 | BackTestWindowOffset?: Integer;
|
866 | }
|
867 | export interface EvaluationResult {
|
868 | /**
|
869 | * The Amazon Resource Name (ARN) of the algorithm that was evaluated.
|
870 | */
|
871 | AlgorithmArn?: Arn;
|
872 | /**
|
873 | * The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows from the EvaluationParameters object determines the number of windows in the array.
|
874 | */
|
875 | TestWindows?: TestWindows;
|
876 | }
|
877 | export type EvaluationType = "SUMMARY"|"COMPUTED"|string;
|
878 | export interface Featurization {
|
879 | /**
|
880 | * The name of the schema attribute specifying the data field to be featurized. In this release, only the target field of the TARGET_TIME_SERIES dataset type is supported. For example, for the RETAIL domain, the target is demand, and for the CUSTOM domain, the target is target_value.
|
881 | */
|
882 | AttributeName: Name;
|
883 | /**
|
884 | * An array FeaturizationMethod objects that specifies the feature transformation methods. For this release, the number of methods is limited to one.
|
885 | */
|
886 | FeaturizationPipeline?: FeaturizationPipeline;
|
887 | }
|
888 | export interface FeaturizationConfig {
|
889 | /**
|
890 | * The frequency of predictions in a forecast. Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "Y" indicates every year and "5min" indicates every five minutes.
|
891 | */
|
892 | ForecastFrequency: Frequency;
|
893 | /**
|
894 | * An array of dimension (field) names that specify how to group the generated forecast. For example, suppose that you are generating a forecast for item sales across all of your stores, and your dataset contains a store_id field. If you want the sales forecast for each item by store, you would specify store_id as the dimension.
|
895 | */
|
896 | ForecastDimensions?: ForecastDimensions;
|
897 | /**
|
898 | * An array of featurization (transformation) information for the fields of a dataset. In this release, only a single featurization is supported.
|
899 | */
|
900 | Featurizations?: Featurizations;
|
901 | }
|
902 | export interface FeaturizationMethod {
|
903 | /**
|
904 | * The name of the method. In this release, "filling" is the only supported method.
|
905 | */
|
906 | FeaturizationMethodName: FeaturizationMethodName;
|
907 | /**
|
908 | * The method parameters (key-value pairs). Specify these to override the default values. The following list shows the parameters and their valid values. Bold signifies the default value. aggregation: sum, avg, first, min, max frontfill: none middlefill: zero, nan (not a number) backfill: zero, nan
|
909 | */
|
910 | FeaturizationMethodParameters?: FeaturizationMethodParameters;
|
911 | }
|
912 | export type FeaturizationMethodName = "filling"|string;
|
913 | export type FeaturizationMethodParameters = {[key: string]: ParameterValue};
|
914 | export type FeaturizationPipeline = FeaturizationMethod[];
|
915 | export type Featurizations = Featurization[];
|
916 | export type FieldStatistics = {[key: string]: Statistics};
|
917 | export interface Filter {
|
918 | /**
|
919 | * The name of the parameter to filter on.
|
920 | */
|
921 | Key: String;
|
922 | /**
|
923 | * A valid value for Key.
|
924 | */
|
925 | Value: Arn;
|
926 | /**
|
927 | * The condition to apply.
|
928 | */
|
929 | Condition: FilterConditionString;
|
930 | }
|
931 | export type FilterConditionString = "IS"|"IS_NOT"|string;
|
932 | export type Filters = Filter[];
|
933 | export type ForecastDimensions = Name[];
|
934 | export interface ForecastExportJobSummary {
|
935 | /**
|
936 | * The Amazon Resource Name (ARN) of the forecast export job.
|
937 | */
|
938 | ForecastExportJobArn?: Arn;
|
939 | /**
|
940 | * The name of the forecast export job.
|
941 | */
|
942 | ForecastExportJobName?: Name;
|
943 | /**
|
944 | * The path to the S3 bucket where the forecast is stored.
|
945 | */
|
946 | Destination?: DataDestination;
|
947 | /**
|
948 | * The status of the forecast export job. One of the following states: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket.
|
949 | */
|
950 | Status?: Status;
|
951 | /**
|
952 | * If an error occurred, an informational message about the error.
|
953 | */
|
954 | Message?: ErrorMessage;
|
955 | /**
|
956 | * When the forecast export job was created.
|
957 | */
|
958 | CreationTime?: Timestamp;
|
959 | /**
|
960 | * When the last successful export job finished.
|
961 | */
|
962 | LastModificationTime?: Timestamp;
|
963 | }
|
964 | export type ForecastExportJobs = ForecastExportJobSummary[];
|
965 | export interface ForecastSummary {
|
966 | /**
|
967 | * The ARN of the forecast.
|
968 | */
|
969 | ForecastArn?: Arn;
|
970 | /**
|
971 | * The name of the forecast.
|
972 | */
|
973 | ForecastName?: Name;
|
974 | /**
|
975 | * The ARN of the predictor used to generate the forecast.
|
976 | */
|
977 | PredictorArn?: String;
|
978 | /**
|
979 | * The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.
|
980 | */
|
981 | DatasetGroupArn?: String;
|
982 | /**
|
983 | * The status of the forecast. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED The Status of the forecast must be ACTIVE before you can query or export the forecast.
|
984 | */
|
985 | Status?: Status;
|
986 | /**
|
987 | * If an error occurred, an informational message about the error.
|
988 | */
|
989 | Message?: ErrorMessage;
|
990 | /**
|
991 | * When the forecast creation task was created.
|
992 | */
|
993 | CreationTime?: Timestamp;
|
994 | /**
|
995 | * Initially, the same as CreationTime (status is CREATE_PENDING). Updated when inference (creating the forecast) starts (status changed to CREATE_IN_PROGRESS), and when inference is complete (status changed to ACTIVE) or fails (status changed to CREATE_FAILED).
|
996 | */
|
997 | LastModificationTime?: Timestamp;
|
998 | }
|
999 | export type Forecasts = ForecastSummary[];
|
1000 | export type Frequency = string;
|
1001 | export interface GetAccuracyMetricsRequest {
|
1002 | /**
|
1003 | * The Amazon Resource Name (ARN) of the predictor to get metrics for.
|
1004 | */
|
1005 | PredictorArn: Arn;
|
1006 | }
|
1007 | export interface GetAccuracyMetricsResponse {
|
1008 | /**
|
1009 | * An array of results from evaluating the predictor.
|
1010 | */
|
1011 | PredictorEvaluationResults?: PredictorEvaluationResults;
|
1012 | }
|
1013 | export interface HyperParameterTuningJobConfig {
|
1014 | /**
|
1015 | * Specifies the ranges of valid values for the hyperparameters.
|
1016 | */
|
1017 | ParameterRanges?: ParameterRanges;
|
1018 | }
|
1019 | export interface InputDataConfig {
|
1020 | /**
|
1021 | * The Amazon Resource Name (ARN) of the dataset group.
|
1022 | */
|
1023 | DatasetGroupArn: Arn;
|
1024 | /**
|
1025 | * An array of supplementary features. For this release, the only supported feature is a holiday calendar.
|
1026 | */
|
1027 | SupplementaryFeatures?: SupplementaryFeatures;
|
1028 | }
|
1029 | export type Integer = number;
|
1030 | export interface IntegerParameterRange {
|
1031 | /**
|
1032 | * The name of the hyperparameter to tune.
|
1033 | */
|
1034 | Name: Name;
|
1035 | /**
|
1036 | * The maximum tunable value of the hyperparameter.
|
1037 | */
|
1038 | MaxValue: Integer;
|
1039 | /**
|
1040 | * The minimum tunable value of the hyperparameter.
|
1041 | */
|
1042 | MinValue: Integer;
|
1043 | /**
|
1044 | * The scale that hyperparameter tuning uses to search the hyperparameter range. For information about choosing a hyperparameter scale, see Hyperparameter Scaling. One of the following values: Auto Amazon Forecast hyperparameter tuning chooses the best scale for the hyperparameter. Linear Hyperparameter tuning searches the values in the hyperparameter range by using a linear scale. Logarithmic Hyperparameter tuning searches the values in the hyperparameter range by using a logarithmic scale. Logarithmic scaling works only for ranges that have only values greater than 0. ReverseLogarithmic Not supported for IntegerParameterRange. Reverse logarithmic scaling works only for ranges that are entirely within the range 0 <= x < 1.0.
|
1045 | */
|
1046 | ScalingType?: ScalingType;
|
1047 | }
|
1048 | export type IntegerParameterRanges = IntegerParameterRange[];
|
1049 | export type KMSKeyArn = string;
|
1050 | export interface ListDatasetGroupsRequest {
|
1051 | /**
|
1052 | * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
|
1053 | */
|
1054 | NextToken?: NextToken;
|
1055 | /**
|
1056 | * The number of items to return in the response.
|
1057 | */
|
1058 | MaxResults?: MaxResults;
|
1059 | }
|
1060 | export interface ListDatasetGroupsResponse {
|
1061 | /**
|
1062 | * An array of objects that summarize each dataset group's properties.
|
1063 | */
|
1064 | DatasetGroups?: DatasetGroups;
|
1065 | /**
|
1066 | * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
|
1067 | */
|
1068 | NextToken?: NextToken;
|
1069 | }
|
1070 | export interface ListDatasetImportJobsRequest {
|
1071 | /**
|
1072 | * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
|
1073 | */
|
1074 | NextToken?: NextToken;
|
1075 | /**
|
1076 | * The number of items to return in the response.
|
1077 | */
|
1078 | MaxResults?: MaxResults;
|
1079 | /**
|
1080 | * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude, respectively, from the list, the predictors that match the statement. The match statement consists of a key and a value. In this release, Name is the only valid key, which filters on the DatasetImportJobName property. Condition - IS or IS_NOT Key - Name Value - the value to match For example, to list all dataset import jobs named my_dataset_import_job, you would specify: "Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_dataset_import_job" } ]
|
1081 | */
|
1082 | Filters?: Filters;
|
1083 | }
|
1084 | export interface ListDatasetImportJobsResponse {
|
1085 | /**
|
1086 | * An array of objects that summarize each dataset import job's properties.
|
1087 | */
|
1088 | DatasetImportJobs?: DatasetImportJobs;
|
1089 | /**
|
1090 | * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
|
1091 | */
|
1092 | NextToken?: NextToken;
|
1093 | }
|
1094 | export interface ListDatasetsRequest {
|
1095 | /**
|
1096 | * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
|
1097 | */
|
1098 | NextToken?: NextToken;
|
1099 | /**
|
1100 | * The number of items to return in the response.
|
1101 | */
|
1102 | MaxResults?: MaxResults;
|
1103 | }
|
1104 | export interface ListDatasetsResponse {
|
1105 | /**
|
1106 | * An array of objects that summarize each dataset's properties.
|
1107 | */
|
1108 | Datasets?: Datasets;
|
1109 | /**
|
1110 | * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
|
1111 | */
|
1112 | NextToken?: NextToken;
|
1113 | }
|
1114 | export interface ListForecastExportJobsRequest {
|
1115 | /**
|
1116 | * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
|
1117 | */
|
1118 | NextToken?: NextToken;
|
1119 | /**
|
1120 | * The number of items to return in the response.
|
1121 | */
|
1122 | MaxResults?: MaxResults;
|
1123 | /**
|
1124 | * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude, respectively, from the list, the predictors that match the statement. The match statement consists of a key and a value. In this release, Name is the only valid key, which filters on the ForecastExportJobName property. Condition - IS or IS_NOT Key - Name Value - the value to match For example, to list all forecast export jobs named my_forecast_export_job, you would specify: "Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast_export_job" } ]
|
1125 | */
|
1126 | Filters?: Filters;
|
1127 | }
|
1128 | export interface ListForecastExportJobsResponse {
|
1129 | /**
|
1130 | * An array of objects that summarize each export job's properties.
|
1131 | */
|
1132 | ForecastExportJobs?: ForecastExportJobs;
|
1133 | /**
|
1134 | * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
|
1135 | */
|
1136 | NextToken?: NextToken;
|
1137 | }
|
1138 | export interface ListForecastsRequest {
|
1139 | /**
|
1140 | * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
|
1141 | */
|
1142 | NextToken?: NextToken;
|
1143 | /**
|
1144 | * The number of items to return in the response.
|
1145 | */
|
1146 | MaxResults?: MaxResults;
|
1147 | /**
|
1148 | * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude, respectively, from the list, the predictors that match the statement. The match statement consists of a key and a value. In this release, Name is the only valid key, which filters on the ForecastName property. Condition - IS or IS_NOT Key - Name Value - the value to match For example, to list all forecasts named my_forecast, you would specify: "Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_forecast" } ]
|
1149 | */
|
1150 | Filters?: Filters;
|
1151 | }
|
1152 | export interface ListForecastsResponse {
|
1153 | /**
|
1154 | * An array of objects that summarize each forecast's properties.
|
1155 | */
|
1156 | Forecasts?: Forecasts;
|
1157 | /**
|
1158 | * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
|
1159 | */
|
1160 | NextToken?: NextToken;
|
1161 | }
|
1162 | export interface ListPredictorsRequest {
|
1163 | /**
|
1164 | * If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
|
1165 | */
|
1166 | NextToken?: NextToken;
|
1167 | /**
|
1168 | * The number of items to return in the response.
|
1169 | */
|
1170 | MaxResults?: MaxResults;
|
1171 | /**
|
1172 | * An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude, respectively, from the list, the predictors that match the statement. The match statement consists of a key and a value. In this release, Name is the only valid key, which filters on the PredictorName property. Condition - IS or IS_NOT Key - Name Value - the value to match For example, to list all predictors named my_predictor, you would specify: "Filters": [ { "Condition": "IS", "Key": "Name", "Value": "my_predictor" } ]
|
1173 | */
|
1174 | Filters?: Filters;
|
1175 | }
|
1176 | export interface ListPredictorsResponse {
|
1177 | /**
|
1178 | * An array of objects that summarize each predictor's properties.
|
1179 | */
|
1180 | Predictors?: Predictors;
|
1181 | /**
|
1182 | * If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.
|
1183 | */
|
1184 | NextToken?: NextToken;
|
1185 | }
|
1186 | export type MaxResults = number;
|
1187 | export type Message = string;
|
1188 | export interface Metrics {
|
1189 | /**
|
1190 | * The root mean square error (RMSE).
|
1191 | */
|
1192 | RMSE?: Double;
|
1193 | /**
|
1194 | * An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
|
1195 | */
|
1196 | WeightedQuantileLosses?: WeightedQuantileLosses;
|
1197 | }
|
1198 | export type Name = string;
|
1199 | export type NextToken = string;
|
1200 | export type ParameterKey = string;
|
1201 | export interface ParameterRanges {
|
1202 | /**
|
1203 | * Specifies the tunable range for each categorical hyperparameter.
|
1204 | */
|
1205 | CategoricalParameterRanges?: CategoricalParameterRanges;
|
1206 | /**
|
1207 | * Specifies the tunable range for each continuous hyperparameter.
|
1208 | */
|
1209 | ContinuousParameterRanges?: ContinuousParameterRanges;
|
1210 | /**
|
1211 | * Specifies the tunable range for each integer hyperparameter.
|
1212 | */
|
1213 | IntegerParameterRanges?: IntegerParameterRanges;
|
1214 | }
|
1215 | export type ParameterValue = string;
|
1216 | export type PredictorEvaluationResults = EvaluationResult[];
|
1217 | export interface PredictorSummary {
|
1218 | /**
|
1219 | * The ARN of the predictor.
|
1220 | */
|
1221 | PredictorArn?: Arn;
|
1222 | /**
|
1223 | * The name of the predictor.
|
1224 | */
|
1225 | PredictorName?: Name;
|
1226 | /**
|
1227 | * The Amazon Resource Name (ARN) of the dataset group that contains the data used to train the predictor.
|
1228 | */
|
1229 | DatasetGroupArn?: Arn;
|
1230 | /**
|
1231 | * The status of the predictor. States include: ACTIVE CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED UPDATE_PENDING, UPDATE_IN_PROGRESS, UPDATE_FAILED The Status of the predictor must be ACTIVE before using the predictor to create a forecast.
|
1232 | */
|
1233 | Status?: Status;
|
1234 | /**
|
1235 | * If an error occurred, an informational message about the error.
|
1236 | */
|
1237 | Message?: ErrorMessage;
|
1238 | /**
|
1239 | * When the model training task was created.
|
1240 | */
|
1241 | CreationTime?: Timestamp;
|
1242 | /**
|
1243 | * Initially, the same as CreationTime (status is CREATE_PENDING). Updated when training starts (status changed to CREATE_IN_PROGRESS), and when training is complete (status changed to ACTIVE) or fails (status changed to CREATE_FAILED).
|
1244 | */
|
1245 | LastModificationTime?: Timestamp;
|
1246 | }
|
1247 | export type Predictors = PredictorSummary[];
|
1248 | export interface S3Config {
|
1249 | /**
|
1250 | * The path to an Amazon Simple Storage Service (Amazon S3) bucket or file(s) in an Amazon S3 bucket.
|
1251 | */
|
1252 | Path: S3Path;
|
1253 | /**
|
1254 | * The ARN of the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket or file(s). Cross-account pass role is not allowed. If you pass a role that doesn't belong to your account, an InvalidInputException is thrown.
|
1255 | */
|
1256 | RoleArn: Arn;
|
1257 | /**
|
1258 | * The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key.
|
1259 | */
|
1260 | KMSKeyArn?: KMSKeyArn;
|
1261 | }
|
1262 | export type S3Path = string;
|
1263 | export type ScalingType = "Auto"|"Linear"|"Logarithmic"|"ReverseLogarithmic"|string;
|
1264 | export interface Schema {
|
1265 | /**
|
1266 | * An array of attributes specifying the name and type of each field in a dataset.
|
1267 | */
|
1268 | Attributes?: SchemaAttributes;
|
1269 | }
|
1270 | export interface SchemaAttribute {
|
1271 | /**
|
1272 | * The name of the dataset field.
|
1273 | */
|
1274 | AttributeName?: Name;
|
1275 | /**
|
1276 | * The data type of the field.
|
1277 | */
|
1278 | AttributeType?: AttributeType;
|
1279 | }
|
1280 | export type SchemaAttributes = SchemaAttribute[];
|
1281 | export interface Statistics {
|
1282 | /**
|
1283 | * The number of values in the field.
|
1284 | */
|
1285 | Count?: Integer;
|
1286 | /**
|
1287 | * The number of distinct values in the field.
|
1288 | */
|
1289 | CountDistinct?: Integer;
|
1290 | /**
|
1291 | * The number of null values in the field.
|
1292 | */
|
1293 | CountNull?: Integer;
|
1294 | /**
|
1295 | * The number of NAN (not a number) values in the field.
|
1296 | */
|
1297 | CountNan?: Integer;
|
1298 | /**
|
1299 | * For a numeric field, the minimum value in the field.
|
1300 | */
|
1301 | Min?: String;
|
1302 | /**
|
1303 | * For a numeric field, the maximum value in the field.
|
1304 | */
|
1305 | Max?: String;
|
1306 | /**
|
1307 | * For a numeric field, the average value in the field.
|
1308 | */
|
1309 | Avg?: Double;
|
1310 | /**
|
1311 | * For a numeric field, the standard deviation.
|
1312 | */
|
1313 | Stddev?: Double;
|
1314 | }
|
1315 | export type Status = string;
|
1316 | export type String = string;
|
1317 | export interface SupplementaryFeature {
|
1318 | /**
|
1319 | * The name of the feature. This must be "holiday".
|
1320 | */
|
1321 | Name: Name;
|
1322 | /**
|
1323 | * One of the following 2 letter country codes: "AU" - AUSTRALIA "DE" - GERMANY "JP" - JAPAN "US" - UNITED_STATES "UK" - UNITED_KINGDOM
|
1324 | */
|
1325 | Value: Value;
|
1326 | }
|
1327 | export type SupplementaryFeatures = SupplementaryFeature[];
|
1328 | export type TestWindows = WindowSummary[];
|
1329 | export type Timestamp = Date;
|
1330 | export type TimestampFormat = string;
|
1331 | export type TrainingParameters = {[key: string]: ParameterValue};
|
1332 | export interface UpdateDatasetGroupRequest {
|
1333 | /**
|
1334 | * The ARN of the dataset group.
|
1335 | */
|
1336 | DatasetGroupArn: Arn;
|
1337 | /**
|
1338 | * An array of Amazon Resource Names (ARNs) of the datasets to add to the dataset group.
|
1339 | */
|
1340 | DatasetArns: ArnList;
|
1341 | }
|
1342 | export interface UpdateDatasetGroupResponse {
|
1343 | }
|
1344 | export type Value = string;
|
1345 | export type Values = Value[];
|
1346 | export interface WeightedQuantileLoss {
|
1347 | /**
|
1348 | * The quantile. Quantiles divide a probability distribution into regions of equal probability. For example, if the distribution was divided into 5 regions of equal probability, the quantiles would be 0.2, 0.4, 0.6, and 0.8.
|
1349 | */
|
1350 | Quantile?: Double;
|
1351 | /**
|
1352 | * The difference between the predicted value and actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.
|
1353 | */
|
1354 | LossValue?: Double;
|
1355 | }
|
1356 | export type WeightedQuantileLosses = WeightedQuantileLoss[];
|
1357 | export interface WindowSummary {
|
1358 | /**
|
1359 | * The timestamp that defines the start of the window.
|
1360 | */
|
1361 | TestWindowStart?: Timestamp;
|
1362 | /**
|
1363 | * The timestamp that defines the end of the window.
|
1364 | */
|
1365 | TestWindowEnd?: Timestamp;
|
1366 | /**
|
1367 | * The number of data points within the window.
|
1368 | */
|
1369 | ItemCount?: Integer;
|
1370 | /**
|
1371 | * The type of evaluation. SUMMARY - The average metrics across all windows. COMPUTED - The metrics for the specified window.
|
1372 | */
|
1373 | EvaluationType?: EvaluationType;
|
1374 | Metrics?: Metrics;
|
1375 | }
|
1376 | /**
|
1377 | * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1378 | */
|
1379 | export type apiVersion = "2018-06-26"|"latest"|string;
|
1380 | export interface ClientApiVersions {
|
1381 | /**
|
1382 | * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1383 | */
|
1384 | apiVersion?: apiVersion;
|
1385 | }
|
1386 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1387 | /**
|
1388 | * Contains interfaces for use with the ForecastService client.
|
1389 | */
|
1390 | export import Types = ForecastService;
|
1391 | }
|
1392 | export = ForecastService;
|