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.DescribeWhatIfAnalysis

Description

Describes the what-if analysis created using the CreateWhatIfAnalysis operation.

In addition to listing the properties provided in the CreateWhatIfAnalysis request, this operation lists the following properties:

  • CreationTime
  • LastModificationTime
  • Message - If an error occurred, information about the error.
  • Status
Synopsis

Creating a Request

data DescribeWhatIfAnalysis Source #

See: newDescribeWhatIfAnalysis smart constructor.

Constructors

DescribeWhatIfAnalysis' 

Fields

  • whatIfAnalysisArn :: Text

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

Instances

Instances details
ToJSON DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

ToHeaders DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

ToPath DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

ToQuery DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

AWSRequest DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Associated Types

type AWSResponse DescribeWhatIfAnalysis #

Generic DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Associated Types

type Rep DescribeWhatIfAnalysis :: Type -> Type #

Read DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Show DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

NFData DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Methods

rnf :: DescribeWhatIfAnalysis -> () #

Eq DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Hashable DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

type AWSResponse DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

type Rep DescribeWhatIfAnalysis Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

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

newDescribeWhatIfAnalysis Source #

Create a value of DescribeWhatIfAnalysis 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:

DescribeWhatIfAnalysis, describeWhatIfAnalysis_whatIfAnalysisArn - The Amazon Resource Name (ARN) of the what-if analysis that you are interested in.

Request Lenses

describeWhatIfAnalysis_whatIfAnalysisArn :: Lens' DescribeWhatIfAnalysis Text Source #

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

Destructuring the Response

data DescribeWhatIfAnalysisResponse Source #

See: newDescribeWhatIfAnalysisResponse smart constructor.

Constructors

DescribeWhatIfAnalysisResponse' 

Fields

Instances

Instances details
Generic DescribeWhatIfAnalysisResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Associated Types

type Rep DescribeWhatIfAnalysisResponse :: Type -> Type #

Read DescribeWhatIfAnalysisResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Show DescribeWhatIfAnalysisResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

NFData DescribeWhatIfAnalysisResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

Eq DescribeWhatIfAnalysisResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

type Rep DescribeWhatIfAnalysisResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeWhatIfAnalysis

type Rep DescribeWhatIfAnalysisResponse = D1 ('MetaData "DescribeWhatIfAnalysisResponse" "Amazonka.Forecast.DescribeWhatIfAnalysis" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "DescribeWhatIfAnalysisResponse'" '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 "forecastArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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 "timeSeriesSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeSeriesSelector))) :*: (S1 ('MetaSel ('Just "whatIfAnalysisArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "whatIfAnalysisName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeWhatIfAnalysisResponse Source #

Create a value of DescribeWhatIfAnalysisResponse 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:

DescribeWhatIfAnalysisResponse, describeWhatIfAnalysisResponse_creationTime - When the what-if analysis was created.

$sel:estimatedTimeRemainingInMinutes:DescribeWhatIfAnalysisResponse', describeWhatIfAnalysisResponse_estimatedTimeRemainingInMinutes - The approximate time remaining to complete the what-if analysis, in minutes.

DescribeWhatIfAnalysisResponse, describeWhatIfAnalysisResponse_forecastArn - The Amazon Resource Name (ARN) of the what-if forecast.

DescribeWhatIfAnalysisResponse, describeWhatIfAnalysisResponse_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.

DescribeWhatIfAnalysisResponse, describeWhatIfAnalysisResponse_message - If an error occurred, an informational message about the error.

DescribeWhatIfAnalysisResponse, describeWhatIfAnalysisResponse_status - The status of the what-if analysis. 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 analysis must be ACTIVE before you can access the analysis.

$sel:timeSeriesSelector:DescribeWhatIfAnalysisResponse', describeWhatIfAnalysisResponse_timeSeriesSelector - Undocumented member.

DescribeWhatIfAnalysis, describeWhatIfAnalysisResponse_whatIfAnalysisArn - The Amazon Resource Name (ARN) of the what-if analysis.

DescribeWhatIfAnalysisResponse, describeWhatIfAnalysisResponse_whatIfAnalysisName - The name of the what-if analysis.

$sel:httpStatus:DescribeWhatIfAnalysisResponse', describeWhatIfAnalysisResponse_httpStatus - The response's http status code.

Response Lenses

describeWhatIfAnalysisResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeWhatIfAnalysisResponse (Maybe Integer) Source #

The approximate time remaining to complete the what-if analysis, in minutes.

describeWhatIfAnalysisResponse_forecastArn :: Lens' DescribeWhatIfAnalysisResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the what-if forecast.

describeWhatIfAnalysisResponse_lastModificationTime :: Lens' DescribeWhatIfAnalysisResponse (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.

describeWhatIfAnalysisResponse_message :: Lens' DescribeWhatIfAnalysisResponse (Maybe Text) Source #

If an error occurred, an informational message about the error.

describeWhatIfAnalysisResponse_status :: Lens' DescribeWhatIfAnalysisResponse (Maybe Text) Source #

The status of the what-if analysis. 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 analysis must be ACTIVE before you can access the analysis.

describeWhatIfAnalysisResponse_whatIfAnalysisArn :: Lens' DescribeWhatIfAnalysisResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the what-if analysis.