{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Comprehend.Types.DocumentClassifierProperties where
import Amazonka.Comprehend.Types.ClassifierMetadata
import Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig
import Amazonka.Comprehend.Types.DocumentClassifierMode
import Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig
import Amazonka.Comprehend.Types.LanguageCode
import Amazonka.Comprehend.Types.ModelStatus
import Amazonka.Comprehend.Types.VpcConfig
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data DocumentClassifierProperties = DocumentClassifierProperties'
{
DocumentClassifierProperties -> Maybe ModelStatus
status :: Prelude.Maybe ModelStatus,
DocumentClassifierProperties -> Maybe LanguageCode
languageCode :: Prelude.Maybe LanguageCode,
DocumentClassifierProperties
-> Maybe (Sensitive ClassifierMetadata)
classifierMetadata :: Prelude.Maybe (Core.Sensitive ClassifierMetadata),
DocumentClassifierProperties -> Maybe POSIX
trainingEndTime :: Prelude.Maybe Core.POSIX,
DocumentClassifierProperties -> Maybe Text
documentClassifierArn :: Prelude.Maybe Prelude.Text,
DocumentClassifierProperties -> Maybe Text
versionName :: Prelude.Maybe Prelude.Text,
DocumentClassifierProperties -> Maybe Text
modelKmsKeyId :: Prelude.Maybe Prelude.Text,
DocumentClassifierProperties -> Maybe DocumentClassifierMode
mode :: Prelude.Maybe DocumentClassifierMode,
DocumentClassifierProperties
-> Maybe DocumentClassifierInputDataConfig
inputDataConfig :: Prelude.Maybe DocumentClassifierInputDataConfig,
DocumentClassifierProperties -> Maybe VpcConfig
vpcConfig :: Prelude.Maybe VpcConfig,
DocumentClassifierProperties -> Maybe Text
volumeKmsKeyId :: Prelude.Maybe Prelude.Text,
DocumentClassifierProperties -> Maybe POSIX
endTime :: Prelude.Maybe Core.POSIX,
DocumentClassifierProperties
-> Maybe DocumentClassifierOutputDataConfig
outputDataConfig :: Prelude.Maybe DocumentClassifierOutputDataConfig,
DocumentClassifierProperties -> Maybe POSIX
trainingStartTime :: Prelude.Maybe Core.POSIX,
DocumentClassifierProperties -> Maybe Text
dataAccessRoleArn :: Prelude.Maybe Prelude.Text,
DocumentClassifierProperties -> Maybe Text
message :: Prelude.Maybe Prelude.Text,
DocumentClassifierProperties -> Maybe POSIX
submitTime :: Prelude.Maybe Core.POSIX
}
deriving (DocumentClassifierProperties
-> DocumentClassifierProperties -> Bool
(DocumentClassifierProperties
-> DocumentClassifierProperties -> Bool)
-> (DocumentClassifierProperties
-> DocumentClassifierProperties -> Bool)
-> Eq DocumentClassifierProperties
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DocumentClassifierProperties
-> DocumentClassifierProperties -> Bool
$c/= :: DocumentClassifierProperties
-> DocumentClassifierProperties -> Bool
== :: DocumentClassifierProperties
-> DocumentClassifierProperties -> Bool
$c== :: DocumentClassifierProperties
-> DocumentClassifierProperties -> Bool
Prelude.Eq, Int -> DocumentClassifierProperties -> ShowS
[DocumentClassifierProperties] -> ShowS
DocumentClassifierProperties -> String
(Int -> DocumentClassifierProperties -> ShowS)
-> (DocumentClassifierProperties -> String)
-> ([DocumentClassifierProperties] -> ShowS)
-> Show DocumentClassifierProperties
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DocumentClassifierProperties] -> ShowS
$cshowList :: [DocumentClassifierProperties] -> ShowS
show :: DocumentClassifierProperties -> String
$cshow :: DocumentClassifierProperties -> String
showsPrec :: Int -> DocumentClassifierProperties -> ShowS
$cshowsPrec :: Int -> DocumentClassifierProperties -> ShowS
Prelude.Show, (forall x.
DocumentClassifierProperties -> Rep DocumentClassifierProperties x)
-> (forall x.
Rep DocumentClassifierProperties x -> DocumentClassifierProperties)
-> Generic DocumentClassifierProperties
forall x.
Rep DocumentClassifierProperties x -> DocumentClassifierProperties
forall x.
DocumentClassifierProperties -> Rep DocumentClassifierProperties x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DocumentClassifierProperties x -> DocumentClassifierProperties
$cfrom :: forall x.
DocumentClassifierProperties -> Rep DocumentClassifierProperties x
Prelude.Generic)
newDocumentClassifierProperties ::
DocumentClassifierProperties
newDocumentClassifierProperties :: DocumentClassifierProperties
newDocumentClassifierProperties =
DocumentClassifierProperties' :: Maybe ModelStatus
-> Maybe LanguageCode
-> Maybe (Sensitive ClassifierMetadata)
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties
DocumentClassifierProperties'
{ $sel:status:DocumentClassifierProperties' :: Maybe ModelStatus
status =
Maybe ModelStatus
forall a. Maybe a
Prelude.Nothing,
$sel:languageCode:DocumentClassifierProperties' :: Maybe LanguageCode
languageCode = Maybe LanguageCode
forall a. Maybe a
Prelude.Nothing,
$sel:classifierMetadata:DocumentClassifierProperties' :: Maybe (Sensitive ClassifierMetadata)
classifierMetadata = Maybe (Sensitive ClassifierMetadata)
forall a. Maybe a
Prelude.Nothing,
$sel:trainingEndTime:DocumentClassifierProperties' :: Maybe POSIX
trainingEndTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:documentClassifierArn:DocumentClassifierProperties' :: Maybe Text
documentClassifierArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:versionName:DocumentClassifierProperties' :: Maybe Text
versionName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:modelKmsKeyId:DocumentClassifierProperties' :: Maybe Text
modelKmsKeyId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:mode:DocumentClassifierProperties' :: Maybe DocumentClassifierMode
mode = Maybe DocumentClassifierMode
forall a. Maybe a
Prelude.Nothing,
$sel:inputDataConfig:DocumentClassifierProperties' :: Maybe DocumentClassifierInputDataConfig
inputDataConfig = Maybe DocumentClassifierInputDataConfig
forall a. Maybe a
Prelude.Nothing,
$sel:vpcConfig:DocumentClassifierProperties' :: Maybe VpcConfig
vpcConfig = Maybe VpcConfig
forall a. Maybe a
Prelude.Nothing,
$sel:volumeKmsKeyId:DocumentClassifierProperties' :: Maybe Text
volumeKmsKeyId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:endTime:DocumentClassifierProperties' :: Maybe POSIX
endTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:outputDataConfig:DocumentClassifierProperties' :: Maybe DocumentClassifierOutputDataConfig
outputDataConfig = Maybe DocumentClassifierOutputDataConfig
forall a. Maybe a
Prelude.Nothing,
$sel:trainingStartTime:DocumentClassifierProperties' :: Maybe POSIX
trainingStartTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:dataAccessRoleArn:DocumentClassifierProperties' :: Maybe Text
dataAccessRoleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:message:DocumentClassifierProperties' :: Maybe Text
message = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:submitTime:DocumentClassifierProperties' :: Maybe POSIX
submitTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing
}
documentClassifierProperties_status :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe ModelStatus)
documentClassifierProperties_status :: (Maybe ModelStatus -> f (Maybe ModelStatus))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_status = (DocumentClassifierProperties -> Maybe ModelStatus)
-> (DocumentClassifierProperties
-> Maybe ModelStatus -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe ModelStatus)
(Maybe ModelStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe ModelStatus
status :: Maybe ModelStatus
$sel:status:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe ModelStatus
status} -> Maybe ModelStatus
status) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe ModelStatus
a -> DocumentClassifierProperties
s {$sel:status:DocumentClassifierProperties' :: Maybe ModelStatus
status = Maybe ModelStatus
a} :: DocumentClassifierProperties)
documentClassifierProperties_languageCode :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe LanguageCode)
documentClassifierProperties_languageCode :: (Maybe LanguageCode -> f (Maybe LanguageCode))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_languageCode = (DocumentClassifierProperties -> Maybe LanguageCode)
-> (DocumentClassifierProperties
-> Maybe LanguageCode -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe LanguageCode)
(Maybe LanguageCode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe LanguageCode
languageCode :: Maybe LanguageCode
$sel:languageCode:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe LanguageCode
languageCode} -> Maybe LanguageCode
languageCode) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe LanguageCode
a -> DocumentClassifierProperties
s {$sel:languageCode:DocumentClassifierProperties' :: Maybe LanguageCode
languageCode = Maybe LanguageCode
a} :: DocumentClassifierProperties)
documentClassifierProperties_classifierMetadata :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe ClassifierMetadata)
documentClassifierProperties_classifierMetadata :: (Maybe ClassifierMetadata -> f (Maybe ClassifierMetadata))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_classifierMetadata = (DocumentClassifierProperties
-> Maybe (Sensitive ClassifierMetadata))
-> (DocumentClassifierProperties
-> Maybe (Sensitive ClassifierMetadata)
-> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe (Sensitive ClassifierMetadata))
(Maybe (Sensitive ClassifierMetadata))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe (Sensitive ClassifierMetadata)
classifierMetadata :: Maybe (Sensitive ClassifierMetadata)
$sel:classifierMetadata:DocumentClassifierProperties' :: DocumentClassifierProperties
-> Maybe (Sensitive ClassifierMetadata)
classifierMetadata} -> Maybe (Sensitive ClassifierMetadata)
classifierMetadata) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe (Sensitive ClassifierMetadata)
a -> DocumentClassifierProperties
s {$sel:classifierMetadata:DocumentClassifierProperties' :: Maybe (Sensitive ClassifierMetadata)
classifierMetadata = Maybe (Sensitive ClassifierMetadata)
a} :: DocumentClassifierProperties) ((Maybe (Sensitive ClassifierMetadata)
-> f (Maybe (Sensitive ClassifierMetadata)))
-> DocumentClassifierProperties -> f DocumentClassifierProperties)
-> ((Maybe ClassifierMetadata -> f (Maybe ClassifierMetadata))
-> Maybe (Sensitive ClassifierMetadata)
-> f (Maybe (Sensitive ClassifierMetadata)))
-> (Maybe ClassifierMetadata -> f (Maybe ClassifierMetadata))
-> DocumentClassifierProperties
-> f DocumentClassifierProperties
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(Sensitive ClassifierMetadata)
(Sensitive ClassifierMetadata)
ClassifierMetadata
ClassifierMetadata
-> Iso
(Maybe (Sensitive ClassifierMetadata))
(Maybe (Sensitive ClassifierMetadata))
(Maybe ClassifierMetadata)
(Maybe ClassifierMetadata)
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
(Sensitive ClassifierMetadata)
(Sensitive ClassifierMetadata)
ClassifierMetadata
ClassifierMetadata
forall a. Iso' (Sensitive a) a
Core._Sensitive
documentClassifierProperties_trainingEndTime :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.UTCTime)
documentClassifierProperties_trainingEndTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_trainingEndTime = (DocumentClassifierProperties -> Maybe POSIX)
-> (DocumentClassifierProperties
-> Maybe POSIX -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe POSIX
trainingEndTime :: Maybe POSIX
$sel:trainingEndTime:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe POSIX
trainingEndTime} -> Maybe POSIX
trainingEndTime) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe POSIX
a -> DocumentClassifierProperties
s {$sel:trainingEndTime:DocumentClassifierProperties' :: Maybe POSIX
trainingEndTime = Maybe POSIX
a} :: DocumentClassifierProperties) ((Maybe POSIX -> f (Maybe POSIX))
-> DocumentClassifierProperties -> f DocumentClassifierProperties)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties
-> f DocumentClassifierProperties
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
documentClassifierProperties_documentClassifierArn :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.Text)
documentClassifierProperties_documentClassifierArn :: (Maybe Text -> f (Maybe Text))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_documentClassifierArn = (DocumentClassifierProperties -> Maybe Text)
-> (DocumentClassifierProperties
-> Maybe Text -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe Text
documentClassifierArn :: Maybe Text
$sel:documentClassifierArn:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe Text
documentClassifierArn} -> Maybe Text
documentClassifierArn) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe Text
a -> DocumentClassifierProperties
s {$sel:documentClassifierArn:DocumentClassifierProperties' :: Maybe Text
documentClassifierArn = Maybe Text
a} :: DocumentClassifierProperties)
documentClassifierProperties_versionName :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.Text)
documentClassifierProperties_versionName :: (Maybe Text -> f (Maybe Text))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_versionName = (DocumentClassifierProperties -> Maybe Text)
-> (DocumentClassifierProperties
-> Maybe Text -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe Text
versionName :: Maybe Text
$sel:versionName:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe Text
versionName} -> Maybe Text
versionName) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe Text
a -> DocumentClassifierProperties
s {$sel:versionName:DocumentClassifierProperties' :: Maybe Text
versionName = Maybe Text
a} :: DocumentClassifierProperties)
documentClassifierProperties_modelKmsKeyId :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.Text)
documentClassifierProperties_modelKmsKeyId :: (Maybe Text -> f (Maybe Text))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_modelKmsKeyId = (DocumentClassifierProperties -> Maybe Text)
-> (DocumentClassifierProperties
-> Maybe Text -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe Text
modelKmsKeyId :: Maybe Text
$sel:modelKmsKeyId:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe Text
modelKmsKeyId} -> Maybe Text
modelKmsKeyId) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe Text
a -> DocumentClassifierProperties
s {$sel:modelKmsKeyId:DocumentClassifierProperties' :: Maybe Text
modelKmsKeyId = Maybe Text
a} :: DocumentClassifierProperties)
documentClassifierProperties_mode :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe DocumentClassifierMode)
documentClassifierProperties_mode :: (Maybe DocumentClassifierMode -> f (Maybe DocumentClassifierMode))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_mode = (DocumentClassifierProperties -> Maybe DocumentClassifierMode)
-> (DocumentClassifierProperties
-> Maybe DocumentClassifierMode -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe DocumentClassifierMode)
(Maybe DocumentClassifierMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe DocumentClassifierMode
mode :: Maybe DocumentClassifierMode
$sel:mode:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe DocumentClassifierMode
mode} -> Maybe DocumentClassifierMode
mode) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe DocumentClassifierMode
a -> DocumentClassifierProperties
s {$sel:mode:DocumentClassifierProperties' :: Maybe DocumentClassifierMode
mode = Maybe DocumentClassifierMode
a} :: DocumentClassifierProperties)
documentClassifierProperties_inputDataConfig :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe DocumentClassifierInputDataConfig)
documentClassifierProperties_inputDataConfig :: (Maybe DocumentClassifierInputDataConfig
-> f (Maybe DocumentClassifierInputDataConfig))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_inputDataConfig = (DocumentClassifierProperties
-> Maybe DocumentClassifierInputDataConfig)
-> (DocumentClassifierProperties
-> Maybe DocumentClassifierInputDataConfig
-> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe DocumentClassifierInputDataConfig)
(Maybe DocumentClassifierInputDataConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe DocumentClassifierInputDataConfig
inputDataConfig :: Maybe DocumentClassifierInputDataConfig
$sel:inputDataConfig:DocumentClassifierProperties' :: DocumentClassifierProperties
-> Maybe DocumentClassifierInputDataConfig
inputDataConfig} -> Maybe DocumentClassifierInputDataConfig
inputDataConfig) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe DocumentClassifierInputDataConfig
a -> DocumentClassifierProperties
s {$sel:inputDataConfig:DocumentClassifierProperties' :: Maybe DocumentClassifierInputDataConfig
inputDataConfig = Maybe DocumentClassifierInputDataConfig
a} :: DocumentClassifierProperties)
documentClassifierProperties_vpcConfig :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe VpcConfig)
documentClassifierProperties_vpcConfig :: (Maybe VpcConfig -> f (Maybe VpcConfig))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_vpcConfig = (DocumentClassifierProperties -> Maybe VpcConfig)
-> (DocumentClassifierProperties
-> Maybe VpcConfig -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe VpcConfig)
(Maybe VpcConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe VpcConfig
vpcConfig :: Maybe VpcConfig
$sel:vpcConfig:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe VpcConfig
vpcConfig} -> Maybe VpcConfig
vpcConfig) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe VpcConfig
a -> DocumentClassifierProperties
s {$sel:vpcConfig:DocumentClassifierProperties' :: Maybe VpcConfig
vpcConfig = Maybe VpcConfig
a} :: DocumentClassifierProperties)
documentClassifierProperties_volumeKmsKeyId :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.Text)
documentClassifierProperties_volumeKmsKeyId :: (Maybe Text -> f (Maybe Text))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_volumeKmsKeyId = (DocumentClassifierProperties -> Maybe Text)
-> (DocumentClassifierProperties
-> Maybe Text -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe Text
volumeKmsKeyId :: Maybe Text
$sel:volumeKmsKeyId:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe Text
volumeKmsKeyId} -> Maybe Text
volumeKmsKeyId) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe Text
a -> DocumentClassifierProperties
s {$sel:volumeKmsKeyId:DocumentClassifierProperties' :: Maybe Text
volumeKmsKeyId = Maybe Text
a} :: DocumentClassifierProperties)
documentClassifierProperties_endTime :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.UTCTime)
documentClassifierProperties_endTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_endTime = (DocumentClassifierProperties -> Maybe POSIX)
-> (DocumentClassifierProperties
-> Maybe POSIX -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe POSIX
endTime :: Maybe POSIX
$sel:endTime:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe POSIX
endTime} -> Maybe POSIX
endTime) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe POSIX
a -> DocumentClassifierProperties
s {$sel:endTime:DocumentClassifierProperties' :: Maybe POSIX
endTime = Maybe POSIX
a} :: DocumentClassifierProperties) ((Maybe POSIX -> f (Maybe POSIX))
-> DocumentClassifierProperties -> f DocumentClassifierProperties)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties
-> f DocumentClassifierProperties
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
documentClassifierProperties_outputDataConfig :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe DocumentClassifierOutputDataConfig)
documentClassifierProperties_outputDataConfig :: (Maybe DocumentClassifierOutputDataConfig
-> f (Maybe DocumentClassifierOutputDataConfig))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_outputDataConfig = (DocumentClassifierProperties
-> Maybe DocumentClassifierOutputDataConfig)
-> (DocumentClassifierProperties
-> Maybe DocumentClassifierOutputDataConfig
-> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe DocumentClassifierOutputDataConfig)
(Maybe DocumentClassifierOutputDataConfig)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe DocumentClassifierOutputDataConfig
outputDataConfig :: Maybe DocumentClassifierOutputDataConfig
$sel:outputDataConfig:DocumentClassifierProperties' :: DocumentClassifierProperties
-> Maybe DocumentClassifierOutputDataConfig
outputDataConfig} -> Maybe DocumentClassifierOutputDataConfig
outputDataConfig) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe DocumentClassifierOutputDataConfig
a -> DocumentClassifierProperties
s {$sel:outputDataConfig:DocumentClassifierProperties' :: Maybe DocumentClassifierOutputDataConfig
outputDataConfig = Maybe DocumentClassifierOutputDataConfig
a} :: DocumentClassifierProperties)
documentClassifierProperties_trainingStartTime :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.UTCTime)
documentClassifierProperties_trainingStartTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_trainingStartTime = (DocumentClassifierProperties -> Maybe POSIX)
-> (DocumentClassifierProperties
-> Maybe POSIX -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe POSIX
trainingStartTime :: Maybe POSIX
$sel:trainingStartTime:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe POSIX
trainingStartTime} -> Maybe POSIX
trainingStartTime) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe POSIX
a -> DocumentClassifierProperties
s {$sel:trainingStartTime:DocumentClassifierProperties' :: Maybe POSIX
trainingStartTime = Maybe POSIX
a} :: DocumentClassifierProperties) ((Maybe POSIX -> f (Maybe POSIX))
-> DocumentClassifierProperties -> f DocumentClassifierProperties)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties
-> f DocumentClassifierProperties
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
documentClassifierProperties_dataAccessRoleArn :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.Text)
documentClassifierProperties_dataAccessRoleArn :: (Maybe Text -> f (Maybe Text))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_dataAccessRoleArn = (DocumentClassifierProperties -> Maybe Text)
-> (DocumentClassifierProperties
-> Maybe Text -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe Text
dataAccessRoleArn :: Maybe Text
$sel:dataAccessRoleArn:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe Text
dataAccessRoleArn} -> Maybe Text
dataAccessRoleArn) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe Text
a -> DocumentClassifierProperties
s {$sel:dataAccessRoleArn:DocumentClassifierProperties' :: Maybe Text
dataAccessRoleArn = Maybe Text
a} :: DocumentClassifierProperties)
documentClassifierProperties_message :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.Text)
documentClassifierProperties_message :: (Maybe Text -> f (Maybe Text))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_message = (DocumentClassifierProperties -> Maybe Text)
-> (DocumentClassifierProperties
-> Maybe Text -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe Text
message :: Maybe Text
$sel:message:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe Text
message} -> Maybe Text
message) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe Text
a -> DocumentClassifierProperties
s {$sel:message:DocumentClassifierProperties' :: Maybe Text
message = Maybe Text
a} :: DocumentClassifierProperties)
documentClassifierProperties_submitTime :: Lens.Lens' DocumentClassifierProperties (Prelude.Maybe Prelude.UTCTime)
documentClassifierProperties_submitTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties -> f DocumentClassifierProperties
documentClassifierProperties_submitTime = (DocumentClassifierProperties -> Maybe POSIX)
-> (DocumentClassifierProperties
-> Maybe POSIX -> DocumentClassifierProperties)
-> Lens
DocumentClassifierProperties
DocumentClassifierProperties
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DocumentClassifierProperties' {Maybe POSIX
submitTime :: Maybe POSIX
$sel:submitTime:DocumentClassifierProperties' :: DocumentClassifierProperties -> Maybe POSIX
submitTime} -> Maybe POSIX
submitTime) (\s :: DocumentClassifierProperties
s@DocumentClassifierProperties' {} Maybe POSIX
a -> DocumentClassifierProperties
s {$sel:submitTime:DocumentClassifierProperties' :: Maybe POSIX
submitTime = Maybe POSIX
a} :: DocumentClassifierProperties) ((Maybe POSIX -> f (Maybe POSIX))
-> DocumentClassifierProperties -> f DocumentClassifierProperties)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DocumentClassifierProperties
-> f DocumentClassifierProperties
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
instance Core.FromJSON DocumentClassifierProperties where
parseJSON :: Value -> Parser DocumentClassifierProperties
parseJSON =
String
-> (Object -> Parser DocumentClassifierProperties)
-> Value
-> Parser DocumentClassifierProperties
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"DocumentClassifierProperties"
( \Object
x ->
Maybe ModelStatus
-> Maybe LanguageCode
-> Maybe (Sensitive ClassifierMetadata)
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties
DocumentClassifierProperties'
(Maybe ModelStatus
-> Maybe LanguageCode
-> Maybe (Sensitive ClassifierMetadata)
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe ModelStatus)
-> Parser
(Maybe LanguageCode
-> Maybe (Sensitive ClassifierMetadata)
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe ModelStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Status")
Parser
(Maybe LanguageCode
-> Maybe (Sensitive ClassifierMetadata)
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe LanguageCode)
-> Parser
(Maybe (Sensitive ClassifierMetadata)
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe LanguageCode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LanguageCode")
Parser
(Maybe (Sensitive ClassifierMetadata)
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe (Sensitive ClassifierMetadata))
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Sensitive ClassifierMetadata))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ClassifierMetadata")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"TrainingEndTime")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DocumentClassifierArn")
Parser
(Maybe Text
-> Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VersionName")
Parser
(Maybe Text
-> Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe Text)
-> Parser
(Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ModelKmsKeyId")
Parser
(Maybe DocumentClassifierMode
-> Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe DocumentClassifierMode)
-> Parser
(Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DocumentClassifierMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Mode")
Parser
(Maybe DocumentClassifierInputDataConfig
-> Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe DocumentClassifierInputDataConfig)
-> Parser
(Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DocumentClassifierInputDataConfig)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"InputDataConfig")
Parser
(Maybe VpcConfig
-> Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe VpcConfig)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe VpcConfig)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VpcConfig")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VolumeKmsKeyId")
Parser
(Maybe POSIX
-> Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe POSIX)
-> Parser
(Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"EndTime")
Parser
(Maybe DocumentClassifierOutputDataConfig
-> Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe DocumentClassifierOutputDataConfig)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DocumentClassifierOutputDataConfig)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"OutputDataConfig")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> DocumentClassifierProperties)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe Text -> Maybe POSIX -> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"TrainingStartTime")
Parser
(Maybe Text
-> Maybe Text -> Maybe POSIX -> DocumentClassifierProperties)
-> Parser (Maybe Text)
-> Parser
(Maybe Text -> Maybe POSIX -> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DataAccessRoleArn")
Parser (Maybe Text -> Maybe POSIX -> DocumentClassifierProperties)
-> Parser (Maybe Text)
-> Parser (Maybe POSIX -> DocumentClassifierProperties)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Message")
Parser (Maybe POSIX -> DocumentClassifierProperties)
-> Parser (Maybe POSIX) -> Parser DocumentClassifierProperties
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"SubmitTime")
)
instance
Prelude.Hashable
DocumentClassifierProperties
instance Prelude.NFData DocumentClassifierProperties