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

Description

 
Synopsis

Documentation

data WhatIfForecastSummary Source #

Provides a summary of the what-if forecast properties used in the ListWhatIfForecasts operation. To get the complete set of properties, call the DescribeWhatIfForecast operation, and provide the WhatIfForecastArn that is listed in the summary.

See: newWhatIfForecastSummary smart constructor.

Constructors

WhatIfForecastSummary' 

Fields

  • creationTime :: Maybe POSIX

    When the what-if forecast was created.

  • 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 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 analysis must be ACTIVE before you can access the analysis.

  • whatIfAnalysisArn :: Maybe Text

    The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.

  • whatIfForecastArn :: Maybe Text

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

  • whatIfForecastName :: Maybe Text

    The name of the what-if forecast.

Instances

Instances details
FromJSON WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

Generic WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

Associated Types

type Rep WhatIfForecastSummary :: Type -> Type #

Read WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

Show WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

NFData WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

Methods

rnf :: WhatIfForecastSummary -> () #

Eq WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

Hashable WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

type Rep WhatIfForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.WhatIfForecastSummary

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

newWhatIfForecastSummary :: WhatIfForecastSummary Source #

Create a value of WhatIfForecastSummary 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:WhatIfForecastSummary', whatIfForecastSummary_creationTime - When the what-if forecast was created.

$sel:lastModificationTime:WhatIfForecastSummary', whatIfForecastSummary_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:WhatIfForecastSummary', whatIfForecastSummary_message - If an error occurred, an informational message about the error.

$sel:status:WhatIfForecastSummary', whatIfForecastSummary_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 analysis must be ACTIVE before you can access the analysis.

$sel:whatIfAnalysisArn:WhatIfForecastSummary', whatIfForecastSummary_whatIfAnalysisArn - The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.

$sel:whatIfForecastArn:WhatIfForecastSummary', whatIfForecastSummary_whatIfForecastArn - The Amazon Resource Name (ARN) of the what-if forecast.

$sel:whatIfForecastName:WhatIfForecastSummary', whatIfForecastSummary_whatIfForecastName - The name of the what-if forecast.

whatIfForecastSummary_lastModificationTime :: Lens' WhatIfForecastSummary (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.

whatIfForecastSummary_message :: Lens' WhatIfForecastSummary (Maybe Text) Source #

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

whatIfForecastSummary_status :: Lens' WhatIfForecastSummary (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 analysis must be ACTIVE before you can access the analysis.

whatIfForecastSummary_whatIfAnalysisArn :: Lens' WhatIfForecastSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the what-if analysis that contains this what-if forecast.

whatIfForecastSummary_whatIfForecastArn :: Lens' WhatIfForecastSummary (Maybe Text) Source #

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