{-# 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.DescribeDataQualityJobDefinition
-- 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)
--
-- Gets the details of a data quality monitoring job definition.
module Amazonka.SageMaker.DescribeDataQualityJobDefinition
  ( -- * Creating a Request
    DescribeDataQualityJobDefinition (..),
    newDescribeDataQualityJobDefinition,

    -- * Request Lenses
    describeDataQualityJobDefinition_jobDefinitionName,

    -- * Destructuring the Response
    DescribeDataQualityJobDefinitionResponse (..),
    newDescribeDataQualityJobDefinitionResponse,

    -- * Response Lenses
    describeDataQualityJobDefinitionResponse_dataQualityBaselineConfig,
    describeDataQualityJobDefinitionResponse_stoppingCondition,
    describeDataQualityJobDefinitionResponse_networkConfig,
    describeDataQualityJobDefinitionResponse_httpStatus,
    describeDataQualityJobDefinitionResponse_jobDefinitionArn,
    describeDataQualityJobDefinitionResponse_jobDefinitionName,
    describeDataQualityJobDefinitionResponse_creationTime,
    describeDataQualityJobDefinitionResponse_dataQualityAppSpecification,
    describeDataQualityJobDefinitionResponse_dataQualityJobInput,
    describeDataQualityJobDefinitionResponse_dataQualityJobOutputConfig,
    describeDataQualityJobDefinitionResponse_jobResources,
    describeDataQualityJobDefinitionResponse_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:/ 'newDescribeDataQualityJobDefinition' smart constructor.
data DescribeDataQualityJobDefinition = DescribeDataQualityJobDefinition'
  { -- | The name of the data quality monitoring job definition to describe.
    DescribeDataQualityJobDefinition -> Text
jobDefinitionName :: Prelude.Text
  }
  deriving (DescribeDataQualityJobDefinition
-> DescribeDataQualityJobDefinition -> Bool
(DescribeDataQualityJobDefinition
 -> DescribeDataQualityJobDefinition -> Bool)
-> (DescribeDataQualityJobDefinition
    -> DescribeDataQualityJobDefinition -> Bool)
-> Eq DescribeDataQualityJobDefinition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeDataQualityJobDefinition
-> DescribeDataQualityJobDefinition -> Bool
$c/= :: DescribeDataQualityJobDefinition
-> DescribeDataQualityJobDefinition -> Bool
== :: DescribeDataQualityJobDefinition
-> DescribeDataQualityJobDefinition -> Bool
$c== :: DescribeDataQualityJobDefinition
-> DescribeDataQualityJobDefinition -> Bool
Prelude.Eq, ReadPrec [DescribeDataQualityJobDefinition]
ReadPrec DescribeDataQualityJobDefinition
Int -> ReadS DescribeDataQualityJobDefinition
ReadS [DescribeDataQualityJobDefinition]
(Int -> ReadS DescribeDataQualityJobDefinition)
-> ReadS [DescribeDataQualityJobDefinition]
-> ReadPrec DescribeDataQualityJobDefinition
-> ReadPrec [DescribeDataQualityJobDefinition]
-> Read DescribeDataQualityJobDefinition
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeDataQualityJobDefinition]
$creadListPrec :: ReadPrec [DescribeDataQualityJobDefinition]
readPrec :: ReadPrec DescribeDataQualityJobDefinition
$creadPrec :: ReadPrec DescribeDataQualityJobDefinition
readList :: ReadS [DescribeDataQualityJobDefinition]
$creadList :: ReadS [DescribeDataQualityJobDefinition]
readsPrec :: Int -> ReadS DescribeDataQualityJobDefinition
$creadsPrec :: Int -> ReadS DescribeDataQualityJobDefinition
Prelude.Read, Int -> DescribeDataQualityJobDefinition -> ShowS
[DescribeDataQualityJobDefinition] -> ShowS
DescribeDataQualityJobDefinition -> String
(Int -> DescribeDataQualityJobDefinition -> ShowS)
-> (DescribeDataQualityJobDefinition -> String)
-> ([DescribeDataQualityJobDefinition] -> ShowS)
-> Show DescribeDataQualityJobDefinition
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeDataQualityJobDefinition] -> ShowS
$cshowList :: [DescribeDataQualityJobDefinition] -> ShowS
show :: DescribeDataQualityJobDefinition -> String
$cshow :: DescribeDataQualityJobDefinition -> String
showsPrec :: Int -> DescribeDataQualityJobDefinition -> ShowS
$cshowsPrec :: Int -> DescribeDataQualityJobDefinition -> ShowS
Prelude.Show, (forall x.
 DescribeDataQualityJobDefinition
 -> Rep DescribeDataQualityJobDefinition x)
-> (forall x.
    Rep DescribeDataQualityJobDefinition x
    -> DescribeDataQualityJobDefinition)
-> Generic DescribeDataQualityJobDefinition
forall x.
Rep DescribeDataQualityJobDefinition x
-> DescribeDataQualityJobDefinition
forall x.
DescribeDataQualityJobDefinition
-> Rep DescribeDataQualityJobDefinition x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeDataQualityJobDefinition x
-> DescribeDataQualityJobDefinition
$cfrom :: forall x.
DescribeDataQualityJobDefinition
-> Rep DescribeDataQualityJobDefinition x
Prelude.Generic)

-- |
-- Create a value of 'DescribeDataQualityJobDefinition' 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', 'describeDataQualityJobDefinition_jobDefinitionName' - The name of the data quality monitoring job definition to describe.
newDescribeDataQualityJobDefinition ::
  -- | 'jobDefinitionName'
  Prelude.Text ->
  DescribeDataQualityJobDefinition
newDescribeDataQualityJobDefinition :: Text -> DescribeDataQualityJobDefinition
newDescribeDataQualityJobDefinition
  Text
pJobDefinitionName_ =
    DescribeDataQualityJobDefinition' :: Text -> DescribeDataQualityJobDefinition
DescribeDataQualityJobDefinition'
      { $sel:jobDefinitionName:DescribeDataQualityJobDefinition' :: Text
jobDefinitionName =
          Text
pJobDefinitionName_
      }

-- | The name of the data quality monitoring job definition to describe.
describeDataQualityJobDefinition_jobDefinitionName :: Lens.Lens' DescribeDataQualityJobDefinition Prelude.Text
describeDataQualityJobDefinition_jobDefinitionName :: (Text -> f Text)
-> DescribeDataQualityJobDefinition
-> f DescribeDataQualityJobDefinition
describeDataQualityJobDefinition_jobDefinitionName = (DescribeDataQualityJobDefinition -> Text)
-> (DescribeDataQualityJobDefinition
    -> Text -> DescribeDataQualityJobDefinition)
-> Lens
     DescribeDataQualityJobDefinition
     DescribeDataQualityJobDefinition
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinition' {Text
jobDefinitionName :: Text
$sel:jobDefinitionName:DescribeDataQualityJobDefinition' :: DescribeDataQualityJobDefinition -> Text
jobDefinitionName} -> Text
jobDefinitionName) (\s :: DescribeDataQualityJobDefinition
s@DescribeDataQualityJobDefinition' {} Text
a -> DescribeDataQualityJobDefinition
s {$sel:jobDefinitionName:DescribeDataQualityJobDefinition' :: Text
jobDefinitionName = Text
a} :: DescribeDataQualityJobDefinition)

instance
  Core.AWSRequest
    DescribeDataQualityJobDefinition
  where
  type
    AWSResponse DescribeDataQualityJobDefinition =
      DescribeDataQualityJobDefinitionResponse
  request :: DescribeDataQualityJobDefinition
-> Request DescribeDataQualityJobDefinition
request = Service
-> DescribeDataQualityJobDefinition
-> Request DescribeDataQualityJobDefinition
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DescribeDataQualityJobDefinition
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DescribeDataQualityJobDefinition)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DescribeDataQualityJobDefinition))
-> Logger
-> Service
-> Proxy DescribeDataQualityJobDefinition
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DescribeDataQualityJobDefinition)))
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 DataQualityBaselineConfig
-> Maybe MonitoringStoppingCondition
-> Maybe MonitoringNetworkConfig
-> Int
-> Text
-> Text
-> POSIX
-> DataQualityAppSpecification
-> DataQualityJobInput
-> MonitoringOutputConfig
-> MonitoringResources
-> Text
-> DescribeDataQualityJobDefinitionResponse
DescribeDataQualityJobDefinitionResponse'
            (Maybe DataQualityBaselineConfig
 -> Maybe MonitoringStoppingCondition
 -> Maybe MonitoringNetworkConfig
 -> Int
 -> Text
 -> Text
 -> POSIX
 -> DataQualityAppSpecification
 -> DataQualityJobInput
 -> MonitoringOutputConfig
 -> MonitoringResources
 -> Text
 -> DescribeDataQualityJobDefinitionResponse)
-> Either String (Maybe DataQualityBaselineConfig)
-> Either
     String
     (Maybe MonitoringStoppingCondition
      -> Maybe MonitoringNetworkConfig
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> DataQualityAppSpecification
      -> DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe DataQualityBaselineConfig)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"DataQualityBaselineConfig")
            Either
  String
  (Maybe MonitoringStoppingCondition
   -> Maybe MonitoringNetworkConfig
   -> Int
   -> Text
   -> Text
   -> POSIX
   -> DataQualityAppSpecification
   -> DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String (Maybe MonitoringStoppingCondition)
-> Either
     String
     (Maybe MonitoringNetworkConfig
      -> Int
      -> Text
      -> Text
      -> POSIX
      -> DataQualityAppSpecification
      -> DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
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
   -> DataQualityAppSpecification
   -> DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String (Maybe MonitoringNetworkConfig)
-> Either
     String
     (Int
      -> Text
      -> Text
      -> POSIX
      -> DataQualityAppSpecification
      -> DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
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
   -> DataQualityAppSpecification
   -> DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String Int
-> Either
     String
     (Text
      -> Text
      -> POSIX
      -> DataQualityAppSpecification
      -> DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
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
   -> DataQualityAppSpecification
   -> DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String Text
-> Either
     String
     (Text
      -> POSIX
      -> DataQualityAppSpecification
      -> DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
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
   -> DataQualityAppSpecification
   -> DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String Text
-> Either
     String
     (POSIX
      -> DataQualityAppSpecification
      -> DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
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
   -> DataQualityAppSpecification
   -> DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String POSIX
-> Either
     String
     (DataQualityAppSpecification
      -> DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
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
  (DataQualityAppSpecification
   -> DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String DataQualityAppSpecification
-> Either
     String
     (DataQualityJobInput
      -> MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String DataQualityAppSpecification
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"DataQualityAppSpecification")
            Either
  String
  (DataQualityJobInput
   -> MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String DataQualityJobInput
-> Either
     String
     (MonitoringOutputConfig
      -> MonitoringResources
      -> Text
      -> DescribeDataQualityJobDefinitionResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String DataQualityJobInput
forall a. FromJSON a => Object -> Text -> Either String a
Core..:> Text
"DataQualityJobInput")
            Either
  String
  (MonitoringOutputConfig
   -> MonitoringResources
   -> Text
   -> DescribeDataQualityJobDefinitionResponse)
-> Either String MonitoringOutputConfig
-> Either
     String
     (MonitoringResources
      -> Text -> DescribeDataQualityJobDefinitionResponse)
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
"DataQualityJobOutputConfig")
            Either
  String
  (MonitoringResources
   -> Text -> DescribeDataQualityJobDefinitionResponse)
-> Either String MonitoringResources
-> Either String (Text -> DescribeDataQualityJobDefinitionResponse)
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 -> DescribeDataQualityJobDefinitionResponse)
-> Either String Text
-> Either String DescribeDataQualityJobDefinitionResponse
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
    DescribeDataQualityJobDefinition

instance
  Prelude.NFData
    DescribeDataQualityJobDefinition

instance
  Core.ToHeaders
    DescribeDataQualityJobDefinition
  where
  toHeaders :: DescribeDataQualityJobDefinition -> ResponseHeaders
toHeaders =
    ResponseHeaders
-> DescribeDataQualityJobDefinition -> 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.DescribeDataQualityJobDefinition" ::
                          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 DescribeDataQualityJobDefinition where
  toJSON :: DescribeDataQualityJobDefinition -> Value
toJSON DescribeDataQualityJobDefinition' {Text
jobDefinitionName :: Text
$sel:jobDefinitionName:DescribeDataQualityJobDefinition' :: DescribeDataQualityJobDefinition -> 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 DescribeDataQualityJobDefinition where
  toPath :: DescribeDataQualityJobDefinition -> ByteString
toPath = ByteString -> DescribeDataQualityJobDefinition -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

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

-- | /See:/ 'newDescribeDataQualityJobDefinitionResponse' smart constructor.
data DescribeDataQualityJobDefinitionResponse = DescribeDataQualityJobDefinitionResponse'
  { -- | The constraints and baselines for the data quality monitoring job
    -- definition.
    DescribeDataQualityJobDefinitionResponse
-> Maybe DataQualityBaselineConfig
dataQualityBaselineConfig :: Prelude.Maybe DataQualityBaselineConfig,
    DescribeDataQualityJobDefinitionResponse
-> Maybe MonitoringStoppingCondition
stoppingCondition :: Prelude.Maybe MonitoringStoppingCondition,
    -- | The networking configuration for the data quality monitoring job.
    DescribeDataQualityJobDefinitionResponse
-> Maybe MonitoringNetworkConfig
networkConfig :: Prelude.Maybe MonitoringNetworkConfig,
    -- | The response's http status code.
    DescribeDataQualityJobDefinitionResponse -> Int
httpStatus :: Prelude.Int,
    -- | The Amazon Resource Name (ARN) of the data quality monitoring job
    -- definition.
    DescribeDataQualityJobDefinitionResponse -> Text
jobDefinitionArn :: Prelude.Text,
    -- | The name of the data quality monitoring job definition.
    DescribeDataQualityJobDefinitionResponse -> Text
jobDefinitionName :: Prelude.Text,
    -- | The time that the data quality monitoring job definition was created.
    DescribeDataQualityJobDefinitionResponse -> POSIX
creationTime :: Core.POSIX,
    -- | Information about the container that runs the data quality monitoring
    -- job.
    DescribeDataQualityJobDefinitionResponse
-> DataQualityAppSpecification
dataQualityAppSpecification :: DataQualityAppSpecification,
    -- | The list of inputs for the data quality monitoring job. Currently
    -- endpoints are supported.
    DescribeDataQualityJobDefinitionResponse -> DataQualityJobInput
dataQualityJobInput :: DataQualityJobInput,
    DescribeDataQualityJobDefinitionResponse -> MonitoringOutputConfig
dataQualityJobOutputConfig :: MonitoringOutputConfig,
    DescribeDataQualityJobDefinitionResponse -> MonitoringResources
jobResources :: MonitoringResources,
    -- | The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can
    -- assume to perform tasks on your behalf.
    DescribeDataQualityJobDefinitionResponse -> Text
roleArn :: Prelude.Text
  }
  deriving (DescribeDataQualityJobDefinitionResponse
-> DescribeDataQualityJobDefinitionResponse -> Bool
(DescribeDataQualityJobDefinitionResponse
 -> DescribeDataQualityJobDefinitionResponse -> Bool)
-> (DescribeDataQualityJobDefinitionResponse
    -> DescribeDataQualityJobDefinitionResponse -> Bool)
-> Eq DescribeDataQualityJobDefinitionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeDataQualityJobDefinitionResponse
-> DescribeDataQualityJobDefinitionResponse -> Bool
$c/= :: DescribeDataQualityJobDefinitionResponse
-> DescribeDataQualityJobDefinitionResponse -> Bool
== :: DescribeDataQualityJobDefinitionResponse
-> DescribeDataQualityJobDefinitionResponse -> Bool
$c== :: DescribeDataQualityJobDefinitionResponse
-> DescribeDataQualityJobDefinitionResponse -> Bool
Prelude.Eq, ReadPrec [DescribeDataQualityJobDefinitionResponse]
ReadPrec DescribeDataQualityJobDefinitionResponse
Int -> ReadS DescribeDataQualityJobDefinitionResponse
ReadS [DescribeDataQualityJobDefinitionResponse]
(Int -> ReadS DescribeDataQualityJobDefinitionResponse)
-> ReadS [DescribeDataQualityJobDefinitionResponse]
-> ReadPrec DescribeDataQualityJobDefinitionResponse
-> ReadPrec [DescribeDataQualityJobDefinitionResponse]
-> Read DescribeDataQualityJobDefinitionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeDataQualityJobDefinitionResponse]
$creadListPrec :: ReadPrec [DescribeDataQualityJobDefinitionResponse]
readPrec :: ReadPrec DescribeDataQualityJobDefinitionResponse
$creadPrec :: ReadPrec DescribeDataQualityJobDefinitionResponse
readList :: ReadS [DescribeDataQualityJobDefinitionResponse]
$creadList :: ReadS [DescribeDataQualityJobDefinitionResponse]
readsPrec :: Int -> ReadS DescribeDataQualityJobDefinitionResponse
$creadsPrec :: Int -> ReadS DescribeDataQualityJobDefinitionResponse
Prelude.Read, Int -> DescribeDataQualityJobDefinitionResponse -> ShowS
[DescribeDataQualityJobDefinitionResponse] -> ShowS
DescribeDataQualityJobDefinitionResponse -> String
(Int -> DescribeDataQualityJobDefinitionResponse -> ShowS)
-> (DescribeDataQualityJobDefinitionResponse -> String)
-> ([DescribeDataQualityJobDefinitionResponse] -> ShowS)
-> Show DescribeDataQualityJobDefinitionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeDataQualityJobDefinitionResponse] -> ShowS
$cshowList :: [DescribeDataQualityJobDefinitionResponse] -> ShowS
show :: DescribeDataQualityJobDefinitionResponse -> String
$cshow :: DescribeDataQualityJobDefinitionResponse -> String
showsPrec :: Int -> DescribeDataQualityJobDefinitionResponse -> ShowS
$cshowsPrec :: Int -> DescribeDataQualityJobDefinitionResponse -> ShowS
Prelude.Show, (forall x.
 DescribeDataQualityJobDefinitionResponse
 -> Rep DescribeDataQualityJobDefinitionResponse x)
-> (forall x.
    Rep DescribeDataQualityJobDefinitionResponse x
    -> DescribeDataQualityJobDefinitionResponse)
-> Generic DescribeDataQualityJobDefinitionResponse
forall x.
Rep DescribeDataQualityJobDefinitionResponse x
-> DescribeDataQualityJobDefinitionResponse
forall x.
DescribeDataQualityJobDefinitionResponse
-> Rep DescribeDataQualityJobDefinitionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeDataQualityJobDefinitionResponse x
-> DescribeDataQualityJobDefinitionResponse
$cfrom :: forall x.
DescribeDataQualityJobDefinitionResponse
-> Rep DescribeDataQualityJobDefinitionResponse x
Prelude.Generic)

-- |
-- Create a value of 'DescribeDataQualityJobDefinitionResponse' 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:
--
-- 'dataQualityBaselineConfig', 'describeDataQualityJobDefinitionResponse_dataQualityBaselineConfig' - The constraints and baselines for the data quality monitoring job
-- definition.
--
-- 'stoppingCondition', 'describeDataQualityJobDefinitionResponse_stoppingCondition' - Undocumented member.
--
-- 'networkConfig', 'describeDataQualityJobDefinitionResponse_networkConfig' - The networking configuration for the data quality monitoring job.
--
-- 'httpStatus', 'describeDataQualityJobDefinitionResponse_httpStatus' - The response's http status code.
--
-- 'jobDefinitionArn', 'describeDataQualityJobDefinitionResponse_jobDefinitionArn' - The Amazon Resource Name (ARN) of the data quality monitoring job
-- definition.
--
-- 'jobDefinitionName', 'describeDataQualityJobDefinitionResponse_jobDefinitionName' - The name of the data quality monitoring job definition.
--
-- 'creationTime', 'describeDataQualityJobDefinitionResponse_creationTime' - The time that the data quality monitoring job definition was created.
--
-- 'dataQualityAppSpecification', 'describeDataQualityJobDefinitionResponse_dataQualityAppSpecification' - Information about the container that runs the data quality monitoring
-- job.
--
-- 'dataQualityJobInput', 'describeDataQualityJobDefinitionResponse_dataQualityJobInput' - The list of inputs for the data quality monitoring job. Currently
-- endpoints are supported.
--
-- 'dataQualityJobOutputConfig', 'describeDataQualityJobDefinitionResponse_dataQualityJobOutputConfig' - Undocumented member.
--
-- 'jobResources', 'describeDataQualityJobDefinitionResponse_jobResources' - Undocumented member.
--
-- 'roleArn', 'describeDataQualityJobDefinitionResponse_roleArn' - The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can
-- assume to perform tasks on your behalf.
newDescribeDataQualityJobDefinitionResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  -- | 'jobDefinitionArn'
  Prelude.Text ->
  -- | 'jobDefinitionName'
  Prelude.Text ->
  -- | 'creationTime'
  Prelude.UTCTime ->
  -- | 'dataQualityAppSpecification'
  DataQualityAppSpecification ->
  -- | 'dataQualityJobInput'
  DataQualityJobInput ->
  -- | 'dataQualityJobOutputConfig'
  MonitoringOutputConfig ->
  -- | 'jobResources'
  MonitoringResources ->
  -- | 'roleArn'
  Prelude.Text ->
  DescribeDataQualityJobDefinitionResponse
newDescribeDataQualityJobDefinitionResponse :: Int
-> Text
-> Text
-> UTCTime
-> DataQualityAppSpecification
-> DataQualityJobInput
-> MonitoringOutputConfig
-> MonitoringResources
-> Text
-> DescribeDataQualityJobDefinitionResponse
newDescribeDataQualityJobDefinitionResponse
  Int
pHttpStatus_
  Text
pJobDefinitionArn_
  Text
pJobDefinitionName_
  UTCTime
pCreationTime_
  DataQualityAppSpecification
pDataQualityAppSpecification_
  DataQualityJobInput
pDataQualityJobInput_
  MonitoringOutputConfig
pDataQualityJobOutputConfig_
  MonitoringResources
pJobResources_
  Text
pRoleArn_ =
    DescribeDataQualityJobDefinitionResponse' :: Maybe DataQualityBaselineConfig
-> Maybe MonitoringStoppingCondition
-> Maybe MonitoringNetworkConfig
-> Int
-> Text
-> Text
-> POSIX
-> DataQualityAppSpecification
-> DataQualityJobInput
-> MonitoringOutputConfig
-> MonitoringResources
-> Text
-> DescribeDataQualityJobDefinitionResponse
DescribeDataQualityJobDefinitionResponse'
      { $sel:dataQualityBaselineConfig:DescribeDataQualityJobDefinitionResponse' :: Maybe DataQualityBaselineConfig
dataQualityBaselineConfig =
          Maybe DataQualityBaselineConfig
forall a. Maybe a
Prelude.Nothing,
        $sel:stoppingCondition:DescribeDataQualityJobDefinitionResponse' :: Maybe MonitoringStoppingCondition
stoppingCondition =
          Maybe MonitoringStoppingCondition
forall a. Maybe a
Prelude.Nothing,
        $sel:networkConfig:DescribeDataQualityJobDefinitionResponse' :: Maybe MonitoringNetworkConfig
networkConfig = Maybe MonitoringNetworkConfig
forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:DescribeDataQualityJobDefinitionResponse' :: Int
httpStatus = Int
pHttpStatus_,
        $sel:jobDefinitionArn:DescribeDataQualityJobDefinitionResponse' :: Text
jobDefinitionArn =
          Text
pJobDefinitionArn_,
        $sel:jobDefinitionName:DescribeDataQualityJobDefinitionResponse' :: Text
jobDefinitionName =
          Text
pJobDefinitionName_,
        $sel:creationTime:DescribeDataQualityJobDefinitionResponse' :: 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:dataQualityAppSpecification:DescribeDataQualityJobDefinitionResponse' :: DataQualityAppSpecification
dataQualityAppSpecification =
          DataQualityAppSpecification
pDataQualityAppSpecification_,
        $sel:dataQualityJobInput:DescribeDataQualityJobDefinitionResponse' :: DataQualityJobInput
dataQualityJobInput =
          DataQualityJobInput
pDataQualityJobInput_,
        $sel:dataQualityJobOutputConfig:DescribeDataQualityJobDefinitionResponse' :: MonitoringOutputConfig
dataQualityJobOutputConfig =
          MonitoringOutputConfig
pDataQualityJobOutputConfig_,
        $sel:jobResources:DescribeDataQualityJobDefinitionResponse' :: MonitoringResources
jobResources = MonitoringResources
pJobResources_,
        $sel:roleArn:DescribeDataQualityJobDefinitionResponse' :: Text
roleArn = Text
pRoleArn_
      }

-- | The constraints and baselines for the data quality monitoring job
-- definition.
describeDataQualityJobDefinitionResponse_dataQualityBaselineConfig :: Lens.Lens' DescribeDataQualityJobDefinitionResponse (Prelude.Maybe DataQualityBaselineConfig)
describeDataQualityJobDefinitionResponse_dataQualityBaselineConfig :: (Maybe DataQualityBaselineConfig
 -> f (Maybe DataQualityBaselineConfig))
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
describeDataQualityJobDefinitionResponse_dataQualityBaselineConfig = (DescribeDataQualityJobDefinitionResponse
 -> Maybe DataQualityBaselineConfig)
-> (DescribeDataQualityJobDefinitionResponse
    -> Maybe DataQualityBaselineConfig
    -> DescribeDataQualityJobDefinitionResponse)
-> Lens
     DescribeDataQualityJobDefinitionResponse
     DescribeDataQualityJobDefinitionResponse
     (Maybe DataQualityBaselineConfig)
     (Maybe DataQualityBaselineConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinitionResponse' {Maybe DataQualityBaselineConfig
dataQualityBaselineConfig :: Maybe DataQualityBaselineConfig
$sel:dataQualityBaselineConfig:DescribeDataQualityJobDefinitionResponse' :: DescribeDataQualityJobDefinitionResponse
-> Maybe DataQualityBaselineConfig
dataQualityBaselineConfig} -> Maybe DataQualityBaselineConfig
dataQualityBaselineConfig) (\s :: DescribeDataQualityJobDefinitionResponse
s@DescribeDataQualityJobDefinitionResponse' {} Maybe DataQualityBaselineConfig
a -> DescribeDataQualityJobDefinitionResponse
s {$sel:dataQualityBaselineConfig:DescribeDataQualityJobDefinitionResponse' :: Maybe DataQualityBaselineConfig
dataQualityBaselineConfig = Maybe DataQualityBaselineConfig
a} :: DescribeDataQualityJobDefinitionResponse)

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

-- | The networking configuration for the data quality monitoring job.
describeDataQualityJobDefinitionResponse_networkConfig :: Lens.Lens' DescribeDataQualityJobDefinitionResponse (Prelude.Maybe MonitoringNetworkConfig)
describeDataQualityJobDefinitionResponse_networkConfig :: (Maybe MonitoringNetworkConfig
 -> f (Maybe MonitoringNetworkConfig))
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
describeDataQualityJobDefinitionResponse_networkConfig = (DescribeDataQualityJobDefinitionResponse
 -> Maybe MonitoringNetworkConfig)
-> (DescribeDataQualityJobDefinitionResponse
    -> Maybe MonitoringNetworkConfig
    -> DescribeDataQualityJobDefinitionResponse)
-> Lens
     DescribeDataQualityJobDefinitionResponse
     DescribeDataQualityJobDefinitionResponse
     (Maybe MonitoringNetworkConfig)
     (Maybe MonitoringNetworkConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinitionResponse' {Maybe MonitoringNetworkConfig
networkConfig :: Maybe MonitoringNetworkConfig
$sel:networkConfig:DescribeDataQualityJobDefinitionResponse' :: DescribeDataQualityJobDefinitionResponse
-> Maybe MonitoringNetworkConfig
networkConfig} -> Maybe MonitoringNetworkConfig
networkConfig) (\s :: DescribeDataQualityJobDefinitionResponse
s@DescribeDataQualityJobDefinitionResponse' {} Maybe MonitoringNetworkConfig
a -> DescribeDataQualityJobDefinitionResponse
s {$sel:networkConfig:DescribeDataQualityJobDefinitionResponse' :: Maybe MonitoringNetworkConfig
networkConfig = Maybe MonitoringNetworkConfig
a} :: DescribeDataQualityJobDefinitionResponse)

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

-- | The Amazon Resource Name (ARN) of the data quality monitoring job
-- definition.
describeDataQualityJobDefinitionResponse_jobDefinitionArn :: Lens.Lens' DescribeDataQualityJobDefinitionResponse Prelude.Text
describeDataQualityJobDefinitionResponse_jobDefinitionArn :: (Text -> f Text)
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
describeDataQualityJobDefinitionResponse_jobDefinitionArn = (DescribeDataQualityJobDefinitionResponse -> Text)
-> (DescribeDataQualityJobDefinitionResponse
    -> Text -> DescribeDataQualityJobDefinitionResponse)
-> Lens
     DescribeDataQualityJobDefinitionResponse
     DescribeDataQualityJobDefinitionResponse
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinitionResponse' {Text
jobDefinitionArn :: Text
$sel:jobDefinitionArn:DescribeDataQualityJobDefinitionResponse' :: DescribeDataQualityJobDefinitionResponse -> Text
jobDefinitionArn} -> Text
jobDefinitionArn) (\s :: DescribeDataQualityJobDefinitionResponse
s@DescribeDataQualityJobDefinitionResponse' {} Text
a -> DescribeDataQualityJobDefinitionResponse
s {$sel:jobDefinitionArn:DescribeDataQualityJobDefinitionResponse' :: Text
jobDefinitionArn = Text
a} :: DescribeDataQualityJobDefinitionResponse)

-- | The name of the data quality monitoring job definition.
describeDataQualityJobDefinitionResponse_jobDefinitionName :: Lens.Lens' DescribeDataQualityJobDefinitionResponse Prelude.Text
describeDataQualityJobDefinitionResponse_jobDefinitionName :: (Text -> f Text)
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
describeDataQualityJobDefinitionResponse_jobDefinitionName = (DescribeDataQualityJobDefinitionResponse -> Text)
-> (DescribeDataQualityJobDefinitionResponse
    -> Text -> DescribeDataQualityJobDefinitionResponse)
-> Lens
     DescribeDataQualityJobDefinitionResponse
     DescribeDataQualityJobDefinitionResponse
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinitionResponse' {Text
jobDefinitionName :: Text
$sel:jobDefinitionName:DescribeDataQualityJobDefinitionResponse' :: DescribeDataQualityJobDefinitionResponse -> Text
jobDefinitionName} -> Text
jobDefinitionName) (\s :: DescribeDataQualityJobDefinitionResponse
s@DescribeDataQualityJobDefinitionResponse' {} Text
a -> DescribeDataQualityJobDefinitionResponse
s {$sel:jobDefinitionName:DescribeDataQualityJobDefinitionResponse' :: Text
jobDefinitionName = Text
a} :: DescribeDataQualityJobDefinitionResponse)

-- | The time that the data quality monitoring job definition was created.
describeDataQualityJobDefinitionResponse_creationTime :: Lens.Lens' DescribeDataQualityJobDefinitionResponse Prelude.UTCTime
describeDataQualityJobDefinitionResponse_creationTime :: (UTCTime -> f UTCTime)
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
describeDataQualityJobDefinitionResponse_creationTime = (DescribeDataQualityJobDefinitionResponse -> POSIX)
-> (DescribeDataQualityJobDefinitionResponse
    -> POSIX -> DescribeDataQualityJobDefinitionResponse)
-> Lens
     DescribeDataQualityJobDefinitionResponse
     DescribeDataQualityJobDefinitionResponse
     POSIX
     POSIX
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinitionResponse' {POSIX
creationTime :: POSIX
$sel:creationTime:DescribeDataQualityJobDefinitionResponse' :: DescribeDataQualityJobDefinitionResponse -> POSIX
creationTime} -> POSIX
creationTime) (\s :: DescribeDataQualityJobDefinitionResponse
s@DescribeDataQualityJobDefinitionResponse' {} POSIX
a -> DescribeDataQualityJobDefinitionResponse
s {$sel:creationTime:DescribeDataQualityJobDefinitionResponse' :: POSIX
creationTime = POSIX
a} :: DescribeDataQualityJobDefinitionResponse) ((POSIX -> f POSIX)
 -> DescribeDataQualityJobDefinitionResponse
 -> f DescribeDataQualityJobDefinitionResponse)
-> ((UTCTime -> f UTCTime) -> POSIX -> f POSIX)
-> (UTCTime -> f UTCTime)
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
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

-- | Information about the container that runs the data quality monitoring
-- job.
describeDataQualityJobDefinitionResponse_dataQualityAppSpecification :: Lens.Lens' DescribeDataQualityJobDefinitionResponse DataQualityAppSpecification
describeDataQualityJobDefinitionResponse_dataQualityAppSpecification :: (DataQualityAppSpecification -> f DataQualityAppSpecification)
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
describeDataQualityJobDefinitionResponse_dataQualityAppSpecification = (DescribeDataQualityJobDefinitionResponse
 -> DataQualityAppSpecification)
-> (DescribeDataQualityJobDefinitionResponse
    -> DataQualityAppSpecification
    -> DescribeDataQualityJobDefinitionResponse)
-> Lens
     DescribeDataQualityJobDefinitionResponse
     DescribeDataQualityJobDefinitionResponse
     DataQualityAppSpecification
     DataQualityAppSpecification
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinitionResponse' {DataQualityAppSpecification
dataQualityAppSpecification :: DataQualityAppSpecification
$sel:dataQualityAppSpecification:DescribeDataQualityJobDefinitionResponse' :: DescribeDataQualityJobDefinitionResponse
-> DataQualityAppSpecification
dataQualityAppSpecification} -> DataQualityAppSpecification
dataQualityAppSpecification) (\s :: DescribeDataQualityJobDefinitionResponse
s@DescribeDataQualityJobDefinitionResponse' {} DataQualityAppSpecification
a -> DescribeDataQualityJobDefinitionResponse
s {$sel:dataQualityAppSpecification:DescribeDataQualityJobDefinitionResponse' :: DataQualityAppSpecification
dataQualityAppSpecification = DataQualityAppSpecification
a} :: DescribeDataQualityJobDefinitionResponse)

-- | The list of inputs for the data quality monitoring job. Currently
-- endpoints are supported.
describeDataQualityJobDefinitionResponse_dataQualityJobInput :: Lens.Lens' DescribeDataQualityJobDefinitionResponse DataQualityJobInput
describeDataQualityJobDefinitionResponse_dataQualityJobInput :: (DataQualityJobInput -> f DataQualityJobInput)
-> DescribeDataQualityJobDefinitionResponse
-> f DescribeDataQualityJobDefinitionResponse
describeDataQualityJobDefinitionResponse_dataQualityJobInput = (DescribeDataQualityJobDefinitionResponse -> DataQualityJobInput)
-> (DescribeDataQualityJobDefinitionResponse
    -> DataQualityJobInput -> DescribeDataQualityJobDefinitionResponse)
-> Lens
     DescribeDataQualityJobDefinitionResponse
     DescribeDataQualityJobDefinitionResponse
     DataQualityJobInput
     DataQualityJobInput
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeDataQualityJobDefinitionResponse' {DataQualityJobInput
dataQualityJobInput :: DataQualityJobInput
$sel:dataQualityJobInput:DescribeDataQualityJobDefinitionResponse' :: DescribeDataQualityJobDefinitionResponse -> DataQualityJobInput
dataQualityJobInput} -> DataQualityJobInput
dataQualityJobInput) (\s :: DescribeDataQualityJobDefinitionResponse
s@DescribeDataQualityJobDefinitionResponse' {} DataQualityJobInput
a -> DescribeDataQualityJobDefinitionResponse
s {$sel:dataQualityJobInput:DescribeDataQualityJobDefinitionResponse' :: DataQualityJobInput
dataQualityJobInput = DataQualityJobInput
a} :: DescribeDataQualityJobDefinitionResponse)

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

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

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

instance
  Prelude.NFData
    DescribeDataQualityJobDefinitionResponse