{-# 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.SageMaker.Types.InferenceRecommendationsJob
-- 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.SageMaker.Types.InferenceRecommendationsJob 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
import Amazonka.SageMaker.Types.RecommendationJobStatus
import Amazonka.SageMaker.Types.RecommendationJobType

-- | A structure that contains a list of recommendation jobs.
--
-- /See:/ 'newInferenceRecommendationsJob' smart constructor.
data InferenceRecommendationsJob = InferenceRecommendationsJob'
  { -- | A timestamp that shows when the job completed.
    InferenceRecommendationsJob -> Maybe POSIX
completionTime :: Prelude.Maybe Data.POSIX,
    -- | If the job fails, provides information why the job failed.
    InferenceRecommendationsJob -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
    -- | The name of the job.
    InferenceRecommendationsJob -> Text
jobName :: Prelude.Text,
    -- | The job description.
    InferenceRecommendationsJob -> Text
jobDescription :: Prelude.Text,
    -- | The recommendation job type.
    InferenceRecommendationsJob -> RecommendationJobType
jobType :: RecommendationJobType,
    -- | The Amazon Resource Name (ARN) of the recommendation job.
    InferenceRecommendationsJob -> Text
jobArn :: Prelude.Text,
    -- | The status of the job.
    InferenceRecommendationsJob -> RecommendationJobStatus
status :: RecommendationJobStatus,
    -- | A timestamp that shows when the job was created.
    InferenceRecommendationsJob -> POSIX
creationTime :: Data.POSIX,
    -- | The Amazon Resource Name (ARN) of an IAM role that enables Amazon
    -- SageMaker to perform tasks on your behalf.
    InferenceRecommendationsJob -> Text
roleArn :: Prelude.Text,
    -- | A timestamp that shows when the job was last modified.
    InferenceRecommendationsJob -> POSIX
lastModifiedTime :: Data.POSIX
  }
  deriving (InferenceRecommendationsJob -> InferenceRecommendationsJob -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: InferenceRecommendationsJob -> InferenceRecommendationsJob -> Bool
$c/= :: InferenceRecommendationsJob -> InferenceRecommendationsJob -> Bool
== :: InferenceRecommendationsJob -> InferenceRecommendationsJob -> Bool
$c== :: InferenceRecommendationsJob -> InferenceRecommendationsJob -> Bool
Prelude.Eq, ReadPrec [InferenceRecommendationsJob]
ReadPrec InferenceRecommendationsJob
Int -> ReadS InferenceRecommendationsJob
ReadS [InferenceRecommendationsJob]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [InferenceRecommendationsJob]
$creadListPrec :: ReadPrec [InferenceRecommendationsJob]
readPrec :: ReadPrec InferenceRecommendationsJob
$creadPrec :: ReadPrec InferenceRecommendationsJob
readList :: ReadS [InferenceRecommendationsJob]
$creadList :: ReadS [InferenceRecommendationsJob]
readsPrec :: Int -> ReadS InferenceRecommendationsJob
$creadsPrec :: Int -> ReadS InferenceRecommendationsJob
Prelude.Read, Int -> InferenceRecommendationsJob -> ShowS
[InferenceRecommendationsJob] -> ShowS
InferenceRecommendationsJob -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [InferenceRecommendationsJob] -> ShowS
$cshowList :: [InferenceRecommendationsJob] -> ShowS
show :: InferenceRecommendationsJob -> String
$cshow :: InferenceRecommendationsJob -> String
showsPrec :: Int -> InferenceRecommendationsJob -> ShowS
$cshowsPrec :: Int -> InferenceRecommendationsJob -> ShowS
Prelude.Show, forall x.
Rep InferenceRecommendationsJob x -> InferenceRecommendationsJob
forall x.
InferenceRecommendationsJob -> Rep InferenceRecommendationsJob x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep InferenceRecommendationsJob x -> InferenceRecommendationsJob
$cfrom :: forall x.
InferenceRecommendationsJob -> Rep InferenceRecommendationsJob x
Prelude.Generic)

-- |
-- Create a value of 'InferenceRecommendationsJob' 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:
--
-- 'completionTime', 'inferenceRecommendationsJob_completionTime' - A timestamp that shows when the job completed.
--
-- 'failureReason', 'inferenceRecommendationsJob_failureReason' - If the job fails, provides information why the job failed.
--
-- 'jobName', 'inferenceRecommendationsJob_jobName' - The name of the job.
--
-- 'jobDescription', 'inferenceRecommendationsJob_jobDescription' - The job description.
--
-- 'jobType', 'inferenceRecommendationsJob_jobType' - The recommendation job type.
--
-- 'jobArn', 'inferenceRecommendationsJob_jobArn' - The Amazon Resource Name (ARN) of the recommendation job.
--
-- 'status', 'inferenceRecommendationsJob_status' - The status of the job.
--
-- 'creationTime', 'inferenceRecommendationsJob_creationTime' - A timestamp that shows when the job was created.
--
-- 'roleArn', 'inferenceRecommendationsJob_roleArn' - The Amazon Resource Name (ARN) of an IAM role that enables Amazon
-- SageMaker to perform tasks on your behalf.
--
-- 'lastModifiedTime', 'inferenceRecommendationsJob_lastModifiedTime' - A timestamp that shows when the job was last modified.
newInferenceRecommendationsJob ::
  -- | 'jobName'
  Prelude.Text ->
  -- | 'jobDescription'
  Prelude.Text ->
  -- | 'jobType'
  RecommendationJobType ->
  -- | 'jobArn'
  Prelude.Text ->
  -- | 'status'
  RecommendationJobStatus ->
  -- | 'creationTime'
  Prelude.UTCTime ->
  -- | 'roleArn'
  Prelude.Text ->
  -- | 'lastModifiedTime'
  Prelude.UTCTime ->
  InferenceRecommendationsJob
newInferenceRecommendationsJob :: Text
-> Text
-> RecommendationJobType
-> Text
-> RecommendationJobStatus
-> UTCTime
-> Text
-> UTCTime
-> InferenceRecommendationsJob
newInferenceRecommendationsJob
  Text
pJobName_
  Text
pJobDescription_
  RecommendationJobType
pJobType_
  Text
pJobArn_
  RecommendationJobStatus
pStatus_
  UTCTime
pCreationTime_
  Text
pRoleArn_
  UTCTime
pLastModifiedTime_ =
    InferenceRecommendationsJob'
      { $sel:completionTime:InferenceRecommendationsJob' :: Maybe POSIX
completionTime =
          forall a. Maybe a
Prelude.Nothing,
        $sel:failureReason:InferenceRecommendationsJob' :: Maybe Text
failureReason = forall a. Maybe a
Prelude.Nothing,
        $sel:jobName:InferenceRecommendationsJob' :: Text
jobName = Text
pJobName_,
        $sel:jobDescription:InferenceRecommendationsJob' :: Text
jobDescription = Text
pJobDescription_,
        $sel:jobType:InferenceRecommendationsJob' :: RecommendationJobType
jobType = RecommendationJobType
pJobType_,
        $sel:jobArn:InferenceRecommendationsJob' :: Text
jobArn = Text
pJobArn_,
        $sel:status:InferenceRecommendationsJob' :: RecommendationJobStatus
status = RecommendationJobStatus
pStatus_,
        $sel:creationTime:InferenceRecommendationsJob' :: POSIX
creationTime =
          forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreationTime_,
        $sel:roleArn:InferenceRecommendationsJob' :: Text
roleArn = Text
pRoleArn_,
        $sel:lastModifiedTime:InferenceRecommendationsJob' :: POSIX
lastModifiedTime =
          forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pLastModifiedTime_
      }

-- | A timestamp that shows when the job completed.
inferenceRecommendationsJob_completionTime :: Lens.Lens' InferenceRecommendationsJob (Prelude.Maybe Prelude.UTCTime)
inferenceRecommendationsJob_completionTime :: Lens' InferenceRecommendationsJob (Maybe UTCTime)
inferenceRecommendationsJob_completionTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {Maybe POSIX
completionTime :: Maybe POSIX
$sel:completionTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Maybe POSIX
completionTime} -> Maybe POSIX
completionTime) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} Maybe POSIX
a -> InferenceRecommendationsJob
s {$sel:completionTime:InferenceRecommendationsJob' :: Maybe POSIX
completionTime = Maybe POSIX
a} :: InferenceRecommendationsJob) 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 the job fails, provides information why the job failed.
inferenceRecommendationsJob_failureReason :: Lens.Lens' InferenceRecommendationsJob (Prelude.Maybe Prelude.Text)
inferenceRecommendationsJob_failureReason :: Lens' InferenceRecommendationsJob (Maybe Text)
inferenceRecommendationsJob_failureReason = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} Maybe Text
a -> InferenceRecommendationsJob
s {$sel:failureReason:InferenceRecommendationsJob' :: Maybe Text
failureReason = Maybe Text
a} :: InferenceRecommendationsJob)

-- | The name of the job.
inferenceRecommendationsJob_jobName :: Lens.Lens' InferenceRecommendationsJob Prelude.Text
inferenceRecommendationsJob_jobName :: Lens' InferenceRecommendationsJob Text
inferenceRecommendationsJob_jobName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {Text
jobName :: Text
$sel:jobName:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
jobName} -> Text
jobName) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} Text
a -> InferenceRecommendationsJob
s {$sel:jobName:InferenceRecommendationsJob' :: Text
jobName = Text
a} :: InferenceRecommendationsJob)

-- | The job description.
inferenceRecommendationsJob_jobDescription :: Lens.Lens' InferenceRecommendationsJob Prelude.Text
inferenceRecommendationsJob_jobDescription :: Lens' InferenceRecommendationsJob Text
inferenceRecommendationsJob_jobDescription = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {Text
jobDescription :: Text
$sel:jobDescription:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
jobDescription} -> Text
jobDescription) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} Text
a -> InferenceRecommendationsJob
s {$sel:jobDescription:InferenceRecommendationsJob' :: Text
jobDescription = Text
a} :: InferenceRecommendationsJob)

-- | The recommendation job type.
inferenceRecommendationsJob_jobType :: Lens.Lens' InferenceRecommendationsJob RecommendationJobType
inferenceRecommendationsJob_jobType :: Lens' InferenceRecommendationsJob RecommendationJobType
inferenceRecommendationsJob_jobType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {RecommendationJobType
jobType :: RecommendationJobType
$sel:jobType:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> RecommendationJobType
jobType} -> RecommendationJobType
jobType) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} RecommendationJobType
a -> InferenceRecommendationsJob
s {$sel:jobType:InferenceRecommendationsJob' :: RecommendationJobType
jobType = RecommendationJobType
a} :: InferenceRecommendationsJob)

-- | The Amazon Resource Name (ARN) of the recommendation job.
inferenceRecommendationsJob_jobArn :: Lens.Lens' InferenceRecommendationsJob Prelude.Text
inferenceRecommendationsJob_jobArn :: Lens' InferenceRecommendationsJob Text
inferenceRecommendationsJob_jobArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {Text
jobArn :: Text
$sel:jobArn:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
jobArn} -> Text
jobArn) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} Text
a -> InferenceRecommendationsJob
s {$sel:jobArn:InferenceRecommendationsJob' :: Text
jobArn = Text
a} :: InferenceRecommendationsJob)

-- | The status of the job.
inferenceRecommendationsJob_status :: Lens.Lens' InferenceRecommendationsJob RecommendationJobStatus
inferenceRecommendationsJob_status :: Lens' InferenceRecommendationsJob RecommendationJobStatus
inferenceRecommendationsJob_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {RecommendationJobStatus
status :: RecommendationJobStatus
$sel:status:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> RecommendationJobStatus
status} -> RecommendationJobStatus
status) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} RecommendationJobStatus
a -> InferenceRecommendationsJob
s {$sel:status:InferenceRecommendationsJob' :: RecommendationJobStatus
status = RecommendationJobStatus
a} :: InferenceRecommendationsJob)

-- | A timestamp that shows when the job was created.
inferenceRecommendationsJob_creationTime :: Lens.Lens' InferenceRecommendationsJob Prelude.UTCTime
inferenceRecommendationsJob_creationTime :: Lens' InferenceRecommendationsJob UTCTime
inferenceRecommendationsJob_creationTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {POSIX
creationTime :: POSIX
$sel:creationTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> POSIX
creationTime} -> POSIX
creationTime) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} POSIX
a -> InferenceRecommendationsJob
s {$sel:creationTime:InferenceRecommendationsJob' :: POSIX
creationTime = POSIX
a} :: InferenceRecommendationsJob) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The Amazon Resource Name (ARN) of an IAM role that enables Amazon
-- SageMaker to perform tasks on your behalf.
inferenceRecommendationsJob_roleArn :: Lens.Lens' InferenceRecommendationsJob Prelude.Text
inferenceRecommendationsJob_roleArn :: Lens' InferenceRecommendationsJob Text
inferenceRecommendationsJob_roleArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {Text
roleArn :: Text
$sel:roleArn:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
roleArn} -> Text
roleArn) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} Text
a -> InferenceRecommendationsJob
s {$sel:roleArn:InferenceRecommendationsJob' :: Text
roleArn = Text
a} :: InferenceRecommendationsJob)

-- | A timestamp that shows when the job was last modified.
inferenceRecommendationsJob_lastModifiedTime :: Lens.Lens' InferenceRecommendationsJob Prelude.UTCTime
inferenceRecommendationsJob_lastModifiedTime :: Lens' InferenceRecommendationsJob UTCTime
inferenceRecommendationsJob_lastModifiedTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\InferenceRecommendationsJob' {POSIX
lastModifiedTime :: POSIX
$sel:lastModifiedTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> POSIX
lastModifiedTime} -> POSIX
lastModifiedTime) (\s :: InferenceRecommendationsJob
s@InferenceRecommendationsJob' {} POSIX
a -> InferenceRecommendationsJob
s {$sel:lastModifiedTime:InferenceRecommendationsJob' :: POSIX
lastModifiedTime = POSIX
a} :: InferenceRecommendationsJob) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

instance Data.FromJSON InferenceRecommendationsJob where
  parseJSON :: Value -> Parser InferenceRecommendationsJob
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"InferenceRecommendationsJob"
      ( \Object
x ->
          Maybe POSIX
-> Maybe Text
-> Text
-> Text
-> RecommendationJobType
-> Text
-> RecommendationJobStatus
-> POSIX
-> Text
-> POSIX
-> InferenceRecommendationsJob
InferenceRecommendationsJob'
            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
"CompletionTime")
            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
"FailureReason")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"JobName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"JobDescription")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"JobType")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"JobArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"Status")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser 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 a
Data..: Key
"RoleArn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"LastModifiedTime")
      )

instance Prelude.Hashable InferenceRecommendationsJob where
  hashWithSalt :: Int -> InferenceRecommendationsJob -> Int
hashWithSalt Int
_salt InferenceRecommendationsJob' {Maybe Text
Maybe POSIX
Text
POSIX
RecommendationJobStatus
RecommendationJobType
lastModifiedTime :: POSIX
roleArn :: Text
creationTime :: POSIX
status :: RecommendationJobStatus
jobArn :: Text
jobType :: RecommendationJobType
jobDescription :: Text
jobName :: Text
failureReason :: Maybe Text
completionTime :: Maybe POSIX
$sel:lastModifiedTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> POSIX
$sel:roleArn:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:creationTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> POSIX
$sel:status:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> RecommendationJobStatus
$sel:jobArn:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:jobType:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> RecommendationJobType
$sel:jobDescription:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:jobName:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:failureReason:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Maybe Text
$sel:completionTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Maybe POSIX
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
completionTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
failureReason
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
jobName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
jobDescription
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` RecommendationJobType
jobType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
jobArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` RecommendationJobStatus
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` POSIX
creationTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
roleArn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` POSIX
lastModifiedTime

instance Prelude.NFData InferenceRecommendationsJob where
  rnf :: InferenceRecommendationsJob -> ()
rnf InferenceRecommendationsJob' {Maybe Text
Maybe POSIX
Text
POSIX
RecommendationJobStatus
RecommendationJobType
lastModifiedTime :: POSIX
roleArn :: Text
creationTime :: POSIX
status :: RecommendationJobStatus
jobArn :: Text
jobType :: RecommendationJobType
jobDescription :: Text
jobName :: Text
failureReason :: Maybe Text
completionTime :: Maybe POSIX
$sel:lastModifiedTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> POSIX
$sel:roleArn:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:creationTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> POSIX
$sel:status:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> RecommendationJobStatus
$sel:jobArn:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:jobType:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> RecommendationJobType
$sel:jobDescription:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:jobName:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Text
$sel:failureReason:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Maybe Text
$sel:completionTime:InferenceRecommendationsJob' :: InferenceRecommendationsJob -> Maybe POSIX
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
completionTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
failureReason
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
jobName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
jobDescription
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf RecommendationJobType
jobType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
jobArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf RecommendationJobStatus
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf POSIX
creationTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
roleArn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf POSIX
lastModifiedTime