{-# 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.PredictorSummary
-- 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.PredictorSummary where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Forecast.Types.ReferencePredictorSummary
import qualified Amazonka.Prelude as Prelude

-- | Provides a summary of the predictor properties that are used in the
-- ListPredictors operation. To get the complete set of properties, call
-- the DescribePredictor operation, and provide the listed @PredictorArn@.
--
-- /See:/ 'newPredictorSummary' smart constructor.
data PredictorSummary = PredictorSummary'
  { -- | When the model training task was created.
    PredictorSummary -> Maybe POSIX
creationTime :: Prelude.Maybe Data.POSIX,
    -- | The Amazon Resource Name (ARN) of the dataset group that contains the
    -- data used to train the predictor.
    PredictorSummary -> Maybe Text
datasetGroupArn :: Prelude.Maybe Prelude.Text,
    -- | Whether AutoPredictor was used to create the predictor.
    PredictorSummary -> Maybe Bool
isAutoPredictor :: Prelude.Maybe Prelude.Bool,
    -- | 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.
    PredictorSummary -> Maybe POSIX
lastModificationTime :: Prelude.Maybe Data.POSIX,
    -- | If an error occurred, an informational message about the error.
    PredictorSummary -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
    -- | The ARN of the predictor.
    PredictorSummary -> Maybe Text
predictorArn :: Prelude.Maybe Prelude.Text,
    -- | The name of the predictor.
    PredictorSummary -> Maybe Text
predictorName :: Prelude.Maybe Prelude.Text,
    -- | A summary of the reference predictor used if the predictor was retrained
    -- or upgraded.
    PredictorSummary -> Maybe ReferencePredictorSummary
referencePredictorSummary :: Prelude.Maybe ReferencePredictorSummary,
    -- | The status of the predictor. States include:
    --
    -- -   @ACTIVE@
    --
    -- -   @CREATE_PENDING@, @CREATE_IN_PROGRESS@, @CREATE_FAILED@
    --
    -- -   @DELETE_PENDING@, @DELETE_IN_PROGRESS@, @DELETE_FAILED@
    --
    -- -   @CREATE_STOPPING@, @CREATE_STOPPED@
    --
    -- The @Status@ of the predictor must be @ACTIVE@ before you can use the
    -- predictor to create a forecast.
    PredictorSummary -> Maybe Text
status :: Prelude.Maybe Prelude.Text
  }
  deriving (PredictorSummary -> PredictorSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PredictorSummary -> PredictorSummary -> Bool
$c/= :: PredictorSummary -> PredictorSummary -> Bool
== :: PredictorSummary -> PredictorSummary -> Bool
$c== :: PredictorSummary -> PredictorSummary -> Bool
Prelude.Eq, ReadPrec [PredictorSummary]
ReadPrec PredictorSummary
Int -> ReadS PredictorSummary
ReadS [PredictorSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PredictorSummary]
$creadListPrec :: ReadPrec [PredictorSummary]
readPrec :: ReadPrec PredictorSummary
$creadPrec :: ReadPrec PredictorSummary
readList :: ReadS [PredictorSummary]
$creadList :: ReadS [PredictorSummary]
readsPrec :: Int -> ReadS PredictorSummary
$creadsPrec :: Int -> ReadS PredictorSummary
Prelude.Read, Int -> PredictorSummary -> ShowS
[PredictorSummary] -> ShowS
PredictorSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PredictorSummary] -> ShowS
$cshowList :: [PredictorSummary] -> ShowS
show :: PredictorSummary -> String
$cshow :: PredictorSummary -> String
showsPrec :: Int -> PredictorSummary -> ShowS
$cshowsPrec :: Int -> PredictorSummary -> ShowS
Prelude.Show, forall x. Rep PredictorSummary x -> PredictorSummary
forall x. PredictorSummary -> Rep PredictorSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PredictorSummary x -> PredictorSummary
$cfrom :: forall x. PredictorSummary -> Rep PredictorSummary x
Prelude.Generic)

-- |
-- Create a value of 'PredictorSummary' 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:
--
-- 'creationTime', 'predictorSummary_creationTime' - When the model training task was created.
--
-- 'datasetGroupArn', 'predictorSummary_datasetGroupArn' - The Amazon Resource Name (ARN) of the dataset group that contains the
-- data used to train the predictor.
--
-- 'isAutoPredictor', 'predictorSummary_isAutoPredictor' - Whether AutoPredictor was used to create the predictor.
--
-- 'lastModificationTime', 'predictorSummary_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', 'predictorSummary_message' - If an error occurred, an informational message about the error.
--
-- 'predictorArn', 'predictorSummary_predictorArn' - The ARN of the predictor.
--
-- 'predictorName', 'predictorSummary_predictorName' - The name of the predictor.
--
-- 'referencePredictorSummary', 'predictorSummary_referencePredictorSummary' - A summary of the reference predictor used if the predictor was retrained
-- or upgraded.
--
-- 'status', 'predictorSummary_status' - The status of the predictor. States include:
--
-- -   @ACTIVE@
--
-- -   @CREATE_PENDING@, @CREATE_IN_PROGRESS@, @CREATE_FAILED@
--
-- -   @DELETE_PENDING@, @DELETE_IN_PROGRESS@, @DELETE_FAILED@
--
-- -   @CREATE_STOPPING@, @CREATE_STOPPED@
--
-- The @Status@ of the predictor must be @ACTIVE@ before you can use the
-- predictor to create a forecast.
newPredictorSummary ::
  PredictorSummary
newPredictorSummary :: PredictorSummary
newPredictorSummary =
  PredictorSummary'
    { $sel:creationTime:PredictorSummary' :: Maybe POSIX
creationTime = forall a. Maybe a
Prelude.Nothing,
      $sel:datasetGroupArn:PredictorSummary' :: Maybe Text
datasetGroupArn = forall a. Maybe a
Prelude.Nothing,
      $sel:isAutoPredictor:PredictorSummary' :: Maybe Bool
isAutoPredictor = forall a. Maybe a
Prelude.Nothing,
      $sel:lastModificationTime:PredictorSummary' :: Maybe POSIX
lastModificationTime = forall a. Maybe a
Prelude.Nothing,
      $sel:message:PredictorSummary' :: Maybe Text
message = forall a. Maybe a
Prelude.Nothing,
      $sel:predictorArn:PredictorSummary' :: Maybe Text
predictorArn = forall a. Maybe a
Prelude.Nothing,
      $sel:predictorName:PredictorSummary' :: Maybe Text
predictorName = forall a. Maybe a
Prelude.Nothing,
      $sel:referencePredictorSummary:PredictorSummary' :: Maybe ReferencePredictorSummary
referencePredictorSummary = forall a. Maybe a
Prelude.Nothing,
      $sel:status:PredictorSummary' :: Maybe Text
status = forall a. Maybe a
Prelude.Nothing
    }

-- | When the model training task was created.
predictorSummary_creationTime :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.UTCTime)
predictorSummary_creationTime :: Lens' PredictorSummary (Maybe UTCTime)
predictorSummary_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:PredictorSummary' :: PredictorSummary -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe POSIX
a -> PredictorSummary
s {$sel:creationTime:PredictorSummary' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: PredictorSummary) 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 contains the
-- data used to train the predictor.
predictorSummary_datasetGroupArn :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.Text)
predictorSummary_datasetGroupArn :: Lens' PredictorSummary (Maybe Text)
predictorSummary_datasetGroupArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe Text
datasetGroupArn :: Maybe Text
$sel:datasetGroupArn:PredictorSummary' :: PredictorSummary -> Maybe Text
datasetGroupArn} -> Maybe Text
datasetGroupArn) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe Text
a -> PredictorSummary
s {$sel:datasetGroupArn:PredictorSummary' :: Maybe Text
datasetGroupArn = Maybe Text
a} :: PredictorSummary)

-- | Whether AutoPredictor was used to create the predictor.
predictorSummary_isAutoPredictor :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.Bool)
predictorSummary_isAutoPredictor :: Lens' PredictorSummary (Maybe Bool)
predictorSummary_isAutoPredictor = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe Bool
isAutoPredictor :: Maybe Bool
$sel:isAutoPredictor:PredictorSummary' :: PredictorSummary -> Maybe Bool
isAutoPredictor} -> Maybe Bool
isAutoPredictor) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe Bool
a -> PredictorSummary
s {$sel:isAutoPredictor:PredictorSummary' :: Maybe Bool
isAutoPredictor = Maybe Bool
a} :: PredictorSummary)

-- | 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.
predictorSummary_lastModificationTime :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.UTCTime)
predictorSummary_lastModificationTime :: Lens' PredictorSummary (Maybe UTCTime)
predictorSummary_lastModificationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe POSIX
lastModificationTime :: Maybe POSIX
$sel:lastModificationTime:PredictorSummary' :: PredictorSummary -> Maybe POSIX
lastModificationTime} -> Maybe POSIX
lastModificationTime) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe POSIX
a -> PredictorSummary
s {$sel:lastModificationTime:PredictorSummary' :: Maybe POSIX
lastModificationTime = Maybe POSIX
a} :: PredictorSummary) 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.
predictorSummary_message :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.Text)
predictorSummary_message :: Lens' PredictorSummary (Maybe Text)
predictorSummary_message = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe Text
message :: Maybe Text
$sel:message:PredictorSummary' :: PredictorSummary -> Maybe Text
message} -> Maybe Text
message) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe Text
a -> PredictorSummary
s {$sel:message:PredictorSummary' :: Maybe Text
message = Maybe Text
a} :: PredictorSummary)

-- | The ARN of the predictor.
predictorSummary_predictorArn :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.Text)
predictorSummary_predictorArn :: Lens' PredictorSummary (Maybe Text)
predictorSummary_predictorArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe Text
predictorArn :: Maybe Text
$sel:predictorArn:PredictorSummary' :: PredictorSummary -> Maybe Text
predictorArn} -> Maybe Text
predictorArn) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe Text
a -> PredictorSummary
s {$sel:predictorArn:PredictorSummary' :: Maybe Text
predictorArn = Maybe Text
a} :: PredictorSummary)

-- | The name of the predictor.
predictorSummary_predictorName :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.Text)
predictorSummary_predictorName :: Lens' PredictorSummary (Maybe Text)
predictorSummary_predictorName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe Text
predictorName :: Maybe Text
$sel:predictorName:PredictorSummary' :: PredictorSummary -> Maybe Text
predictorName} -> Maybe Text
predictorName) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe Text
a -> PredictorSummary
s {$sel:predictorName:PredictorSummary' :: Maybe Text
predictorName = Maybe Text
a} :: PredictorSummary)

-- | A summary of the reference predictor used if the predictor was retrained
-- or upgraded.
predictorSummary_referencePredictorSummary :: Lens.Lens' PredictorSummary (Prelude.Maybe ReferencePredictorSummary)
predictorSummary_referencePredictorSummary :: Lens' PredictorSummary (Maybe ReferencePredictorSummary)
predictorSummary_referencePredictorSummary = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe ReferencePredictorSummary
referencePredictorSummary :: Maybe ReferencePredictorSummary
$sel:referencePredictorSummary:PredictorSummary' :: PredictorSummary -> Maybe ReferencePredictorSummary
referencePredictorSummary} -> Maybe ReferencePredictorSummary
referencePredictorSummary) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe ReferencePredictorSummary
a -> PredictorSummary
s {$sel:referencePredictorSummary:PredictorSummary' :: Maybe ReferencePredictorSummary
referencePredictorSummary = Maybe ReferencePredictorSummary
a} :: PredictorSummary)

-- | The status of the predictor. States include:
--
-- -   @ACTIVE@
--
-- -   @CREATE_PENDING@, @CREATE_IN_PROGRESS@, @CREATE_FAILED@
--
-- -   @DELETE_PENDING@, @DELETE_IN_PROGRESS@, @DELETE_FAILED@
--
-- -   @CREATE_STOPPING@, @CREATE_STOPPED@
--
-- The @Status@ of the predictor must be @ACTIVE@ before you can use the
-- predictor to create a forecast.
predictorSummary_status :: Lens.Lens' PredictorSummary (Prelude.Maybe Prelude.Text)
predictorSummary_status :: Lens' PredictorSummary (Maybe Text)
predictorSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PredictorSummary' {Maybe Text
status :: Maybe Text
$sel:status:PredictorSummary' :: PredictorSummary -> Maybe Text
status} -> Maybe Text
status) (\s :: PredictorSummary
s@PredictorSummary' {} Maybe Text
a -> PredictorSummary
s {$sel:status:PredictorSummary' :: Maybe Text
status = Maybe Text
a} :: PredictorSummary)

instance Data.FromJSON PredictorSummary where
  parseJSON :: Value -> Parser PredictorSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"PredictorSummary"
      ( \Object
x ->
          Maybe POSIX
-> Maybe Text
-> Maybe Bool
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ReferencePredictorSummary
-> Maybe Text
-> PredictorSummary
PredictorSummary'
            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
"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
"IsAutoPredictor")
            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
"PredictorName")
            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
"ReferencePredictorSummary")
            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 PredictorSummary where
  hashWithSalt :: Int -> PredictorSummary -> Int
hashWithSalt Int
_salt PredictorSummary' {Maybe Bool
Maybe Text
Maybe POSIX
Maybe ReferencePredictorSummary
status :: Maybe Text
referencePredictorSummary :: Maybe ReferencePredictorSummary
predictorName :: Maybe Text
predictorArn :: Maybe Text
message :: Maybe Text
lastModificationTime :: Maybe POSIX
isAutoPredictor :: Maybe Bool
datasetGroupArn :: Maybe Text
creationTime :: Maybe POSIX
$sel:status:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:referencePredictorSummary:PredictorSummary' :: PredictorSummary -> Maybe ReferencePredictorSummary
$sel:predictorName:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:predictorArn:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:message:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:lastModificationTime:PredictorSummary' :: PredictorSummary -> Maybe POSIX
$sel:isAutoPredictor:PredictorSummary' :: PredictorSummary -> Maybe Bool
$sel:datasetGroupArn:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:creationTime:PredictorSummary' :: PredictorSummary -> Maybe POSIX
..} =
    Int
_salt
      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 Bool
isAutoPredictor
      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
predictorName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ReferencePredictorSummary
referencePredictorSummary
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
status

instance Prelude.NFData PredictorSummary where
  rnf :: PredictorSummary -> ()
rnf PredictorSummary' {Maybe Bool
Maybe Text
Maybe POSIX
Maybe ReferencePredictorSummary
status :: Maybe Text
referencePredictorSummary :: Maybe ReferencePredictorSummary
predictorName :: Maybe Text
predictorArn :: Maybe Text
message :: Maybe Text
lastModificationTime :: Maybe POSIX
isAutoPredictor :: Maybe Bool
datasetGroupArn :: Maybe Text
creationTime :: Maybe POSIX
$sel:status:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:referencePredictorSummary:PredictorSummary' :: PredictorSummary -> Maybe ReferencePredictorSummary
$sel:predictorName:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:predictorArn:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:message:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:lastModificationTime:PredictorSummary' :: PredictorSummary -> Maybe POSIX
$sel:isAutoPredictor:PredictorSummary' :: PredictorSummary -> Maybe Bool
$sel:datasetGroupArn:PredictorSummary' :: PredictorSummary -> Maybe Text
$sel:creationTime:PredictorSummary' :: PredictorSummary -> Maybe POSIX
..} =
    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 Bool
isAutoPredictor
      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
predictorName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ReferencePredictorSummary
referencePredictorSummary
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
status