amazonka-forecast-2.0: Amazon Forecast Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Forecast.DescribeWhatIfForecast

Description

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

Creating a Request

data DescribeWhatIfForecast Source #

See: newDescribeWhatIfForecast smart constructor.

Constructors

DescribeWhatIfForecast' 

Fields

  • whatIfForecastArn :: Text

    The Amazon Resource Name (ARN) of the what-if forecast that you are interested in.

Instances

Instances details
ToJSON DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

ToHeaders DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

ToPath DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

ToQuery DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

AWSRequest DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Associated Types

type AWSResponse DescribeWhatIfForecast #

Generic DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Associated Types

type Rep DescribeWhatIfForecast :: Type -> Type #

Read DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Show DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

NFData DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Methods

rnf :: DescribeWhatIfForecast -> () #

Eq DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Hashable DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

type AWSResponse DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

type Rep DescribeWhatIfForecast Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

type Rep DescribeWhatIfForecast = D1 ('MetaData "DescribeWhatIfForecast" "Amazonka.Forecast.DescribeWhatIfForecast" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "DescribeWhatIfForecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "whatIfForecastArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

DescribeWhatIfForecastResponse' 

Fields

Instances

Instances details
Generic DescribeWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Associated Types

type Rep DescribeWhatIfForecastResponse :: Type -> Type #

Read DescribeWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Show DescribeWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

NFData DescribeWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

Eq DescribeWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

type Rep DescribeWhatIfForecastResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfForecast

type Rep DescribeWhatIfForecastResponse = D1 ('MetaData "DescribeWhatIfForecastResponse" "Amazonka.Forecast.DescribeWhatIfForecast" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "DescribeWhatIfForecastResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "estimatedTimeRemainingInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "forecastTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))) :*: (S1 ('MetaSel ('Just "lastModificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "timeSeriesReplacementsDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeSeriesReplacementsDataSource)) :*: (S1 ('MetaSel ('Just "timeSeriesTransformations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TimeSeriesTransformation])) :*: S1 ('MetaSel ('Just "whatIfAnalysisArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "whatIfForecastArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "whatIfForecastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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 - The CreationTime.
  • CREATE_IN_PROGRESS - The current timestamp.
  • CREATE_STOPPING - The current timestamp.
  • CREATE_STOPPED - When the job stopped.
  • ACTIVE or CREATE_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_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 - The CreationTime.
  • CREATE_IN_PROGRESS - The current timestamp.
  • CREATE_STOPPING - The current timestamp.
  • CREATE_STOPPED - When the job stopped.
  • ACTIVE or CREATE_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.