{-# 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.Transcribe.Types.MedicalTranscriptionJobSummary where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Transcribe.Types.LanguageCode
import Amazonka.Transcribe.Types.MedicalContentIdentificationType
import Amazonka.Transcribe.Types.OutputLocationType
import Amazonka.Transcribe.Types.Specialty
import Amazonka.Transcribe.Types.TranscriptionJobStatus
import Amazonka.Transcribe.Types.Type
data MedicalTranscriptionJobSummary = MedicalTranscriptionJobSummary'
{
MedicalTranscriptionJobSummary -> Maybe POSIX
creationTime :: Prelude.Maybe Core.POSIX,
MedicalTranscriptionJobSummary -> Maybe Specialty
specialty :: Prelude.Maybe Specialty,
MedicalTranscriptionJobSummary -> Maybe Text
failureReason :: Prelude.Maybe Prelude.Text,
MedicalTranscriptionJobSummary -> Maybe LanguageCode
languageCode :: Prelude.Maybe LanguageCode,
MedicalTranscriptionJobSummary -> Maybe OutputLocationType
outputLocationType :: Prelude.Maybe OutputLocationType,
MedicalTranscriptionJobSummary -> Maybe POSIX
startTime :: Prelude.Maybe Core.POSIX,
MedicalTranscriptionJobSummary -> Maybe POSIX
completionTime :: Prelude.Maybe Core.POSIX,
MedicalTranscriptionJobSummary -> Maybe Text
medicalTranscriptionJobName :: Prelude.Maybe Prelude.Text,
MedicalTranscriptionJobSummary -> Maybe TranscriptionJobStatus
transcriptionJobStatus :: Prelude.Maybe TranscriptionJobStatus,
MedicalTranscriptionJobSummary -> Maybe Type
type' :: Prelude.Maybe Type,
MedicalTranscriptionJobSummary
-> Maybe MedicalContentIdentificationType
contentIdentificationType :: Prelude.Maybe MedicalContentIdentificationType
}
deriving (MedicalTranscriptionJobSummary
-> MedicalTranscriptionJobSummary -> Bool
(MedicalTranscriptionJobSummary
-> MedicalTranscriptionJobSummary -> Bool)
-> (MedicalTranscriptionJobSummary
-> MedicalTranscriptionJobSummary -> Bool)
-> Eq MedicalTranscriptionJobSummary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MedicalTranscriptionJobSummary
-> MedicalTranscriptionJobSummary -> Bool
$c/= :: MedicalTranscriptionJobSummary
-> MedicalTranscriptionJobSummary -> Bool
== :: MedicalTranscriptionJobSummary
-> MedicalTranscriptionJobSummary -> Bool
$c== :: MedicalTranscriptionJobSummary
-> MedicalTranscriptionJobSummary -> Bool
Prelude.Eq, ReadPrec [MedicalTranscriptionJobSummary]
ReadPrec MedicalTranscriptionJobSummary
Int -> ReadS MedicalTranscriptionJobSummary
ReadS [MedicalTranscriptionJobSummary]
(Int -> ReadS MedicalTranscriptionJobSummary)
-> ReadS [MedicalTranscriptionJobSummary]
-> ReadPrec MedicalTranscriptionJobSummary
-> ReadPrec [MedicalTranscriptionJobSummary]
-> Read MedicalTranscriptionJobSummary
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MedicalTranscriptionJobSummary]
$creadListPrec :: ReadPrec [MedicalTranscriptionJobSummary]
readPrec :: ReadPrec MedicalTranscriptionJobSummary
$creadPrec :: ReadPrec MedicalTranscriptionJobSummary
readList :: ReadS [MedicalTranscriptionJobSummary]
$creadList :: ReadS [MedicalTranscriptionJobSummary]
readsPrec :: Int -> ReadS MedicalTranscriptionJobSummary
$creadsPrec :: Int -> ReadS MedicalTranscriptionJobSummary
Prelude.Read, Int -> MedicalTranscriptionJobSummary -> ShowS
[MedicalTranscriptionJobSummary] -> ShowS
MedicalTranscriptionJobSummary -> String
(Int -> MedicalTranscriptionJobSummary -> ShowS)
-> (MedicalTranscriptionJobSummary -> String)
-> ([MedicalTranscriptionJobSummary] -> ShowS)
-> Show MedicalTranscriptionJobSummary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MedicalTranscriptionJobSummary] -> ShowS
$cshowList :: [MedicalTranscriptionJobSummary] -> ShowS
show :: MedicalTranscriptionJobSummary -> String
$cshow :: MedicalTranscriptionJobSummary -> String
showsPrec :: Int -> MedicalTranscriptionJobSummary -> ShowS
$cshowsPrec :: Int -> MedicalTranscriptionJobSummary -> ShowS
Prelude.Show, (forall x.
MedicalTranscriptionJobSummary
-> Rep MedicalTranscriptionJobSummary x)
-> (forall x.
Rep MedicalTranscriptionJobSummary x
-> MedicalTranscriptionJobSummary)
-> Generic MedicalTranscriptionJobSummary
forall x.
Rep MedicalTranscriptionJobSummary x
-> MedicalTranscriptionJobSummary
forall x.
MedicalTranscriptionJobSummary
-> Rep MedicalTranscriptionJobSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep MedicalTranscriptionJobSummary x
-> MedicalTranscriptionJobSummary
$cfrom :: forall x.
MedicalTranscriptionJobSummary
-> Rep MedicalTranscriptionJobSummary x
Prelude.Generic)
newMedicalTranscriptionJobSummary ::
MedicalTranscriptionJobSummary
newMedicalTranscriptionJobSummary :: MedicalTranscriptionJobSummary
newMedicalTranscriptionJobSummary =
MedicalTranscriptionJobSummary' :: Maybe POSIX
-> Maybe Specialty
-> Maybe Text
-> Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary'
{ $sel:creationTime:MedicalTranscriptionJobSummary' :: Maybe POSIX
creationTime =
Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:specialty:MedicalTranscriptionJobSummary' :: Maybe Specialty
specialty = Maybe Specialty
forall a. Maybe a
Prelude.Nothing,
$sel:failureReason:MedicalTranscriptionJobSummary' :: Maybe Text
failureReason = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:languageCode:MedicalTranscriptionJobSummary' :: Maybe LanguageCode
languageCode = Maybe LanguageCode
forall a. Maybe a
Prelude.Nothing,
$sel:outputLocationType:MedicalTranscriptionJobSummary' :: Maybe OutputLocationType
outputLocationType = Maybe OutputLocationType
forall a. Maybe a
Prelude.Nothing,
$sel:startTime:MedicalTranscriptionJobSummary' :: Maybe POSIX
startTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:completionTime:MedicalTranscriptionJobSummary' :: Maybe POSIX
completionTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:medicalTranscriptionJobName:MedicalTranscriptionJobSummary' :: Maybe Text
medicalTranscriptionJobName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:transcriptionJobStatus:MedicalTranscriptionJobSummary' :: Maybe TranscriptionJobStatus
transcriptionJobStatus = Maybe TranscriptionJobStatus
forall a. Maybe a
Prelude.Nothing,
$sel:type':MedicalTranscriptionJobSummary' :: Maybe Type
type' = Maybe Type
forall a. Maybe a
Prelude.Nothing,
$sel:contentIdentificationType:MedicalTranscriptionJobSummary' :: Maybe MedicalContentIdentificationType
contentIdentificationType = Maybe MedicalContentIdentificationType
forall a. Maybe a
Prelude.Nothing
}
medicalTranscriptionJobSummary_creationTime :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe Prelude.UTCTime)
medicalTranscriptionJobSummary_creationTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_creationTime = (MedicalTranscriptionJobSummary -> Maybe POSIX)
-> (MedicalTranscriptionJobSummary
-> Maybe POSIX -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe POSIX
creationTime :: Maybe POSIX
$sel:creationTime:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe POSIX
creationTime} -> Maybe POSIX
creationTime) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe POSIX
a -> MedicalTranscriptionJobSummary
s {$sel:creationTime:MedicalTranscriptionJobSummary' :: Maybe POSIX
creationTime = Maybe POSIX
a} :: MedicalTranscriptionJobSummary) ((Maybe POSIX -> f (Maybe POSIX))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
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
medicalTranscriptionJobSummary_specialty :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe Specialty)
medicalTranscriptionJobSummary_specialty :: (Maybe Specialty -> f (Maybe Specialty))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_specialty = (MedicalTranscriptionJobSummary -> Maybe Specialty)
-> (MedicalTranscriptionJobSummary
-> Maybe Specialty -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe Specialty)
(Maybe Specialty)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe Specialty
specialty :: Maybe Specialty
$sel:specialty:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe Specialty
specialty} -> Maybe Specialty
specialty) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe Specialty
a -> MedicalTranscriptionJobSummary
s {$sel:specialty:MedicalTranscriptionJobSummary' :: Maybe Specialty
specialty = Maybe Specialty
a} :: MedicalTranscriptionJobSummary)
medicalTranscriptionJobSummary_failureReason :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe Prelude.Text)
medicalTranscriptionJobSummary_failureReason :: (Maybe Text -> f (Maybe Text))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_failureReason = (MedicalTranscriptionJobSummary -> Maybe Text)
-> (MedicalTranscriptionJobSummary
-> Maybe Text -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe Text
failureReason :: Maybe Text
$sel:failureReason:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe Text
failureReason} -> Maybe Text
failureReason) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe Text
a -> MedicalTranscriptionJobSummary
s {$sel:failureReason:MedicalTranscriptionJobSummary' :: Maybe Text
failureReason = Maybe Text
a} :: MedicalTranscriptionJobSummary)
medicalTranscriptionJobSummary_languageCode :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe LanguageCode)
medicalTranscriptionJobSummary_languageCode :: (Maybe LanguageCode -> f (Maybe LanguageCode))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_languageCode = (MedicalTranscriptionJobSummary -> Maybe LanguageCode)
-> (MedicalTranscriptionJobSummary
-> Maybe LanguageCode -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe LanguageCode)
(Maybe LanguageCode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe LanguageCode
languageCode :: Maybe LanguageCode
$sel:languageCode:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe LanguageCode
languageCode} -> Maybe LanguageCode
languageCode) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe LanguageCode
a -> MedicalTranscriptionJobSummary
s {$sel:languageCode:MedicalTranscriptionJobSummary' :: Maybe LanguageCode
languageCode = Maybe LanguageCode
a} :: MedicalTranscriptionJobSummary)
medicalTranscriptionJobSummary_outputLocationType :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe OutputLocationType)
medicalTranscriptionJobSummary_outputLocationType :: (Maybe OutputLocationType -> f (Maybe OutputLocationType))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_outputLocationType = (MedicalTranscriptionJobSummary -> Maybe OutputLocationType)
-> (MedicalTranscriptionJobSummary
-> Maybe OutputLocationType -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe OutputLocationType)
(Maybe OutputLocationType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe OutputLocationType
outputLocationType :: Maybe OutputLocationType
$sel:outputLocationType:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe OutputLocationType
outputLocationType} -> Maybe OutputLocationType
outputLocationType) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe OutputLocationType
a -> MedicalTranscriptionJobSummary
s {$sel:outputLocationType:MedicalTranscriptionJobSummary' :: Maybe OutputLocationType
outputLocationType = Maybe OutputLocationType
a} :: MedicalTranscriptionJobSummary)
medicalTranscriptionJobSummary_startTime :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe Prelude.UTCTime)
medicalTranscriptionJobSummary_startTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_startTime = (MedicalTranscriptionJobSummary -> Maybe POSIX)
-> (MedicalTranscriptionJobSummary
-> Maybe POSIX -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe POSIX
startTime :: Maybe POSIX
$sel:startTime:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe POSIX
startTime} -> Maybe POSIX
startTime) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe POSIX
a -> MedicalTranscriptionJobSummary
s {$sel:startTime:MedicalTranscriptionJobSummary' :: Maybe POSIX
startTime = Maybe POSIX
a} :: MedicalTranscriptionJobSummary) ((Maybe POSIX -> f (Maybe POSIX))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
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
medicalTranscriptionJobSummary_completionTime :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe Prelude.UTCTime)
medicalTranscriptionJobSummary_completionTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_completionTime = (MedicalTranscriptionJobSummary -> Maybe POSIX)
-> (MedicalTranscriptionJobSummary
-> Maybe POSIX -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe POSIX
completionTime :: Maybe POSIX
$sel:completionTime:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe POSIX
completionTime} -> Maybe POSIX
completionTime) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe POSIX
a -> MedicalTranscriptionJobSummary
s {$sel:completionTime:MedicalTranscriptionJobSummary' :: Maybe POSIX
completionTime = Maybe POSIX
a} :: MedicalTranscriptionJobSummary) ((Maybe POSIX -> f (Maybe POSIX))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
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
medicalTranscriptionJobSummary_medicalTranscriptionJobName :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe Prelude.Text)
medicalTranscriptionJobSummary_medicalTranscriptionJobName :: (Maybe Text -> f (Maybe Text))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_medicalTranscriptionJobName = (MedicalTranscriptionJobSummary -> Maybe Text)
-> (MedicalTranscriptionJobSummary
-> Maybe Text -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe Text
medicalTranscriptionJobName :: Maybe Text
$sel:medicalTranscriptionJobName:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe Text
medicalTranscriptionJobName} -> Maybe Text
medicalTranscriptionJobName) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe Text
a -> MedicalTranscriptionJobSummary
s {$sel:medicalTranscriptionJobName:MedicalTranscriptionJobSummary' :: Maybe Text
medicalTranscriptionJobName = Maybe Text
a} :: MedicalTranscriptionJobSummary)
medicalTranscriptionJobSummary_transcriptionJobStatus :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe TranscriptionJobStatus)
medicalTranscriptionJobSummary_transcriptionJobStatus :: (Maybe TranscriptionJobStatus -> f (Maybe TranscriptionJobStatus))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_transcriptionJobStatus = (MedicalTranscriptionJobSummary -> Maybe TranscriptionJobStatus)
-> (MedicalTranscriptionJobSummary
-> Maybe TranscriptionJobStatus -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe TranscriptionJobStatus)
(Maybe TranscriptionJobStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe TranscriptionJobStatus
transcriptionJobStatus :: Maybe TranscriptionJobStatus
$sel:transcriptionJobStatus:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe TranscriptionJobStatus
transcriptionJobStatus} -> Maybe TranscriptionJobStatus
transcriptionJobStatus) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe TranscriptionJobStatus
a -> MedicalTranscriptionJobSummary
s {$sel:transcriptionJobStatus:MedicalTranscriptionJobSummary' :: Maybe TranscriptionJobStatus
transcriptionJobStatus = Maybe TranscriptionJobStatus
a} :: MedicalTranscriptionJobSummary)
medicalTranscriptionJobSummary_type :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe Type)
medicalTranscriptionJobSummary_type :: (Maybe Type -> f (Maybe Type))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_type = (MedicalTranscriptionJobSummary -> Maybe Type)
-> (MedicalTranscriptionJobSummary
-> Maybe Type -> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe Type)
(Maybe Type)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe Type
type' :: Maybe Type
$sel:type':MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary -> Maybe Type
type'} -> Maybe Type
type') (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe Type
a -> MedicalTranscriptionJobSummary
s {$sel:type':MedicalTranscriptionJobSummary' :: Maybe Type
type' = Maybe Type
a} :: MedicalTranscriptionJobSummary)
medicalTranscriptionJobSummary_contentIdentificationType :: Lens.Lens' MedicalTranscriptionJobSummary (Prelude.Maybe MedicalContentIdentificationType)
medicalTranscriptionJobSummary_contentIdentificationType :: (Maybe MedicalContentIdentificationType
-> f (Maybe MedicalContentIdentificationType))
-> MedicalTranscriptionJobSummary
-> f MedicalTranscriptionJobSummary
medicalTranscriptionJobSummary_contentIdentificationType = (MedicalTranscriptionJobSummary
-> Maybe MedicalContentIdentificationType)
-> (MedicalTranscriptionJobSummary
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Lens
MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary
(Maybe MedicalContentIdentificationType)
(Maybe MedicalContentIdentificationType)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MedicalTranscriptionJobSummary' {Maybe MedicalContentIdentificationType
contentIdentificationType :: Maybe MedicalContentIdentificationType
$sel:contentIdentificationType:MedicalTranscriptionJobSummary' :: MedicalTranscriptionJobSummary
-> Maybe MedicalContentIdentificationType
contentIdentificationType} -> Maybe MedicalContentIdentificationType
contentIdentificationType) (\s :: MedicalTranscriptionJobSummary
s@MedicalTranscriptionJobSummary' {} Maybe MedicalContentIdentificationType
a -> MedicalTranscriptionJobSummary
s {$sel:contentIdentificationType:MedicalTranscriptionJobSummary' :: Maybe MedicalContentIdentificationType
contentIdentificationType = Maybe MedicalContentIdentificationType
a} :: MedicalTranscriptionJobSummary)
instance Core.FromJSON MedicalTranscriptionJobSummary where
parseJSON :: Value -> Parser MedicalTranscriptionJobSummary
parseJSON =
String
-> (Object -> Parser MedicalTranscriptionJobSummary)
-> Value
-> Parser MedicalTranscriptionJobSummary
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"MedicalTranscriptionJobSummary"
( \Object
x ->
Maybe POSIX
-> Maybe Specialty
-> Maybe Text
-> Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary
MedicalTranscriptionJobSummary'
(Maybe POSIX
-> Maybe Specialty
-> Maybe Text
-> Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Specialty
-> Maybe Text
-> Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
forall (f :: * -> *) a b. Functor 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
"CreationTime")
Parser
(Maybe Specialty
-> Maybe Text
-> Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe Specialty)
-> Parser
(Maybe Text
-> Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Specialty)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Specialty")
Parser
(Maybe Text
-> Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe Text)
-> Parser
(Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
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
"FailureReason")
Parser
(Maybe LanguageCode
-> Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe LanguageCode)
-> Parser
(Maybe OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
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 OutputLocationType
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe OutputLocationType)
-> Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe OutputLocationType)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"OutputLocationType")
Parser
(Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe POSIX)
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
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
"StartTime")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
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
"CompletionTime")
Parser
(Maybe Text
-> Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe Text)
-> Parser
(Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
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
"MedicalTranscriptionJobName")
Parser
(Maybe TranscriptionJobStatus
-> Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe TranscriptionJobStatus)
-> Parser
(Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe TranscriptionJobStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"TranscriptionJobStatus")
Parser
(Maybe Type
-> Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe Type)
-> Parser
(Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Type)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Type")
Parser
(Maybe MedicalContentIdentificationType
-> MedicalTranscriptionJobSummary)
-> Parser (Maybe MedicalContentIdentificationType)
-> Parser MedicalTranscriptionJobSummary
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe MedicalContentIdentificationType)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ContentIdentificationType")
)
instance
Prelude.Hashable
MedicalTranscriptionJobSummary
instance
Prelude.NFData
MedicalTranscriptionJobSummary