| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Forecast.DescribeForecast
Description
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.
Synopsis
- data DescribeForecast = DescribeForecast' {
- forecastArn :: Text
- newDescribeForecast :: Text -> DescribeForecast
- describeForecast_forecastArn :: Lens' DescribeForecast Text
- data DescribeForecastResponse = DescribeForecastResponse' {
- creationTime :: Maybe POSIX
- status :: Maybe Text
- predictorArn :: Maybe Text
- forecastArn :: Maybe Text
- estimatedTimeRemainingInMinutes :: Maybe Integer
- forecastName :: Maybe Text
- forecastTypes :: Maybe (NonEmpty Text)
- datasetGroupArn :: Maybe Text
- message :: Maybe Text
- lastModificationTime :: Maybe POSIX
- httpStatus :: Int
- newDescribeForecastResponse :: Int -> DescribeForecastResponse
- describeForecastResponse_creationTime :: Lens' DescribeForecastResponse (Maybe UTCTime)
- describeForecastResponse_status :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_predictorArn :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_forecastArn :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeForecastResponse (Maybe Integer)
- describeForecastResponse_forecastName :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_forecastTypes :: Lens' DescribeForecastResponse (Maybe (NonEmpty Text))
- describeForecastResponse_datasetGroupArn :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_message :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_lastModificationTime :: Lens' DescribeForecastResponse (Maybe UTCTime)
- describeForecastResponse_httpStatus :: Lens' DescribeForecastResponse Int
Creating a Request
data DescribeForecast Source #
See: newDescribeForecast smart constructor.
Constructors
| DescribeForecast' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeForecast |
Create a value of DescribeForecast with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:forecastArn:DescribeForecast', describeForecast_forecastArn - The Amazon Resource Name (ARN) of the forecast.
Request Lenses
describeForecast_forecastArn :: Lens' DescribeForecast Text Source #
The Amazon Resource Name (ARN) of the forecast.
Destructuring the Response
data DescribeForecastResponse Source #
See: newDescribeForecastResponse smart constructor.
Constructors
| DescribeForecastResponse' | |
Fields
| |
Instances
newDescribeForecastResponse Source #
Create a value of DescribeForecastResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:DescribeForecastResponse', describeForecastResponse_creationTime - When the forecast creation task was created.
$sel:status:DescribeForecastResponse', describeForecastResponse_status - The status of the forecast. States include:
ACTIVE
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILEDCREATE_STOPPING,CREATE_STOPPEDDELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED
The Status of the forecast must be ACTIVE before you can query or
export the forecast.
$sel:predictorArn:DescribeForecastResponse', describeForecastResponse_predictorArn - The ARN of the predictor used to generate the forecast.
$sel:forecastArn:DescribeForecast', describeForecastResponse_forecastArn - The forecast ARN as specified in the request.
$sel:estimatedTimeRemainingInMinutes:DescribeForecastResponse', describeForecastResponse_estimatedTimeRemainingInMinutes - The estimated time remaining in minutes for the forecast job to
complete.
$sel:forecastName:DescribeForecastResponse', describeForecastResponse_forecastName - The name of the forecast.
$sel:forecastTypes:DescribeForecastResponse', describeForecastResponse_forecastTypes - The quantiles at which probabilistic forecasts were generated.
$sel:datasetGroupArn:DescribeForecastResponse', describeForecastResponse_datasetGroupArn - The ARN of the dataset group that provided the data used to train the
predictor.
$sel:message:DescribeForecastResponse', describeForecastResponse_message - If an error occurred, an informational message about the error.
$sel:lastModificationTime:DescribeForecastResponse', describeForecastResponse_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.ACTIVEorCREATE_FAILED- When the job finished or failed.
$sel:httpStatus:DescribeForecastResponse', describeForecastResponse_httpStatus - The response's http status code.
Response Lenses
describeForecastResponse_creationTime :: Lens' DescribeForecastResponse (Maybe UTCTime) Source #
When the forecast creation task was created.
describeForecastResponse_status :: Lens' DescribeForecastResponse (Maybe Text) Source #
The status of the forecast. States include:
ACTIVE
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILEDCREATE_STOPPING,CREATE_STOPPEDDELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED
The Status of the forecast must be ACTIVE before you can query or
export the forecast.
describeForecastResponse_predictorArn :: Lens' DescribeForecastResponse (Maybe Text) Source #
The ARN of the predictor used to generate the forecast.
describeForecastResponse_forecastArn :: Lens' DescribeForecastResponse (Maybe Text) Source #
The forecast ARN as specified in the request.
describeForecastResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeForecastResponse (Maybe Integer) Source #
The estimated time remaining in minutes for the forecast job to complete.
describeForecastResponse_forecastName :: Lens' DescribeForecastResponse (Maybe Text) Source #
The name of the forecast.
describeForecastResponse_forecastTypes :: Lens' DescribeForecastResponse (Maybe (NonEmpty Text)) Source #
The quantiles at which probabilistic forecasts were generated.
describeForecastResponse_datasetGroupArn :: Lens' DescribeForecastResponse (Maybe Text) Source #
The ARN of the dataset group that provided the data used to train the predictor.
describeForecastResponse_message :: Lens' DescribeForecastResponse (Maybe Text) Source #
If an error occurred, an informational message about the error.
describeForecastResponse_lastModificationTime :: Lens' DescribeForecastResponse (Maybe UTCTime) Source #
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.ACTIVEorCREATE_FAILED- When the job finished or failed.
describeForecastResponse_httpStatus :: Lens' DescribeForecastResponse Int Source #
The response's http status code.