{-# 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.ElastiCache.Types.NodeGroupMemberUpdateStatus where
import qualified Amazonka.Core as Core
import Amazonka.ElastiCache.Types.NodeUpdateInitiatedBy
import Amazonka.ElastiCache.Types.NodeUpdateStatus
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data NodeGroupMemberUpdateStatus = NodeGroupMemberUpdateStatus'
{
NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateEndDate :: Prelude.Maybe Core.ISO8601,
NodeGroupMemberUpdateStatus -> Maybe NodeUpdateInitiatedBy
nodeUpdateInitiatedBy :: Prelude.Maybe NodeUpdateInitiatedBy,
NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateStatusModifiedDate :: Prelude.Maybe Core.ISO8601,
NodeGroupMemberUpdateStatus -> Maybe Text
cacheClusterId :: Prelude.Maybe Prelude.Text,
NodeGroupMemberUpdateStatus -> Maybe Text
cacheNodeId :: Prelude.Maybe Prelude.Text,
NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateInitiatedDate :: Prelude.Maybe Core.ISO8601,
NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateStartDate :: Prelude.Maybe Core.ISO8601,
NodeGroupMemberUpdateStatus -> Maybe NodeUpdateStatus
nodeUpdateStatus :: Prelude.Maybe NodeUpdateStatus,
NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeDeletionDate :: Prelude.Maybe Core.ISO8601
}
deriving (NodeGroupMemberUpdateStatus -> NodeGroupMemberUpdateStatus -> Bool
(NodeGroupMemberUpdateStatus
-> NodeGroupMemberUpdateStatus -> Bool)
-> (NodeGroupMemberUpdateStatus
-> NodeGroupMemberUpdateStatus -> Bool)
-> Eq NodeGroupMemberUpdateStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NodeGroupMemberUpdateStatus -> NodeGroupMemberUpdateStatus -> Bool
$c/= :: NodeGroupMemberUpdateStatus -> NodeGroupMemberUpdateStatus -> Bool
== :: NodeGroupMemberUpdateStatus -> NodeGroupMemberUpdateStatus -> Bool
$c== :: NodeGroupMemberUpdateStatus -> NodeGroupMemberUpdateStatus -> Bool
Prelude.Eq, ReadPrec [NodeGroupMemberUpdateStatus]
ReadPrec NodeGroupMemberUpdateStatus
Int -> ReadS NodeGroupMemberUpdateStatus
ReadS [NodeGroupMemberUpdateStatus]
(Int -> ReadS NodeGroupMemberUpdateStatus)
-> ReadS [NodeGroupMemberUpdateStatus]
-> ReadPrec NodeGroupMemberUpdateStatus
-> ReadPrec [NodeGroupMemberUpdateStatus]
-> Read NodeGroupMemberUpdateStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [NodeGroupMemberUpdateStatus]
$creadListPrec :: ReadPrec [NodeGroupMemberUpdateStatus]
readPrec :: ReadPrec NodeGroupMemberUpdateStatus
$creadPrec :: ReadPrec NodeGroupMemberUpdateStatus
readList :: ReadS [NodeGroupMemberUpdateStatus]
$creadList :: ReadS [NodeGroupMemberUpdateStatus]
readsPrec :: Int -> ReadS NodeGroupMemberUpdateStatus
$creadsPrec :: Int -> ReadS NodeGroupMemberUpdateStatus
Prelude.Read, Int -> NodeGroupMemberUpdateStatus -> ShowS
[NodeGroupMemberUpdateStatus] -> ShowS
NodeGroupMemberUpdateStatus -> String
(Int -> NodeGroupMemberUpdateStatus -> ShowS)
-> (NodeGroupMemberUpdateStatus -> String)
-> ([NodeGroupMemberUpdateStatus] -> ShowS)
-> Show NodeGroupMemberUpdateStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NodeGroupMemberUpdateStatus] -> ShowS
$cshowList :: [NodeGroupMemberUpdateStatus] -> ShowS
show :: NodeGroupMemberUpdateStatus -> String
$cshow :: NodeGroupMemberUpdateStatus -> String
showsPrec :: Int -> NodeGroupMemberUpdateStatus -> ShowS
$cshowsPrec :: Int -> NodeGroupMemberUpdateStatus -> ShowS
Prelude.Show, (forall x.
NodeGroupMemberUpdateStatus -> Rep NodeGroupMemberUpdateStatus x)
-> (forall x.
Rep NodeGroupMemberUpdateStatus x -> NodeGroupMemberUpdateStatus)
-> Generic NodeGroupMemberUpdateStatus
forall x.
Rep NodeGroupMemberUpdateStatus x -> NodeGroupMemberUpdateStatus
forall x.
NodeGroupMemberUpdateStatus -> Rep NodeGroupMemberUpdateStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep NodeGroupMemberUpdateStatus x -> NodeGroupMemberUpdateStatus
$cfrom :: forall x.
NodeGroupMemberUpdateStatus -> Rep NodeGroupMemberUpdateStatus x
Prelude.Generic)
newNodeGroupMemberUpdateStatus ::
NodeGroupMemberUpdateStatus
newNodeGroupMemberUpdateStatus :: NodeGroupMemberUpdateStatus
newNodeGroupMemberUpdateStatus =
NodeGroupMemberUpdateStatus' :: Maybe ISO8601
-> Maybe NodeUpdateInitiatedBy
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus'
{ $sel:nodeUpdateEndDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateEndDate =
Maybe ISO8601
forall a. Maybe a
Prelude.Nothing,
$sel:nodeUpdateInitiatedBy:NodeGroupMemberUpdateStatus' :: Maybe NodeUpdateInitiatedBy
nodeUpdateInitiatedBy = Maybe NodeUpdateInitiatedBy
forall a. Maybe a
Prelude.Nothing,
$sel:nodeUpdateStatusModifiedDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateStatusModifiedDate = Maybe ISO8601
forall a. Maybe a
Prelude.Nothing,
$sel:cacheClusterId:NodeGroupMemberUpdateStatus' :: Maybe Text
cacheClusterId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:cacheNodeId:NodeGroupMemberUpdateStatus' :: Maybe Text
cacheNodeId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:nodeUpdateInitiatedDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateInitiatedDate = Maybe ISO8601
forall a. Maybe a
Prelude.Nothing,
$sel:nodeUpdateStartDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateStartDate = Maybe ISO8601
forall a. Maybe a
Prelude.Nothing,
$sel:nodeUpdateStatus:NodeGroupMemberUpdateStatus' :: Maybe NodeUpdateStatus
nodeUpdateStatus = Maybe NodeUpdateStatus
forall a. Maybe a
Prelude.Nothing,
$sel:nodeDeletionDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeDeletionDate = Maybe ISO8601
forall a. Maybe a
Prelude.Nothing
}
nodeGroupMemberUpdateStatus_nodeUpdateEndDate :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe Prelude.UTCTime)
nodeGroupMemberUpdateStatus_nodeUpdateEndDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_nodeUpdateEndDate = (NodeGroupMemberUpdateStatus -> Maybe ISO8601)
-> (NodeGroupMemberUpdateStatus
-> Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe ISO8601)
(Maybe ISO8601)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe ISO8601
nodeUpdateEndDate :: Maybe ISO8601
$sel:nodeUpdateEndDate:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateEndDate} -> Maybe ISO8601
nodeUpdateEndDate) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe ISO8601
a -> NodeGroupMemberUpdateStatus
s {$sel:nodeUpdateEndDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateEndDate = Maybe ISO8601
a} :: NodeGroupMemberUpdateStatus) ((Maybe ISO8601 -> f (Maybe ISO8601))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe ISO8601 -> f (Maybe ISO8601))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus
-> f NodeGroupMemberUpdateStatus
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso ISO8601 ISO8601 UTCTime UTCTime
-> Iso
(Maybe ISO8601) (Maybe ISO8601) (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 ISO8601 ISO8601 UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
nodeGroupMemberUpdateStatus_nodeUpdateInitiatedBy :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe NodeUpdateInitiatedBy)
nodeGroupMemberUpdateStatus_nodeUpdateInitiatedBy :: (Maybe NodeUpdateInitiatedBy -> f (Maybe NodeUpdateInitiatedBy))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_nodeUpdateInitiatedBy = (NodeGroupMemberUpdateStatus -> Maybe NodeUpdateInitiatedBy)
-> (NodeGroupMemberUpdateStatus
-> Maybe NodeUpdateInitiatedBy -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe NodeUpdateInitiatedBy)
(Maybe NodeUpdateInitiatedBy)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe NodeUpdateInitiatedBy
nodeUpdateInitiatedBy :: Maybe NodeUpdateInitiatedBy
$sel:nodeUpdateInitiatedBy:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe NodeUpdateInitiatedBy
nodeUpdateInitiatedBy} -> Maybe NodeUpdateInitiatedBy
nodeUpdateInitiatedBy) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe NodeUpdateInitiatedBy
a -> NodeGroupMemberUpdateStatus
s {$sel:nodeUpdateInitiatedBy:NodeGroupMemberUpdateStatus' :: Maybe NodeUpdateInitiatedBy
nodeUpdateInitiatedBy = Maybe NodeUpdateInitiatedBy
a} :: NodeGroupMemberUpdateStatus)
nodeGroupMemberUpdateStatus_nodeUpdateStatusModifiedDate :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe Prelude.UTCTime)
nodeGroupMemberUpdateStatus_nodeUpdateStatusModifiedDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_nodeUpdateStatusModifiedDate = (NodeGroupMemberUpdateStatus -> Maybe ISO8601)
-> (NodeGroupMemberUpdateStatus
-> Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe ISO8601)
(Maybe ISO8601)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe ISO8601
nodeUpdateStatusModifiedDate :: Maybe ISO8601
$sel:nodeUpdateStatusModifiedDate:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateStatusModifiedDate} -> Maybe ISO8601
nodeUpdateStatusModifiedDate) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe ISO8601
a -> NodeGroupMemberUpdateStatus
s {$sel:nodeUpdateStatusModifiedDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateStatusModifiedDate = Maybe ISO8601
a} :: NodeGroupMemberUpdateStatus) ((Maybe ISO8601 -> f (Maybe ISO8601))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe ISO8601 -> f (Maybe ISO8601))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus
-> f NodeGroupMemberUpdateStatus
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso ISO8601 ISO8601 UTCTime UTCTime
-> Iso
(Maybe ISO8601) (Maybe ISO8601) (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 ISO8601 ISO8601 UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
nodeGroupMemberUpdateStatus_cacheClusterId :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe Prelude.Text)
nodeGroupMemberUpdateStatus_cacheClusterId :: (Maybe Text -> f (Maybe Text))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_cacheClusterId = (NodeGroupMemberUpdateStatus -> Maybe Text)
-> (NodeGroupMemberUpdateStatus
-> Maybe Text -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe Text
cacheClusterId :: Maybe Text
$sel:cacheClusterId:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe Text
cacheClusterId} -> Maybe Text
cacheClusterId) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe Text
a -> NodeGroupMemberUpdateStatus
s {$sel:cacheClusterId:NodeGroupMemberUpdateStatus' :: Maybe Text
cacheClusterId = Maybe Text
a} :: NodeGroupMemberUpdateStatus)
nodeGroupMemberUpdateStatus_cacheNodeId :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe Prelude.Text)
nodeGroupMemberUpdateStatus_cacheNodeId :: (Maybe Text -> f (Maybe Text))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_cacheNodeId = (NodeGroupMemberUpdateStatus -> Maybe Text)
-> (NodeGroupMemberUpdateStatus
-> Maybe Text -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe Text
cacheNodeId :: Maybe Text
$sel:cacheNodeId:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe Text
cacheNodeId} -> Maybe Text
cacheNodeId) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe Text
a -> NodeGroupMemberUpdateStatus
s {$sel:cacheNodeId:NodeGroupMemberUpdateStatus' :: Maybe Text
cacheNodeId = Maybe Text
a} :: NodeGroupMemberUpdateStatus)
nodeGroupMemberUpdateStatus_nodeUpdateInitiatedDate :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe Prelude.UTCTime)
nodeGroupMemberUpdateStatus_nodeUpdateInitiatedDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_nodeUpdateInitiatedDate = (NodeGroupMemberUpdateStatus -> Maybe ISO8601)
-> (NodeGroupMemberUpdateStatus
-> Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe ISO8601)
(Maybe ISO8601)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe ISO8601
nodeUpdateInitiatedDate :: Maybe ISO8601
$sel:nodeUpdateInitiatedDate:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateInitiatedDate} -> Maybe ISO8601
nodeUpdateInitiatedDate) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe ISO8601
a -> NodeGroupMemberUpdateStatus
s {$sel:nodeUpdateInitiatedDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateInitiatedDate = Maybe ISO8601
a} :: NodeGroupMemberUpdateStatus) ((Maybe ISO8601 -> f (Maybe ISO8601))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe ISO8601 -> f (Maybe ISO8601))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus
-> f NodeGroupMemberUpdateStatus
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso ISO8601 ISO8601 UTCTime UTCTime
-> Iso
(Maybe ISO8601) (Maybe ISO8601) (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 ISO8601 ISO8601 UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
nodeGroupMemberUpdateStatus_nodeUpdateStartDate :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe Prelude.UTCTime)
nodeGroupMemberUpdateStatus_nodeUpdateStartDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_nodeUpdateStartDate = (NodeGroupMemberUpdateStatus -> Maybe ISO8601)
-> (NodeGroupMemberUpdateStatus
-> Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe ISO8601)
(Maybe ISO8601)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe ISO8601
nodeUpdateStartDate :: Maybe ISO8601
$sel:nodeUpdateStartDate:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeUpdateStartDate} -> Maybe ISO8601
nodeUpdateStartDate) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe ISO8601
a -> NodeGroupMemberUpdateStatus
s {$sel:nodeUpdateStartDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeUpdateStartDate = Maybe ISO8601
a} :: NodeGroupMemberUpdateStatus) ((Maybe ISO8601 -> f (Maybe ISO8601))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe ISO8601 -> f (Maybe ISO8601))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus
-> f NodeGroupMemberUpdateStatus
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso ISO8601 ISO8601 UTCTime UTCTime
-> Iso
(Maybe ISO8601) (Maybe ISO8601) (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 ISO8601 ISO8601 UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
nodeGroupMemberUpdateStatus_nodeUpdateStatus :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe NodeUpdateStatus)
nodeGroupMemberUpdateStatus_nodeUpdateStatus :: (Maybe NodeUpdateStatus -> f (Maybe NodeUpdateStatus))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_nodeUpdateStatus = (NodeGroupMemberUpdateStatus -> Maybe NodeUpdateStatus)
-> (NodeGroupMemberUpdateStatus
-> Maybe NodeUpdateStatus -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe NodeUpdateStatus)
(Maybe NodeUpdateStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe NodeUpdateStatus
nodeUpdateStatus :: Maybe NodeUpdateStatus
$sel:nodeUpdateStatus:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe NodeUpdateStatus
nodeUpdateStatus} -> Maybe NodeUpdateStatus
nodeUpdateStatus) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe NodeUpdateStatus
a -> NodeGroupMemberUpdateStatus
s {$sel:nodeUpdateStatus:NodeGroupMemberUpdateStatus' :: Maybe NodeUpdateStatus
nodeUpdateStatus = Maybe NodeUpdateStatus
a} :: NodeGroupMemberUpdateStatus)
nodeGroupMemberUpdateStatus_nodeDeletionDate :: Lens.Lens' NodeGroupMemberUpdateStatus (Prelude.Maybe Prelude.UTCTime)
nodeGroupMemberUpdateStatus_nodeDeletionDate :: (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus
nodeGroupMemberUpdateStatus_nodeDeletionDate = (NodeGroupMemberUpdateStatus -> Maybe ISO8601)
-> (NodeGroupMemberUpdateStatus
-> Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
-> Lens
NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus
(Maybe ISO8601)
(Maybe ISO8601)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NodeGroupMemberUpdateStatus' {Maybe ISO8601
nodeDeletionDate :: Maybe ISO8601
$sel:nodeDeletionDate:NodeGroupMemberUpdateStatus' :: NodeGroupMemberUpdateStatus -> Maybe ISO8601
nodeDeletionDate} -> Maybe ISO8601
nodeDeletionDate) (\s :: NodeGroupMemberUpdateStatus
s@NodeGroupMemberUpdateStatus' {} Maybe ISO8601
a -> NodeGroupMemberUpdateStatus
s {$sel:nodeDeletionDate:NodeGroupMemberUpdateStatus' :: Maybe ISO8601
nodeDeletionDate = Maybe ISO8601
a} :: NodeGroupMemberUpdateStatus) ((Maybe ISO8601 -> f (Maybe ISO8601))
-> NodeGroupMemberUpdateStatus -> f NodeGroupMemberUpdateStatus)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe ISO8601 -> f (Maybe ISO8601))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> NodeGroupMemberUpdateStatus
-> f NodeGroupMemberUpdateStatus
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso ISO8601 ISO8601 UTCTime UTCTime
-> Iso
(Maybe ISO8601) (Maybe ISO8601) (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 ISO8601 ISO8601 UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
instance Core.FromXML NodeGroupMemberUpdateStatus where
parseXML :: [Node] -> Either String NodeGroupMemberUpdateStatus
parseXML [Node]
x =
Maybe ISO8601
-> Maybe NodeUpdateInitiatedBy
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus
NodeGroupMemberUpdateStatus'
(Maybe ISO8601
-> Maybe NodeUpdateInitiatedBy
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
-> Either String (Maybe ISO8601)
-> Either
String
(Maybe NodeUpdateInitiatedBy
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x [Node] -> Text -> Either String (Maybe ISO8601)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeUpdateEndDate")
Either
String
(Maybe NodeUpdateInitiatedBy
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
-> Either String (Maybe NodeUpdateInitiatedBy)
-> Either
String
(Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe NodeUpdateInitiatedBy)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeUpdateInitiatedBy")
Either
String
(Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
-> Either String (Maybe ISO8601)
-> Either
String
(Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe ISO8601)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeUpdateStatusModifiedDate")
Either
String
(Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
-> Either String (Maybe Text)
-> Either
String
(Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"CacheClusterId")
Either
String
(Maybe Text
-> Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
-> Either String (Maybe Text)
-> Either
String
(Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe Text)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"CacheNodeId")
Either
String
(Maybe ISO8601
-> Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
-> Either String (Maybe ISO8601)
-> Either
String
(Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe ISO8601)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeUpdateInitiatedDate")
Either
String
(Maybe ISO8601
-> Maybe NodeUpdateStatus
-> Maybe ISO8601
-> NodeGroupMemberUpdateStatus)
-> Either String (Maybe ISO8601)
-> Either
String
(Maybe NodeUpdateStatus
-> Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe ISO8601)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeUpdateStartDate")
Either
String
(Maybe NodeUpdateStatus
-> Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
-> Either String (Maybe NodeUpdateStatus)
-> Either String (Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe NodeUpdateStatus)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeUpdateStatus")
Either String (Maybe ISO8601 -> NodeGroupMemberUpdateStatus)
-> Either String (Maybe ISO8601)
-> Either String NodeGroupMemberUpdateStatus
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x [Node] -> Text -> Either String (Maybe ISO8601)
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"NodeDeletionDate")
instance Prelude.Hashable NodeGroupMemberUpdateStatus
instance Prelude.NFData NodeGroupMemberUpdateStatus