| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- datasetGroupArn :: Maybe Text
- estimatedTimeRemainingInMinutes :: Maybe Integer
- forecastArn :: Maybe Text
- forecastName :: Maybe Text
- forecastTypes :: Maybe (NonEmpty Text)
- lastModificationTime :: Maybe POSIX
- message :: Maybe Text
- predictorArn :: Maybe Text
- status :: Maybe Text
- timeSeriesSelector :: Maybe TimeSeriesSelector
- httpStatus :: Int
- newDescribeForecastResponse :: Int -> DescribeForecastResponse
- describeForecastResponse_creationTime :: Lens' DescribeForecastResponse (Maybe UTCTime)
- describeForecastResponse_datasetGroupArn :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeForecastResponse (Maybe Integer)
- describeForecastResponse_forecastArn :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_forecastName :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_forecastTypes :: Lens' DescribeForecastResponse (Maybe (NonEmpty Text))
- describeForecastResponse_lastModificationTime :: Lens' DescribeForecastResponse (Maybe UTCTime)
- describeForecastResponse_message :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_predictorArn :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_status :: Lens' DescribeForecastResponse (Maybe Text)
- describeForecastResponse_timeSeriesSelector :: Lens' DescribeForecastResponse (Maybe TimeSeriesSelector)
- 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:
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:
DescribeForecastResponse, describeForecastResponse_creationTime - When the forecast creation task was created.
DescribeForecastResponse, describeForecastResponse_datasetGroupArn - The ARN of the dataset group that provided the data used to train the
predictor.
$sel:estimatedTimeRemainingInMinutes:DescribeForecastResponse', describeForecastResponse_estimatedTimeRemainingInMinutes - The estimated time remaining in minutes for the forecast job to
complete.
DescribeForecast, describeForecastResponse_forecastArn - The forecast ARN as specified in the request.
DescribeForecastResponse, describeForecastResponse_forecastName - The name of the forecast.
$sel:forecastTypes:DescribeForecastResponse', describeForecastResponse_forecastTypes - The quantiles at which probabilistic forecasts were generated.
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.
DescribeForecastResponse, describeForecastResponse_message - If an error occurred, an informational message about the error.
DescribeForecastResponse, describeForecastResponse_predictorArn - The ARN of the predictor used to generate the forecast.
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:timeSeriesSelector:DescribeForecastResponse', describeForecastResponse_timeSeriesSelector - The time series to include in the forecast.
$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_datasetGroupArn :: Lens' DescribeForecastResponse (Maybe Text) Source #
The ARN of the dataset group that provided the data used to train the predictor.
describeForecastResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeForecastResponse (Maybe Integer) Source #
The estimated time remaining in minutes for the forecast job to complete.
describeForecastResponse_forecastArn :: Lens' DescribeForecastResponse (Maybe Text) Source #
The forecast ARN as specified in the request.
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_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_message :: Lens' DescribeForecastResponse (Maybe Text) Source #
If an error occurred, an informational message about the error.
describeForecastResponse_predictorArn :: Lens' DescribeForecastResponse (Maybe Text) Source #
The ARN of the predictor used to generate the forecast.
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_timeSeriesSelector :: Lens' DescribeForecastResponse (Maybe TimeSeriesSelector) Source #
The time series to include in the forecast.
describeForecastResponse_httpStatus :: Lens' DescribeForecastResponse Int Source #
The response's http status code.