{-# 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.Snapshot where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.ElastiCache.Types.AutomaticFailoverStatus
import Amazonka.ElastiCache.Types.DataTieringStatus
import Amazonka.ElastiCache.Types.NodeSnapshot
import qualified Amazonka.Prelude as Prelude
data Snapshot = Snapshot'
{
Snapshot -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Bool
autoMinorVersionUpgrade :: Prelude.Maybe Prelude.Bool,
Snapshot -> Maybe AutomaticFailoverStatus
automaticFailover :: Prelude.Maybe AutomaticFailoverStatus,
Snapshot -> Maybe ISO8601
cacheClusterCreateTime :: Prelude.Maybe Data.ISO8601,
Snapshot -> Maybe Text
cacheClusterId :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
cacheNodeType :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
cacheParameterGroupName :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
cacheSubnetGroupName :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe DataTieringStatus
dataTiering :: Prelude.Maybe DataTieringStatus,
Snapshot -> Maybe Text
engine :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
engineVersion :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
kmsKeyId :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe [NodeSnapshot]
nodeSnapshots :: Prelude.Maybe [NodeSnapshot],
Snapshot -> Maybe Int
numCacheNodes :: Prelude.Maybe Prelude.Int,
Snapshot -> Maybe Int
numNodeGroups :: Prelude.Maybe Prelude.Int,
Snapshot -> Maybe Int
port :: Prelude.Maybe Prelude.Int,
Snapshot -> Maybe Text
preferredAvailabilityZone :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
preferredMaintenanceWindow :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
preferredOutpostArn :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
replicationGroupDescription :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
replicationGroupId :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
snapshotName :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Int
snapshotRetentionLimit :: Prelude.Maybe Prelude.Int,
Snapshot -> Maybe Text
snapshotSource :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
snapshotStatus :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
snapshotWindow :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
topicArn :: Prelude.Maybe Prelude.Text,
Snapshot -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text
}
deriving (Snapshot -> Snapshot -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Snapshot -> Snapshot -> Bool
$c/= :: Snapshot -> Snapshot -> Bool
== :: Snapshot -> Snapshot -> Bool
$c== :: Snapshot -> Snapshot -> Bool
Prelude.Eq, ReadPrec [Snapshot]
ReadPrec Snapshot
Int -> ReadS Snapshot
ReadS [Snapshot]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Snapshot]
$creadListPrec :: ReadPrec [Snapshot]
readPrec :: ReadPrec Snapshot
$creadPrec :: ReadPrec Snapshot
readList :: ReadS [Snapshot]
$creadList :: ReadS [Snapshot]
readsPrec :: Int -> ReadS Snapshot
$creadsPrec :: Int -> ReadS Snapshot
Prelude.Read, Int -> Snapshot -> ShowS
[Snapshot] -> ShowS
Snapshot -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Snapshot] -> ShowS
$cshowList :: [Snapshot] -> ShowS
show :: Snapshot -> String
$cshow :: Snapshot -> String
showsPrec :: Int -> Snapshot -> ShowS
$cshowsPrec :: Int -> Snapshot -> ShowS
Prelude.Show, forall x. Rep Snapshot x -> Snapshot
forall x. Snapshot -> Rep Snapshot x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Snapshot x -> Snapshot
$cfrom :: forall x. Snapshot -> Rep Snapshot x
Prelude.Generic)
newSnapshot ::
Snapshot
newSnapshot :: Snapshot
newSnapshot =
Snapshot'
{ $sel:arn:Snapshot' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
$sel:autoMinorVersionUpgrade:Snapshot' :: Maybe Bool
autoMinorVersionUpgrade = forall a. Maybe a
Prelude.Nothing,
$sel:automaticFailover:Snapshot' :: Maybe AutomaticFailoverStatus
automaticFailover = forall a. Maybe a
Prelude.Nothing,
$sel:cacheClusterCreateTime:Snapshot' :: Maybe ISO8601
cacheClusterCreateTime = forall a. Maybe a
Prelude.Nothing,
$sel:cacheClusterId:Snapshot' :: Maybe Text
cacheClusterId = forall a. Maybe a
Prelude.Nothing,
$sel:cacheNodeType:Snapshot' :: Maybe Text
cacheNodeType = forall a. Maybe a
Prelude.Nothing,
$sel:cacheParameterGroupName:Snapshot' :: Maybe Text
cacheParameterGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:cacheSubnetGroupName:Snapshot' :: Maybe Text
cacheSubnetGroupName = forall a. Maybe a
Prelude.Nothing,
$sel:dataTiering:Snapshot' :: Maybe DataTieringStatus
dataTiering = forall a. Maybe a
Prelude.Nothing,
$sel:engine:Snapshot' :: Maybe Text
engine = forall a. Maybe a
Prelude.Nothing,
$sel:engineVersion:Snapshot' :: Maybe Text
engineVersion = forall a. Maybe a
Prelude.Nothing,
$sel:kmsKeyId:Snapshot' :: Maybe Text
kmsKeyId = forall a. Maybe a
Prelude.Nothing,
$sel:nodeSnapshots:Snapshot' :: Maybe [NodeSnapshot]
nodeSnapshots = forall a. Maybe a
Prelude.Nothing,
$sel:numCacheNodes:Snapshot' :: Maybe Int
numCacheNodes = forall a. Maybe a
Prelude.Nothing,
$sel:numNodeGroups:Snapshot' :: Maybe Int
numNodeGroups = forall a. Maybe a
Prelude.Nothing,
$sel:port:Snapshot' :: Maybe Int
port = forall a. Maybe a
Prelude.Nothing,
$sel:preferredAvailabilityZone:Snapshot' :: Maybe Text
preferredAvailabilityZone = forall a. Maybe a
Prelude.Nothing,
$sel:preferredMaintenanceWindow:Snapshot' :: Maybe Text
preferredMaintenanceWindow = forall a. Maybe a
Prelude.Nothing,
$sel:preferredOutpostArn:Snapshot' :: Maybe Text
preferredOutpostArn = forall a. Maybe a
Prelude.Nothing,
$sel:replicationGroupDescription:Snapshot' :: Maybe Text
replicationGroupDescription = forall a. Maybe a
Prelude.Nothing,
$sel:replicationGroupId:Snapshot' :: Maybe Text
replicationGroupId = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotName:Snapshot' :: Maybe Text
snapshotName = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotRetentionLimit:Snapshot' :: Maybe Int
snapshotRetentionLimit = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotSource:Snapshot' :: Maybe Text
snapshotSource = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotStatus:Snapshot' :: Maybe Text
snapshotStatus = forall a. Maybe a
Prelude.Nothing,
$sel:snapshotWindow:Snapshot' :: Maybe Text
snapshotWindow = forall a. Maybe a
Prelude.Nothing,
$sel:topicArn:Snapshot' :: Maybe Text
topicArn = forall a. Maybe a
Prelude.Nothing,
$sel:vpcId:Snapshot' :: Maybe Text
vpcId = forall a. Maybe a
Prelude.Nothing
}
snapshot_arn :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_arn :: Lens' Snapshot (Maybe Text)
snapshot_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
arn :: Maybe Text
$sel:arn:Snapshot' :: Snapshot -> Maybe Text
arn} -> Maybe Text
arn) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:arn:Snapshot' :: Maybe Text
arn = Maybe Text
a} :: Snapshot)
snapshot_autoMinorVersionUpgrade :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Bool)
snapshot_autoMinorVersionUpgrade :: Lens' Snapshot (Maybe Bool)
snapshot_autoMinorVersionUpgrade = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Bool
autoMinorVersionUpgrade :: Maybe Bool
$sel:autoMinorVersionUpgrade:Snapshot' :: Snapshot -> Maybe Bool
autoMinorVersionUpgrade} -> Maybe Bool
autoMinorVersionUpgrade) (\s :: Snapshot
s@Snapshot' {} Maybe Bool
a -> Snapshot
s {$sel:autoMinorVersionUpgrade:Snapshot' :: Maybe Bool
autoMinorVersionUpgrade = Maybe Bool
a} :: Snapshot)
snapshot_automaticFailover :: Lens.Lens' Snapshot (Prelude.Maybe AutomaticFailoverStatus)
snapshot_automaticFailover :: Lens' Snapshot (Maybe AutomaticFailoverStatus)
snapshot_automaticFailover = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe AutomaticFailoverStatus
automaticFailover :: Maybe AutomaticFailoverStatus
$sel:automaticFailover:Snapshot' :: Snapshot -> Maybe AutomaticFailoverStatus
automaticFailover} -> Maybe AutomaticFailoverStatus
automaticFailover) (\s :: Snapshot
s@Snapshot' {} Maybe AutomaticFailoverStatus
a -> Snapshot
s {$sel:automaticFailover:Snapshot' :: Maybe AutomaticFailoverStatus
automaticFailover = Maybe AutomaticFailoverStatus
a} :: Snapshot)
snapshot_cacheClusterCreateTime :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.UTCTime)
snapshot_cacheClusterCreateTime :: Lens' Snapshot (Maybe UTCTime)
snapshot_cacheClusterCreateTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe ISO8601
cacheClusterCreateTime :: Maybe ISO8601
$sel:cacheClusterCreateTime:Snapshot' :: Snapshot -> Maybe ISO8601
cacheClusterCreateTime} -> Maybe ISO8601
cacheClusterCreateTime) (\s :: Snapshot
s@Snapshot' {} Maybe ISO8601
a -> Snapshot
s {$sel:cacheClusterCreateTime:Snapshot' :: Maybe ISO8601
cacheClusterCreateTime = Maybe ISO8601
a} :: Snapshot) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
snapshot_cacheClusterId :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_cacheClusterId :: Lens' Snapshot (Maybe Text)
snapshot_cacheClusterId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
cacheClusterId :: Maybe Text
$sel:cacheClusterId:Snapshot' :: Snapshot -> Maybe Text
cacheClusterId} -> Maybe Text
cacheClusterId) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:cacheClusterId:Snapshot' :: Maybe Text
cacheClusterId = Maybe Text
a} :: Snapshot)
snapshot_cacheNodeType :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_cacheNodeType :: Lens' Snapshot (Maybe Text)
snapshot_cacheNodeType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
cacheNodeType :: Maybe Text
$sel:cacheNodeType:Snapshot' :: Snapshot -> Maybe Text
cacheNodeType} -> Maybe Text
cacheNodeType) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:cacheNodeType:Snapshot' :: Maybe Text
cacheNodeType = Maybe Text
a} :: Snapshot)
snapshot_cacheParameterGroupName :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_cacheParameterGroupName :: Lens' Snapshot (Maybe Text)
snapshot_cacheParameterGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
cacheParameterGroupName :: Maybe Text
$sel:cacheParameterGroupName:Snapshot' :: Snapshot -> Maybe Text
cacheParameterGroupName} -> Maybe Text
cacheParameterGroupName) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:cacheParameterGroupName:Snapshot' :: Maybe Text
cacheParameterGroupName = Maybe Text
a} :: Snapshot)
snapshot_cacheSubnetGroupName :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_cacheSubnetGroupName :: Lens' Snapshot (Maybe Text)
snapshot_cacheSubnetGroupName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
cacheSubnetGroupName :: Maybe Text
$sel:cacheSubnetGroupName:Snapshot' :: Snapshot -> Maybe Text
cacheSubnetGroupName} -> Maybe Text
cacheSubnetGroupName) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:cacheSubnetGroupName:Snapshot' :: Maybe Text
cacheSubnetGroupName = Maybe Text
a} :: Snapshot)
snapshot_dataTiering :: Lens.Lens' Snapshot (Prelude.Maybe DataTieringStatus)
snapshot_dataTiering :: Lens' Snapshot (Maybe DataTieringStatus)
snapshot_dataTiering = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe DataTieringStatus
dataTiering :: Maybe DataTieringStatus
$sel:dataTiering:Snapshot' :: Snapshot -> Maybe DataTieringStatus
dataTiering} -> Maybe DataTieringStatus
dataTiering) (\s :: Snapshot
s@Snapshot' {} Maybe DataTieringStatus
a -> Snapshot
s {$sel:dataTiering:Snapshot' :: Maybe DataTieringStatus
dataTiering = Maybe DataTieringStatus
a} :: Snapshot)
snapshot_engine :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_engine :: Lens' Snapshot (Maybe Text)
snapshot_engine = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
engine :: Maybe Text
$sel:engine:Snapshot' :: Snapshot -> Maybe Text
engine} -> Maybe Text
engine) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:engine:Snapshot' :: Maybe Text
engine = Maybe Text
a} :: Snapshot)
snapshot_engineVersion :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_engineVersion :: Lens' Snapshot (Maybe Text)
snapshot_engineVersion = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
engineVersion :: Maybe Text
$sel:engineVersion:Snapshot' :: Snapshot -> Maybe Text
engineVersion} -> Maybe Text
engineVersion) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:engineVersion:Snapshot' :: Maybe Text
engineVersion = Maybe Text
a} :: Snapshot)
snapshot_kmsKeyId :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_kmsKeyId :: Lens' Snapshot (Maybe Text)
snapshot_kmsKeyId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
kmsKeyId :: Maybe Text
$sel:kmsKeyId:Snapshot' :: Snapshot -> Maybe Text
kmsKeyId} -> Maybe Text
kmsKeyId) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:kmsKeyId:Snapshot' :: Maybe Text
kmsKeyId = Maybe Text
a} :: Snapshot)
snapshot_nodeSnapshots :: Lens.Lens' Snapshot (Prelude.Maybe [NodeSnapshot])
snapshot_nodeSnapshots :: Lens' Snapshot (Maybe [NodeSnapshot])
snapshot_nodeSnapshots = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe [NodeSnapshot]
nodeSnapshots :: Maybe [NodeSnapshot]
$sel:nodeSnapshots:Snapshot' :: Snapshot -> Maybe [NodeSnapshot]
nodeSnapshots} -> Maybe [NodeSnapshot]
nodeSnapshots) (\s :: Snapshot
s@Snapshot' {} Maybe [NodeSnapshot]
a -> Snapshot
s {$sel:nodeSnapshots:Snapshot' :: Maybe [NodeSnapshot]
nodeSnapshots = Maybe [NodeSnapshot]
a} :: Snapshot) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
snapshot_numCacheNodes :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Int)
snapshot_numCacheNodes :: Lens' Snapshot (Maybe Int)
snapshot_numCacheNodes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Int
numCacheNodes :: Maybe Int
$sel:numCacheNodes:Snapshot' :: Snapshot -> Maybe Int
numCacheNodes} -> Maybe Int
numCacheNodes) (\s :: Snapshot
s@Snapshot' {} Maybe Int
a -> Snapshot
s {$sel:numCacheNodes:Snapshot' :: Maybe Int
numCacheNodes = Maybe Int
a} :: Snapshot)
snapshot_numNodeGroups :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Int)
snapshot_numNodeGroups :: Lens' Snapshot (Maybe Int)
snapshot_numNodeGroups = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Int
numNodeGroups :: Maybe Int
$sel:numNodeGroups:Snapshot' :: Snapshot -> Maybe Int
numNodeGroups} -> Maybe Int
numNodeGroups) (\s :: Snapshot
s@Snapshot' {} Maybe Int
a -> Snapshot
s {$sel:numNodeGroups:Snapshot' :: Maybe Int
numNodeGroups = Maybe Int
a} :: Snapshot)
snapshot_port :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Int)
snapshot_port :: Lens' Snapshot (Maybe Int)
snapshot_port = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Int
port :: Maybe Int
$sel:port:Snapshot' :: Snapshot -> Maybe Int
port} -> Maybe Int
port) (\s :: Snapshot
s@Snapshot' {} Maybe Int
a -> Snapshot
s {$sel:port:Snapshot' :: Maybe Int
port = Maybe Int
a} :: Snapshot)
snapshot_preferredAvailabilityZone :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_preferredAvailabilityZone :: Lens' Snapshot (Maybe Text)
snapshot_preferredAvailabilityZone = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
preferredAvailabilityZone :: Maybe Text
$sel:preferredAvailabilityZone:Snapshot' :: Snapshot -> Maybe Text
preferredAvailabilityZone} -> Maybe Text
preferredAvailabilityZone) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:preferredAvailabilityZone:Snapshot' :: Maybe Text
preferredAvailabilityZone = Maybe Text
a} :: Snapshot)
snapshot_preferredMaintenanceWindow :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_preferredMaintenanceWindow :: Lens' Snapshot (Maybe Text)
snapshot_preferredMaintenanceWindow = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
preferredMaintenanceWindow :: Maybe Text
$sel:preferredMaintenanceWindow:Snapshot' :: Snapshot -> Maybe Text
preferredMaintenanceWindow} -> Maybe Text
preferredMaintenanceWindow) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:preferredMaintenanceWindow:Snapshot' :: Maybe Text
preferredMaintenanceWindow = Maybe Text
a} :: Snapshot)
snapshot_preferredOutpostArn :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_preferredOutpostArn :: Lens' Snapshot (Maybe Text)
snapshot_preferredOutpostArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
preferredOutpostArn :: Maybe Text
$sel:preferredOutpostArn:Snapshot' :: Snapshot -> Maybe Text
preferredOutpostArn} -> Maybe Text
preferredOutpostArn) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:preferredOutpostArn:Snapshot' :: Maybe Text
preferredOutpostArn = Maybe Text
a} :: Snapshot)
snapshot_replicationGroupDescription :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_replicationGroupDescription :: Lens' Snapshot (Maybe Text)
snapshot_replicationGroupDescription = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
replicationGroupDescription :: Maybe Text
$sel:replicationGroupDescription:Snapshot' :: Snapshot -> Maybe Text
replicationGroupDescription} -> Maybe Text
replicationGroupDescription) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:replicationGroupDescription:Snapshot' :: Maybe Text
replicationGroupDescription = Maybe Text
a} :: Snapshot)
snapshot_replicationGroupId :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_replicationGroupId :: Lens' Snapshot (Maybe Text)
snapshot_replicationGroupId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
replicationGroupId :: Maybe Text
$sel:replicationGroupId:Snapshot' :: Snapshot -> Maybe Text
replicationGroupId} -> Maybe Text
replicationGroupId) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:replicationGroupId:Snapshot' :: Maybe Text
replicationGroupId = Maybe Text
a} :: Snapshot)
snapshot_snapshotName :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_snapshotName :: Lens' Snapshot (Maybe Text)
snapshot_snapshotName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
snapshotName :: Maybe Text
$sel:snapshotName:Snapshot' :: Snapshot -> Maybe Text
snapshotName} -> Maybe Text
snapshotName) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:snapshotName:Snapshot' :: Maybe Text
snapshotName = Maybe Text
a} :: Snapshot)
snapshot_snapshotRetentionLimit :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Int)
snapshot_snapshotRetentionLimit :: Lens' Snapshot (Maybe Int)
snapshot_snapshotRetentionLimit = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Int
snapshotRetentionLimit :: Maybe Int
$sel:snapshotRetentionLimit:Snapshot' :: Snapshot -> Maybe Int
snapshotRetentionLimit} -> Maybe Int
snapshotRetentionLimit) (\s :: Snapshot
s@Snapshot' {} Maybe Int
a -> Snapshot
s {$sel:snapshotRetentionLimit:Snapshot' :: Maybe Int
snapshotRetentionLimit = Maybe Int
a} :: Snapshot)
snapshot_snapshotSource :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_snapshotSource :: Lens' Snapshot (Maybe Text)
snapshot_snapshotSource = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
snapshotSource :: Maybe Text
$sel:snapshotSource:Snapshot' :: Snapshot -> Maybe Text
snapshotSource} -> Maybe Text
snapshotSource) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:snapshotSource:Snapshot' :: Maybe Text
snapshotSource = Maybe Text
a} :: Snapshot)
snapshot_snapshotStatus :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_snapshotStatus :: Lens' Snapshot (Maybe Text)
snapshot_snapshotStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
snapshotStatus :: Maybe Text
$sel:snapshotStatus:Snapshot' :: Snapshot -> Maybe Text
snapshotStatus} -> Maybe Text
snapshotStatus) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:snapshotStatus:Snapshot' :: Maybe Text
snapshotStatus = Maybe Text
a} :: Snapshot)
snapshot_snapshotWindow :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_snapshotWindow :: Lens' Snapshot (Maybe Text)
snapshot_snapshotWindow = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
snapshotWindow :: Maybe Text
$sel:snapshotWindow:Snapshot' :: Snapshot -> Maybe Text
snapshotWindow} -> Maybe Text
snapshotWindow) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:snapshotWindow:Snapshot' :: Maybe Text
snapshotWindow = Maybe Text
a} :: Snapshot)
snapshot_topicArn :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_topicArn :: Lens' Snapshot (Maybe Text)
snapshot_topicArn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
topicArn :: Maybe Text
$sel:topicArn:Snapshot' :: Snapshot -> Maybe Text
topicArn} -> Maybe Text
topicArn) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:topicArn:Snapshot' :: Maybe Text
topicArn = Maybe Text
a} :: Snapshot)
snapshot_vpcId :: Lens.Lens' Snapshot (Prelude.Maybe Prelude.Text)
snapshot_vpcId :: Lens' Snapshot (Maybe Text)
snapshot_vpcId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\Snapshot' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:Snapshot' :: Snapshot -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: Snapshot
s@Snapshot' {} Maybe Text
a -> Snapshot
s {$sel:vpcId:Snapshot' :: Maybe Text
vpcId = Maybe Text
a} :: Snapshot)
instance Data.FromXML Snapshot where
parseXML :: [Node] -> Either String Snapshot
parseXML [Node]
x =
Maybe Text
-> Maybe Bool
-> Maybe AutomaticFailoverStatus
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe DataTieringStatus
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [NodeSnapshot]
-> Maybe Int
-> Maybe Int
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Snapshot
Snapshot'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"ARN")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"AutoMinorVersionUpgrade")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"AutomaticFailover")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"CacheClusterCreateTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"CacheClusterId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"CacheNodeType")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"CacheParameterGroupName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"CacheSubnetGroupName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"DataTiering")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Engine")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"EngineVersion")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"KmsKeyId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( [Node]
x
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"NodeSnapshots"
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ forall a. Monoid a => a
Prelude.mempty
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (forall a. FromXML a => Text -> [Node] -> Either String [a]
Data.parseXMLList Text
"NodeSnapshot")
)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"NumCacheNodes")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"NumNodeGroups")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"Port")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"PreferredAvailabilityZone")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"PreferredMaintenanceWindow")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"PreferredOutpostArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"ReplicationGroupDescription")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"ReplicationGroupId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"SnapshotName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"SnapshotRetentionLimit")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"SnapshotSource")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"SnapshotStatus")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"SnapshotWindow")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"TopicArn")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"VpcId")
instance Prelude.Hashable Snapshot where
hashWithSalt :: Int -> Snapshot -> Int
hashWithSalt Int
_salt Snapshot' {Maybe Bool
Maybe Int
Maybe [NodeSnapshot]
Maybe Text
Maybe ISO8601
Maybe AutomaticFailoverStatus
Maybe DataTieringStatus
vpcId :: Maybe Text
topicArn :: Maybe Text
snapshotWindow :: Maybe Text
snapshotStatus :: Maybe Text
snapshotSource :: Maybe Text
snapshotRetentionLimit :: Maybe Int
snapshotName :: Maybe Text
replicationGroupId :: Maybe Text
replicationGroupDescription :: Maybe Text
preferredOutpostArn :: Maybe Text
preferredMaintenanceWindow :: Maybe Text
preferredAvailabilityZone :: Maybe Text
port :: Maybe Int
numNodeGroups :: Maybe Int
numCacheNodes :: Maybe Int
nodeSnapshots :: Maybe [NodeSnapshot]
kmsKeyId :: Maybe Text
engineVersion :: Maybe Text
engine :: Maybe Text
dataTiering :: Maybe DataTieringStatus
cacheSubnetGroupName :: Maybe Text
cacheParameterGroupName :: Maybe Text
cacheNodeType :: Maybe Text
cacheClusterId :: Maybe Text
cacheClusterCreateTime :: Maybe ISO8601
automaticFailover :: Maybe AutomaticFailoverStatus
autoMinorVersionUpgrade :: Maybe Bool
arn :: Maybe Text
$sel:vpcId:Snapshot' :: Snapshot -> Maybe Text
$sel:topicArn:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotWindow:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotStatus:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotSource:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotRetentionLimit:Snapshot' :: Snapshot -> Maybe Int
$sel:snapshotName:Snapshot' :: Snapshot -> Maybe Text
$sel:replicationGroupId:Snapshot' :: Snapshot -> Maybe Text
$sel:replicationGroupDescription:Snapshot' :: Snapshot -> Maybe Text
$sel:preferredOutpostArn:Snapshot' :: Snapshot -> Maybe Text
$sel:preferredMaintenanceWindow:Snapshot' :: Snapshot -> Maybe Text
$sel:preferredAvailabilityZone:Snapshot' :: Snapshot -> Maybe Text
$sel:port:Snapshot' :: Snapshot -> Maybe Int
$sel:numNodeGroups:Snapshot' :: Snapshot -> Maybe Int
$sel:numCacheNodes:Snapshot' :: Snapshot -> Maybe Int
$sel:nodeSnapshots:Snapshot' :: Snapshot -> Maybe [NodeSnapshot]
$sel:kmsKeyId:Snapshot' :: Snapshot -> Maybe Text
$sel:engineVersion:Snapshot' :: Snapshot -> Maybe Text
$sel:engine:Snapshot' :: Snapshot -> Maybe Text
$sel:dataTiering:Snapshot' :: Snapshot -> Maybe DataTieringStatus
$sel:cacheSubnetGroupName:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheParameterGroupName:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheNodeType:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheClusterId:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheClusterCreateTime:Snapshot' :: Snapshot -> Maybe ISO8601
$sel:automaticFailover:Snapshot' :: Snapshot -> Maybe AutomaticFailoverStatus
$sel:autoMinorVersionUpgrade:Snapshot' :: Snapshot -> Maybe Bool
$sel:arn:Snapshot' :: Snapshot -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
autoMinorVersionUpgrade
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe AutomaticFailoverStatus
automaticFailover
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
cacheClusterCreateTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
cacheClusterId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
cacheNodeType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
cacheParameterGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
cacheSubnetGroupName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DataTieringStatus
dataTiering
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
engine
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
engineVersion
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kmsKeyId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [NodeSnapshot]
nodeSnapshots
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
numCacheNodes
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
numNodeGroups
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
port
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredAvailabilityZone
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredMaintenanceWindow
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
preferredOutpostArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
replicationGroupDescription
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
replicationGroupId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
snapshotRetentionLimit
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotSource
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotStatus
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotWindow
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
topicArn
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
vpcId
instance Prelude.NFData Snapshot where
rnf :: Snapshot -> ()
rnf Snapshot' {Maybe Bool
Maybe Int
Maybe [NodeSnapshot]
Maybe Text
Maybe ISO8601
Maybe AutomaticFailoverStatus
Maybe DataTieringStatus
vpcId :: Maybe Text
topicArn :: Maybe Text
snapshotWindow :: Maybe Text
snapshotStatus :: Maybe Text
snapshotSource :: Maybe Text
snapshotRetentionLimit :: Maybe Int
snapshotName :: Maybe Text
replicationGroupId :: Maybe Text
replicationGroupDescription :: Maybe Text
preferredOutpostArn :: Maybe Text
preferredMaintenanceWindow :: Maybe Text
preferredAvailabilityZone :: Maybe Text
port :: Maybe Int
numNodeGroups :: Maybe Int
numCacheNodes :: Maybe Int
nodeSnapshots :: Maybe [NodeSnapshot]
kmsKeyId :: Maybe Text
engineVersion :: Maybe Text
engine :: Maybe Text
dataTiering :: Maybe DataTieringStatus
cacheSubnetGroupName :: Maybe Text
cacheParameterGroupName :: Maybe Text
cacheNodeType :: Maybe Text
cacheClusterId :: Maybe Text
cacheClusterCreateTime :: Maybe ISO8601
automaticFailover :: Maybe AutomaticFailoverStatus
autoMinorVersionUpgrade :: Maybe Bool
arn :: Maybe Text
$sel:vpcId:Snapshot' :: Snapshot -> Maybe Text
$sel:topicArn:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotWindow:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotStatus:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotSource:Snapshot' :: Snapshot -> Maybe Text
$sel:snapshotRetentionLimit:Snapshot' :: Snapshot -> Maybe Int
$sel:snapshotName:Snapshot' :: Snapshot -> Maybe Text
$sel:replicationGroupId:Snapshot' :: Snapshot -> Maybe Text
$sel:replicationGroupDescription:Snapshot' :: Snapshot -> Maybe Text
$sel:preferredOutpostArn:Snapshot' :: Snapshot -> Maybe Text
$sel:preferredMaintenanceWindow:Snapshot' :: Snapshot -> Maybe Text
$sel:preferredAvailabilityZone:Snapshot' :: Snapshot -> Maybe Text
$sel:port:Snapshot' :: Snapshot -> Maybe Int
$sel:numNodeGroups:Snapshot' :: Snapshot -> Maybe Int
$sel:numCacheNodes:Snapshot' :: Snapshot -> Maybe Int
$sel:nodeSnapshots:Snapshot' :: Snapshot -> Maybe [NodeSnapshot]
$sel:kmsKeyId:Snapshot' :: Snapshot -> Maybe Text
$sel:engineVersion:Snapshot' :: Snapshot -> Maybe Text
$sel:engine:Snapshot' :: Snapshot -> Maybe Text
$sel:dataTiering:Snapshot' :: Snapshot -> Maybe DataTieringStatus
$sel:cacheSubnetGroupName:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheParameterGroupName:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheNodeType:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheClusterId:Snapshot' :: Snapshot -> Maybe Text
$sel:cacheClusterCreateTime:Snapshot' :: Snapshot -> Maybe ISO8601
$sel:automaticFailover:Snapshot' :: Snapshot -> Maybe AutomaticFailoverStatus
$sel:autoMinorVersionUpgrade:Snapshot' :: Snapshot -> Maybe Bool
$sel:arn:Snapshot' :: Snapshot -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
autoMinorVersionUpgrade
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe AutomaticFailoverStatus
automaticFailover
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
cacheClusterCreateTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
cacheClusterId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
cacheNodeType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
cacheParameterGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
cacheSubnetGroupName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DataTieringStatus
dataTiering
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
engine
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
engineVersion
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
kmsKeyId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [NodeSnapshot]
nodeSnapshots
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
numCacheNodes
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
numNodeGroups
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
port
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
preferredAvailabilityZone
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
preferredMaintenanceWindow
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
preferredOutpostArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
replicationGroupDescription
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
replicationGroupId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
snapshotName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Int
snapshotRetentionLimit
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
snapshotSource
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
snapshotStatus
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
snapshotWindow
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
topicArn
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe Text
vpcId