{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.Forecast.Types.ForecastSummary
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.Forecast.Types.ForecastSummary where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

-- | 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.
data ForecastSummary = ForecastSummary'
  { -- | Whether the Forecast was created from an AutoPredictor.
    ForecastSummary -> Maybe Bool
createdUsingAutoPredictor :: Prelude.Maybe Prelude.Bool,
    -- | When the forecast creation task was created.
    ForecastSummary -> Maybe POSIX
creationTime :: Prelude.Maybe Data.POSIX,
    -- | The Amazon Resource Name (ARN) of the dataset group that provided the
    -- data used to train the predictor.
    ForecastSummary -> Maybe Text
datasetGroupArn :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the forecast.
    ForecastSummary -> Maybe Text
forecastArn :: Prelude.Maybe Prelude.Text,
    -- | The name of the forecast.
    ForecastSummary -> Maybe Text
forecastName :: Prelude.Maybe Prelude.Text,
    -- | 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 -> Maybe POSIX
lastModificationTime :: Prelude.Maybe Data.POSIX,
    -- | If an error occurred, an informational message about the error.
    ForecastSummary -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the predictor used to generate the forecast.
    ForecastSummary -> Maybe Text
predictorArn :: Prelude.Maybe Prelude.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.
    ForecastSummary -> Maybe Text
status :: Prelude.Maybe Prelude.Text
  }
  deriving (ForecastSummary -> ForecastSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ForecastSummary -> ForecastSummary -> Bool
$c/= :: ForecastSummary -> ForecastSummary -> Bool
== :: ForecastSummary -> ForecastSummary -> Bool
$c== :: ForecastSummary -> ForecastSummary -> Bool
Prelude.Eq, ReadPrec [ForecastSummary]
ReadPrec ForecastSummary
Int -> ReadS ForecastSummary
ReadS [ForecastSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ForecastSummary]
$creadListPrec :: ReadPrec [ForecastSummary]
readPrec :: ReadPrec ForecastSummary
$creadPrec :: ReadPrec ForecastSummary
readList :: ReadS [ForecastSummary]
$creadList :: ReadS [ForecastSummary]
readsPrec :: Int -> ReadS ForecastSummary
$creadsPrec :: Int -> ReadS ForecastSummary
Prelude.Read, Int -> ForecastSummary -> ShowS
[ForecastSummary] -> ShowS
ForecastSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ForecastSummary] -> ShowS
$cshowList :: [ForecastSummary] -> ShowS
show :: ForecastSummary -> String
$cshow :: ForecastSummary -> String
showsPrec :: Int -> ForecastSummary -> ShowS
$cshowsPrec :: Int -> ForecastSummary -> ShowS
Prelude.Show, forall x. Rep ForecastSummary x -> ForecastSummary
forall x. ForecastSummary -> Rep ForecastSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ForecastSummary x -> ForecastSummary
$cfrom :: forall x. ForecastSummary -> Rep ForecastSummary x
Prelude.Generic)

-- |
-- Create a value of 'ForecastSummary' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'createdUsingAutoPredictor', 'forecastSummary_createdUsingAutoPredictor' - Whether the Forecast was created from an AutoPredictor.
--
-- 'creationTime', 'forecastSummary_creationTime' - When the forecast creation task was created.
--
-- 'datasetGroupArn', 'forecastSummary_datasetGroupArn' - The Amazon Resource Name (ARN) of the dataset group that provided the
-- data used to train the predictor.
--
-- 'forecastArn', 'forecastSummary_forecastArn' - The ARN of the forecast.
--
-- 'forecastName', 'forecastSummary_forecastName' - The name of the forecast.
--
-- 'lastModificationTime', '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.
--
-- 'message', 'forecastSummary_message' - If an error occurred, an informational message about the error.
--
-- 'predictorArn', 'forecastSummary_predictorArn' - The ARN of the predictor used to generate the forecast.
--
-- 'status', '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.
newForecastSummary ::
  ForecastSummary
newForecastSummary :: ForecastSummary
newForecastSummary =
  ForecastSummary'
    { $sel:createdUsingAutoPredictor:ForecastSummary' :: Maybe Bool
createdUsingAutoPredictor =
        forall a. Maybe a
Prelude.Nothing,
      $sel:creationTime:ForecastSummary' :: Maybe POSIX
creationTime = forall a. Maybe a
Prelude.Nothing,
      $sel:datasetGroupArn:ForecastSummary' :: Maybe Text
datasetGroupArn = forall a. Maybe a
Prelude.Nothing,
      $sel:forecastArn:ForecastSummary' :: Maybe Text
forecastArn = forall a. Maybe a
Prelude.Nothing,
      $sel:forecastName:ForecastSummary' :: Maybe Text
forecastName = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModificationTime:ForecastSummary' :: Maybe POSIX
lastModificationTime = forall a. Maybe a
Prelude.Nothing,
      $sel:message:ForecastSummary' :: Maybe Text
message = forall a. Maybe a
Prelude.Nothing,
      $sel:predictorArn:ForecastSummary' :: Maybe Text
predictorArn = forall a. Maybe a
Prelude.Nothing,
      $sel:status:ForecastSummary' :: Maybe Text
status = forall a. Maybe a
Prelude.Nothing
    }

-- | Whether the Forecast was created from an AutoPredictor.
forecastSummary_createdUsingAutoPredictor :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.Bool)
forecastSummary_createdUsingAutoPredictor :: Lens' ForecastSummary (Maybe Bool)
forecastSummary_createdUsingAutoPredictor = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe Bool
createdUsingAutoPredictor :: Maybe Bool
$sel:createdUsingAutoPredictor:ForecastSummary' :: ForecastSummary -> Maybe Bool
createdUsingAutoPredictor} -> Maybe Bool
createdUsingAutoPredictor) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe Bool
a -> ForecastSummary
s {$sel:createdUsingAutoPredictor:ForecastSummary' :: Maybe Bool
createdUsingAutoPredictor = Maybe Bool
a} :: ForecastSummary)

-- | When the forecast creation task was created.
forecastSummary_creationTime :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.UTCTime)
forecastSummary_creationTime :: Lens' ForecastSummary (Maybe UTCTime)
forecastSummary_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:ForecastSummary' :: ForecastSummary -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe POSIX
a -> ForecastSummary
s {$sel:creationTime:ForecastSummary' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: ForecastSummary) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The Amazon Resource Name (ARN) of the dataset group that provided the
-- data used to train the predictor.
forecastSummary_datasetGroupArn :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.Text)
forecastSummary_datasetGroupArn :: Lens' ForecastSummary (Maybe Text)
forecastSummary_datasetGroupArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe Text
datasetGroupArn :: Maybe Text
$sel:datasetGroupArn:ForecastSummary' :: ForecastSummary -> Maybe Text
datasetGroupArn} -> Maybe Text
datasetGroupArn) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe Text
a -> ForecastSummary
s {$sel:datasetGroupArn:ForecastSummary' :: Maybe Text
datasetGroupArn = Maybe Text
a} :: ForecastSummary)

-- | The ARN of the forecast.
forecastSummary_forecastArn :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.Text)
forecastSummary_forecastArn :: Lens' ForecastSummary (Maybe Text)
forecastSummary_forecastArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe Text
forecastArn :: Maybe Text
$sel:forecastArn:ForecastSummary' :: ForecastSummary -> Maybe Text
forecastArn} -> Maybe Text
forecastArn) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe Text
a -> ForecastSummary
s {$sel:forecastArn:ForecastSummary' :: Maybe Text
forecastArn = Maybe Text
a} :: ForecastSummary)

-- | The name of the forecast.
forecastSummary_forecastName :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.Text)
forecastSummary_forecastName :: Lens' ForecastSummary (Maybe Text)
forecastSummary_forecastName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe Text
forecastName :: Maybe Text
$sel:forecastName:ForecastSummary' :: ForecastSummary -> Maybe Text
forecastName} -> Maybe Text
forecastName) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe Text
a -> ForecastSummary
s {$sel:forecastName:ForecastSummary' :: Maybe Text
forecastName = Maybe Text
a} :: ForecastSummary)

-- | 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_lastModificationTime :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.UTCTime)
forecastSummary_lastModificationTime :: Lens' ForecastSummary (Maybe UTCTime)
forecastSummary_lastModificationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe POSIX
lastModificationTime :: Maybe POSIX
$sel:lastModificationTime:ForecastSummary' :: ForecastSummary -> Maybe POSIX
lastModificationTime} -> Maybe POSIX
lastModificationTime) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe POSIX
a -> ForecastSummary
s {$sel:lastModificationTime:ForecastSummary' :: Maybe POSIX
lastModificationTime = Maybe POSIX
a} :: ForecastSummary) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | If an error occurred, an informational message about the error.
forecastSummary_message :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.Text)
forecastSummary_message :: Lens' ForecastSummary (Maybe Text)
forecastSummary_message = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe Text
message :: Maybe Text
$sel:message:ForecastSummary' :: ForecastSummary -> Maybe Text
message} -> Maybe Text
message) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe Text
a -> ForecastSummary
s {$sel:message:ForecastSummary' :: Maybe Text
message = Maybe Text
a} :: ForecastSummary)

-- | The ARN of the predictor used to generate the forecast.
forecastSummary_predictorArn :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.Text)
forecastSummary_predictorArn :: Lens' ForecastSummary (Maybe Text)
forecastSummary_predictorArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe Text
predictorArn :: Maybe Text
$sel:predictorArn:ForecastSummary' :: ForecastSummary -> Maybe Text
predictorArn} -> Maybe Text
predictorArn) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe Text
a -> ForecastSummary
s {$sel:predictorArn:ForecastSummary' :: Maybe Text
predictorArn = Maybe Text
a} :: ForecastSummary)

-- | 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_status :: Lens.Lens' ForecastSummary (Prelude.Maybe Prelude.Text)
forecastSummary_status :: Lens' ForecastSummary (Maybe Text)
forecastSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ForecastSummary' {Maybe Text
status :: Maybe Text
$sel:status:ForecastSummary' :: ForecastSummary -> Maybe Text
status} -> Maybe Text
status) (\s :: ForecastSummary
s@ForecastSummary' {} Maybe Text
a -> ForecastSummary
s {$sel:status:ForecastSummary' :: Maybe Text
status = Maybe Text
a} :: ForecastSummary)

instance Data.FromJSON ForecastSummary where
  parseJSON :: Value -> Parser ForecastSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"ForecastSummary"
      ( \Object
x ->
          Maybe Bool
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ForecastSummary
ForecastSummary'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreatedUsingAutoPredictor")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreationTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DatasetGroupArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ForecastArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ForecastName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastModificationTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Message")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"PredictorArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Status")
      )

instance Prelude.Hashable ForecastSummary where
  hashWithSalt :: Int -> ForecastSummary -> Int
hashWithSalt Int
_salt ForecastSummary' {Maybe Bool
Maybe Text
Maybe POSIX
status :: Maybe Text
predictorArn :: Maybe Text
message :: Maybe Text
lastModificationTime :: Maybe POSIX
forecastName :: Maybe Text
forecastArn :: Maybe Text
datasetGroupArn :: Maybe Text
creationTime :: Maybe POSIX
createdUsingAutoPredictor :: Maybe Bool
$sel:status:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:predictorArn:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:message:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:lastModificationTime:ForecastSummary' :: ForecastSummary -> Maybe POSIX
$sel:forecastName:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:forecastArn:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:datasetGroupArn:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:creationTime:ForecastSummary' :: ForecastSummary -> Maybe POSIX
$sel:createdUsingAutoPredictor:ForecastSummary' :: ForecastSummary -> Maybe Bool
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
createdUsingAutoPredictor
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
creationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
datasetGroupArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
forecastArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
forecastName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastModificationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
message
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
predictorArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
status

instance Prelude.NFData ForecastSummary where
  rnf :: ForecastSummary -> ()
rnf ForecastSummary' {Maybe Bool
Maybe Text
Maybe POSIX
status :: Maybe Text
predictorArn :: Maybe Text
message :: Maybe Text
lastModificationTime :: Maybe POSIX
forecastName :: Maybe Text
forecastArn :: Maybe Text
datasetGroupArn :: Maybe Text
creationTime :: Maybe POSIX
createdUsingAutoPredictor :: Maybe Bool
$sel:status:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:predictorArn:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:message:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:lastModificationTime:ForecastSummary' :: ForecastSummary -> Maybe POSIX
$sel:forecastName:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:forecastArn:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:datasetGroupArn:ForecastSummary' :: ForecastSummary -> Maybe Text
$sel:creationTime:ForecastSummary' :: ForecastSummary -> Maybe POSIX
$sel:createdUsingAutoPredictor:ForecastSummary' :: ForecastSummary -> Maybe Bool
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
createdUsingAutoPredictor
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
creationTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
datasetGroupArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
forecastArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
forecastName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastModificationTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
message
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
predictorArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
status