{ "uuid": "332c0ed6-9cea-41cf-8be8-86bd14b5f7de", "lastMigration": 29, "name": "Amazon Forecast Service", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "36a17655-c4b3-49ad-9c9d-d6798ddea455", "documentation": "
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.
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 in the dataset, including the field name and data type.
After creating a dataset, you import your training data into it and add the dataset to a dataset group. You 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.
For example Forecast datasets, see the Amazon Forecast Sample GitHub repository.
The Status
of a dataset must be ACTIVE
before you can import training data. Use the DescribeDataset operation to get the status.
Creates a dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or later by using 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 use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.
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, as Amazon Forecast makes a copy of your data and processes it in an internal AWS system. For more information, see aws-forecast-iam-roles.
The training data must be in CSV format. The delimiter must be a comma (,).
You can specify the path to a specific CSV file, the S3 bucket, or to a folder in the S3 bucket. For the latter two cases, Amazon Forecast imports all files up to the limit of 10,000 files.
Because dataset imports are not aggregated, your most recent dataset import is the one that is used when training a predictor or generating a forecast. Make sure that your most recent dataset import contains all of the data you want to model off of, and not just the new data collected since the previous import.
To get a list of all your dataset import jobs, filtered by specified criteria, use the ListDatasetImportJobs operation.
", "method": "post", "endpoint": "#X-Amz-Target=AmazonForecast.CreateDatasetImportJob", "responses": [ { "uuid": "5895394c-423d-4647-89ff-d3e0d5cf316b", "body": "{\n \"DatasetImportJobArn\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7f1c67bf-0f4d-43f4-8877-b7e520c97c40", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4d96076d-2dd8-4335-98f5-11a092104b7e", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "ResourceAlreadyExistsException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e862de54-c103-45f2-9b72-752eac9c48ed", "body": "\"\"", "latency": 0, "statusCode": 482, "label": "ResourceNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "88a28504-78a6-4a88-82cb-b29affe09dbf", "body": "\"\"", "latency": 0, "statusCode": 483, "label": "ResourceInUseException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0390bb8a-f596-4411-b311-0661559e8dd5", "body": "\"\"", "latency": 0, "statusCode": 484, "label": "LimitExceededException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "15c0647d-ce01-4437-ba9c-c575ea26760a", "documentation": "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) bucket, use the CreateForecastExportJob operation.
The range of the forecast is determined by the ForecastHorizon
value, which you specify in the CreatePredictor request. When you query a forecast, you can request a specific date range within the forecast.
To get a list of all your forecasts, use the ListForecasts operation.
The forecasts generated by Amazon Forecast are in the same time zone 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.
Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket. The forecast file name will match the following conventions:
<ForecastExportJobName>_<ExportTimestamp>_<PartNumber>
where the <ExportTimestamp> component is in Java SimpleDateFormat (yyyy-MM-ddTHH-mm-ssZ).
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. To get the status, use the DescribeForecastExportJob operation.
Creates an Amazon Forecast predictor.
In the request, provide a dataset group and either specify an algorithm or let Amazon Forecast choose an algorithm for you using AutoML. If you specify an algorithm, you also can override algorithm-specific hyperparameters.
Amazon Forecast uses the algorithm to train a predictor using the latest version of the datasets in the specified dataset group. You can then generate a forecast using the CreateForecast operation.
To see the evaluation metrics, use the GetAccuracyMetrics operation.
You can specify a featurization configuration to fill and aggregate the data fields in the TARGET_TIME_SERIES
dataset to improve model training. For more information, see FeaturizationConfig.
For RELATED_TIME_SERIES datasets, CreatePredictor
verifies that the DataFrequency
specified when the dataset was created matches the ForecastFrequency
. TARGET_TIME_SERIES datasets don't have this restriction. Amazon Forecast also verifies the delimiter and timestamp format. For more information, see howitworks-datasets-groups.
By default, predictors are trained and evaluated at the 0.1 (P10), 0.5 (P50), and 0.9 (P90) quantiles. You can choose custom forecast types to train and evaluate your predictor by setting the ForecastTypes
.
AutoML
If you want Amazon Forecast to evaluate each algorithm and choose the one that minimizes the objective function
, set PerformAutoML
to true
. The objective function
is defined as the mean of the weighted losses over the forecast types. By default, these are the 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 of your predictors, use the ListPredictors operation.
Before you can use the predictor to create a forecast, the Status
of the predictor must be ACTIVE
, signifying that training has completed. To get the status, use the DescribePredictor operation.
Exports backtest forecasts and accuracy metrics generated by the CreatePredictor operation. Two folders containing CSV files are exported to your specified S3 bucket.
The export file names will match the following conventions:
<ExportJobName>_<ExportTimestamp>_<PartNumber>.csv
The <ExportTimestamp> component is in Java SimpleDate format (yyyy-MM-ddTHH-mm-ssZ).
You must specify a DataDestination object that includes an Amazon S3 bucket and 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.
The Status
of the export job must be ACTIVE
before you can access the export in your Amazon S3 bucket. To get the status, use the DescribePredictorBacktestExportJob operation.
Deletes an Amazon Forecast dataset that was created using the CreateDataset operation. You can only delete datasets that have a status of ACTIVE
or CREATE_FAILED
. To get the status use the DescribeDataset operation.
Forecast does not automatically update any dataset groups that contain the deleted dataset. In order to update the dataset group, use the operation, omitting the deleted dataset's ARN.
Deletes a dataset group created using the CreateDatasetGroup operation. You can only delete dataset groups that have a status of ACTIVE
, CREATE_FAILED
, or UPDATE_FAILED
. To get the status, use the DescribeDatasetGroup operation.
This operation deletes only the dataset group, not the datasets in the group.
", "method": "post", "endpoint": "#X-Amz-Target=AmazonForecast.DeleteDatasetGroup", "responses": [ { "uuid": "3fd6685a-1cd7-4ec2-a1fb-dfda2d0be37a", "body": "", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ed25bb34-1d05-4a1b-9c79-b44cca80804a", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "341a6b3e-928c-434a-8ea4-0184d54b700f", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "ResourceNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "15e34524-22ac-4148-95fa-6cc0aaabc2ef", "body": "\"\"", "latency": 0, "statusCode": 482, "label": "ResourceInUseException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a14d28c5-7ec2-4027-b7ec-123b18ffe413", "documentation": "Deletes a dataset import job created using the CreateDatasetImportJob operation. You can delete only dataset import jobs that have a status ofACTIVE
or CREATE_FAILED
. To get the status, use the DescribeDatasetImportJob operation.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonForecast.DeleteDatasetImportJob",
"responses": [
{
"uuid": "07d8987a-353f-4323-ad12-eacb104e89de",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "69ec112e-b139-4d55-8faa-ba47df9e1c26",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "InvalidInputException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "c141be86-417b-41ae-b315-680fd7b74bdd",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "ResourceNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "33a6d997-40ab-452c-898f-d4f5e284a140",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "ResourceInUseException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "2662765f-16d9-4e23-a9aa-2b3526f3d94b",
"documentation": "Deletes a forecast created using the CreateForecast operation. You can delete only forecasts that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the DescribeForecast operation.
You can't delete a forecast while it is being exported. After a forecast is deleted, you can no longer query the forecast.
", "method": "post", "endpoint": "#X-Amz-Target=AmazonForecast.DeleteForecast", "responses": [ { "uuid": "aa85322c-ef67-4c22-9133-d047b568e8f5", "body": "", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3def430d-68ee-422d-b864-3c3bfbacc3d6", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "15ccec73-7998-42dc-b33c-1cec5e0a52bb", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "ResourceNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f213a2ed-74a1-4fe5-a005-986e20c228e8", "body": "\"\"", "latency": 0, "statusCode": 482, "label": "ResourceInUseException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a231f5ff-21c8-4ded-b0ef-a5ec55dc1613", "documentation": "Deletes a forecast export job created using the CreateForecastExportJob operation. You can delete only export jobs that have a status ofACTIVE
or CREATE_FAILED
. To get the status, use the DescribeForecastExportJob operation.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonForecast.DeleteForecastExportJob",
"responses": [
{
"uuid": "72583a8f-58d2-4723-bfd6-7ff0a67b9714",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "3ed79028-be19-499c-bbac-9f03dfb2c303",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "InvalidInputException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "bc34f0bd-b9ea-42d4-8dde-17b29f1816b3",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "ResourceNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "cb9daccf-05af-471a-98fd-7e13e0d76a3e",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "ResourceInUseException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "e4faf234-ceec-41d8-9a81-6e7ea17efc63",
"documentation": "Deletes a predictor created using the CreatePredictor operation. You can delete only predictor that have a status of ACTIVE
or CREATE_FAILED
. To get the status, use the DescribePredictor operation.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonForecast.DeletePredictor",
"responses": [
{
"uuid": "8debaf95-efc6-420a-8192-0cfc78a0f819",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "6627569d-5afa-4f6c-90bc-5d00ba5a64ec",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "InvalidInputException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "cf5c669b-3102-4480-a56e-953ba035654c",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "ResourceNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "6eb17a15-6967-4581-9f31-1c8943ce6a08",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "ResourceInUseException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "bd1e60dc-c826-41a1-89a9-023a13c968e7",
"documentation": "Deletes a predictor backtest export job.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonForecast.DeletePredictorBacktestExportJob",
"responses": [
{
"uuid": "33cda46c-bd9d-48a7-abb9-9668a26c789a",
"body": "",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "f75da8b9-3afa-4410-8fc6-a9d331ecc636",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "InvalidInputException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "9a88de30-495b-4105-8a3d-6e5c232654bb",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "ResourceNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "860ebf98-0c1f-4812-aa5f-ea69af0f28a0",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "ResourceInUseException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "151ae3a8-01c7-4f6e-89d8-a6a7ed13070f",
"documentation": "Deletes an entire resource tree. This operation will delete the parent resource and its child resources.
Child resources are resources that were created from another resource. For example, when a forecast is generated from a predictor, the forecast is the child resource and the predictor is the parent resource.
Amazon Forecast resources possess the following parent-child resource hierarchies:
Dataset: dataset import jobs
Dataset Group: predictors, predictor backtest export jobs, forecasts, forecast export jobs
Predictor: predictor backtest export jobs, forecasts, forecast export jobs
Forecast: forecast export jobs
DeleteResourceTree
will only delete Amazon Forecast resources, and will not delete datasets or exported files stored in Amazon S3.
Describes an Amazon Forecast dataset created using the CreateDataset operation.
In addition to listing the parameters specified in the CreateDataset
request, this operation includes the following dataset properties:
CreationTime
LastModificationTime
Status
Describes a dataset group created using the CreateDatasetGroup operation.
In addition to listing the parameters provided in the CreateDatasetGroup
request, this operation includes the following properties:
DatasetArns
- The datasets belonging to the group.
CreationTime
LastModificationTime
Status
Describes a dataset import job created using the CreateDatasetImportJob operation.
In addition to listing the parameters provided in the CreateDatasetImportJob
request, this operation includes the following properties:
CreationTime
LastModificationTime
DataSize
FieldStatistics
Status
Message
- If an error occurred, information about the error.
Describes a forecast created using the CreateForecast operation.
In addition to listing the properties provided in the CreateForecast
request, this operation lists the following properties:
DatasetGroupArn
- The dataset group that provided the training data.
CreationTime
LastModificationTime
Status
Message
- If an error occurred, information about the error.
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 lists the following properties:
CreationTime
LastModificationTime
Status
Message
- If an error occurred, information about the error.
Describes a predictor created using the CreatePredictor operation.
In addition to listing the properties provided in the CreatePredictor
request, this operation lists the following properties:
DatasetImportJobArns
- The dataset import jobs used to import training data.
AutoMLAlgorithmArns
- If AutoML is performed, the algorithms that were evaluated.
CreationTime
LastModificationTime
Status
Message
- If an error occurred, information about the error.
Describes a predictor backtest export job created using the CreatePredictorBacktestExportJob operation.
In addition to listing the properties provided by the user in the CreatePredictorBacktestExportJob
request, this operation lists the following properties:
CreationTime
LastModificationTime
Status
Message
(if an error occurred)
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. For more information, see Predictor Metrics.
This operation generates metrics for each backtest window that was evaluated. The number of backtest windows (NumberOfBacktestWindows
) is specified using the EvaluationParameters object, which is optionally included in the CreatePredictor
request. If NumberOfBacktestWindows
isn't specified, the number defaults to one.
The parameters of the filling
method determine which items contribute to the metrics. If you want all items to contribute, specify zero
. If you want only those items that have complete data in the range being evaluated to contribute, specify nan
. For more information, see FeaturizationMethod.
Before you can get accuracy metrics, the Status
of the predictor must be ACTIVE
, signifying that training has completed. To get the status, use the DescribePredictor operation.
Returns a list of predictor backtest export jobs created using the CreatePredictorBacktestExportJob operation. This operation returns a summary for each backtest export job. You can filter the list using an array of Filter objects.
To retrieve the complete set of properties for a particular backtest export job, use the ARN with the DescribePredictorBacktestExportJob operation.
", "method": "post", "endpoint": "#X-Amz-Target=AmazonForecast.ListPredictorBacktestExportJobs", "responses": [ { "uuid": "c9e99fc9-9295-4c35-a703-4d1c3a505a68", "body": "{\n \"PredictorBacktestExportJobs\": [\n {\n \"PredictorBacktestExportJobArn\": \"\",\n \"PredictorBacktestExportJobName\": \"\",\n \"Destination\": {\n \"S3Config\": {\n \"Path\": \"\",\n \"RoleArn\": \"\",\n \"KMSKeyArn\": \"\"\n }\n },\n \"Status\": \"\",\n \"Message\": \"\",\n \"CreationTime\": \"{{faker 'date.recent' 365}}\",\n \"LastModificationTime\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"NextToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cf0367ed-d2b3-49a6-b3b8-9eac78c0e89d", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidNextTokenException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "02057e9c-2003-4ff1-87e2-f23a0e5700ac", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ecb1c40f-fbae-410c-8401-39fe649eb0e9", "documentation": "Returns a list of predictors created using the CreatePredictor operation. For each predictor, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). You can retrieve the complete set of properties by using the ARN with the DescribePredictor operation. You can filter the list using an array of Filter objects.", "method": "post", "endpoint": "#X-Amz-Target=AmazonForecast.ListPredictors", "responses": [ { "uuid": "fb16bfb7-05f4-4ea8-8ec6-0832b7ac9064", "body": "{\n \"Predictors\": [\n {\n \"PredictorArn\": \"\",\n \"PredictorName\": \"\",\n \"DatasetGroupArn\": \"\",\n \"Status\": \"\",\n \"Message\": \"\",\n \"CreationTime\": \"{{faker 'date.recent' 365}}\",\n \"LastModificationTime\": \"{{faker 'date.recent' 365}}\"\n }\n ],\n \"NextToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9a1a7282-f394-4632-92ab-c2ec86fdecb8", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidNextTokenException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a0cf7160-0fc9-4907-97a5-1053efc8e8d6", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "34dbde15-d096-4abd-ba27-e9fa4c51fe4a", "documentation": "Lists the tags for an Amazon Forecast resource.", "method": "post", "endpoint": "#X-Amz-Target=AmazonForecast.ListTagsForResource", "responses": [ { "uuid": "6a01063a-9032-4918-a6ec-3f417c939175", "body": "{\n \"Tags\": [\n {\n \"Key\": \"\",\n \"Value\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8576b711-c359-477e-824e-e8dad78e70e4", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "ResourceNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2ff1143c-d57f-4ee0-b615-f7bbcf0a8246", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7fe4436c-0d7c-4e33-955b-5c5da066abdd", "documentation": "Stops a resource.
The resource undergoes the following states: CREATE_STOPPING
and CREATE_STOPPED
. You cannot resume a resource once it has been stopped.
This operation can be applied to the following resources (and their corresponding child resources):
Dataset Import Job
Predictor Job
Forecast Job
Forecast Export Job
Predictor Backtest Export Job
resourceArn
. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonForecast.TagResource",
"responses": [
{
"uuid": "cd515c35-473d-4cf5-9563-1030fce5e705",
"body": "{}",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "9b474579-b2e3-40df-b863-c18aabe1c23b",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "ResourceNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "0c169215-abfe-4c9d-b1ff-5a9e7e1eda76",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "LimitExceededException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "fdca15f3-a4e6-4b3a-b245-ff6732ed7399",
"body": "\"\"",
"latency": 0,
"statusCode": 482,
"label": "InvalidInputException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "5fb5afe0-2068-4aa6-b239-e6331b829068",
"documentation": "Deletes the specified tags from a resource.",
"method": "post",
"endpoint": "#X-Amz-Target=AmazonForecast.UntagResource",
"responses": [
{
"uuid": "2bf01afe-514a-4dc4-82bf-68a2b8d2e926",
"body": "{}",
"latency": 0,
"statusCode": 200,
"label": "Success",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": true,
"crudKey": "id"
},
{
"uuid": "192656f2-097e-444b-b66d-8cee19c7366b",
"body": "\"\"",
"latency": 0,
"statusCode": 480,
"label": "ResourceNotFoundException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
},
{
"uuid": "969271fc-2334-478a-82db-fad37e547795",
"body": "\"\"",
"latency": 0,
"statusCode": 481,
"label": "InvalidInputException",
"headers": [{ "key": "Content-Type", "value": "application/json" }],
"bodyType": "INLINE",
"filePath": "",
"databucketID": "",
"sendFileAsBody": false,
"rules": [],
"rulesOperator": "OR",
"disableTemplating": false,
"fallbackTo404": false,
"default": false,
"crudKey": "id"
}
],
"enabled": true,
"responseMode": null,
"type": "http"
},
{
"uuid": "a2399e0c-2b31-4a15-8153-3e64289c5d1e",
"documentation": "Replaces the datasets in a dataset group with the specified datasets.
The Status
of the dataset group must be ACTIVE
before you can use the dataset group to create a predictor. Use the DescribeDatasetGroup operation to get the status.