{-# 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.Backup.Types.BackupVaultListMember where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data BackupVaultListMember = BackupVaultListMember'
{
BackupVaultListMember -> Maybe POSIX
lockDate :: Prelude.Maybe Core.POSIX,
BackupVaultListMember -> Maybe Integer
maxRetentionDays :: Prelude.Maybe Prelude.Integer,
BackupVaultListMember -> Maybe Bool
locked :: Prelude.Maybe Prelude.Bool,
BackupVaultListMember -> Maybe Text
creatorRequestId :: Prelude.Maybe Prelude.Text,
BackupVaultListMember -> Maybe Integer
numberOfRecoveryPoints :: Prelude.Maybe Prelude.Integer,
BackupVaultListMember -> Maybe Text
backupVaultArn :: Prelude.Maybe Prelude.Text,
BackupVaultListMember -> Maybe Text
encryptionKeyArn :: Prelude.Maybe Prelude.Text,
BackupVaultListMember -> Maybe POSIX
creationDate :: Prelude.Maybe Core.POSIX,
BackupVaultListMember -> Maybe Text
backupVaultName :: Prelude.Maybe Prelude.Text,
BackupVaultListMember -> Maybe Integer
minRetentionDays :: Prelude.Maybe Prelude.Integer
}
deriving (BackupVaultListMember -> BackupVaultListMember -> Bool
(BackupVaultListMember -> BackupVaultListMember -> Bool)
-> (BackupVaultListMember -> BackupVaultListMember -> Bool)
-> Eq BackupVaultListMember
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BackupVaultListMember -> BackupVaultListMember -> Bool
$c/= :: BackupVaultListMember -> BackupVaultListMember -> Bool
== :: BackupVaultListMember -> BackupVaultListMember -> Bool
$c== :: BackupVaultListMember -> BackupVaultListMember -> Bool
Prelude.Eq, ReadPrec [BackupVaultListMember]
ReadPrec BackupVaultListMember
Int -> ReadS BackupVaultListMember
ReadS [BackupVaultListMember]
(Int -> ReadS BackupVaultListMember)
-> ReadS [BackupVaultListMember]
-> ReadPrec BackupVaultListMember
-> ReadPrec [BackupVaultListMember]
-> Read BackupVaultListMember
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BackupVaultListMember]
$creadListPrec :: ReadPrec [BackupVaultListMember]
readPrec :: ReadPrec BackupVaultListMember
$creadPrec :: ReadPrec BackupVaultListMember
readList :: ReadS [BackupVaultListMember]
$creadList :: ReadS [BackupVaultListMember]
readsPrec :: Int -> ReadS BackupVaultListMember
$creadsPrec :: Int -> ReadS BackupVaultListMember
Prelude.Read, Int -> BackupVaultListMember -> ShowS
[BackupVaultListMember] -> ShowS
BackupVaultListMember -> String
(Int -> BackupVaultListMember -> ShowS)
-> (BackupVaultListMember -> String)
-> ([BackupVaultListMember] -> ShowS)
-> Show BackupVaultListMember
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BackupVaultListMember] -> ShowS
$cshowList :: [BackupVaultListMember] -> ShowS
show :: BackupVaultListMember -> String
$cshow :: BackupVaultListMember -> String
showsPrec :: Int -> BackupVaultListMember -> ShowS
$cshowsPrec :: Int -> BackupVaultListMember -> ShowS
Prelude.Show, (forall x. BackupVaultListMember -> Rep BackupVaultListMember x)
-> (forall x. Rep BackupVaultListMember x -> BackupVaultListMember)
-> Generic BackupVaultListMember
forall x. Rep BackupVaultListMember x -> BackupVaultListMember
forall x. BackupVaultListMember -> Rep BackupVaultListMember x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BackupVaultListMember x -> BackupVaultListMember
$cfrom :: forall x. BackupVaultListMember -> Rep BackupVaultListMember x
Prelude.Generic)
newBackupVaultListMember ::
BackupVaultListMember
newBackupVaultListMember :: BackupVaultListMember
newBackupVaultListMember =
BackupVaultListMember' :: Maybe POSIX
-> Maybe Integer
-> Maybe Bool
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember
BackupVaultListMember'
{ $sel:lockDate:BackupVaultListMember' :: Maybe POSIX
lockDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:maxRetentionDays:BackupVaultListMember' :: Maybe Integer
maxRetentionDays = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:locked:BackupVaultListMember' :: Maybe Bool
locked = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:creatorRequestId:BackupVaultListMember' :: Maybe Text
creatorRequestId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:numberOfRecoveryPoints:BackupVaultListMember' :: Maybe Integer
numberOfRecoveryPoints = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:backupVaultArn:BackupVaultListMember' :: Maybe Text
backupVaultArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:encryptionKeyArn:BackupVaultListMember' :: Maybe Text
encryptionKeyArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:creationDate:BackupVaultListMember' :: Maybe POSIX
creationDate = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:backupVaultName:BackupVaultListMember' :: Maybe Text
backupVaultName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:minRetentionDays:BackupVaultListMember' :: Maybe Integer
minRetentionDays = Maybe Integer
forall a. Maybe a
Prelude.Nothing
}
backupVaultListMember_lockDate :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.UTCTime)
backupVaultListMember_lockDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_lockDate = (BackupVaultListMember -> Maybe POSIX)
-> (BackupVaultListMember -> Maybe POSIX -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe POSIX
lockDate :: Maybe POSIX
$sel:lockDate:BackupVaultListMember' :: BackupVaultListMember -> Maybe POSIX
lockDate} -> Maybe POSIX
lockDate) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe POSIX
a -> BackupVaultListMember
s {$sel:lockDate:BackupVaultListMember' :: Maybe POSIX
lockDate = Maybe POSIX
a} :: BackupVaultListMember) ((Maybe POSIX -> f (Maybe POSIX))
-> BackupVaultListMember -> f BackupVaultListMember)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> BackupVaultListMember
-> f BackupVaultListMember
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
backupVaultListMember_maxRetentionDays :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Integer)
backupVaultListMember_maxRetentionDays :: (Maybe Integer -> f (Maybe Integer))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_maxRetentionDays = (BackupVaultListMember -> Maybe Integer)
-> (BackupVaultListMember
-> Maybe Integer -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Integer
maxRetentionDays :: Maybe Integer
$sel:maxRetentionDays:BackupVaultListMember' :: BackupVaultListMember -> Maybe Integer
maxRetentionDays} -> Maybe Integer
maxRetentionDays) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Integer
a -> BackupVaultListMember
s {$sel:maxRetentionDays:BackupVaultListMember' :: Maybe Integer
maxRetentionDays = Maybe Integer
a} :: BackupVaultListMember)
backupVaultListMember_locked :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Bool)
backupVaultListMember_locked :: (Maybe Bool -> f (Maybe Bool))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_locked = (BackupVaultListMember -> Maybe Bool)
-> (BackupVaultListMember -> Maybe Bool -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Bool
locked :: Maybe Bool
$sel:locked:BackupVaultListMember' :: BackupVaultListMember -> Maybe Bool
locked} -> Maybe Bool
locked) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Bool
a -> BackupVaultListMember
s {$sel:locked:BackupVaultListMember' :: Maybe Bool
locked = Maybe Bool
a} :: BackupVaultListMember)
backupVaultListMember_creatorRequestId :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Text)
backupVaultListMember_creatorRequestId :: (Maybe Text -> f (Maybe Text))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_creatorRequestId = (BackupVaultListMember -> Maybe Text)
-> (BackupVaultListMember -> Maybe Text -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Text
creatorRequestId :: Maybe Text
$sel:creatorRequestId:BackupVaultListMember' :: BackupVaultListMember -> Maybe Text
creatorRequestId} -> Maybe Text
creatorRequestId) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Text
a -> BackupVaultListMember
s {$sel:creatorRequestId:BackupVaultListMember' :: Maybe Text
creatorRequestId = Maybe Text
a} :: BackupVaultListMember)
backupVaultListMember_numberOfRecoveryPoints :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Integer)
backupVaultListMember_numberOfRecoveryPoints :: (Maybe Integer -> f (Maybe Integer))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_numberOfRecoveryPoints = (BackupVaultListMember -> Maybe Integer)
-> (BackupVaultListMember
-> Maybe Integer -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Integer
numberOfRecoveryPoints :: Maybe Integer
$sel:numberOfRecoveryPoints:BackupVaultListMember' :: BackupVaultListMember -> Maybe Integer
numberOfRecoveryPoints} -> Maybe Integer
numberOfRecoveryPoints) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Integer
a -> BackupVaultListMember
s {$sel:numberOfRecoveryPoints:BackupVaultListMember' :: Maybe Integer
numberOfRecoveryPoints = Maybe Integer
a} :: BackupVaultListMember)
backupVaultListMember_backupVaultArn :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Text)
backupVaultListMember_backupVaultArn :: (Maybe Text -> f (Maybe Text))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_backupVaultArn = (BackupVaultListMember -> Maybe Text)
-> (BackupVaultListMember -> Maybe Text -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Text
backupVaultArn :: Maybe Text
$sel:backupVaultArn:BackupVaultListMember' :: BackupVaultListMember -> Maybe Text
backupVaultArn} -> Maybe Text
backupVaultArn) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Text
a -> BackupVaultListMember
s {$sel:backupVaultArn:BackupVaultListMember' :: Maybe Text
backupVaultArn = Maybe Text
a} :: BackupVaultListMember)
backupVaultListMember_encryptionKeyArn :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Text)
backupVaultListMember_encryptionKeyArn :: (Maybe Text -> f (Maybe Text))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_encryptionKeyArn = (BackupVaultListMember -> Maybe Text)
-> (BackupVaultListMember -> Maybe Text -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Text
encryptionKeyArn :: Maybe Text
$sel:encryptionKeyArn:BackupVaultListMember' :: BackupVaultListMember -> Maybe Text
encryptionKeyArn} -> Maybe Text
encryptionKeyArn) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Text
a -> BackupVaultListMember
s {$sel:encryptionKeyArn:BackupVaultListMember' :: Maybe Text
encryptionKeyArn = Maybe Text
a} :: BackupVaultListMember)
backupVaultListMember_creationDate :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.UTCTime)
backupVaultListMember_creationDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_creationDate = (BackupVaultListMember -> Maybe POSIX)
-> (BackupVaultListMember -> Maybe POSIX -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe POSIX)
(Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe POSIX
creationDate :: Maybe POSIX
$sel:creationDate:BackupVaultListMember' :: BackupVaultListMember -> Maybe POSIX
creationDate} -> Maybe POSIX
creationDate) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe POSIX
a -> BackupVaultListMember
s {$sel:creationDate:BackupVaultListMember' :: Maybe POSIX
creationDate = Maybe POSIX
a} :: BackupVaultListMember) ((Maybe POSIX -> f (Maybe POSIX))
-> BackupVaultListMember -> f BackupVaultListMember)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> BackupVaultListMember
-> f BackupVaultListMember
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
backupVaultListMember_backupVaultName :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Text)
backupVaultListMember_backupVaultName :: (Maybe Text -> f (Maybe Text))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_backupVaultName = (BackupVaultListMember -> Maybe Text)
-> (BackupVaultListMember -> Maybe Text -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Text
backupVaultName :: Maybe Text
$sel:backupVaultName:BackupVaultListMember' :: BackupVaultListMember -> Maybe Text
backupVaultName} -> Maybe Text
backupVaultName) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Text
a -> BackupVaultListMember
s {$sel:backupVaultName:BackupVaultListMember' :: Maybe Text
backupVaultName = Maybe Text
a} :: BackupVaultListMember)
backupVaultListMember_minRetentionDays :: Lens.Lens' BackupVaultListMember (Prelude.Maybe Prelude.Integer)
backupVaultListMember_minRetentionDays :: (Maybe Integer -> f (Maybe Integer))
-> BackupVaultListMember -> f BackupVaultListMember
backupVaultListMember_minRetentionDays = (BackupVaultListMember -> Maybe Integer)
-> (BackupVaultListMember
-> Maybe Integer -> BackupVaultListMember)
-> Lens
BackupVaultListMember
BackupVaultListMember
(Maybe Integer)
(Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BackupVaultListMember' {Maybe Integer
minRetentionDays :: Maybe Integer
$sel:minRetentionDays:BackupVaultListMember' :: BackupVaultListMember -> Maybe Integer
minRetentionDays} -> Maybe Integer
minRetentionDays) (\s :: BackupVaultListMember
s@BackupVaultListMember' {} Maybe Integer
a -> BackupVaultListMember
s {$sel:minRetentionDays:BackupVaultListMember' :: Maybe Integer
minRetentionDays = Maybe Integer
a} :: BackupVaultListMember)
instance Core.FromJSON BackupVaultListMember where
parseJSON :: Value -> Parser BackupVaultListMember
parseJSON =
String
-> (Object -> Parser BackupVaultListMember)
-> Value
-> Parser BackupVaultListMember
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"BackupVaultListMember"
( \Object
x ->
Maybe POSIX
-> Maybe Integer
-> Maybe Bool
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember
BackupVaultListMember'
(Maybe POSIX
-> Maybe Integer
-> Maybe Bool
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Integer
-> Maybe Bool
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
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
"LockDate")
Parser
(Maybe Integer
-> Maybe Bool
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
-> Parser (Maybe Integer)
-> Parser
(Maybe Bool
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"MaxRetentionDays")
Parser
(Maybe Bool
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Locked")
Parser
(Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
-> Parser (Maybe Text)
-> Parser
(Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
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
"CreatorRequestId")
Parser
(Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
-> Parser (Maybe Integer)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"NumberOfRecoveryPoints")
Parser
(Maybe Text
-> Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
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
"BackupVaultArn")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Text
-> Maybe Integer
-> BackupVaultListMember)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe Text -> Maybe Integer -> BackupVaultListMember)
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
"EncryptionKeyArn")
Parser
(Maybe POSIX
-> Maybe Text -> Maybe Integer -> BackupVaultListMember)
-> Parser (Maybe POSIX)
-> Parser (Maybe Text -> Maybe Integer -> BackupVaultListMember)
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
"CreationDate")
Parser (Maybe Text -> Maybe Integer -> BackupVaultListMember)
-> Parser (Maybe Text)
-> Parser (Maybe Integer -> BackupVaultListMember)
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
"BackupVaultName")
Parser (Maybe Integer -> BackupVaultListMember)
-> Parser (Maybe Integer) -> Parser BackupVaultListMember
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"MinRetentionDays")
)
instance Prelude.Hashable BackupVaultListMember
instance Prelude.NFData BackupVaultListMember