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.Types.WhatIfAnalysisSummary

Description

 
Synopsis

Documentation

data WhatIfAnalysisSummary Source #

Provides a summary of the what-if analysis properties used in the ListWhatIfAnalyses operation. To get the complete set of properties, call the DescribeWhatIfAnalysis operation, and provide the WhatIfAnalysisArn that is listed in the summary.

See: newWhatIfAnalysisSummary smart constructor.

Constructors

WhatIfAnalysisSummary' 

Fields

  • creationTime :: Maybe POSIX

    When the what-if analysis was created.

  • forecastArn :: Maybe Text

    The Amazon Resource Name (ARN) of the baseline forecast that is being used in this what-if analysis.

  • lastModificationTime :: Maybe POSIX

    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.
  • message :: Maybe Text

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

  • status :: Maybe Text

    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.

  • whatIfAnalysisArn :: Maybe Text

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

  • whatIfAnalysisName :: Maybe Text

    The name of the what-if analysis.

Instances

Instances details
FromJSON WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

Generic WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

Associated Types

type Rep WhatIfAnalysisSummary :: Type -> Type #

Read WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

Show WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

NFData WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

Methods

rnf :: WhatIfAnalysisSummary -> () #

Eq WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

Hashable WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

type Rep WhatIfAnalysisSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfAnalysisSummary

type Rep WhatIfAnalysisSummary = D1 ('MetaData "WhatIfAnalysisSummary" "Amazonka.Forecast.Types.WhatIfAnalysisSummary" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "WhatIfAnalysisSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (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 "whatIfAnalysisArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "whatIfAnalysisName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newWhatIfAnalysisSummary :: WhatIfAnalysisSummary Source #

Create a value of WhatIfAnalysisSummary 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:WhatIfAnalysisSummary', whatIfAnalysisSummary_creationTime - When the what-if analysis was created.

$sel:forecastArn:WhatIfAnalysisSummary', whatIfAnalysisSummary_forecastArn - The Amazon Resource Name (ARN) of the baseline forecast that is being used in this what-if analysis.

$sel:lastModificationTime:WhatIfAnalysisSummary', whatIfAnalysisSummary_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.

$sel:message:WhatIfAnalysisSummary', whatIfAnalysisSummary_message - If an error occurred, an informational message about the error.

$sel:status:WhatIfAnalysisSummary', whatIfAnalysisSummary_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:whatIfAnalysisArn:WhatIfAnalysisSummary', whatIfAnalysisSummary_whatIfAnalysisArn - The Amazon Resource Name (ARN) of the what-if analysis.

$sel:whatIfAnalysisName:WhatIfAnalysisSummary', whatIfAnalysisSummary_whatIfAnalysisName - The name of the what-if analysis.

whatIfAnalysisSummary_forecastArn :: Lens' WhatIfAnalysisSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the baseline forecast that is being used in this what-if analysis.

whatIfAnalysisSummary_lastModificationTime :: Lens' WhatIfAnalysisSummary (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.

whatIfAnalysisSummary_message :: Lens' WhatIfAnalysisSummary (Maybe Text) Source #

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

whatIfAnalysisSummary_status :: Lens' WhatIfAnalysisSummary (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.

whatIfAnalysisSummary_whatIfAnalysisArn :: Lens' WhatIfAnalysisSummary (Maybe Text) Source #

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