Amazon Forecast is no longer available to new customers. Existing customers of
Amazon Forecast can continue to use the service as normal.
Learn more"
DescribeAutoPredictor
Describes a predictor created using the CreateAutoPredictor operation.
Important
Amazon Forecast is no longer available to new customers. Existing customers of
Amazon Forecast can continue to use the service as normal.
Learn more"
Request Syntax
{
"PredictorArn": "string
"
}
Request Parameters
The request accepts the following data in JSON format.
- PredictorArn
-
The Amazon Resource Name (ARN) of the predictor.
Type: String
Length Constraints: Maximum length of 256.
Pattern:
arn:([a-z\d-]+):forecast:.*:.*:.+
Required: Yes
Response Syntax
{
"CreationTime": number,
"DataConfig": {
"AdditionalDatasets": [
{
"Configuration": {
"string" : [ "string" ]
},
"Name": "string"
}
],
"AttributeConfigs": [
{
"AttributeName": "string",
"Transformations": {
"string" : "string"
}
}
],
"DatasetGroupArn": "string"
},
"DatasetImportJobArns": [ "string" ],
"EncryptionConfig": {
"KMSKeyArn": "string",
"RoleArn": "string"
},
"EstimatedTimeRemainingInMinutes": number,
"ExplainabilityInfo": {
"ExplainabilityArn": "string",
"Status": "string"
},
"ForecastDimensions": [ "string" ],
"ForecastFrequency": "string",
"ForecastHorizon": number,
"ForecastTypes": [ "string" ],
"LastModificationTime": number,
"Message": "string",
"MonitorInfo": {
"MonitorArn": "string",
"Status": "string"
},
"OptimizationMetric": "string",
"PredictorArn": "string",
"PredictorName": "string",
"ReferencePredictorSummary": {
"Arn": "string",
"State": "string"
},
"Status": "string",
"TimeAlignmentBoundary": {
"DayOfMonth": number,
"DayOfWeek": "string",
"Hour": number,
"Month": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- CreationTime
-
The timestamp of the CreateAutoPredictor request.
Type: Timestamp
- DataConfig
-
The data configuration for your dataset group and any additional datasets.
Type: DataConfig object
- DatasetImportJobArns
-
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
Type: Array of strings
Length Constraints: Maximum length of 256.
Pattern:
arn:([a-z\d-]+):forecast:.*:.*:.+
- EncryptionConfig
-
An AWS Key Management Service (KMS) key and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key. You can specify this optional object in the CreateDataset and CreatePredictor requests.
Type: EncryptionConfig object
- EstimatedTimeRemainingInMinutes
-
The estimated time remaining in minutes for the predictor training job to complete.
Type: Long
- ExplainabilityInfo
-
Provides the status and ARN of the Predictor Explainability.
Type: ExplainabilityInfo object
- ForecastDimensions
-
An array of dimension (field) names that specify the attributes used to group your time series.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*
- ForecastFrequency
-
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 5.
Pattern:
^Y|M|W|D|H|30min|15min|10min|5min|1min$
- ForecastHorizon
-
The number of time-steps that the model predicts. The forecast horizon is also called the prediction length.
Type: Integer
- ForecastTypes
-
The forecast types used during predictor training. Default value is ["0.1","0.5","0.9"].
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 20 items.
Length Constraints: Minimum length of 2. Maximum length of 4.
Pattern:
(^0?\.\d\d?$|^mean$)
- LastModificationTime
-
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING
- TheCreationTime
. -
CREATE_IN_PROGRESS
- The current timestamp. -
CREATE_STOPPING
- The current timestamp. -
CREATE_STOPPED
- When the job stopped. -
ACTIVE
orCREATE_FAILED
- When the job finished or failed.
Type: Timestamp
-
- Message
-
In the event of an error, a message detailing the cause of the error.
Type: String
- MonitorInfo
-
A MonitorInfo object with the Amazon Resource Name (ARN) and status of the monitor resource.
Type: MonitorInfo object
- OptimizationMetric
-
The accuracy metric used to optimize the predictor.
Type: String
Valid Values:
WAPE | RMSE | AverageWeightedQuantileLoss | MASE | MAPE
- PredictorArn
-
The Amazon Resource Name (ARN) of the predictor
Type: String
Length Constraints: Maximum length of 256.
Pattern:
arn:([a-z\d-]+):forecast:.*:.*:.+
- PredictorName
-
The name of the predictor.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*
- ReferencePredictorSummary
-
The ARN and state of the reference predictor. This parameter is only valid for retrained or upgraded predictors.
Type: ReferencePredictorSummary object
- Status
-
The status of the predictor. States include:
-
ACTIVE
-
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
-
CREATE_STOPPING
,CREATE_STOPPED
-
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
Type: String
Length Constraints: Maximum length of 256.
-
- TimeAlignmentBoundary
-
The time boundary Forecast uses when aggregating data.
Type: TimeAlignmentBoundary object
Errors
- InvalidInputException
-
We can't process the request because it includes an invalid value or a value that exceeds the valid range.
HTTP Status Code: 400
- ResourceNotFoundException
-
We can't find a resource with that Amazon Resource Name (ARN). Check the ARN and try again.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: