{-# 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.Lightsail.CreateInstanceSnapshot
(
CreateInstanceSnapshot (..),
newCreateInstanceSnapshot,
createInstanceSnapshot_tags,
createInstanceSnapshot_instanceSnapshotName,
createInstanceSnapshot_instanceName,
CreateInstanceSnapshotResponse (..),
newCreateInstanceSnapshotResponse,
createInstanceSnapshotResponse_operations,
createInstanceSnapshotResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Lightsail.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data CreateInstanceSnapshot = CreateInstanceSnapshot'
{
CreateInstanceSnapshot -> Maybe [Tag]
tags :: Prelude.Maybe [Tag],
CreateInstanceSnapshot -> Text
instanceSnapshotName :: Prelude.Text,
CreateInstanceSnapshot -> Text
instanceName :: Prelude.Text
}
deriving (CreateInstanceSnapshot -> CreateInstanceSnapshot -> Bool
(CreateInstanceSnapshot -> CreateInstanceSnapshot -> Bool)
-> (CreateInstanceSnapshot -> CreateInstanceSnapshot -> Bool)
-> Eq CreateInstanceSnapshot
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateInstanceSnapshot -> CreateInstanceSnapshot -> Bool
$c/= :: CreateInstanceSnapshot -> CreateInstanceSnapshot -> Bool
== :: CreateInstanceSnapshot -> CreateInstanceSnapshot -> Bool
$c== :: CreateInstanceSnapshot -> CreateInstanceSnapshot -> Bool
Prelude.Eq, ReadPrec [CreateInstanceSnapshot]
ReadPrec CreateInstanceSnapshot
Int -> ReadS CreateInstanceSnapshot
ReadS [CreateInstanceSnapshot]
(Int -> ReadS CreateInstanceSnapshot)
-> ReadS [CreateInstanceSnapshot]
-> ReadPrec CreateInstanceSnapshot
-> ReadPrec [CreateInstanceSnapshot]
-> Read CreateInstanceSnapshot
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateInstanceSnapshot]
$creadListPrec :: ReadPrec [CreateInstanceSnapshot]
readPrec :: ReadPrec CreateInstanceSnapshot
$creadPrec :: ReadPrec CreateInstanceSnapshot
readList :: ReadS [CreateInstanceSnapshot]
$creadList :: ReadS [CreateInstanceSnapshot]
readsPrec :: Int -> ReadS CreateInstanceSnapshot
$creadsPrec :: Int -> ReadS CreateInstanceSnapshot
Prelude.Read, Int -> CreateInstanceSnapshot -> ShowS
[CreateInstanceSnapshot] -> ShowS
CreateInstanceSnapshot -> String
(Int -> CreateInstanceSnapshot -> ShowS)
-> (CreateInstanceSnapshot -> String)
-> ([CreateInstanceSnapshot] -> ShowS)
-> Show CreateInstanceSnapshot
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateInstanceSnapshot] -> ShowS
$cshowList :: [CreateInstanceSnapshot] -> ShowS
show :: CreateInstanceSnapshot -> String
$cshow :: CreateInstanceSnapshot -> String
showsPrec :: Int -> CreateInstanceSnapshot -> ShowS
$cshowsPrec :: Int -> CreateInstanceSnapshot -> ShowS
Prelude.Show, (forall x. CreateInstanceSnapshot -> Rep CreateInstanceSnapshot x)
-> (forall x.
Rep CreateInstanceSnapshot x -> CreateInstanceSnapshot)
-> Generic CreateInstanceSnapshot
forall x. Rep CreateInstanceSnapshot x -> CreateInstanceSnapshot
forall x. CreateInstanceSnapshot -> Rep CreateInstanceSnapshot x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CreateInstanceSnapshot x -> CreateInstanceSnapshot
$cfrom :: forall x. CreateInstanceSnapshot -> Rep CreateInstanceSnapshot x
Prelude.Generic)
newCreateInstanceSnapshot ::
Prelude.Text ->
Prelude.Text ->
CreateInstanceSnapshot
newCreateInstanceSnapshot :: Text -> Text -> CreateInstanceSnapshot
newCreateInstanceSnapshot
Text
pInstanceSnapshotName_
Text
pInstanceName_ =
CreateInstanceSnapshot' :: Maybe [Tag] -> Text -> Text -> CreateInstanceSnapshot
CreateInstanceSnapshot'
{ $sel:tags:CreateInstanceSnapshot' :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
$sel:instanceSnapshotName:CreateInstanceSnapshot' :: Text
instanceSnapshotName = Text
pInstanceSnapshotName_,
$sel:instanceName:CreateInstanceSnapshot' :: Text
instanceName = Text
pInstanceName_
}
createInstanceSnapshot_tags :: Lens.Lens' CreateInstanceSnapshot (Prelude.Maybe [Tag])
createInstanceSnapshot_tags :: (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateInstanceSnapshot -> f CreateInstanceSnapshot
createInstanceSnapshot_tags = (CreateInstanceSnapshot -> Maybe [Tag])
-> (CreateInstanceSnapshot
-> Maybe [Tag] -> CreateInstanceSnapshot)
-> Lens
CreateInstanceSnapshot
CreateInstanceSnapshot
(Maybe [Tag])
(Maybe [Tag])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateInstanceSnapshot' {Maybe [Tag]
tags :: Maybe [Tag]
$sel:tags:CreateInstanceSnapshot' :: CreateInstanceSnapshot -> Maybe [Tag]
tags} -> Maybe [Tag]
tags) (\s :: CreateInstanceSnapshot
s@CreateInstanceSnapshot' {} Maybe [Tag]
a -> CreateInstanceSnapshot
s {$sel:tags:CreateInstanceSnapshot' :: Maybe [Tag]
tags = Maybe [Tag]
a} :: CreateInstanceSnapshot) ((Maybe [Tag] -> f (Maybe [Tag]))
-> CreateInstanceSnapshot -> f CreateInstanceSnapshot)
-> ((Maybe [Tag] -> f (Maybe [Tag]))
-> Maybe [Tag] -> f (Maybe [Tag]))
-> (Maybe [Tag] -> f (Maybe [Tag]))
-> CreateInstanceSnapshot
-> f CreateInstanceSnapshot
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Tag] [Tag] [Tag] [Tag]
-> Iso (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag]) (Maybe [Tag])
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 [Tag] [Tag] [Tag] [Tag]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createInstanceSnapshot_instanceSnapshotName :: Lens.Lens' CreateInstanceSnapshot Prelude.Text
createInstanceSnapshot_instanceSnapshotName :: (Text -> f Text)
-> CreateInstanceSnapshot -> f CreateInstanceSnapshot
createInstanceSnapshot_instanceSnapshotName = (CreateInstanceSnapshot -> Text)
-> (CreateInstanceSnapshot -> Text -> CreateInstanceSnapshot)
-> Lens CreateInstanceSnapshot CreateInstanceSnapshot Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateInstanceSnapshot' {Text
instanceSnapshotName :: Text
$sel:instanceSnapshotName:CreateInstanceSnapshot' :: CreateInstanceSnapshot -> Text
instanceSnapshotName} -> Text
instanceSnapshotName) (\s :: CreateInstanceSnapshot
s@CreateInstanceSnapshot' {} Text
a -> CreateInstanceSnapshot
s {$sel:instanceSnapshotName:CreateInstanceSnapshot' :: Text
instanceSnapshotName = Text
a} :: CreateInstanceSnapshot)
createInstanceSnapshot_instanceName :: Lens.Lens' CreateInstanceSnapshot Prelude.Text
createInstanceSnapshot_instanceName :: (Text -> f Text)
-> CreateInstanceSnapshot -> f CreateInstanceSnapshot
createInstanceSnapshot_instanceName = (CreateInstanceSnapshot -> Text)
-> (CreateInstanceSnapshot -> Text -> CreateInstanceSnapshot)
-> Lens CreateInstanceSnapshot CreateInstanceSnapshot Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateInstanceSnapshot' {Text
instanceName :: Text
$sel:instanceName:CreateInstanceSnapshot' :: CreateInstanceSnapshot -> Text
instanceName} -> Text
instanceName) (\s :: CreateInstanceSnapshot
s@CreateInstanceSnapshot' {} Text
a -> CreateInstanceSnapshot
s {$sel:instanceName:CreateInstanceSnapshot' :: Text
instanceName = Text
a} :: CreateInstanceSnapshot)
instance Core.AWSRequest CreateInstanceSnapshot where
type
AWSResponse CreateInstanceSnapshot =
CreateInstanceSnapshotResponse
request :: CreateInstanceSnapshot -> Request CreateInstanceSnapshot
request = Service -> CreateInstanceSnapshot -> Request CreateInstanceSnapshot
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy CreateInstanceSnapshot
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateInstanceSnapshot)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse CreateInstanceSnapshot))
-> Logger
-> Service
-> Proxy CreateInstanceSnapshot
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse CreateInstanceSnapshot)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe [Operation] -> Int -> CreateInstanceSnapshotResponse
CreateInstanceSnapshotResponse'
(Maybe [Operation] -> Int -> CreateInstanceSnapshotResponse)
-> Either String (Maybe [Operation])
-> Either String (Int -> CreateInstanceSnapshotResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe (Maybe [Operation]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"operations" Either String (Maybe (Maybe [Operation]))
-> Maybe [Operation] -> Either String (Maybe [Operation])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [Operation]
forall a. Monoid a => a
Prelude.mempty)
Either String (Int -> CreateInstanceSnapshotResponse)
-> Either String Int
-> Either String CreateInstanceSnapshotResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable CreateInstanceSnapshot
instance Prelude.NFData CreateInstanceSnapshot
instance Core.ToHeaders CreateInstanceSnapshot where
toHeaders :: CreateInstanceSnapshot -> ResponseHeaders
toHeaders =
ResponseHeaders -> CreateInstanceSnapshot -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Target"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"Lightsail_20161128.CreateInstanceSnapshot" ::
Prelude.ByteString
),
HeaderName
"Content-Type"
HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON CreateInstanceSnapshot where
toJSON :: CreateInstanceSnapshot -> Value
toJSON CreateInstanceSnapshot' {Maybe [Tag]
Text
instanceName :: Text
instanceSnapshotName :: Text
tags :: Maybe [Tag]
$sel:instanceName:CreateInstanceSnapshot' :: CreateInstanceSnapshot -> Text
$sel:instanceSnapshotName:CreateInstanceSnapshot' :: CreateInstanceSnapshot -> Text
$sel:tags:CreateInstanceSnapshot' :: CreateInstanceSnapshot -> Maybe [Tag]
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"tags" Text -> [Tag] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([Tag] -> Pair) -> Maybe [Tag] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
( Text
"instanceSnapshotName"
Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
instanceSnapshotName
),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"instanceName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
instanceName)
]
)
instance Core.ToPath CreateInstanceSnapshot where
toPath :: CreateInstanceSnapshot -> ByteString
toPath = ByteString -> CreateInstanceSnapshot -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery CreateInstanceSnapshot where
toQuery :: CreateInstanceSnapshot -> QueryString
toQuery = QueryString -> CreateInstanceSnapshot -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data CreateInstanceSnapshotResponse = CreateInstanceSnapshotResponse'
{
CreateInstanceSnapshotResponse -> Maybe [Operation]
operations :: Prelude.Maybe [Operation],
CreateInstanceSnapshotResponse -> Int
httpStatus :: Prelude.Int
}
deriving (CreateInstanceSnapshotResponse
-> CreateInstanceSnapshotResponse -> Bool
(CreateInstanceSnapshotResponse
-> CreateInstanceSnapshotResponse -> Bool)
-> (CreateInstanceSnapshotResponse
-> CreateInstanceSnapshotResponse -> Bool)
-> Eq CreateInstanceSnapshotResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CreateInstanceSnapshotResponse
-> CreateInstanceSnapshotResponse -> Bool
$c/= :: CreateInstanceSnapshotResponse
-> CreateInstanceSnapshotResponse -> Bool
== :: CreateInstanceSnapshotResponse
-> CreateInstanceSnapshotResponse -> Bool
$c== :: CreateInstanceSnapshotResponse
-> CreateInstanceSnapshotResponse -> Bool
Prelude.Eq, ReadPrec [CreateInstanceSnapshotResponse]
ReadPrec CreateInstanceSnapshotResponse
Int -> ReadS CreateInstanceSnapshotResponse
ReadS [CreateInstanceSnapshotResponse]
(Int -> ReadS CreateInstanceSnapshotResponse)
-> ReadS [CreateInstanceSnapshotResponse]
-> ReadPrec CreateInstanceSnapshotResponse
-> ReadPrec [CreateInstanceSnapshotResponse]
-> Read CreateInstanceSnapshotResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CreateInstanceSnapshotResponse]
$creadListPrec :: ReadPrec [CreateInstanceSnapshotResponse]
readPrec :: ReadPrec CreateInstanceSnapshotResponse
$creadPrec :: ReadPrec CreateInstanceSnapshotResponse
readList :: ReadS [CreateInstanceSnapshotResponse]
$creadList :: ReadS [CreateInstanceSnapshotResponse]
readsPrec :: Int -> ReadS CreateInstanceSnapshotResponse
$creadsPrec :: Int -> ReadS CreateInstanceSnapshotResponse
Prelude.Read, Int -> CreateInstanceSnapshotResponse -> ShowS
[CreateInstanceSnapshotResponse] -> ShowS
CreateInstanceSnapshotResponse -> String
(Int -> CreateInstanceSnapshotResponse -> ShowS)
-> (CreateInstanceSnapshotResponse -> String)
-> ([CreateInstanceSnapshotResponse] -> ShowS)
-> Show CreateInstanceSnapshotResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CreateInstanceSnapshotResponse] -> ShowS
$cshowList :: [CreateInstanceSnapshotResponse] -> ShowS
show :: CreateInstanceSnapshotResponse -> String
$cshow :: CreateInstanceSnapshotResponse -> String
showsPrec :: Int -> CreateInstanceSnapshotResponse -> ShowS
$cshowsPrec :: Int -> CreateInstanceSnapshotResponse -> ShowS
Prelude.Show, (forall x.
CreateInstanceSnapshotResponse
-> Rep CreateInstanceSnapshotResponse x)
-> (forall x.
Rep CreateInstanceSnapshotResponse x
-> CreateInstanceSnapshotResponse)
-> Generic CreateInstanceSnapshotResponse
forall x.
Rep CreateInstanceSnapshotResponse x
-> CreateInstanceSnapshotResponse
forall x.
CreateInstanceSnapshotResponse
-> Rep CreateInstanceSnapshotResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep CreateInstanceSnapshotResponse x
-> CreateInstanceSnapshotResponse
$cfrom :: forall x.
CreateInstanceSnapshotResponse
-> Rep CreateInstanceSnapshotResponse x
Prelude.Generic)
newCreateInstanceSnapshotResponse ::
Prelude.Int ->
CreateInstanceSnapshotResponse
newCreateInstanceSnapshotResponse :: Int -> CreateInstanceSnapshotResponse
newCreateInstanceSnapshotResponse Int
pHttpStatus_ =
CreateInstanceSnapshotResponse' :: Maybe [Operation] -> Int -> CreateInstanceSnapshotResponse
CreateInstanceSnapshotResponse'
{ $sel:operations:CreateInstanceSnapshotResponse' :: Maybe [Operation]
operations =
Maybe [Operation]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:CreateInstanceSnapshotResponse' :: Int
httpStatus = Int
pHttpStatus_
}
createInstanceSnapshotResponse_operations :: Lens.Lens' CreateInstanceSnapshotResponse (Prelude.Maybe [Operation])
createInstanceSnapshotResponse_operations :: (Maybe [Operation] -> f (Maybe [Operation]))
-> CreateInstanceSnapshotResponse
-> f CreateInstanceSnapshotResponse
createInstanceSnapshotResponse_operations = (CreateInstanceSnapshotResponse -> Maybe [Operation])
-> (CreateInstanceSnapshotResponse
-> Maybe [Operation] -> CreateInstanceSnapshotResponse)
-> Lens
CreateInstanceSnapshotResponse
CreateInstanceSnapshotResponse
(Maybe [Operation])
(Maybe [Operation])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateInstanceSnapshotResponse' {Maybe [Operation]
operations :: Maybe [Operation]
$sel:operations:CreateInstanceSnapshotResponse' :: CreateInstanceSnapshotResponse -> Maybe [Operation]
operations} -> Maybe [Operation]
operations) (\s :: CreateInstanceSnapshotResponse
s@CreateInstanceSnapshotResponse' {} Maybe [Operation]
a -> CreateInstanceSnapshotResponse
s {$sel:operations:CreateInstanceSnapshotResponse' :: Maybe [Operation]
operations = Maybe [Operation]
a} :: CreateInstanceSnapshotResponse) ((Maybe [Operation] -> f (Maybe [Operation]))
-> CreateInstanceSnapshotResponse
-> f CreateInstanceSnapshotResponse)
-> ((Maybe [Operation] -> f (Maybe [Operation]))
-> Maybe [Operation] -> f (Maybe [Operation]))
-> (Maybe [Operation] -> f (Maybe [Operation]))
-> CreateInstanceSnapshotResponse
-> f CreateInstanceSnapshotResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Operation] [Operation] [Operation] [Operation]
-> Iso
(Maybe [Operation])
(Maybe [Operation])
(Maybe [Operation])
(Maybe [Operation])
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 [Operation] [Operation] [Operation] [Operation]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
createInstanceSnapshotResponse_httpStatus :: Lens.Lens' CreateInstanceSnapshotResponse Prelude.Int
createInstanceSnapshotResponse_httpStatus :: (Int -> f Int)
-> CreateInstanceSnapshotResponse
-> f CreateInstanceSnapshotResponse
createInstanceSnapshotResponse_httpStatus = (CreateInstanceSnapshotResponse -> Int)
-> (CreateInstanceSnapshotResponse
-> Int -> CreateInstanceSnapshotResponse)
-> Lens
CreateInstanceSnapshotResponse
CreateInstanceSnapshotResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CreateInstanceSnapshotResponse' {Int
httpStatus :: Int
$sel:httpStatus:CreateInstanceSnapshotResponse' :: CreateInstanceSnapshotResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: CreateInstanceSnapshotResponse
s@CreateInstanceSnapshotResponse' {} Int
a -> CreateInstanceSnapshotResponse
s {$sel:httpStatus:CreateInstanceSnapshotResponse' :: Int
httpStatus = Int
a} :: CreateInstanceSnapshotResponse)
instance
Prelude.NFData
CreateInstanceSnapshotResponse