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 |
Describes the what-if forecast created using the CreateWhatIfForecast operation.
In addition to listing the properties provided in the
CreateWhatIfForecast
request, this operation lists the following
properties:
CreationTime
LastModificationTime
Message
- If an error occurred, information about the error.Status
Synopsis
- data DescribeWhatIfForecast = DescribeWhatIfForecast' {}
- newDescribeWhatIfForecast :: Text -> DescribeWhatIfForecast
- describeWhatIfForecast_whatIfForecastArn :: Lens' DescribeWhatIfForecast Text
- data DescribeWhatIfForecastResponse = DescribeWhatIfForecastResponse' {
- creationTime :: Maybe POSIX
- estimatedTimeRemainingInMinutes :: Maybe Integer
- forecastTypes :: Maybe (NonEmpty Text)
- lastModificationTime :: Maybe POSIX
- message :: Maybe Text
- status :: Maybe Text
- timeSeriesReplacementsDataSource :: Maybe TimeSeriesReplacementsDataSource
- timeSeriesTransformations :: Maybe [TimeSeriesTransformation]
- whatIfAnalysisArn :: Maybe Text
- whatIfForecastArn :: Maybe Text
- whatIfForecastName :: Maybe Text
- httpStatus :: Int
- newDescribeWhatIfForecastResponse :: Int -> DescribeWhatIfForecastResponse
- describeWhatIfForecastResponse_creationTime :: Lens' DescribeWhatIfForecastResponse (Maybe UTCTime)
- describeWhatIfForecastResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeWhatIfForecastResponse (Maybe Integer)
- describeWhatIfForecastResponse_forecastTypes :: Lens' DescribeWhatIfForecastResponse (Maybe (NonEmpty Text))
- describeWhatIfForecastResponse_lastModificationTime :: Lens' DescribeWhatIfForecastResponse (Maybe UTCTime)
- describeWhatIfForecastResponse_message :: Lens' DescribeWhatIfForecastResponse (Maybe Text)
- describeWhatIfForecastResponse_status :: Lens' DescribeWhatIfForecastResponse (Maybe Text)
- describeWhatIfForecastResponse_timeSeriesReplacementsDataSource :: Lens' DescribeWhatIfForecastResponse (Maybe TimeSeriesReplacementsDataSource)
- describeWhatIfForecastResponse_timeSeriesTransformations :: Lens' DescribeWhatIfForecastResponse (Maybe [TimeSeriesTransformation])
- describeWhatIfForecastResponse_whatIfAnalysisArn :: Lens' DescribeWhatIfForecastResponse (Maybe Text)
- describeWhatIfForecastResponse_whatIfForecastArn :: Lens' DescribeWhatIfForecastResponse (Maybe Text)
- describeWhatIfForecastResponse_whatIfForecastName :: Lens' DescribeWhatIfForecastResponse (Maybe Text)
- describeWhatIfForecastResponse_httpStatus :: Lens' DescribeWhatIfForecastResponse Int
Creating a Request
data DescribeWhatIfForecast Source #
See: newDescribeWhatIfForecast
smart constructor.
DescribeWhatIfForecast' | |
|
Instances
newDescribeWhatIfForecast Source #
Create a value of DescribeWhatIfForecast
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:
DescribeWhatIfForecast
, describeWhatIfForecast_whatIfForecastArn
- The Amazon Resource Name (ARN) of the what-if forecast that you are
interested in.
Request Lenses
describeWhatIfForecast_whatIfForecastArn :: Lens' DescribeWhatIfForecast Text Source #
The Amazon Resource Name (ARN) of the what-if forecast that you are interested in.
Destructuring the Response
data DescribeWhatIfForecastResponse Source #
See: newDescribeWhatIfForecastResponse
smart constructor.
DescribeWhatIfForecastResponse' | |
|
Instances
newDescribeWhatIfForecastResponse Source #
Create a value of DescribeWhatIfForecastResponse
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:
DescribeWhatIfForecastResponse
, describeWhatIfForecastResponse_creationTime
- When the what-if forecast was created.
$sel:estimatedTimeRemainingInMinutes:DescribeWhatIfForecastResponse'
, describeWhatIfForecastResponse_estimatedTimeRemainingInMinutes
- The approximate time remaining to complete the what-if forecast, in
minutes.
$sel:forecastTypes:DescribeWhatIfForecastResponse'
, describeWhatIfForecastResponse_forecastTypes
- The quantiles at which probabilistic forecasts are generated. You can
specify up to 5 quantiles per what-if forecast in the
CreateWhatIfForecast operation. If you didn't specify quantiles, the
default values are ["0.1", "0.5", "0.9"]
.
DescribeWhatIfForecastResponse
, describeWhatIfForecastResponse_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.
DescribeWhatIfForecastResponse
, describeWhatIfForecastResponse_message
- If an error occurred, an informational message about the error.
DescribeWhatIfForecastResponse
, describeWhatIfForecastResponse_status
- The status of the what-if forecast. States include:
ACTIVE
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
CREATE_STOPPING
,CREATE_STOPPED
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The Status
of the what-if forecast must be ACTIVE
before you can
access the forecast.
$sel:timeSeriesReplacementsDataSource:DescribeWhatIfForecastResponse'
, describeWhatIfForecastResponse_timeSeriesReplacementsDataSource
- An array of S3Config
, Schema
, and Format
elements that describe
the replacement time series.
$sel:timeSeriesTransformations:DescribeWhatIfForecastResponse'
, describeWhatIfForecastResponse_timeSeriesTransformations
- An array of Action
and TimeSeriesConditions
elements that describe
what transformations were applied to which time series.
DescribeWhatIfForecastResponse
, describeWhatIfForecastResponse_whatIfAnalysisArn
- The Amazon Resource Name (ARN) of the what-if analysis that contains
this forecast.
DescribeWhatIfForecast
, describeWhatIfForecastResponse_whatIfForecastArn
- The Amazon Resource Name (ARN) of the what-if forecast.
DescribeWhatIfForecastResponse
, describeWhatIfForecastResponse_whatIfForecastName
- The name of the what-if forecast.
$sel:httpStatus:DescribeWhatIfForecastResponse'
, describeWhatIfForecastResponse_httpStatus
- The response's http status code.
Response Lenses
describeWhatIfForecastResponse_creationTime :: Lens' DescribeWhatIfForecastResponse (Maybe UTCTime) Source #
When the what-if forecast was created.
describeWhatIfForecastResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeWhatIfForecastResponse (Maybe Integer) Source #
The approximate time remaining to complete the what-if forecast, in minutes.
describeWhatIfForecastResponse_forecastTypes :: Lens' DescribeWhatIfForecastResponse (Maybe (NonEmpty Text)) Source #
The quantiles at which probabilistic forecasts are generated. You can
specify up to 5 quantiles per what-if forecast in the
CreateWhatIfForecast operation. If you didn't specify quantiles, the
default values are ["0.1", "0.5", "0.9"]
.
describeWhatIfForecastResponse_lastModificationTime :: Lens' DescribeWhatIfForecastResponse (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.ACTIVE
orCREATE_FAILED
- When the job finished or failed.
describeWhatIfForecastResponse_message :: Lens' DescribeWhatIfForecastResponse (Maybe Text) Source #
If an error occurred, an informational message about the error.
describeWhatIfForecastResponse_status :: Lens' DescribeWhatIfForecastResponse (Maybe Text) Source #
The status of the what-if forecast. States include:
ACTIVE
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
CREATE_STOPPING
,CREATE_STOPPED
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
The Status
of the what-if forecast must be ACTIVE
before you can
access the forecast.
describeWhatIfForecastResponse_timeSeriesReplacementsDataSource :: Lens' DescribeWhatIfForecastResponse (Maybe TimeSeriesReplacementsDataSource) Source #
An array of S3Config
, Schema
, and Format
elements that describe
the replacement time series.
describeWhatIfForecastResponse_timeSeriesTransformations :: Lens' DescribeWhatIfForecastResponse (Maybe [TimeSeriesTransformation]) Source #
An array of Action
and TimeSeriesConditions
elements that describe
what transformations were applied to which time series.
describeWhatIfForecastResponse_whatIfAnalysisArn :: Lens' DescribeWhatIfForecastResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the what-if analysis that contains this forecast.
describeWhatIfForecastResponse_whatIfForecastArn :: Lens' DescribeWhatIfForecastResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the what-if forecast.
describeWhatIfForecastResponse_whatIfForecastName :: Lens' DescribeWhatIfForecastResponse (Maybe Text) Source #
The name of the what-if forecast.
describeWhatIfForecastResponse_httpStatus :: Lens' DescribeWhatIfForecastResponse Int Source #
The response's http status code.