{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.EC2.DisableFastSnapshotRestores
(
DisableFastSnapshotRestores (..),
newDisableFastSnapshotRestores,
disableFastSnapshotRestores_dryRun,
disableFastSnapshotRestores_availabilityZones,
disableFastSnapshotRestores_sourceSnapshotIds,
DisableFastSnapshotRestoresResponse (..),
newDisableFastSnapshotRestoresResponse,
disableFastSnapshotRestoresResponse_successful,
disableFastSnapshotRestoresResponse_unsuccessful,
disableFastSnapshotRestoresResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.EC2.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data DisableFastSnapshotRestores = DisableFastSnapshotRestores'
{
DisableFastSnapshotRestores -> Maybe Bool
dryRun :: Prelude.Maybe Prelude.Bool,
DisableFastSnapshotRestores -> [Text]
availabilityZones :: [Prelude.Text],
DisableFastSnapshotRestores -> [Text]
sourceSnapshotIds :: [Prelude.Text]
}
deriving (DisableFastSnapshotRestores -> DisableFastSnapshotRestores -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DisableFastSnapshotRestores -> DisableFastSnapshotRestores -> Bool
$c/= :: DisableFastSnapshotRestores -> DisableFastSnapshotRestores -> Bool
== :: DisableFastSnapshotRestores -> DisableFastSnapshotRestores -> Bool
$c== :: DisableFastSnapshotRestores -> DisableFastSnapshotRestores -> Bool
Prelude.Eq, ReadPrec [DisableFastSnapshotRestores]
ReadPrec DisableFastSnapshotRestores
Int -> ReadS DisableFastSnapshotRestores
ReadS [DisableFastSnapshotRestores]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DisableFastSnapshotRestores]
$creadListPrec :: ReadPrec [DisableFastSnapshotRestores]
readPrec :: ReadPrec DisableFastSnapshotRestores
$creadPrec :: ReadPrec DisableFastSnapshotRestores
readList :: ReadS [DisableFastSnapshotRestores]
$creadList :: ReadS [DisableFastSnapshotRestores]
readsPrec :: Int -> ReadS DisableFastSnapshotRestores
$creadsPrec :: Int -> ReadS DisableFastSnapshotRestores
Prelude.Read, Int -> DisableFastSnapshotRestores -> ShowS
[DisableFastSnapshotRestores] -> ShowS
DisableFastSnapshotRestores -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DisableFastSnapshotRestores] -> ShowS
$cshowList :: [DisableFastSnapshotRestores] -> ShowS
show :: DisableFastSnapshotRestores -> String
$cshow :: DisableFastSnapshotRestores -> String
showsPrec :: Int -> DisableFastSnapshotRestores -> ShowS
$cshowsPrec :: Int -> DisableFastSnapshotRestores -> ShowS
Prelude.Show, forall x.
Rep DisableFastSnapshotRestores x -> DisableFastSnapshotRestores
forall x.
DisableFastSnapshotRestores -> Rep DisableFastSnapshotRestores x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DisableFastSnapshotRestores x -> DisableFastSnapshotRestores
$cfrom :: forall x.
DisableFastSnapshotRestores -> Rep DisableFastSnapshotRestores x
Prelude.Generic)
newDisableFastSnapshotRestores ::
DisableFastSnapshotRestores
newDisableFastSnapshotRestores :: DisableFastSnapshotRestores
newDisableFastSnapshotRestores =
DisableFastSnapshotRestores'
{ $sel:dryRun:DisableFastSnapshotRestores' :: Maybe Bool
dryRun =
forall a. Maybe a
Prelude.Nothing,
$sel:availabilityZones:DisableFastSnapshotRestores' :: [Text]
availabilityZones = forall a. Monoid a => a
Prelude.mempty,
$sel:sourceSnapshotIds:DisableFastSnapshotRestores' :: [Text]
sourceSnapshotIds = forall a. Monoid a => a
Prelude.mempty
}
disableFastSnapshotRestores_dryRun :: Lens.Lens' DisableFastSnapshotRestores (Prelude.Maybe Prelude.Bool)
disableFastSnapshotRestores_dryRun :: Lens' DisableFastSnapshotRestores (Maybe Bool)
disableFastSnapshotRestores_dryRun = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisableFastSnapshotRestores' {Maybe Bool
dryRun :: Maybe Bool
$sel:dryRun:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> Maybe Bool
dryRun} -> Maybe Bool
dryRun) (\s :: DisableFastSnapshotRestores
s@DisableFastSnapshotRestores' {} Maybe Bool
a -> DisableFastSnapshotRestores
s {$sel:dryRun:DisableFastSnapshotRestores' :: Maybe Bool
dryRun = Maybe Bool
a} :: DisableFastSnapshotRestores)
disableFastSnapshotRestores_availabilityZones :: Lens.Lens' DisableFastSnapshotRestores [Prelude.Text]
disableFastSnapshotRestores_availabilityZones :: Lens' DisableFastSnapshotRestores [Text]
disableFastSnapshotRestores_availabilityZones = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisableFastSnapshotRestores' {[Text]
availabilityZones :: [Text]
$sel:availabilityZones:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
availabilityZones} -> [Text]
availabilityZones) (\s :: DisableFastSnapshotRestores
s@DisableFastSnapshotRestores' {} [Text]
a -> DisableFastSnapshotRestores
s {$sel:availabilityZones:DisableFastSnapshotRestores' :: [Text]
availabilityZones = [Text]
a} :: DisableFastSnapshotRestores) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
disableFastSnapshotRestores_sourceSnapshotIds :: Lens.Lens' DisableFastSnapshotRestores [Prelude.Text]
disableFastSnapshotRestores_sourceSnapshotIds :: Lens' DisableFastSnapshotRestores [Text]
disableFastSnapshotRestores_sourceSnapshotIds = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisableFastSnapshotRestores' {[Text]
sourceSnapshotIds :: [Text]
$sel:sourceSnapshotIds:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
sourceSnapshotIds} -> [Text]
sourceSnapshotIds) (\s :: DisableFastSnapshotRestores
s@DisableFastSnapshotRestores' {} [Text]
a -> DisableFastSnapshotRestores
s {$sel:sourceSnapshotIds:DisableFastSnapshotRestores' :: [Text]
sourceSnapshotIds = [Text]
a} :: DisableFastSnapshotRestores) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest DisableFastSnapshotRestores where
type
AWSResponse DisableFastSnapshotRestores =
DisableFastSnapshotRestoresResponse
request :: (Service -> Service)
-> DisableFastSnapshotRestores
-> Request DisableFastSnapshotRestores
request Service -> Service
overrides =
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy DisableFastSnapshotRestores
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse DisableFastSnapshotRestores)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXML
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe [DisableFastSnapshotRestoreSuccessItem]
-> Maybe [DisableFastSnapshotRestoreErrorItem]
-> Int
-> DisableFastSnapshotRestoresResponse
DisableFastSnapshotRestoresResponse'
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
"successful"
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
"item")
)
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
"unsuccessful"
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
"item")
)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable DisableFastSnapshotRestores where
hashWithSalt :: Int -> DisableFastSnapshotRestores -> Int
hashWithSalt Int
_salt DisableFastSnapshotRestores' {[Text]
Maybe Bool
sourceSnapshotIds :: [Text]
availabilityZones :: [Text]
dryRun :: Maybe Bool
$sel:sourceSnapshotIds:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
$sel:availabilityZones:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
$sel:dryRun:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> Maybe Bool
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
dryRun
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` [Text]
availabilityZones
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` [Text]
sourceSnapshotIds
instance Prelude.NFData DisableFastSnapshotRestores where
rnf :: DisableFastSnapshotRestores -> ()
rnf DisableFastSnapshotRestores' {[Text]
Maybe Bool
sourceSnapshotIds :: [Text]
availabilityZones :: [Text]
dryRun :: Maybe Bool
$sel:sourceSnapshotIds:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
$sel:availabilityZones:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
$sel:dryRun:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> Maybe Bool
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
dryRun
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf [Text]
availabilityZones
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf [Text]
sourceSnapshotIds
instance Data.ToHeaders DisableFastSnapshotRestores where
toHeaders :: DisableFastSnapshotRestores -> ResponseHeaders
toHeaders = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
instance Data.ToPath DisableFastSnapshotRestores where
toPath :: DisableFastSnapshotRestores -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Data.ToQuery DisableFastSnapshotRestores where
toQuery :: DisableFastSnapshotRestores -> QueryString
toQuery DisableFastSnapshotRestores' {[Text]
Maybe Bool
sourceSnapshotIds :: [Text]
availabilityZones :: [Text]
dryRun :: Maybe Bool
$sel:sourceSnapshotIds:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
$sel:availabilityZones:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> [Text]
$sel:dryRun:DisableFastSnapshotRestores' :: DisableFastSnapshotRestores -> Maybe Bool
..} =
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: ( ByteString
"DisableFastSnapshotRestores" ::
Prelude.ByteString
),
ByteString
"Version"
forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: (ByteString
"2016-11-15" :: Prelude.ByteString),
ByteString
"DryRun" forall a. ToQuery a => ByteString -> a -> QueryString
Data.=: Maybe Bool
dryRun,
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList
ByteString
"AvailabilityZone"
[Text]
availabilityZones,
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Data.toQueryList
ByteString
"SourceSnapshotId"
[Text]
sourceSnapshotIds
]
data DisableFastSnapshotRestoresResponse = DisableFastSnapshotRestoresResponse'
{
DisableFastSnapshotRestoresResponse
-> Maybe [DisableFastSnapshotRestoreSuccessItem]
successful :: Prelude.Maybe [DisableFastSnapshotRestoreSuccessItem],
DisableFastSnapshotRestoresResponse
-> Maybe [DisableFastSnapshotRestoreErrorItem]
unsuccessful :: Prelude.Maybe [DisableFastSnapshotRestoreErrorItem],
DisableFastSnapshotRestoresResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DisableFastSnapshotRestoresResponse
-> DisableFastSnapshotRestoresResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DisableFastSnapshotRestoresResponse
-> DisableFastSnapshotRestoresResponse -> Bool
$c/= :: DisableFastSnapshotRestoresResponse
-> DisableFastSnapshotRestoresResponse -> Bool
== :: DisableFastSnapshotRestoresResponse
-> DisableFastSnapshotRestoresResponse -> Bool
$c== :: DisableFastSnapshotRestoresResponse
-> DisableFastSnapshotRestoresResponse -> Bool
Prelude.Eq, ReadPrec [DisableFastSnapshotRestoresResponse]
ReadPrec DisableFastSnapshotRestoresResponse
Int -> ReadS DisableFastSnapshotRestoresResponse
ReadS [DisableFastSnapshotRestoresResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DisableFastSnapshotRestoresResponse]
$creadListPrec :: ReadPrec [DisableFastSnapshotRestoresResponse]
readPrec :: ReadPrec DisableFastSnapshotRestoresResponse
$creadPrec :: ReadPrec DisableFastSnapshotRestoresResponse
readList :: ReadS [DisableFastSnapshotRestoresResponse]
$creadList :: ReadS [DisableFastSnapshotRestoresResponse]
readsPrec :: Int -> ReadS DisableFastSnapshotRestoresResponse
$creadsPrec :: Int -> ReadS DisableFastSnapshotRestoresResponse
Prelude.Read, Int -> DisableFastSnapshotRestoresResponse -> ShowS
[DisableFastSnapshotRestoresResponse] -> ShowS
DisableFastSnapshotRestoresResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DisableFastSnapshotRestoresResponse] -> ShowS
$cshowList :: [DisableFastSnapshotRestoresResponse] -> ShowS
show :: DisableFastSnapshotRestoresResponse -> String
$cshow :: DisableFastSnapshotRestoresResponse -> String
showsPrec :: Int -> DisableFastSnapshotRestoresResponse -> ShowS
$cshowsPrec :: Int -> DisableFastSnapshotRestoresResponse -> ShowS
Prelude.Show, forall x.
Rep DisableFastSnapshotRestoresResponse x
-> DisableFastSnapshotRestoresResponse
forall x.
DisableFastSnapshotRestoresResponse
-> Rep DisableFastSnapshotRestoresResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DisableFastSnapshotRestoresResponse x
-> DisableFastSnapshotRestoresResponse
$cfrom :: forall x.
DisableFastSnapshotRestoresResponse
-> Rep DisableFastSnapshotRestoresResponse x
Prelude.Generic)
newDisableFastSnapshotRestoresResponse ::
Prelude.Int ->
DisableFastSnapshotRestoresResponse
newDisableFastSnapshotRestoresResponse :: Int -> DisableFastSnapshotRestoresResponse
newDisableFastSnapshotRestoresResponse Int
pHttpStatus_ =
DisableFastSnapshotRestoresResponse'
{ $sel:successful:DisableFastSnapshotRestoresResponse' :: Maybe [DisableFastSnapshotRestoreSuccessItem]
successful =
forall a. Maybe a
Prelude.Nothing,
$sel:unsuccessful:DisableFastSnapshotRestoresResponse' :: Maybe [DisableFastSnapshotRestoreErrorItem]
unsuccessful = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DisableFastSnapshotRestoresResponse' :: Int
httpStatus = Int
pHttpStatus_
}
disableFastSnapshotRestoresResponse_successful :: Lens.Lens' DisableFastSnapshotRestoresResponse (Prelude.Maybe [DisableFastSnapshotRestoreSuccessItem])
disableFastSnapshotRestoresResponse_successful :: Lens'
DisableFastSnapshotRestoresResponse
(Maybe [DisableFastSnapshotRestoreSuccessItem])
disableFastSnapshotRestoresResponse_successful = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisableFastSnapshotRestoresResponse' {Maybe [DisableFastSnapshotRestoreSuccessItem]
successful :: Maybe [DisableFastSnapshotRestoreSuccessItem]
$sel:successful:DisableFastSnapshotRestoresResponse' :: DisableFastSnapshotRestoresResponse
-> Maybe [DisableFastSnapshotRestoreSuccessItem]
successful} -> Maybe [DisableFastSnapshotRestoreSuccessItem]
successful) (\s :: DisableFastSnapshotRestoresResponse
s@DisableFastSnapshotRestoresResponse' {} Maybe [DisableFastSnapshotRestoreSuccessItem]
a -> DisableFastSnapshotRestoresResponse
s {$sel:successful:DisableFastSnapshotRestoresResponse' :: Maybe [DisableFastSnapshotRestoreSuccessItem]
successful = Maybe [DisableFastSnapshotRestoreSuccessItem]
a} :: DisableFastSnapshotRestoresResponse) 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
disableFastSnapshotRestoresResponse_unsuccessful :: Lens.Lens' DisableFastSnapshotRestoresResponse (Prelude.Maybe [DisableFastSnapshotRestoreErrorItem])
disableFastSnapshotRestoresResponse_unsuccessful :: Lens'
DisableFastSnapshotRestoresResponse
(Maybe [DisableFastSnapshotRestoreErrorItem])
disableFastSnapshotRestoresResponse_unsuccessful = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisableFastSnapshotRestoresResponse' {Maybe [DisableFastSnapshotRestoreErrorItem]
unsuccessful :: Maybe [DisableFastSnapshotRestoreErrorItem]
$sel:unsuccessful:DisableFastSnapshotRestoresResponse' :: DisableFastSnapshotRestoresResponse
-> Maybe [DisableFastSnapshotRestoreErrorItem]
unsuccessful} -> Maybe [DisableFastSnapshotRestoreErrorItem]
unsuccessful) (\s :: DisableFastSnapshotRestoresResponse
s@DisableFastSnapshotRestoresResponse' {} Maybe [DisableFastSnapshotRestoreErrorItem]
a -> DisableFastSnapshotRestoresResponse
s {$sel:unsuccessful:DisableFastSnapshotRestoresResponse' :: Maybe [DisableFastSnapshotRestoreErrorItem]
unsuccessful = Maybe [DisableFastSnapshotRestoreErrorItem]
a} :: DisableFastSnapshotRestoresResponse) 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
disableFastSnapshotRestoresResponse_httpStatus :: Lens.Lens' DisableFastSnapshotRestoresResponse Prelude.Int
disableFastSnapshotRestoresResponse_httpStatus :: Lens' DisableFastSnapshotRestoresResponse Int
disableFastSnapshotRestoresResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisableFastSnapshotRestoresResponse' {Int
httpStatus :: Int
$sel:httpStatus:DisableFastSnapshotRestoresResponse' :: DisableFastSnapshotRestoresResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DisableFastSnapshotRestoresResponse
s@DisableFastSnapshotRestoresResponse' {} Int
a -> DisableFastSnapshotRestoresResponse
s {$sel:httpStatus:DisableFastSnapshotRestoresResponse' :: Int
httpStatus = Int
a} :: DisableFastSnapshotRestoresResponse)
instance
Prelude.NFData
DisableFastSnapshotRestoresResponse
where
rnf :: DisableFastSnapshotRestoresResponse -> ()
rnf DisableFastSnapshotRestoresResponse' {Int
Maybe [DisableFastSnapshotRestoreErrorItem]
Maybe [DisableFastSnapshotRestoreSuccessItem]
httpStatus :: Int
unsuccessful :: Maybe [DisableFastSnapshotRestoreErrorItem]
successful :: Maybe [DisableFastSnapshotRestoreSuccessItem]
$sel:httpStatus:DisableFastSnapshotRestoresResponse' :: DisableFastSnapshotRestoresResponse -> Int
$sel:unsuccessful:DisableFastSnapshotRestoresResponse' :: DisableFastSnapshotRestoresResponse
-> Maybe [DisableFastSnapshotRestoreErrorItem]
$sel:successful:DisableFastSnapshotRestoresResponse' :: DisableFastSnapshotRestoresResponse
-> Maybe [DisableFastSnapshotRestoreSuccessItem]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [DisableFastSnapshotRestoreSuccessItem]
successful
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe [DisableFastSnapshotRestoreErrorItem]
unsuccessful
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus