{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# 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.DescribeModelBiasJobDefinition
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns a description of a model bias job definition.
module Amazonka.SageMaker.DescribeModelBiasJobDefinition
  ( -- * Creating a Request
    DescribeModelBiasJobDefinition (..),
    newDescribeModelBiasJobDefinition,

    -- * Request Lenses
    describeModelBiasJobDefinition_jobDefinitionName,

    -- * Destructuring the Response
    DescribeModelBiasJobDefinitionResponse (..),
    newDescribeModelBiasJobDefinitionResponse,

    -- * Response Lenses
    describeModelBiasJobDefinitionResponse_modelBiasBaselineConfig,
    describeModelBiasJobDefinitionResponse_stoppingCondition,
    describeModelBiasJobDefinitionResponse_networkConfig,
    describeModelBiasJobDefinitionResponse_httpStatus,
    describeModelBiasJobDefinitionResponse_jobDefinitionArn,
    describeModelBiasJobDefinitionResponse_jobDefinitionName,
    describeModelBiasJobDefinitionResponse_creationTime,
    describeModelBiasJobDefinitionResponse_modelBiasAppSpecification,
    describeModelBiasJobDefinitionResponse_modelBiasJobInput,
    describeModelBiasJobDefinitionResponse_modelBiasJobOutputConfig,
    describeModelBiasJobDefinitionResponse_jobResources,
    describeModelBiasJobDefinitionResponse_roleArn,
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SageMaker.Types

-- | /See:/ 'newDescribeModelBiasJobDefinition' smart constructor.
data DescribeModelBiasJobDefinition = DescribeModelBiasJobDefinition'
  { -- | The name of the model bias job definition. The name must be unique
    -- within an Amazon Web Services Region in the Amazon Web Services account.
    DescribeModelBiasJobDefinition -> Text
jobDefinitionName :: Prelude.Text
  }
  deriving (DescribeModelBiasJobDefinition
-> DescribeModelBiasJobDefinition -> Bool
(DescribeModelBiasJobDefinition
 -> DescribeModelBiasJobDefinition -> Bool)
-> (DescribeModelBiasJobDefinition
    -> DescribeModelBiasJobDefinition -> Bool)
-> Eq DescribeModelBiasJobDefinition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeModelBiasJobDefinition
-> DescribeModelBiasJobDefinition -> Bool
$c/= :: DescribeModelBiasJobDefinition
-> DescribeModelBiasJobDefinition -> Bool
== :: DescribeModelBiasJobDefinition
-> DescribeModelBiasJobDefinition -> Bool
$c== :: DescribeModelBiasJobDefinition
-> DescribeModelBiasJobDefinition -> Bool
Prelude.Eq, ReadPrec [DescribeModelBiasJobDefinition]
ReadPrec DescribeModelBiasJobDefinition
Int -> ReadS DescribeModelBiasJobDefinition
ReadS [DescribeModelBiasJobDefinition]
(Int -> ReadS DescribeModelBiasJobDefinition)
-> ReadS [DescribeModelBiasJobDefinition]
-> ReadPrec DescribeModelBiasJobDefinition
-> ReadPrec [DescribeModelBiasJobDefinition]
-> Read DescribeModelBiasJobDefinition
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeModelBiasJobDefinition]
$creadListPrec :: ReadPrec [DescribeModelBiasJobDefinition]
readPrec :: ReadPrec DescribeModelBiasJobDefinition
$creadPrec :: ReadPrec DescribeModelBiasJobDefinition
readList :: ReadS [DescribeModelBiasJobDefinition]
$creadList :: ReadS [DescribeModelBiasJobDefinition]
readsPrec :: Int -> ReadS DescribeModelBiasJobDefinition
$creadsPrec :: Int -> ReadS DescribeModelBiasJobDefinition
Prelude.Read, Int -> DescribeModelBiasJobDefinition -> ShowS
[DescribeModelBiasJobDefinition] -> ShowS
DescribeModelBiasJobDefinition -> String
(Int -> DescribeModelBiasJobDefinition -> ShowS)
-> (DescribeModelBiasJobDefinition -> String)
-> ([DescribeModelBiasJobDefinition] -> ShowS)
-> Show DescribeModelBiasJobDefinition
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeModelBiasJobDefinition] -> ShowS
$cshowList :: [DescribeModelBiasJobDefinition] -> ShowS
show :: DescribeModelBiasJobDefinition -> String
$cshow :: DescribeModelBiasJobDefinition -> String
showsPrec :: Int -> DescribeModelBiasJobDefinition -> ShowS
$cshowsPrec :: Int -> DescribeModelBiasJobDefinition -> ShowS
Prelude.Show, (forall x.
 DescribeModelBiasJobDefinition
 -> Rep DescribeModelBiasJobDefinition x)
-> (forall x.
    Rep DescribeModelBiasJobDefinition x
    -> DescribeModelBiasJobDefinition)
-> Generic DescribeModelBiasJobDefinition
forall x.
Rep DescribeModelBiasJobDefinition x
-> DescribeModelBiasJobDefinition
forall x.
DescribeModelBiasJobDefinition
-> Rep DescribeModelBiasJobDefinition x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeModelBiasJobDefinition x
-> DescribeModelBiasJobDefinition
$cfrom :: forall x.
DescribeModelBiasJobDefinition
-> Rep DescribeModelBiasJobDefinition x
Prelude.Generic)

-- |
-- Create a value of 'DescribeModelBiasJobDefinition' 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:
--
-- 'jobDefinitionName', 'describeModelBiasJobDefinition_jobDefinitionName' - The name of the model bias job definition. The name must be unique
-- within an Amazon Web Services Region in the Amazon Web Services account.
newDescribeModelBiasJobDefinition ::
  -- | 'jobDefinitionName'
  Prelude.Text ->
  DescribeModelBiasJobDefinition
newDescribeModelBiasJobDefinition :: Text -> DescribeModelBiasJobDefinition
newDescribeModelBiasJobDefinition Text
pJobDefinitionName_ =
  DescribeModelBiasJobDefinition' :: Text -> DescribeModelBiasJobDefinition
DescribeModelBiasJobDefinition'
    { $sel:jobDefinitionName:DescribeModelBiasJobDefinition' :: Text
jobDefinitionName =
        Text
pJobDefinitionName_
    }

-- | The name of the model bias job definition. The name must be unique
-- within an Amazon Web Services Region in the Amazon Web Services account.
describeModelBiasJobDefinition_jobDefinitionName :: Lens.Lens' DescribeModelBiasJobDefinition Prelude.Text
describeModelBiasJobDefinition_jobDefinitionName :: (Text -> f Text)
-> DescribeModelBiasJobDefinition
-> f DescribeModelBiasJobDefinition
describeModelBiasJobDefinition_jobDefinitionName = (DescribeModelBiasJobDefinition -> Text)
-> (DescribeModelBiasJobDefinition
    -> Text -> DescribeModelBiasJobDefinition)
-> Lens
     DescribeModelBiasJobDefinition
     DescribeModelBiasJobDefinition
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinition' {Text
jobDefinitionName :: Text
$sel:jobDefinitionName:DescribeModelBiasJobDefinition' :: DescribeModelBiasJobDefinition -> Text
jobDefinitionName} -> Text
jobDefinitionName) (\s :: DescribeModelBiasJobDefinition
s@DescribeModelBiasJobDefinition' {} Text
a -> DescribeModelBiasJobDefinition
s {$sel:jobDefinitionName:DescribeModelBiasJobDefinition' :: Text
jobDefinitionName = Text
a} :: DescribeModelBiasJobDefinition)

instance
  Core.AWSRequest
    DescribeModelBiasJobDefinition
  where
  type
    AWSResponse DescribeModelBiasJobDefinition =
      DescribeModelBiasJobDefinitionResponse
  request :: DescribeModelBiasJobDefinition
-> Request DescribeModelBiasJobDefinition
request = Service
-> DescribeModelBiasJobDefinition
-> Request DescribeModelBiasJobDefinition
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeModelBiasJobDefinition
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DescribeModelBiasJobDefinition)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeModelBiasJobDefinition))
-> Logger
-> Service
-> Proxy DescribeModelBiasJobDefinition
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DescribeModelBiasJobDefinition)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe ModelBiasBaselineConfig
-> Maybe MonitoringStoppingCondition
-> Maybe MonitoringNetworkConfig
-> Int
-> Text
-> Text
-> POSIX
-> ModelBiasAppSpecification
-> ModelBiasJobInput
-> MonitoringOutputConfig
-> MonitoringResources
-> Text
-> DescribeModelBiasJobDefinitionResponse
DescribeModelBiasJobDefinitionResponse'
            (Maybe ModelBiasBaselineConfig
 -> Maybe MonitoringStoppingCondition
 -> Maybe MonitoringNetworkConfig
 -> Int
 -> Text
 -> Text
 -> POSIX
 -> ModelBiasAppSpecification
 -> ModelBiasJobInput
 -> MonitoringOutputConfig
 -> MonitoringResources
 -> Text
 -> DescribeModelBiasJobDefinitionResponse)
-> Either String (Maybe ModelBiasBaselineConfig)
-> Either
     String
     (Maybe MonitoringStoppingCondition
      -> Maybe MonitoringNetworkConfig
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> ModelBiasAppSpecification
      -> ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe ModelBiasBaselineConfig)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"ModelBiasBaselineConfig")
            Either
  String
  (Maybe MonitoringStoppingCondition
   -> Maybe MonitoringNetworkConfig
   -> Int
   -> Text
   -> Text
   -> POSIX
   -> ModelBiasAppSpecification
   -> ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String (Maybe MonitoringStoppingCondition)
-> Either
     String
     (Maybe MonitoringNetworkConfig
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> ModelBiasAppSpecification
      -> ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe MonitoringStoppingCondition)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"StoppingCondition")
            Either
  String
  (Maybe MonitoringNetworkConfig
   -> Int
   -> Text
   -> Text
   -> POSIX
   -> ModelBiasAppSpecification
   -> ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String (Maybe MonitoringNetworkConfig)
-> Either
     String
     (Int
      -> Text
      -> Text
      -> POSIX
      -> ModelBiasAppSpecification
      -> ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe MonitoringNetworkConfig)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"NetworkConfig")
            Either
  String
  (Int
   -> Text
   -> Text
   -> POSIX
   -> ModelBiasAppSpecification
   -> ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String Int
-> Either
     String
     (Text
      -> Text
      -> POSIX
      -> ModelBiasAppSpecification
      -> ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
            Either
  String
  (Text
   -> Text
   -> POSIX
   -> ModelBiasAppSpecification
   -> ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String Text
-> Either
     String
     (Text
      -> POSIX
      -> ModelBiasAppSpecification
      -> ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"JobDefinitionArn")
            Either
  String
  (Text
   -> POSIX
   -> ModelBiasAppSpecification
   -> ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String Text
-> Either
     String
     (POSIX
      -> ModelBiasAppSpecification
      -> ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"JobDefinitionName")
            Either
  String
  (POSIX
   -> ModelBiasAppSpecification
   -> ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String POSIX
-> Either
     String
     (ModelBiasAppSpecification
      -> ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String POSIX
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"CreationTime")
            Either
  String
  (ModelBiasAppSpecification
   -> ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String ModelBiasAppSpecification
-> Either
     String
     (ModelBiasJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String ModelBiasAppSpecification
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"ModelBiasAppSpecification")
            Either
  String
  (ModelBiasJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String ModelBiasJobInput
-> Either
     String
     (MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String ModelBiasJobInput
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"ModelBiasJobInput")
            Either
  String
  (MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeModelBiasJobDefinitionResponse)
-> Either String MonitoringOutputConfig
-> Either
     String
     (MonitoringResources
      -> Text -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String MonitoringOutputConfig
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"ModelBiasJobOutputConfig")
            Either
  String
  (MonitoringResources
   -> Text -> DescribeModelBiasJobDefinitionResponse)
-> Either String MonitoringResources
-> Either String (Text -> DescribeModelBiasJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String MonitoringResources
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"JobResources")
            Either String (Text -> DescribeModelBiasJobDefinitionResponse)
-> Either String Text
-> Either String DescribeModelBiasJobDefinitionResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String Text
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"RoleArn")
      )

instance
  Prelude.Hashable
    DescribeModelBiasJobDefinition

instance
  Prelude.NFData
    DescribeModelBiasJobDefinition

instance
  Core.ToHeaders
    DescribeModelBiasJobDefinition
  where
  toHeaders :: DescribeModelBiasJobDefinition -> ResponseHeaders
toHeaders =
    ResponseHeaders
-> DescribeModelBiasJobDefinition -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"SageMaker.DescribeModelBiasJobDefinition" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToJSON DescribeModelBiasJobDefinition where
  toJSON :: DescribeModelBiasJobDefinition -> Value
toJSON DescribeModelBiasJobDefinition' {Text
jobDefinitionName :: Text
$sel:jobDefinitionName:DescribeModelBiasJobDefinition' :: DescribeModelBiasJobDefinition -> Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              (Text
"JobDefinitionName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
jobDefinitionName)
          ]
      )

instance Core.ToPath DescribeModelBiasJobDefinition where
  toPath :: DescribeModelBiasJobDefinition -> ByteString
toPath = ByteString -> DescribeModelBiasJobDefinition -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Core.ToQuery DescribeModelBiasJobDefinition where
  toQuery :: DescribeModelBiasJobDefinition -> QueryString
toQuery = QueryString -> DescribeModelBiasJobDefinition -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newDescribeModelBiasJobDefinitionResponse' smart constructor.
data DescribeModelBiasJobDefinitionResponse = DescribeModelBiasJobDefinitionResponse'
  { -- | The baseline configuration for a model bias job.
    DescribeModelBiasJobDefinitionResponse
-> Maybe ModelBiasBaselineConfig
modelBiasBaselineConfig :: Prelude.Maybe ModelBiasBaselineConfig,
    DescribeModelBiasJobDefinitionResponse
-> Maybe MonitoringStoppingCondition
stoppingCondition :: Prelude.Maybe MonitoringStoppingCondition,
    -- | Networking options for a model bias job.
    DescribeModelBiasJobDefinitionResponse
-> Maybe MonitoringNetworkConfig
networkConfig :: Prelude.Maybe MonitoringNetworkConfig,
    -- | The response's http status code.
    DescribeModelBiasJobDefinitionResponse -> Int
httpStatus :: Prelude.Int,
    -- | The Amazon Resource Name (ARN) of the model bias job.
    DescribeModelBiasJobDefinitionResponse -> Text
jobDefinitionArn :: Prelude.Text,
    -- | The name of the bias job definition. The name must be unique within an
    -- Amazon Web Services Region in the Amazon Web Services account.
    DescribeModelBiasJobDefinitionResponse -> Text
jobDefinitionName :: Prelude.Text,
    -- | The time at which the model bias job was created.
    DescribeModelBiasJobDefinitionResponse -> POSIX
creationTime :: Core.POSIX,
    -- | Configures the model bias job to run a specified Docker container image.
    DescribeModelBiasJobDefinitionResponse -> ModelBiasAppSpecification
modelBiasAppSpecification :: ModelBiasAppSpecification,
    -- | Inputs for the model bias job.
    DescribeModelBiasJobDefinitionResponse -> ModelBiasJobInput
modelBiasJobInput :: ModelBiasJobInput,
    DescribeModelBiasJobDefinitionResponse -> MonitoringOutputConfig
modelBiasJobOutputConfig :: MonitoringOutputConfig,
    DescribeModelBiasJobDefinitionResponse -> MonitoringResources
jobResources :: MonitoringResources,
    -- | The Amazon Resource Name (ARN) of the Amazon Web Services Identity and
    -- Access Management (IAM) role that has read permission to the input data
    -- location and write permission to the output data location in Amazon S3.
    DescribeModelBiasJobDefinitionResponse -> Text
roleArn :: Prelude.Text
  }
  deriving (DescribeModelBiasJobDefinitionResponse
-> DescribeModelBiasJobDefinitionResponse -> Bool
(DescribeModelBiasJobDefinitionResponse
 -> DescribeModelBiasJobDefinitionResponse -> Bool)
-> (DescribeModelBiasJobDefinitionResponse
    -> DescribeModelBiasJobDefinitionResponse -> Bool)
-> Eq DescribeModelBiasJobDefinitionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeModelBiasJobDefinitionResponse
-> DescribeModelBiasJobDefinitionResponse -> Bool
$c/= :: DescribeModelBiasJobDefinitionResponse
-> DescribeModelBiasJobDefinitionResponse -> Bool
== :: DescribeModelBiasJobDefinitionResponse
-> DescribeModelBiasJobDefinitionResponse -> Bool
$c== :: DescribeModelBiasJobDefinitionResponse
-> DescribeModelBiasJobDefinitionResponse -> Bool
Prelude.Eq, ReadPrec [DescribeModelBiasJobDefinitionResponse]
ReadPrec DescribeModelBiasJobDefinitionResponse
Int -> ReadS DescribeModelBiasJobDefinitionResponse
ReadS [DescribeModelBiasJobDefinitionResponse]
(Int -> ReadS DescribeModelBiasJobDefinitionResponse)
-> ReadS [DescribeModelBiasJobDefinitionResponse]
-> ReadPrec DescribeModelBiasJobDefinitionResponse
-> ReadPrec [DescribeModelBiasJobDefinitionResponse]
-> Read DescribeModelBiasJobDefinitionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeModelBiasJobDefinitionResponse]
$creadListPrec :: ReadPrec [DescribeModelBiasJobDefinitionResponse]
readPrec :: ReadPrec DescribeModelBiasJobDefinitionResponse
$creadPrec :: ReadPrec DescribeModelBiasJobDefinitionResponse
readList :: ReadS [DescribeModelBiasJobDefinitionResponse]
$creadList :: ReadS [DescribeModelBiasJobDefinitionResponse]
readsPrec :: Int -> ReadS DescribeModelBiasJobDefinitionResponse
$creadsPrec :: Int -> ReadS DescribeModelBiasJobDefinitionResponse
Prelude.Read, Int -> DescribeModelBiasJobDefinitionResponse -> ShowS
[DescribeModelBiasJobDefinitionResponse] -> ShowS
DescribeModelBiasJobDefinitionResponse -> String
(Int -> DescribeModelBiasJobDefinitionResponse -> ShowS)
-> (DescribeModelBiasJobDefinitionResponse -> String)
-> ([DescribeModelBiasJobDefinitionResponse] -> ShowS)
-> Show DescribeModelBiasJobDefinitionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeModelBiasJobDefinitionResponse] -> ShowS
$cshowList :: [DescribeModelBiasJobDefinitionResponse] -> ShowS
show :: DescribeModelBiasJobDefinitionResponse -> String
$cshow :: DescribeModelBiasJobDefinitionResponse -> String
showsPrec :: Int -> DescribeModelBiasJobDefinitionResponse -> ShowS
$cshowsPrec :: Int -> DescribeModelBiasJobDefinitionResponse -> ShowS
Prelude.Show, (forall x.
 DescribeModelBiasJobDefinitionResponse
 -> Rep DescribeModelBiasJobDefinitionResponse x)
-> (forall x.
    Rep DescribeModelBiasJobDefinitionResponse x
    -> DescribeModelBiasJobDefinitionResponse)
-> Generic DescribeModelBiasJobDefinitionResponse
forall x.
Rep DescribeModelBiasJobDefinitionResponse x
-> DescribeModelBiasJobDefinitionResponse
forall x.
DescribeModelBiasJobDefinitionResponse
-> Rep DescribeModelBiasJobDefinitionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeModelBiasJobDefinitionResponse x
-> DescribeModelBiasJobDefinitionResponse
$cfrom :: forall x.
DescribeModelBiasJobDefinitionResponse
-> Rep DescribeModelBiasJobDefinitionResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeModelBiasJobDefinitionResponse' 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:
--
-- 'modelBiasBaselineConfig', 'describeModelBiasJobDefinitionResponse_modelBiasBaselineConfig' - The baseline configuration for a model bias job.
--
-- 'stoppingCondition', 'describeModelBiasJobDefinitionResponse_stoppingCondition' - Undocumented member.
--
-- 'networkConfig', 'describeModelBiasJobDefinitionResponse_networkConfig' - Networking options for a model bias job.
--
-- 'httpStatus', 'describeModelBiasJobDefinitionResponse_httpStatus' - The response's http status code.
--
-- 'jobDefinitionArn', 'describeModelBiasJobDefinitionResponse_jobDefinitionArn' - The Amazon Resource Name (ARN) of the model bias job.
--
-- 'jobDefinitionName', 'describeModelBiasJobDefinitionResponse_jobDefinitionName' - The name of the bias job definition. The name must be unique within an
-- Amazon Web Services Region in the Amazon Web Services account.
--
-- 'creationTime', 'describeModelBiasJobDefinitionResponse_creationTime' - The time at which the model bias job was created.
--
-- 'modelBiasAppSpecification', 'describeModelBiasJobDefinitionResponse_modelBiasAppSpecification' - Configures the model bias job to run a specified Docker container image.
--
-- 'modelBiasJobInput', 'describeModelBiasJobDefinitionResponse_modelBiasJobInput' - Inputs for the model bias job.
--
-- 'modelBiasJobOutputConfig', 'describeModelBiasJobDefinitionResponse_modelBiasJobOutputConfig' - Undocumented member.
--
-- 'jobResources', 'describeModelBiasJobDefinitionResponse_jobResources' - Undocumented member.
--
-- 'roleArn', 'describeModelBiasJobDefinitionResponse_roleArn' - The Amazon Resource Name (ARN) of the Amazon Web Services Identity and
-- Access Management (IAM) role that has read permission to the input data
-- location and write permission to the output data location in Amazon S3.
newDescribeModelBiasJobDefinitionResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  -- | 'jobDefinitionArn'
  Prelude.Text ->
  -- | 'jobDefinitionName'
  Prelude.Text ->
  -- | 'creationTime'
  Prelude.UTCTime ->
  -- | 'modelBiasAppSpecification'
  ModelBiasAppSpecification ->
  -- | 'modelBiasJobInput'
  ModelBiasJobInput ->
  -- | 'modelBiasJobOutputConfig'
  MonitoringOutputConfig ->
  -- | 'jobResources'
  MonitoringResources ->
  -- | 'roleArn'
  Prelude.Text ->
  DescribeModelBiasJobDefinitionResponse
newDescribeModelBiasJobDefinitionResponse :: Int
-> Text
-> Text
-> UTCTime
-> ModelBiasAppSpecification
-> ModelBiasJobInput
-> MonitoringOutputConfig
-> MonitoringResources
-> Text
-> DescribeModelBiasJobDefinitionResponse
newDescribeModelBiasJobDefinitionResponse
  Int
pHttpStatus_
  Text
pJobDefinitionArn_
  Text
pJobDefinitionName_
  UTCTime
pCreationTime_
  ModelBiasAppSpecification
pModelBiasAppSpecification_
  ModelBiasJobInput
pModelBiasJobInput_
  MonitoringOutputConfig
pModelBiasJobOutputConfig_
  MonitoringResources
pJobResources_
  Text
pRoleArn_ =
    DescribeModelBiasJobDefinitionResponse' :: Maybe ModelBiasBaselineConfig
-> Maybe MonitoringStoppingCondition
-> Maybe MonitoringNetworkConfig
-> Int
-> Text
-> Text
-> POSIX
-> ModelBiasAppSpecification
-> ModelBiasJobInput
-> MonitoringOutputConfig
-> MonitoringResources
-> Text
-> DescribeModelBiasJobDefinitionResponse
DescribeModelBiasJobDefinitionResponse'
      { $sel:modelBiasBaselineConfig:DescribeModelBiasJobDefinitionResponse' :: Maybe ModelBiasBaselineConfig
modelBiasBaselineConfig =
          Maybe ModelBiasBaselineConfig
forall a. Maybe a
Prelude.Nothing,
        $sel:stoppingCondition:DescribeModelBiasJobDefinitionResponse' :: Maybe MonitoringStoppingCondition
stoppingCondition = Maybe MonitoringStoppingCondition
forall a. Maybe a
Prelude.Nothing,
        $sel:networkConfig:DescribeModelBiasJobDefinitionResponse' :: Maybe MonitoringNetworkConfig
networkConfig = Maybe MonitoringNetworkConfig
forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:DescribeModelBiasJobDefinitionResponse' :: Int
httpStatus = Int
pHttpStatus_,
        $sel:jobDefinitionArn:DescribeModelBiasJobDefinitionResponse' :: Text
jobDefinitionArn =
          Text
pJobDefinitionArn_,
        $sel:jobDefinitionName:DescribeModelBiasJobDefinitionResponse' :: Text
jobDefinitionName =
          Text
pJobDefinitionName_,
        $sel:creationTime:DescribeModelBiasJobDefinitionResponse' :: POSIX
creationTime =
          Tagged UTCTime (Identity UTCTime) -> Tagged POSIX (Identity POSIX)
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time (Tagged UTCTime (Identity UTCTime)
 -> Tagged POSIX (Identity POSIX))
-> UTCTime -> POSIX
forall t b. AReview t b -> b -> t
Lens.# UTCTime
pCreationTime_,
        $sel:modelBiasAppSpecification:DescribeModelBiasJobDefinitionResponse' :: ModelBiasAppSpecification
modelBiasAppSpecification =
          ModelBiasAppSpecification
pModelBiasAppSpecification_,
        $sel:modelBiasJobInput:DescribeModelBiasJobDefinitionResponse' :: ModelBiasJobInput
modelBiasJobInput =
          ModelBiasJobInput
pModelBiasJobInput_,
        $sel:modelBiasJobOutputConfig:DescribeModelBiasJobDefinitionResponse' :: MonitoringOutputConfig
modelBiasJobOutputConfig =
          MonitoringOutputConfig
pModelBiasJobOutputConfig_,
        $sel:jobResources:DescribeModelBiasJobDefinitionResponse' :: MonitoringResources
jobResources = MonitoringResources
pJobResources_,
        $sel:roleArn:DescribeModelBiasJobDefinitionResponse' :: Text
roleArn = Text
pRoleArn_
      }

-- | The baseline configuration for a model bias job.
describeModelBiasJobDefinitionResponse_modelBiasBaselineConfig :: Lens.Lens' DescribeModelBiasJobDefinitionResponse (Prelude.Maybe ModelBiasBaselineConfig)
describeModelBiasJobDefinitionResponse_modelBiasBaselineConfig :: (Maybe ModelBiasBaselineConfig
 -> f (Maybe ModelBiasBaselineConfig))
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_modelBiasBaselineConfig = (DescribeModelBiasJobDefinitionResponse
 -> Maybe ModelBiasBaselineConfig)
-> (DescribeModelBiasJobDefinitionResponse
    -> Maybe ModelBiasBaselineConfig
    -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     (Maybe ModelBiasBaselineConfig)
     (Maybe ModelBiasBaselineConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {Maybe ModelBiasBaselineConfig
modelBiasBaselineConfig :: Maybe ModelBiasBaselineConfig
$sel:modelBiasBaselineConfig:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse
-> Maybe ModelBiasBaselineConfig
modelBiasBaselineConfig} -> Maybe ModelBiasBaselineConfig
modelBiasBaselineConfig) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} Maybe ModelBiasBaselineConfig
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:modelBiasBaselineConfig:DescribeModelBiasJobDefinitionResponse' :: Maybe ModelBiasBaselineConfig
modelBiasBaselineConfig = Maybe ModelBiasBaselineConfig
a} :: DescribeModelBiasJobDefinitionResponse)

-- | Undocumented member.
describeModelBiasJobDefinitionResponse_stoppingCondition :: Lens.Lens' DescribeModelBiasJobDefinitionResponse (Prelude.Maybe MonitoringStoppingCondition)
describeModelBiasJobDefinitionResponse_stoppingCondition :: (Maybe MonitoringStoppingCondition
 -> f (Maybe MonitoringStoppingCondition))
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_stoppingCondition = (DescribeModelBiasJobDefinitionResponse
 -> Maybe MonitoringStoppingCondition)
-> (DescribeModelBiasJobDefinitionResponse
    -> Maybe MonitoringStoppingCondition
    -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     (Maybe MonitoringStoppingCondition)
     (Maybe MonitoringStoppingCondition)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {Maybe MonitoringStoppingCondition
stoppingCondition :: Maybe MonitoringStoppingCondition
$sel:stoppingCondition:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse
-> Maybe MonitoringStoppingCondition
stoppingCondition} -> Maybe MonitoringStoppingCondition
stoppingCondition) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} Maybe MonitoringStoppingCondition
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:stoppingCondition:DescribeModelBiasJobDefinitionResponse' :: Maybe MonitoringStoppingCondition
stoppingCondition = Maybe MonitoringStoppingCondition
a} :: DescribeModelBiasJobDefinitionResponse)

-- | Networking options for a model bias job.
describeModelBiasJobDefinitionResponse_networkConfig :: Lens.Lens' DescribeModelBiasJobDefinitionResponse (Prelude.Maybe MonitoringNetworkConfig)
describeModelBiasJobDefinitionResponse_networkConfig :: (Maybe MonitoringNetworkConfig
 -> f (Maybe MonitoringNetworkConfig))
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_networkConfig = (DescribeModelBiasJobDefinitionResponse
 -> Maybe MonitoringNetworkConfig)
-> (DescribeModelBiasJobDefinitionResponse
    -> Maybe MonitoringNetworkConfig
    -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     (Maybe MonitoringNetworkConfig)
     (Maybe MonitoringNetworkConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {Maybe MonitoringNetworkConfig
networkConfig :: Maybe MonitoringNetworkConfig
$sel:networkConfig:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse
-> Maybe MonitoringNetworkConfig
networkConfig} -> Maybe MonitoringNetworkConfig
networkConfig) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} Maybe MonitoringNetworkConfig
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:networkConfig:DescribeModelBiasJobDefinitionResponse' :: Maybe MonitoringNetworkConfig
networkConfig = Maybe MonitoringNetworkConfig
a} :: DescribeModelBiasJobDefinitionResponse)

-- | The response's http status code.
describeModelBiasJobDefinitionResponse_httpStatus :: Lens.Lens' DescribeModelBiasJobDefinitionResponse Prelude.Int
describeModelBiasJobDefinitionResponse_httpStatus :: (Int -> f Int)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_httpStatus = (DescribeModelBiasJobDefinitionResponse -> Int)
-> (DescribeModelBiasJobDefinitionResponse
    -> Int -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     Int
     Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} Int
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:httpStatus:DescribeModelBiasJobDefinitionResponse' :: Int
httpStatus = Int
a} :: DescribeModelBiasJobDefinitionResponse)

-- | The Amazon Resource Name (ARN) of the model bias job.
describeModelBiasJobDefinitionResponse_jobDefinitionArn :: Lens.Lens' DescribeModelBiasJobDefinitionResponse Prelude.Text
describeModelBiasJobDefinitionResponse_jobDefinitionArn :: (Text -> f Text)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_jobDefinitionArn = (DescribeModelBiasJobDefinitionResponse -> Text)
-> (DescribeModelBiasJobDefinitionResponse
    -> Text -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {Text
jobDefinitionArn :: Text
$sel:jobDefinitionArn:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> Text
jobDefinitionArn} -> Text
jobDefinitionArn) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} Text
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:jobDefinitionArn:DescribeModelBiasJobDefinitionResponse' :: Text
jobDefinitionArn = Text
a} :: DescribeModelBiasJobDefinitionResponse)

-- | The name of the bias job definition. The name must be unique within an
-- Amazon Web Services Region in the Amazon Web Services account.
describeModelBiasJobDefinitionResponse_jobDefinitionName :: Lens.Lens' DescribeModelBiasJobDefinitionResponse Prelude.Text
describeModelBiasJobDefinitionResponse_jobDefinitionName :: (Text -> f Text)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_jobDefinitionName = (DescribeModelBiasJobDefinitionResponse -> Text)
-> (DescribeModelBiasJobDefinitionResponse
    -> Text -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {Text
jobDefinitionName :: Text
$sel:jobDefinitionName:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> Text
jobDefinitionName} -> Text
jobDefinitionName) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} Text
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:jobDefinitionName:DescribeModelBiasJobDefinitionResponse' :: Text
jobDefinitionName = Text
a} :: DescribeModelBiasJobDefinitionResponse)

-- | The time at which the model bias job was created.
describeModelBiasJobDefinitionResponse_creationTime :: Lens.Lens' DescribeModelBiasJobDefinitionResponse Prelude.UTCTime
describeModelBiasJobDefinitionResponse_creationTime :: (UTCTime -> f UTCTime)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_creationTime = (DescribeModelBiasJobDefinitionResponse -> POSIX)
-> (DescribeModelBiasJobDefinitionResponse
    -> POSIX -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     POSIX
     POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {POSIX
creationTime :: POSIX
$sel:creationTime:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> POSIX
creationTime} -> POSIX
creationTime) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} POSIX
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:creationTime:DescribeModelBiasJobDefinitionResponse' :: POSIX
creationTime = POSIX
a} :: DescribeModelBiasJobDefinitionResponse) ((POSIX -> f POSIX)
 -> DescribeModelBiasJobDefinitionResponse
 -> f DescribeModelBiasJobDefinitionResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (UTCTime -> f UTCTime) -> POSIX -> f POSIX
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time

-- | Configures the model bias job to run a specified Docker container image.
describeModelBiasJobDefinitionResponse_modelBiasAppSpecification :: Lens.Lens' DescribeModelBiasJobDefinitionResponse ModelBiasAppSpecification
describeModelBiasJobDefinitionResponse_modelBiasAppSpecification :: (ModelBiasAppSpecification -> f ModelBiasAppSpecification)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_modelBiasAppSpecification = (DescribeModelBiasJobDefinitionResponse
 -> ModelBiasAppSpecification)
-> (DescribeModelBiasJobDefinitionResponse
    -> ModelBiasAppSpecification
    -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     ModelBiasAppSpecification
     ModelBiasAppSpecification
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {ModelBiasAppSpecification
modelBiasAppSpecification :: ModelBiasAppSpecification
$sel:modelBiasAppSpecification:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> ModelBiasAppSpecification
modelBiasAppSpecification} -> ModelBiasAppSpecification
modelBiasAppSpecification) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} ModelBiasAppSpecification
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:modelBiasAppSpecification:DescribeModelBiasJobDefinitionResponse' :: ModelBiasAppSpecification
modelBiasAppSpecification = ModelBiasAppSpecification
a} :: DescribeModelBiasJobDefinitionResponse)

-- | Inputs for the model bias job.
describeModelBiasJobDefinitionResponse_modelBiasJobInput :: Lens.Lens' DescribeModelBiasJobDefinitionResponse ModelBiasJobInput
describeModelBiasJobDefinitionResponse_modelBiasJobInput :: (ModelBiasJobInput -> f ModelBiasJobInput)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_modelBiasJobInput = (DescribeModelBiasJobDefinitionResponse -> ModelBiasJobInput)
-> (DescribeModelBiasJobDefinitionResponse
    -> ModelBiasJobInput -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     ModelBiasJobInput
     ModelBiasJobInput
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {ModelBiasJobInput
modelBiasJobInput :: ModelBiasJobInput
$sel:modelBiasJobInput:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> ModelBiasJobInput
modelBiasJobInput} -> ModelBiasJobInput
modelBiasJobInput) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} ModelBiasJobInput
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:modelBiasJobInput:DescribeModelBiasJobDefinitionResponse' :: ModelBiasJobInput
modelBiasJobInput = ModelBiasJobInput
a} :: DescribeModelBiasJobDefinitionResponse)

-- | Undocumented member.
describeModelBiasJobDefinitionResponse_modelBiasJobOutputConfig :: Lens.Lens' DescribeModelBiasJobDefinitionResponse MonitoringOutputConfig
describeModelBiasJobDefinitionResponse_modelBiasJobOutputConfig :: (MonitoringOutputConfig -> f MonitoringOutputConfig)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_modelBiasJobOutputConfig = (DescribeModelBiasJobDefinitionResponse -> MonitoringOutputConfig)
-> (DescribeModelBiasJobDefinitionResponse
    -> MonitoringOutputConfig
    -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     MonitoringOutputConfig
     MonitoringOutputConfig
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {MonitoringOutputConfig
modelBiasJobOutputConfig :: MonitoringOutputConfig
$sel:modelBiasJobOutputConfig:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> MonitoringOutputConfig
modelBiasJobOutputConfig} -> MonitoringOutputConfig
modelBiasJobOutputConfig) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} MonitoringOutputConfig
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:modelBiasJobOutputConfig:DescribeModelBiasJobDefinitionResponse' :: MonitoringOutputConfig
modelBiasJobOutputConfig = MonitoringOutputConfig
a} :: DescribeModelBiasJobDefinitionResponse)

-- | Undocumented member.
describeModelBiasJobDefinitionResponse_jobResources :: Lens.Lens' DescribeModelBiasJobDefinitionResponse MonitoringResources
describeModelBiasJobDefinitionResponse_jobResources :: (MonitoringResources -> f MonitoringResources)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_jobResources = (DescribeModelBiasJobDefinitionResponse -> MonitoringResources)
-> (DescribeModelBiasJobDefinitionResponse
    -> MonitoringResources -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     MonitoringResources
     MonitoringResources
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {MonitoringResources
jobResources :: MonitoringResources
$sel:jobResources:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> MonitoringResources
jobResources} -> MonitoringResources
jobResources) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} MonitoringResources
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:jobResources:DescribeModelBiasJobDefinitionResponse' :: MonitoringResources
jobResources = MonitoringResources
a} :: DescribeModelBiasJobDefinitionResponse)

-- | The Amazon Resource Name (ARN) of the Amazon Web Services Identity and
-- Access Management (IAM) role that has read permission to the input data
-- location and write permission to the output data location in Amazon S3.
describeModelBiasJobDefinitionResponse_roleArn :: Lens.Lens' DescribeModelBiasJobDefinitionResponse Prelude.Text
describeModelBiasJobDefinitionResponse_roleArn :: (Text -> f Text)
-> DescribeModelBiasJobDefinitionResponse
-> f DescribeModelBiasJobDefinitionResponse
describeModelBiasJobDefinitionResponse_roleArn = (DescribeModelBiasJobDefinitionResponse -> Text)
-> (DescribeModelBiasJobDefinitionResponse
    -> Text -> DescribeModelBiasJobDefinitionResponse)
-> Lens
     DescribeModelBiasJobDefinitionResponse
     DescribeModelBiasJobDefinitionResponse
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeModelBiasJobDefinitionResponse' {Text
roleArn :: Text
$sel:roleArn:DescribeModelBiasJobDefinitionResponse' :: DescribeModelBiasJobDefinitionResponse -> Text
roleArn} -> Text
roleArn) (\s :: DescribeModelBiasJobDefinitionResponse
s@DescribeModelBiasJobDefinitionResponse' {} Text
a -> DescribeModelBiasJobDefinitionResponse
s {$sel:roleArn:DescribeModelBiasJobDefinitionResponse' :: Text
roleArn = Text
a} :: DescribeModelBiasJobDefinitionResponse)

instance
  Prelude.NFData
    DescribeModelBiasJobDefinitionResponse