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

Description

 
Synopsis

Documentation

data ForecastSummary Source #

Provides a summary of the forecast properties used in the ListForecasts operation. To get the complete set of properties, call the DescribeForecast operation, and provide the ForecastArn that is listed in the summary.

See: newForecastSummary smart constructor.

Constructors

ForecastSummary' 

Fields

  • createdUsingAutoPredictor :: Maybe Bool

    Whether the Forecast was created from an AutoPredictor.

  • creationTime :: Maybe POSIX

    When the forecast creation task was created.

  • datasetGroupArn :: Maybe Text

    The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.

  • forecastArn :: Maybe Text

    The ARN of the forecast.

  • forecastName :: Maybe Text

    The name of the forecast.

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

  • predictorArn :: Maybe Text

    The ARN of the predictor used to generate the forecast.

  • status :: Maybe Text

    The status of the 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 forecast must be ACTIVE before you can query or export the forecast.

Instances

Instances details
FromJSON ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

Generic ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

Associated Types

type Rep ForecastSummary :: Type -> Type #

Read ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

Show ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

NFData ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

Methods

rnf :: ForecastSummary -> () #

Eq ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

Hashable ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

type Rep ForecastSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.ForecastSummary

type Rep ForecastSummary = D1 ('MetaData "ForecastSummary" "Amazonka.Forecast.Types.ForecastSummary" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "ForecastSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "createdUsingAutoPredictor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "datasetGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "forecastArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "forecastName") '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 "predictorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newForecastSummary :: ForecastSummary Source #

Create a value of ForecastSummary 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:createdUsingAutoPredictor:ForecastSummary', forecastSummary_createdUsingAutoPredictor - Whether the Forecast was created from an AutoPredictor.

$sel:creationTime:ForecastSummary', forecastSummary_creationTime - When the forecast creation task was created.

$sel:datasetGroupArn:ForecastSummary', forecastSummary_datasetGroupArn - The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.

$sel:forecastArn:ForecastSummary', forecastSummary_forecastArn - The ARN of the forecast.

$sel:forecastName:ForecastSummary', forecastSummary_forecastName - The name of the forecast.

$sel:lastModificationTime:ForecastSummary', forecastSummary_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:ForecastSummary', forecastSummary_message - If an error occurred, an informational message about the error.

$sel:predictorArn:ForecastSummary', forecastSummary_predictorArn - The ARN of the predictor used to generate the forecast.

$sel:status:ForecastSummary', forecastSummary_status - The status of the 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 forecast must be ACTIVE before you can query or export the forecast.

forecastSummary_createdUsingAutoPredictor :: Lens' ForecastSummary (Maybe Bool) Source #

Whether the Forecast was created from an AutoPredictor.

forecastSummary_creationTime :: Lens' ForecastSummary (Maybe UTCTime) Source #

When the forecast creation task was created.

forecastSummary_datasetGroupArn :: Lens' ForecastSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dataset group that provided the data used to train the predictor.

forecastSummary_lastModificationTime :: Lens' ForecastSummary (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.

forecastSummary_message :: Lens' ForecastSummary (Maybe Text) Source #

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

forecastSummary_predictorArn :: Lens' ForecastSummary (Maybe Text) Source #

The ARN of the predictor used to generate the forecast.

forecastSummary_status :: Lens' ForecastSummary (Maybe Text) Source #

The status of the 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 forecast must be ACTIVE before you can query or export the forecast.