{-# 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.DMS.Types.ReplicationTaskAssessmentRun where
import qualified Amazonka.Core as Core
import Amazonka.DMS.Types.ReplicationTaskAssessmentRunProgress
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ReplicationTaskAssessmentRun = ReplicationTaskAssessmentRun'
{
ReplicationTaskAssessmentRun -> Maybe Text
status :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
serviceAccessRoleArn :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe POSIX
replicationTaskAssessmentRunCreationDate :: Prelude.Maybe Core.POSIX,
ReplicationTaskAssessmentRun
-> Maybe ReplicationTaskAssessmentRunProgress
assessmentProgress :: Prelude.Maybe ReplicationTaskAssessmentRunProgress,
ReplicationTaskAssessmentRun -> Maybe Text
resultKmsKeyArn :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
replicationTaskArn :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
resultLocationBucket :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
resultLocationFolder :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
resultEncryptionMode :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
assessmentRunName :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
replicationTaskAssessmentRunArn :: Prelude.Maybe Prelude.Text,
ReplicationTaskAssessmentRun -> Maybe Text
lastFailureMessage :: Prelude.Maybe Prelude.Text
}
deriving (ReplicationTaskAssessmentRun
-> ReplicationTaskAssessmentRun -> Bool
(ReplicationTaskAssessmentRun
-> ReplicationTaskAssessmentRun -> Bool)
-> (ReplicationTaskAssessmentRun
-> ReplicationTaskAssessmentRun -> Bool)
-> Eq ReplicationTaskAssessmentRun
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ReplicationTaskAssessmentRun
-> ReplicationTaskAssessmentRun -> Bool
$c/= :: ReplicationTaskAssessmentRun
-> ReplicationTaskAssessmentRun -> Bool
== :: ReplicationTaskAssessmentRun
-> ReplicationTaskAssessmentRun -> Bool
$c== :: ReplicationTaskAssessmentRun
-> ReplicationTaskAssessmentRun -> Bool
Prelude.Eq, ReadPrec [ReplicationTaskAssessmentRun]
ReadPrec ReplicationTaskAssessmentRun
Int -> ReadS ReplicationTaskAssessmentRun
ReadS [ReplicationTaskAssessmentRun]
(Int -> ReadS ReplicationTaskAssessmentRun)
-> ReadS [ReplicationTaskAssessmentRun]
-> ReadPrec ReplicationTaskAssessmentRun
-> ReadPrec [ReplicationTaskAssessmentRun]
-> Read ReplicationTaskAssessmentRun
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ReplicationTaskAssessmentRun]
$creadListPrec :: ReadPrec [ReplicationTaskAssessmentRun]
readPrec :: ReadPrec ReplicationTaskAssessmentRun
$creadPrec :: ReadPrec ReplicationTaskAssessmentRun
readList :: ReadS [ReplicationTaskAssessmentRun]
$creadList :: ReadS [ReplicationTaskAssessmentRun]
readsPrec :: Int -> ReadS ReplicationTaskAssessmentRun
$creadsPrec :: Int -> ReadS ReplicationTaskAssessmentRun
Prelude.Read, Int -> ReplicationTaskAssessmentRun -> ShowS
[ReplicationTaskAssessmentRun] -> ShowS
ReplicationTaskAssessmentRun -> String
(Int -> ReplicationTaskAssessmentRun -> ShowS)
-> (ReplicationTaskAssessmentRun -> String)
-> ([ReplicationTaskAssessmentRun] -> ShowS)
-> Show ReplicationTaskAssessmentRun
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ReplicationTaskAssessmentRun] -> ShowS
$cshowList :: [ReplicationTaskAssessmentRun] -> ShowS
show :: ReplicationTaskAssessmentRun -> String
$cshow :: ReplicationTaskAssessmentRun -> String
showsPrec :: Int -> ReplicationTaskAssessmentRun -> ShowS
$cshowsPrec :: Int -> ReplicationTaskAssessmentRun -> ShowS
Prelude.Show, (forall x.
ReplicationTaskAssessmentRun -> Rep ReplicationTaskAssessmentRun x)
-> (forall x.
Rep ReplicationTaskAssessmentRun x -> ReplicationTaskAssessmentRun)
-> Generic ReplicationTaskAssessmentRun
forall x.
Rep ReplicationTaskAssessmentRun x -> ReplicationTaskAssessmentRun
forall x.
ReplicationTaskAssessmentRun -> Rep ReplicationTaskAssessmentRun x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ReplicationTaskAssessmentRun x -> ReplicationTaskAssessmentRun
$cfrom :: forall x.
ReplicationTaskAssessmentRun -> Rep ReplicationTaskAssessmentRun x
Prelude.Generic)
newReplicationTaskAssessmentRun ::
ReplicationTaskAssessmentRun
newReplicationTaskAssessmentRun :: ReplicationTaskAssessmentRun
newReplicationTaskAssessmentRun =
ReplicationTaskAssessmentRun' :: Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun'
{ $sel:status:ReplicationTaskAssessmentRun' :: Maybe Text
status =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:serviceAccessRoleArn:ReplicationTaskAssessmentRun' :: Maybe Text
serviceAccessRoleArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:replicationTaskAssessmentRunCreationDate:ReplicationTaskAssessmentRun' :: Maybe POSIX
replicationTaskAssessmentRunCreationDate =
Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:assessmentProgress:ReplicationTaskAssessmentRun' :: Maybe ReplicationTaskAssessmentRunProgress
assessmentProgress = Maybe ReplicationTaskAssessmentRunProgress
forall a. Maybe a
Prelude.Nothing,
$sel:resultKmsKeyArn:ReplicationTaskAssessmentRun' :: Maybe Text
resultKmsKeyArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:replicationTaskArn:ReplicationTaskAssessmentRun' :: Maybe Text
replicationTaskArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:resultLocationBucket:ReplicationTaskAssessmentRun' :: Maybe Text
resultLocationBucket = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:resultLocationFolder:ReplicationTaskAssessmentRun' :: Maybe Text
resultLocationFolder = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:resultEncryptionMode:ReplicationTaskAssessmentRun' :: Maybe Text
resultEncryptionMode = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:assessmentRunName:ReplicationTaskAssessmentRun' :: Maybe Text
assessmentRunName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:replicationTaskAssessmentRunArn:ReplicationTaskAssessmentRun' :: Maybe Text
replicationTaskAssessmentRunArn =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:lastFailureMessage:ReplicationTaskAssessmentRun' :: Maybe Text
lastFailureMessage = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
replicationTaskAssessmentRun_status :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_status :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_status = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
status :: Maybe Text
$sel:status:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
status} -> Maybe Text
status) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:status:ReplicationTaskAssessmentRun' :: Maybe Text
status = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_serviceAccessRoleArn :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_serviceAccessRoleArn :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_serviceAccessRoleArn = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
serviceAccessRoleArn :: Maybe Text
$sel:serviceAccessRoleArn:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
serviceAccessRoleArn} -> Maybe Text
serviceAccessRoleArn) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:serviceAccessRoleArn:ReplicationTaskAssessmentRun' :: Maybe Text
serviceAccessRoleArn = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_replicationTaskAssessmentRunCreationDate :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.UTCTime)
replicationTaskAssessmentRun_replicationTaskAssessmentRunCreationDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_replicationTaskAssessmentRunCreationDate = (ReplicationTaskAssessmentRun -> Maybe POSIX)
-> (ReplicationTaskAssessmentRun
-> Maybe POSIX -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe POSIX
replicationTaskAssessmentRunCreationDate :: Maybe POSIX
$sel:replicationTaskAssessmentRunCreationDate:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe POSIX
replicationTaskAssessmentRunCreationDate} -> Maybe POSIX
replicationTaskAssessmentRunCreationDate) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe POSIX
a -> ReplicationTaskAssessmentRun
s {$sel:replicationTaskAssessmentRunCreationDate:ReplicationTaskAssessmentRun' :: Maybe POSIX
replicationTaskAssessmentRunCreationDate = Maybe POSIX
a} :: ReplicationTaskAssessmentRun) ((Maybe POSIX -> f (Maybe POSIX))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> ReplicationTaskAssessmentRun
-> f ReplicationTaskAssessmentRun
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
replicationTaskAssessmentRun_assessmentProgress :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe ReplicationTaskAssessmentRunProgress)
replicationTaskAssessmentRun_assessmentProgress :: (Maybe ReplicationTaskAssessmentRunProgress
-> f (Maybe ReplicationTaskAssessmentRunProgress))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_assessmentProgress = (ReplicationTaskAssessmentRun
-> Maybe ReplicationTaskAssessmentRunProgress)
-> (ReplicationTaskAssessmentRun
-> Maybe ReplicationTaskAssessmentRunProgress
-> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe ReplicationTaskAssessmentRunProgress)
(Maybe ReplicationTaskAssessmentRunProgress)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe ReplicationTaskAssessmentRunProgress
assessmentProgress :: Maybe ReplicationTaskAssessmentRunProgress
$sel:assessmentProgress:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun
-> Maybe ReplicationTaskAssessmentRunProgress
assessmentProgress} -> Maybe ReplicationTaskAssessmentRunProgress
assessmentProgress) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe ReplicationTaskAssessmentRunProgress
a -> ReplicationTaskAssessmentRun
s {$sel:assessmentProgress:ReplicationTaskAssessmentRun' :: Maybe ReplicationTaskAssessmentRunProgress
assessmentProgress = Maybe ReplicationTaskAssessmentRunProgress
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_resultKmsKeyArn :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_resultKmsKeyArn :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_resultKmsKeyArn = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
resultKmsKeyArn :: Maybe Text
$sel:resultKmsKeyArn:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
resultKmsKeyArn} -> Maybe Text
resultKmsKeyArn) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:resultKmsKeyArn:ReplicationTaskAssessmentRun' :: Maybe Text
resultKmsKeyArn = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_replicationTaskArn :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_replicationTaskArn :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_replicationTaskArn = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
replicationTaskArn :: Maybe Text
$sel:replicationTaskArn:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
replicationTaskArn} -> Maybe Text
replicationTaskArn) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:replicationTaskArn:ReplicationTaskAssessmentRun' :: Maybe Text
replicationTaskArn = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_resultLocationBucket :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_resultLocationBucket :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_resultLocationBucket = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
resultLocationBucket :: Maybe Text
$sel:resultLocationBucket:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
resultLocationBucket} -> Maybe Text
resultLocationBucket) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:resultLocationBucket:ReplicationTaskAssessmentRun' :: Maybe Text
resultLocationBucket = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_resultLocationFolder :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_resultLocationFolder :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_resultLocationFolder = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
resultLocationFolder :: Maybe Text
$sel:resultLocationFolder:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
resultLocationFolder} -> Maybe Text
resultLocationFolder) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:resultLocationFolder:ReplicationTaskAssessmentRun' :: Maybe Text
resultLocationFolder = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_resultEncryptionMode :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_resultEncryptionMode :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_resultEncryptionMode = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
resultEncryptionMode :: Maybe Text
$sel:resultEncryptionMode:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
resultEncryptionMode} -> Maybe Text
resultEncryptionMode) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:resultEncryptionMode:ReplicationTaskAssessmentRun' :: Maybe Text
resultEncryptionMode = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_assessmentRunName :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_assessmentRunName :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_assessmentRunName = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
assessmentRunName :: Maybe Text
$sel:assessmentRunName:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
assessmentRunName} -> Maybe Text
assessmentRunName) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:assessmentRunName:ReplicationTaskAssessmentRun' :: Maybe Text
assessmentRunName = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_replicationTaskAssessmentRunArn :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_replicationTaskAssessmentRunArn :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_replicationTaskAssessmentRunArn = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
replicationTaskAssessmentRunArn :: Maybe Text
$sel:replicationTaskAssessmentRunArn:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
replicationTaskAssessmentRunArn} -> Maybe Text
replicationTaskAssessmentRunArn) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:replicationTaskAssessmentRunArn:ReplicationTaskAssessmentRun' :: Maybe Text
replicationTaskAssessmentRunArn = Maybe Text
a} :: ReplicationTaskAssessmentRun)
replicationTaskAssessmentRun_lastFailureMessage :: Lens.Lens' ReplicationTaskAssessmentRun (Prelude.Maybe Prelude.Text)
replicationTaskAssessmentRun_lastFailureMessage :: (Maybe Text -> f (Maybe Text))
-> ReplicationTaskAssessmentRun -> f ReplicationTaskAssessmentRun
replicationTaskAssessmentRun_lastFailureMessage = (ReplicationTaskAssessmentRun -> Maybe Text)
-> (ReplicationTaskAssessmentRun
-> Maybe Text -> ReplicationTaskAssessmentRun)
-> Lens
ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ReplicationTaskAssessmentRun' {Maybe Text
lastFailureMessage :: Maybe Text
$sel:lastFailureMessage:ReplicationTaskAssessmentRun' :: ReplicationTaskAssessmentRun -> Maybe Text
lastFailureMessage} -> Maybe Text
lastFailureMessage) (\s :: ReplicationTaskAssessmentRun
s@ReplicationTaskAssessmentRun' {} Maybe Text
a -> ReplicationTaskAssessmentRun
s {$sel:lastFailureMessage:ReplicationTaskAssessmentRun' :: Maybe Text
lastFailureMessage = Maybe Text
a} :: ReplicationTaskAssessmentRun)
instance Core.FromJSON ReplicationTaskAssessmentRun where
parseJSON :: Value -> Parser ReplicationTaskAssessmentRun
parseJSON =
String
-> (Object -> Parser ReplicationTaskAssessmentRun)
-> Value
-> Parser ReplicationTaskAssessmentRun
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ReplicationTaskAssessmentRun"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun
ReplicationTaskAssessmentRun'
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
forall (f :: * -> *) a b. Functor 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
"Status")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
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
"ServiceAccessRoleArn")
Parser
(Maybe POSIX
-> Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe POSIX)
-> Parser
(Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
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
"ReplicationTaskAssessmentRunCreationDate"
)
Parser
(Maybe ReplicationTaskAssessmentRunProgress
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe ReplicationTaskAssessmentRunProgress)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Parser (Maybe ReplicationTaskAssessmentRunProgress)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AssessmentProgress")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
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
"ResultKmsKeyArn")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
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
"ReplicationTaskArn")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
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
"ResultLocationBucket")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
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
"ResultLocationFolder")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> ReplicationTaskAssessmentRun)
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
"ResultEncryptionMode")
Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser
(Maybe Text -> Maybe Text -> ReplicationTaskAssessmentRun)
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
"AssessmentRunName")
Parser (Maybe Text -> Maybe Text -> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> ReplicationTaskAssessmentRun)
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
"ReplicationTaskAssessmentRunArn")
Parser (Maybe Text -> ReplicationTaskAssessmentRun)
-> Parser (Maybe Text) -> Parser ReplicationTaskAssessmentRun
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
"LastFailureMessage")
)
instance
Prelude.Hashable
ReplicationTaskAssessmentRun
instance Prelude.NFData ReplicationTaskAssessmentRun