{-# 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 #-}
module Amazonka.MacieV2.DescribeClassificationJob
(
DescribeClassificationJob (..),
newDescribeClassificationJob,
describeClassificationJob_jobId,
DescribeClassificationJobResponse (..),
newDescribeClassificationJobResponse,
describeClassificationJobResponse_lastRunErrorStatus,
describeClassificationJobResponse_jobType,
describeClassificationJobResponse_initialRun,
describeClassificationJobResponse_jobId,
describeClassificationJobResponse_clientToken,
describeClassificationJobResponse_jobArn,
describeClassificationJobResponse_s3JobDefinition,
describeClassificationJobResponse_createdAt,
describeClassificationJobResponse_userPausedDetails,
describeClassificationJobResponse_samplingPercentage,
describeClassificationJobResponse_managedDataIdentifierSelector,
describeClassificationJobResponse_lastRunTime,
describeClassificationJobResponse_customDataIdentifierIds,
describeClassificationJobResponse_name,
describeClassificationJobResponse_statistics,
describeClassificationJobResponse_managedDataIdentifierIds,
describeClassificationJobResponse_jobStatus,
describeClassificationJobResponse_description,
describeClassificationJobResponse_tags,
describeClassificationJobResponse_scheduleFrequency,
describeClassificationJobResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.MacieV2.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DescribeClassificationJob = DescribeClassificationJob'
{
DescribeClassificationJob -> Text
jobId :: Prelude.Text
}
deriving (DescribeClassificationJob -> DescribeClassificationJob -> Bool
(DescribeClassificationJob -> DescribeClassificationJob -> Bool)
-> (DescribeClassificationJob -> DescribeClassificationJob -> Bool)
-> Eq DescribeClassificationJob
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeClassificationJob -> DescribeClassificationJob -> Bool
$c/= :: DescribeClassificationJob -> DescribeClassificationJob -> Bool
== :: DescribeClassificationJob -> DescribeClassificationJob -> Bool
$c== :: DescribeClassificationJob -> DescribeClassificationJob -> Bool
Prelude.Eq, ReadPrec [DescribeClassificationJob]
ReadPrec DescribeClassificationJob
Int -> ReadS DescribeClassificationJob
ReadS [DescribeClassificationJob]
(Int -> ReadS DescribeClassificationJob)
-> ReadS [DescribeClassificationJob]
-> ReadPrec DescribeClassificationJob
-> ReadPrec [DescribeClassificationJob]
-> Read DescribeClassificationJob
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeClassificationJob]
$creadListPrec :: ReadPrec [DescribeClassificationJob]
readPrec :: ReadPrec DescribeClassificationJob
$creadPrec :: ReadPrec DescribeClassificationJob
readList :: ReadS [DescribeClassificationJob]
$creadList :: ReadS [DescribeClassificationJob]
readsPrec :: Int -> ReadS DescribeClassificationJob
$creadsPrec :: Int -> ReadS DescribeClassificationJob
Prelude.Read, Int -> DescribeClassificationJob -> ShowS
[DescribeClassificationJob] -> ShowS
DescribeClassificationJob -> String
(Int -> DescribeClassificationJob -> ShowS)
-> (DescribeClassificationJob -> String)
-> ([DescribeClassificationJob] -> ShowS)
-> Show DescribeClassificationJob
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeClassificationJob] -> ShowS
$cshowList :: [DescribeClassificationJob] -> ShowS
show :: DescribeClassificationJob -> String
$cshow :: DescribeClassificationJob -> String
showsPrec :: Int -> DescribeClassificationJob -> ShowS
$cshowsPrec :: Int -> DescribeClassificationJob -> ShowS
Prelude.Show, (forall x.
DescribeClassificationJob -> Rep DescribeClassificationJob x)
-> (forall x.
Rep DescribeClassificationJob x -> DescribeClassificationJob)
-> Generic DescribeClassificationJob
forall x.
Rep DescribeClassificationJob x -> DescribeClassificationJob
forall x.
DescribeClassificationJob -> Rep DescribeClassificationJob x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeClassificationJob x -> DescribeClassificationJob
$cfrom :: forall x.
DescribeClassificationJob -> Rep DescribeClassificationJob x
Prelude.Generic)
newDescribeClassificationJob ::
Prelude.Text ->
DescribeClassificationJob
newDescribeClassificationJob :: Text -> DescribeClassificationJob
newDescribeClassificationJob Text
pJobId_ =
DescribeClassificationJob' :: Text -> DescribeClassificationJob
DescribeClassificationJob' {$sel:jobId:DescribeClassificationJob' :: Text
jobId = Text
pJobId_}
describeClassificationJob_jobId :: Lens.Lens' DescribeClassificationJob Prelude.Text
describeClassificationJob_jobId :: (Text -> f Text)
-> DescribeClassificationJob -> f DescribeClassificationJob
describeClassificationJob_jobId = (DescribeClassificationJob -> Text)
-> (DescribeClassificationJob -> Text -> DescribeClassificationJob)
-> Lens
DescribeClassificationJob DescribeClassificationJob Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJob' {Text
jobId :: Text
$sel:jobId:DescribeClassificationJob' :: DescribeClassificationJob -> Text
jobId} -> Text
jobId) (\s :: DescribeClassificationJob
s@DescribeClassificationJob' {} Text
a -> DescribeClassificationJob
s {$sel:jobId:DescribeClassificationJob' :: Text
jobId = Text
a} :: DescribeClassificationJob)
instance Core.AWSRequest DescribeClassificationJob where
type
AWSResponse DescribeClassificationJob =
DescribeClassificationJobResponse
request :: DescribeClassificationJob -> Request DescribeClassificationJob
request = Service
-> DescribeClassificationJob -> Request DescribeClassificationJob
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeClassificationJob
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeClassificationJob)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse DescribeClassificationJob))
-> Logger
-> Service
-> Proxy DescribeClassificationJob
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DescribeClassificationJob)))
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 LastRunErrorStatus
-> Maybe JobType
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse
DescribeClassificationJobResponse'
(Maybe LastRunErrorStatus
-> Maybe JobType
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe LastRunErrorStatus)
-> Either
String
(Maybe JobType
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe LastRunErrorStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"lastRunErrorStatus")
Either
String
(Maybe JobType
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe JobType)
-> Either
String
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe JobType)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"jobType")
Either
String
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Bool)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"initialRun")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"jobId")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"clientToken")
Either
String
(Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"jobArn")
Either
String
(Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe S3JobDefinition)
-> Either
String
(Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe S3JobDefinition)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"s3JobDefinition")
Either
String
(Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"createdAt")
Either
String
(Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe UserPausedDetails)
-> Either
String
(Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe UserPausedDetails)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"userPausedDetails")
Either
String
(Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Int)
-> Either
String
(Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Int)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"samplingPercentage")
Either
String
(Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe ManagedDataIdentifierSelector)
-> Either
String
(Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Either String (Maybe ManagedDataIdentifierSelector)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"managedDataIdentifierSelector")
Either
String
(Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe POSIX)
-> Either
String
(Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"lastRunTime")
Either
String
(Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe [Text])
-> Either
String
(Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"customDataIdentifierIds"
Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"name")
Either
String
(Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Statistics)
-> Either
String
(Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Statistics)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"statistics")
Either
String
(Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe [Text])
-> Either
String
(Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Either String (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"managedDataIdentifierIds"
Either String (Maybe (Maybe [Text]))
-> Maybe [Text] -> Either String (Maybe [Text])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Either
String
(Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe JobStatus)
-> Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe JobStatus)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"jobStatus")
Either
String
(Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe Text)
-> Either
String
(Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"description")
Either
String
(Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse)
-> Either String (Maybe (HashMap Text Text))
-> Either
String
(Maybe JobScheduleFrequency
-> Int -> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (Maybe (HashMap Text Text)))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"tags" Either String (Maybe (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text)
-> Either String (Maybe (HashMap Text Text))
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe (HashMap Text Text)
forall a. Monoid a => a
Prelude.mempty)
Either
String
(Maybe JobScheduleFrequency
-> Int -> DescribeClassificationJobResponse)
-> Either String (Maybe JobScheduleFrequency)
-> Either String (Int -> DescribeClassificationJobResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe JobScheduleFrequency)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"scheduleFrequency")
Either String (Int -> DescribeClassificationJobResponse)
-> Either String Int
-> Either String DescribeClassificationJobResponse
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))
)
instance Prelude.Hashable DescribeClassificationJob
instance Prelude.NFData DescribeClassificationJob
instance Core.ToHeaders DescribeClassificationJob where
toHeaders :: DescribeClassificationJob -> ResponseHeaders
toHeaders =
ResponseHeaders -> DescribeClassificationJob -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ 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.ToPath DescribeClassificationJob where
toPath :: DescribeClassificationJob -> ByteString
toPath DescribeClassificationJob' {Text
jobId :: Text
$sel:jobId:DescribeClassificationJob' :: DescribeClassificationJob -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat [ByteString
"/jobs/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
jobId]
instance Core.ToQuery DescribeClassificationJob where
toQuery :: DescribeClassificationJob -> QueryString
toQuery = QueryString -> DescribeClassificationJob -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data DescribeClassificationJobResponse = DescribeClassificationJobResponse'
{
DescribeClassificationJobResponse -> Maybe LastRunErrorStatus
lastRunErrorStatus :: Prelude.Maybe LastRunErrorStatus,
DescribeClassificationJobResponse -> Maybe JobType
jobType :: Prelude.Maybe JobType,
DescribeClassificationJobResponse -> Maybe Bool
initialRun :: Prelude.Maybe Prelude.Bool,
DescribeClassificationJobResponse -> Maybe Text
jobId :: Prelude.Maybe Prelude.Text,
DescribeClassificationJobResponse -> Maybe Text
clientToken :: Prelude.Maybe Prelude.Text,
DescribeClassificationJobResponse -> Maybe Text
jobArn :: Prelude.Maybe Prelude.Text,
DescribeClassificationJobResponse -> Maybe S3JobDefinition
s3JobDefinition :: Prelude.Maybe S3JobDefinition,
DescribeClassificationJobResponse -> Maybe POSIX
createdAt :: Prelude.Maybe Core.POSIX,
DescribeClassificationJobResponse -> Maybe UserPausedDetails
userPausedDetails :: Prelude.Maybe UserPausedDetails,
DescribeClassificationJobResponse -> Maybe Int
samplingPercentage :: Prelude.Maybe Prelude.Int,
DescribeClassificationJobResponse
-> Maybe ManagedDataIdentifierSelector
managedDataIdentifierSelector :: Prelude.Maybe ManagedDataIdentifierSelector,
DescribeClassificationJobResponse -> Maybe POSIX
lastRunTime :: Prelude.Maybe Core.POSIX,
DescribeClassificationJobResponse -> Maybe [Text]
customDataIdentifierIds :: Prelude.Maybe [Prelude.Text],
DescribeClassificationJobResponse -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
DescribeClassificationJobResponse -> Maybe Statistics
statistics :: Prelude.Maybe Statistics,
DescribeClassificationJobResponse -> Maybe [Text]
managedDataIdentifierIds :: Prelude.Maybe [Prelude.Text],
DescribeClassificationJobResponse -> Maybe JobStatus
jobStatus :: Prelude.Maybe JobStatus,
DescribeClassificationJobResponse -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
DescribeClassificationJobResponse -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text),
DescribeClassificationJobResponse -> Maybe JobScheduleFrequency
scheduleFrequency :: Prelude.Maybe JobScheduleFrequency,
DescribeClassificationJobResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeClassificationJobResponse
-> DescribeClassificationJobResponse -> Bool
(DescribeClassificationJobResponse
-> DescribeClassificationJobResponse -> Bool)
-> (DescribeClassificationJobResponse
-> DescribeClassificationJobResponse -> Bool)
-> Eq DescribeClassificationJobResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeClassificationJobResponse
-> DescribeClassificationJobResponse -> Bool
$c/= :: DescribeClassificationJobResponse
-> DescribeClassificationJobResponse -> Bool
== :: DescribeClassificationJobResponse
-> DescribeClassificationJobResponse -> Bool
$c== :: DescribeClassificationJobResponse
-> DescribeClassificationJobResponse -> Bool
Prelude.Eq, ReadPrec [DescribeClassificationJobResponse]
ReadPrec DescribeClassificationJobResponse
Int -> ReadS DescribeClassificationJobResponse
ReadS [DescribeClassificationJobResponse]
(Int -> ReadS DescribeClassificationJobResponse)
-> ReadS [DescribeClassificationJobResponse]
-> ReadPrec DescribeClassificationJobResponse
-> ReadPrec [DescribeClassificationJobResponse]
-> Read DescribeClassificationJobResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeClassificationJobResponse]
$creadListPrec :: ReadPrec [DescribeClassificationJobResponse]
readPrec :: ReadPrec DescribeClassificationJobResponse
$creadPrec :: ReadPrec DescribeClassificationJobResponse
readList :: ReadS [DescribeClassificationJobResponse]
$creadList :: ReadS [DescribeClassificationJobResponse]
readsPrec :: Int -> ReadS DescribeClassificationJobResponse
$creadsPrec :: Int -> ReadS DescribeClassificationJobResponse
Prelude.Read, Int -> DescribeClassificationJobResponse -> ShowS
[DescribeClassificationJobResponse] -> ShowS
DescribeClassificationJobResponse -> String
(Int -> DescribeClassificationJobResponse -> ShowS)
-> (DescribeClassificationJobResponse -> String)
-> ([DescribeClassificationJobResponse] -> ShowS)
-> Show DescribeClassificationJobResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeClassificationJobResponse] -> ShowS
$cshowList :: [DescribeClassificationJobResponse] -> ShowS
show :: DescribeClassificationJobResponse -> String
$cshow :: DescribeClassificationJobResponse -> String
showsPrec :: Int -> DescribeClassificationJobResponse -> ShowS
$cshowsPrec :: Int -> DescribeClassificationJobResponse -> ShowS
Prelude.Show, (forall x.
DescribeClassificationJobResponse
-> Rep DescribeClassificationJobResponse x)
-> (forall x.
Rep DescribeClassificationJobResponse x
-> DescribeClassificationJobResponse)
-> Generic DescribeClassificationJobResponse
forall x.
Rep DescribeClassificationJobResponse x
-> DescribeClassificationJobResponse
forall x.
DescribeClassificationJobResponse
-> Rep DescribeClassificationJobResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeClassificationJobResponse x
-> DescribeClassificationJobResponse
$cfrom :: forall x.
DescribeClassificationJobResponse
-> Rep DescribeClassificationJobResponse x
Prelude.Generic)
newDescribeClassificationJobResponse ::
Prelude.Int ->
DescribeClassificationJobResponse
newDescribeClassificationJobResponse :: Int -> DescribeClassificationJobResponse
newDescribeClassificationJobResponse Int
pHttpStatus_ =
DescribeClassificationJobResponse' :: Maybe LastRunErrorStatus
-> Maybe JobType
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe S3JobDefinition
-> Maybe POSIX
-> Maybe UserPausedDetails
-> Maybe Int
-> Maybe ManagedDataIdentifierSelector
-> Maybe POSIX
-> Maybe [Text]
-> Maybe Text
-> Maybe Statistics
-> Maybe [Text]
-> Maybe JobStatus
-> Maybe Text
-> Maybe (HashMap Text Text)
-> Maybe JobScheduleFrequency
-> Int
-> DescribeClassificationJobResponse
DescribeClassificationJobResponse'
{ $sel:lastRunErrorStatus:DescribeClassificationJobResponse' :: Maybe LastRunErrorStatus
lastRunErrorStatus =
Maybe LastRunErrorStatus
forall a. Maybe a
Prelude.Nothing,
$sel:jobType:DescribeClassificationJobResponse' :: Maybe JobType
jobType = Maybe JobType
forall a. Maybe a
Prelude.Nothing,
$sel:initialRun:DescribeClassificationJobResponse' :: Maybe Bool
initialRun = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:jobId:DescribeClassificationJobResponse' :: Maybe Text
jobId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:clientToken:DescribeClassificationJobResponse' :: Maybe Text
clientToken = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:jobArn:DescribeClassificationJobResponse' :: Maybe Text
jobArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:s3JobDefinition:DescribeClassificationJobResponse' :: Maybe S3JobDefinition
s3JobDefinition = Maybe S3JobDefinition
forall a. Maybe a
Prelude.Nothing,
$sel:createdAt:DescribeClassificationJobResponse' :: Maybe POSIX
createdAt = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:userPausedDetails:DescribeClassificationJobResponse' :: Maybe UserPausedDetails
userPausedDetails = Maybe UserPausedDetails
forall a. Maybe a
Prelude.Nothing,
$sel:samplingPercentage:DescribeClassificationJobResponse' :: Maybe Int
samplingPercentage = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:managedDataIdentifierSelector:DescribeClassificationJobResponse' :: Maybe ManagedDataIdentifierSelector
managedDataIdentifierSelector =
Maybe ManagedDataIdentifierSelector
forall a. Maybe a
Prelude.Nothing,
$sel:lastRunTime:DescribeClassificationJobResponse' :: Maybe POSIX
lastRunTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:customDataIdentifierIds:DescribeClassificationJobResponse' :: Maybe [Text]
customDataIdentifierIds =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:name:DescribeClassificationJobResponse' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:statistics:DescribeClassificationJobResponse' :: Maybe Statistics
statistics = Maybe Statistics
forall a. Maybe a
Prelude.Nothing,
$sel:managedDataIdentifierIds:DescribeClassificationJobResponse' :: Maybe [Text]
managedDataIdentifierIds =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:jobStatus:DescribeClassificationJobResponse' :: Maybe JobStatus
jobStatus = Maybe JobStatus
forall a. Maybe a
Prelude.Nothing,
$sel:description:DescribeClassificationJobResponse' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:tags:DescribeClassificationJobResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
forall a. Maybe a
Prelude.Nothing,
$sel:scheduleFrequency:DescribeClassificationJobResponse' :: Maybe JobScheduleFrequency
scheduleFrequency = Maybe JobScheduleFrequency
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeClassificationJobResponse' :: Int
httpStatus = Int
pHttpStatus_
}
describeClassificationJobResponse_lastRunErrorStatus :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe LastRunErrorStatus)
describeClassificationJobResponse_lastRunErrorStatus :: (Maybe LastRunErrorStatus -> f (Maybe LastRunErrorStatus))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_lastRunErrorStatus = (DescribeClassificationJobResponse -> Maybe LastRunErrorStatus)
-> (DescribeClassificationJobResponse
-> Maybe LastRunErrorStatus -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe LastRunErrorStatus)
(Maybe LastRunErrorStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe LastRunErrorStatus
lastRunErrorStatus :: Maybe LastRunErrorStatus
$sel:lastRunErrorStatus:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe LastRunErrorStatus
lastRunErrorStatus} -> Maybe LastRunErrorStatus
lastRunErrorStatus) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe LastRunErrorStatus
a -> DescribeClassificationJobResponse
s {$sel:lastRunErrorStatus:DescribeClassificationJobResponse' :: Maybe LastRunErrorStatus
lastRunErrorStatus = Maybe LastRunErrorStatus
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_jobType :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe JobType)
describeClassificationJobResponse_jobType :: (Maybe JobType -> f (Maybe JobType))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_jobType = (DescribeClassificationJobResponse -> Maybe JobType)
-> (DescribeClassificationJobResponse
-> Maybe JobType -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe JobType)
(Maybe JobType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe JobType
jobType :: Maybe JobType
$sel:jobType:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe JobType
jobType} -> Maybe JobType
jobType) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe JobType
a -> DescribeClassificationJobResponse
s {$sel:jobType:DescribeClassificationJobResponse' :: Maybe JobType
jobType = Maybe JobType
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_initialRun :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.Bool)
describeClassificationJobResponse_initialRun :: (Maybe Bool -> f (Maybe Bool))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_initialRun = (DescribeClassificationJobResponse -> Maybe Bool)
-> (DescribeClassificationJobResponse
-> Maybe Bool -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Bool
initialRun :: Maybe Bool
$sel:initialRun:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Bool
initialRun} -> Maybe Bool
initialRun) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Bool
a -> DescribeClassificationJobResponse
s {$sel:initialRun:DescribeClassificationJobResponse' :: Maybe Bool
initialRun = Maybe Bool
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_jobId :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.Text)
describeClassificationJobResponse_jobId :: (Maybe Text -> f (Maybe Text))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_jobId = (DescribeClassificationJobResponse -> Maybe Text)
-> (DescribeClassificationJobResponse
-> Maybe Text -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Text
jobId :: Maybe Text
$sel:jobId:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Text
jobId} -> Maybe Text
jobId) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Text
a -> DescribeClassificationJobResponse
s {$sel:jobId:DescribeClassificationJobResponse' :: Maybe Text
jobId = Maybe Text
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_clientToken :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.Text)
describeClassificationJobResponse_clientToken :: (Maybe Text -> f (Maybe Text))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_clientToken = (DescribeClassificationJobResponse -> Maybe Text)
-> (DescribeClassificationJobResponse
-> Maybe Text -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Text
clientToken :: Maybe Text
$sel:clientToken:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Text
clientToken} -> Maybe Text
clientToken) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Text
a -> DescribeClassificationJobResponse
s {$sel:clientToken:DescribeClassificationJobResponse' :: Maybe Text
clientToken = Maybe Text
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_jobArn :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.Text)
describeClassificationJobResponse_jobArn :: (Maybe Text -> f (Maybe Text))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_jobArn = (DescribeClassificationJobResponse -> Maybe Text)
-> (DescribeClassificationJobResponse
-> Maybe Text -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Text
jobArn :: Maybe Text
$sel:jobArn:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Text
jobArn} -> Maybe Text
jobArn) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Text
a -> DescribeClassificationJobResponse
s {$sel:jobArn:DescribeClassificationJobResponse' :: Maybe Text
jobArn = Maybe Text
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_s3JobDefinition :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe S3JobDefinition)
describeClassificationJobResponse_s3JobDefinition :: (Maybe S3JobDefinition -> f (Maybe S3JobDefinition))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_s3JobDefinition = (DescribeClassificationJobResponse -> Maybe S3JobDefinition)
-> (DescribeClassificationJobResponse
-> Maybe S3JobDefinition -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe S3JobDefinition)
(Maybe S3JobDefinition)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe S3JobDefinition
s3JobDefinition :: Maybe S3JobDefinition
$sel:s3JobDefinition:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe S3JobDefinition
s3JobDefinition} -> Maybe S3JobDefinition
s3JobDefinition) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe S3JobDefinition
a -> DescribeClassificationJobResponse
s {$sel:s3JobDefinition:DescribeClassificationJobResponse' :: Maybe S3JobDefinition
s3JobDefinition = Maybe S3JobDefinition
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_createdAt :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.UTCTime)
describeClassificationJobResponse_createdAt :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_createdAt = (DescribeClassificationJobResponse -> Maybe POSIX)
-> (DescribeClassificationJobResponse
-> Maybe POSIX -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe POSIX
createdAt :: Maybe POSIX
$sel:createdAt:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe POSIX
createdAt} -> Maybe POSIX
createdAt) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe POSIX
a -> DescribeClassificationJobResponse
s {$sel:createdAt:DescribeClassificationJobResponse' :: Maybe POSIX
createdAt = Maybe POSIX
a} :: DescribeClassificationJobResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeClassificationJobResponse_userPausedDetails :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe UserPausedDetails)
describeClassificationJobResponse_userPausedDetails :: (Maybe UserPausedDetails -> f (Maybe UserPausedDetails))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_userPausedDetails = (DescribeClassificationJobResponse -> Maybe UserPausedDetails)
-> (DescribeClassificationJobResponse
-> Maybe UserPausedDetails -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe UserPausedDetails)
(Maybe UserPausedDetails)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe UserPausedDetails
userPausedDetails :: Maybe UserPausedDetails
$sel:userPausedDetails:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe UserPausedDetails
userPausedDetails} -> Maybe UserPausedDetails
userPausedDetails) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe UserPausedDetails
a -> DescribeClassificationJobResponse
s {$sel:userPausedDetails:DescribeClassificationJobResponse' :: Maybe UserPausedDetails
userPausedDetails = Maybe UserPausedDetails
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_samplingPercentage :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.Int)
describeClassificationJobResponse_samplingPercentage :: (Maybe Int -> f (Maybe Int))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_samplingPercentage = (DescribeClassificationJobResponse -> Maybe Int)
-> (DescribeClassificationJobResponse
-> Maybe Int -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Int
samplingPercentage :: Maybe Int
$sel:samplingPercentage:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Int
samplingPercentage} -> Maybe Int
samplingPercentage) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Int
a -> DescribeClassificationJobResponse
s {$sel:samplingPercentage:DescribeClassificationJobResponse' :: Maybe Int
samplingPercentage = Maybe Int
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_managedDataIdentifierSelector :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe ManagedDataIdentifierSelector)
describeClassificationJobResponse_managedDataIdentifierSelector :: (Maybe ManagedDataIdentifierSelector
-> f (Maybe ManagedDataIdentifierSelector))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_managedDataIdentifierSelector = (DescribeClassificationJobResponse
-> Maybe ManagedDataIdentifierSelector)
-> (DescribeClassificationJobResponse
-> Maybe ManagedDataIdentifierSelector
-> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe ManagedDataIdentifierSelector)
(Maybe ManagedDataIdentifierSelector)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe ManagedDataIdentifierSelector
managedDataIdentifierSelector :: Maybe ManagedDataIdentifierSelector
$sel:managedDataIdentifierSelector:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse
-> Maybe ManagedDataIdentifierSelector
managedDataIdentifierSelector} -> Maybe ManagedDataIdentifierSelector
managedDataIdentifierSelector) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe ManagedDataIdentifierSelector
a -> DescribeClassificationJobResponse
s {$sel:managedDataIdentifierSelector:DescribeClassificationJobResponse' :: Maybe ManagedDataIdentifierSelector
managedDataIdentifierSelector = Maybe ManagedDataIdentifierSelector
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_lastRunTime :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.UTCTime)
describeClassificationJobResponse_lastRunTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_lastRunTime = (DescribeClassificationJobResponse -> Maybe POSIX)
-> (DescribeClassificationJobResponse
-> Maybe POSIX -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe POSIX
lastRunTime :: Maybe POSIX
$sel:lastRunTime:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe POSIX
lastRunTime} -> Maybe POSIX
lastRunTime) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe POSIX
a -> DescribeClassificationJobResponse
s {$sel:lastRunTime:DescribeClassificationJobResponse' :: Maybe POSIX
lastRunTime = Maybe POSIX
a} :: DescribeClassificationJobResponse) ((Maybe POSIX -> f (Maybe POSIX))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
describeClassificationJobResponse_customDataIdentifierIds :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe [Prelude.Text])
describeClassificationJobResponse_customDataIdentifierIds :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_customDataIdentifierIds = (DescribeClassificationJobResponse -> Maybe [Text])
-> (DescribeClassificationJobResponse
-> Maybe [Text] -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe [Text]
customDataIdentifierIds :: Maybe [Text]
$sel:customDataIdentifierIds:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe [Text]
customDataIdentifierIds} -> Maybe [Text]
customDataIdentifierIds) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe [Text]
a -> DescribeClassificationJobResponse
s {$sel:customDataIdentifierIds:DescribeClassificationJobResponse' :: Maybe [Text]
customDataIdentifierIds = Maybe [Text]
a} :: DescribeClassificationJobResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeClassificationJobResponse_name :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.Text)
describeClassificationJobResponse_name :: (Maybe Text -> f (Maybe Text))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_name = (DescribeClassificationJobResponse -> Maybe Text)
-> (DescribeClassificationJobResponse
-> Maybe Text -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Text
name :: Maybe Text
$sel:name:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Text
name} -> Maybe Text
name) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Text
a -> DescribeClassificationJobResponse
s {$sel:name:DescribeClassificationJobResponse' :: Maybe Text
name = Maybe Text
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_statistics :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Statistics)
describeClassificationJobResponse_statistics :: (Maybe Statistics -> f (Maybe Statistics))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_statistics = (DescribeClassificationJobResponse -> Maybe Statistics)
-> (DescribeClassificationJobResponse
-> Maybe Statistics -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Statistics)
(Maybe Statistics)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Statistics
statistics :: Maybe Statistics
$sel:statistics:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Statistics
statistics} -> Maybe Statistics
statistics) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Statistics
a -> DescribeClassificationJobResponse
s {$sel:statistics:DescribeClassificationJobResponse' :: Maybe Statistics
statistics = Maybe Statistics
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_managedDataIdentifierIds :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe [Prelude.Text])
describeClassificationJobResponse_managedDataIdentifierIds :: (Maybe [Text] -> f (Maybe [Text]))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_managedDataIdentifierIds = (DescribeClassificationJobResponse -> Maybe [Text])
-> (DescribeClassificationJobResponse
-> Maybe [Text] -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe [Text]
managedDataIdentifierIds :: Maybe [Text]
$sel:managedDataIdentifierIds:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe [Text]
managedDataIdentifierIds} -> Maybe [Text]
managedDataIdentifierIds) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe [Text]
a -> DescribeClassificationJobResponse
s {$sel:managedDataIdentifierIds:DescribeClassificationJobResponse' :: Maybe [Text]
managedDataIdentifierIds = Maybe [Text]
a} :: DescribeClassificationJobResponse) ((Maybe [Text] -> f (Maybe [Text]))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeClassificationJobResponse_jobStatus :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe JobStatus)
describeClassificationJobResponse_jobStatus :: (Maybe JobStatus -> f (Maybe JobStatus))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_jobStatus = (DescribeClassificationJobResponse -> Maybe JobStatus)
-> (DescribeClassificationJobResponse
-> Maybe JobStatus -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe JobStatus)
(Maybe JobStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe JobStatus
jobStatus :: Maybe JobStatus
$sel:jobStatus:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe JobStatus
jobStatus} -> Maybe JobStatus
jobStatus) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe JobStatus
a -> DescribeClassificationJobResponse
s {$sel:jobStatus:DescribeClassificationJobResponse' :: Maybe JobStatus
jobStatus = Maybe JobStatus
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_description :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe Prelude.Text)
describeClassificationJobResponse_description :: (Maybe Text -> f (Maybe Text))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_description = (DescribeClassificationJobResponse -> Maybe Text)
-> (DescribeClassificationJobResponse
-> Maybe Text -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe Text
description :: Maybe Text
$sel:description:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe Text
description} -> Maybe Text
description) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe Text
a -> DescribeClassificationJobResponse
s {$sel:description:DescribeClassificationJobResponse' :: Maybe Text
description = Maybe Text
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_tags :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
describeClassificationJobResponse_tags :: (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_tags = (DescribeClassificationJobResponse -> Maybe (HashMap Text Text))
-> (DescribeClassificationJobResponse
-> Maybe (HashMap Text Text) -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe (HashMap Text Text)
a -> DescribeClassificationJobResponse
s {$sel:tags:DescribeClassificationJobResponse' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: DescribeClassificationJobResponse) ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse)
-> ((Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> (Maybe (HashMap Text Text) -> f (Maybe (HashMap Text Text)))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
-> Iso
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
(Maybe (HashMap Text Text))
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
(HashMap Text Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
describeClassificationJobResponse_scheduleFrequency :: Lens.Lens' DescribeClassificationJobResponse (Prelude.Maybe JobScheduleFrequency)
describeClassificationJobResponse_scheduleFrequency :: (Maybe JobScheduleFrequency -> f (Maybe JobScheduleFrequency))
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_scheduleFrequency = (DescribeClassificationJobResponse -> Maybe JobScheduleFrequency)
-> (DescribeClassificationJobResponse
-> Maybe JobScheduleFrequency -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
(Maybe JobScheduleFrequency)
(Maybe JobScheduleFrequency)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Maybe JobScheduleFrequency
scheduleFrequency :: Maybe JobScheduleFrequency
$sel:scheduleFrequency:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Maybe JobScheduleFrequency
scheduleFrequency} -> Maybe JobScheduleFrequency
scheduleFrequency) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Maybe JobScheduleFrequency
a -> DescribeClassificationJobResponse
s {$sel:scheduleFrequency:DescribeClassificationJobResponse' :: Maybe JobScheduleFrequency
scheduleFrequency = Maybe JobScheduleFrequency
a} :: DescribeClassificationJobResponse)
describeClassificationJobResponse_httpStatus :: Lens.Lens' DescribeClassificationJobResponse Prelude.Int
describeClassificationJobResponse_httpStatus :: (Int -> f Int)
-> DescribeClassificationJobResponse
-> f DescribeClassificationJobResponse
describeClassificationJobResponse_httpStatus = (DescribeClassificationJobResponse -> Int)
-> (DescribeClassificationJobResponse
-> Int -> DescribeClassificationJobResponse)
-> Lens
DescribeClassificationJobResponse
DescribeClassificationJobResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeClassificationJobResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeClassificationJobResponse' :: DescribeClassificationJobResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeClassificationJobResponse
s@DescribeClassificationJobResponse' {} Int
a -> DescribeClassificationJobResponse
s {$sel:httpStatus:DescribeClassificationJobResponse' :: Int
httpStatus = Int
a} :: DescribeClassificationJobResponse)
instance
Prelude.NFData
DescribeClassificationJobResponse