{-# 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.EC2InstanceConnect.SendSSHPublicKey
(
SendSSHPublicKey (..),
newSendSSHPublicKey,
sendSSHPublicKey_instanceId,
sendSSHPublicKey_instanceOSUser,
sendSSHPublicKey_sSHPublicKey,
sendSSHPublicKey_availabilityZone,
SendSSHPublicKeyResponse (..),
newSendSSHPublicKeyResponse,
sendSSHPublicKeyResponse_requestId,
sendSSHPublicKeyResponse_success,
sendSSHPublicKeyResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import Amazonka.EC2InstanceConnect.Types
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data SendSSHPublicKey = SendSSHPublicKey'
{
SendSSHPublicKey -> Text
instanceId :: Prelude.Text,
SendSSHPublicKey -> Text
instanceOSUser :: Prelude.Text,
SendSSHPublicKey -> Text
sSHPublicKey :: Prelude.Text,
SendSSHPublicKey -> Text
availabilityZone :: Prelude.Text
}
deriving (SendSSHPublicKey -> SendSSHPublicKey -> Bool
(SendSSHPublicKey -> SendSSHPublicKey -> Bool)
-> (SendSSHPublicKey -> SendSSHPublicKey -> Bool)
-> Eq SendSSHPublicKey
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SendSSHPublicKey -> SendSSHPublicKey -> Bool
$c/= :: SendSSHPublicKey -> SendSSHPublicKey -> Bool
== :: SendSSHPublicKey -> SendSSHPublicKey -> Bool
$c== :: SendSSHPublicKey -> SendSSHPublicKey -> Bool
Prelude.Eq, ReadPrec [SendSSHPublicKey]
ReadPrec SendSSHPublicKey
Int -> ReadS SendSSHPublicKey
ReadS [SendSSHPublicKey]
(Int -> ReadS SendSSHPublicKey)
-> ReadS [SendSSHPublicKey]
-> ReadPrec SendSSHPublicKey
-> ReadPrec [SendSSHPublicKey]
-> Read SendSSHPublicKey
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SendSSHPublicKey]
$creadListPrec :: ReadPrec [SendSSHPublicKey]
readPrec :: ReadPrec SendSSHPublicKey
$creadPrec :: ReadPrec SendSSHPublicKey
readList :: ReadS [SendSSHPublicKey]
$creadList :: ReadS [SendSSHPublicKey]
readsPrec :: Int -> ReadS SendSSHPublicKey
$creadsPrec :: Int -> ReadS SendSSHPublicKey
Prelude.Read, Int -> SendSSHPublicKey -> ShowS
[SendSSHPublicKey] -> ShowS
SendSSHPublicKey -> String
(Int -> SendSSHPublicKey -> ShowS)
-> (SendSSHPublicKey -> String)
-> ([SendSSHPublicKey] -> ShowS)
-> Show SendSSHPublicKey
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SendSSHPublicKey] -> ShowS
$cshowList :: [SendSSHPublicKey] -> ShowS
show :: SendSSHPublicKey -> String
$cshow :: SendSSHPublicKey -> String
showsPrec :: Int -> SendSSHPublicKey -> ShowS
$cshowsPrec :: Int -> SendSSHPublicKey -> ShowS
Prelude.Show, (forall x. SendSSHPublicKey -> Rep SendSSHPublicKey x)
-> (forall x. Rep SendSSHPublicKey x -> SendSSHPublicKey)
-> Generic SendSSHPublicKey
forall x. Rep SendSSHPublicKey x -> SendSSHPublicKey
forall x. SendSSHPublicKey -> Rep SendSSHPublicKey x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SendSSHPublicKey x -> SendSSHPublicKey
$cfrom :: forall x. SendSSHPublicKey -> Rep SendSSHPublicKey x
Prelude.Generic)
newSendSSHPublicKey ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
SendSSHPublicKey
newSendSSHPublicKey :: Text -> Text -> Text -> Text -> SendSSHPublicKey
newSendSSHPublicKey
Text
pInstanceId_
Text
pInstanceOSUser_
Text
pSSHPublicKey_
Text
pAvailabilityZone_ =
SendSSHPublicKey' :: Text -> Text -> Text -> Text -> SendSSHPublicKey
SendSSHPublicKey'
{ $sel:instanceId:SendSSHPublicKey' :: Text
instanceId = Text
pInstanceId_,
$sel:instanceOSUser:SendSSHPublicKey' :: Text
instanceOSUser = Text
pInstanceOSUser_,
$sel:sSHPublicKey:SendSSHPublicKey' :: Text
sSHPublicKey = Text
pSSHPublicKey_,
$sel:availabilityZone:SendSSHPublicKey' :: Text
availabilityZone = Text
pAvailabilityZone_
}
sendSSHPublicKey_instanceId :: Lens.Lens' SendSSHPublicKey Prelude.Text
sendSSHPublicKey_instanceId :: (Text -> f Text) -> SendSSHPublicKey -> f SendSSHPublicKey
sendSSHPublicKey_instanceId = (SendSSHPublicKey -> Text)
-> (SendSSHPublicKey -> Text -> SendSSHPublicKey)
-> Lens SendSSHPublicKey SendSSHPublicKey Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendSSHPublicKey' {Text
instanceId :: Text
$sel:instanceId:SendSSHPublicKey' :: SendSSHPublicKey -> Text
instanceId} -> Text
instanceId) (\s :: SendSSHPublicKey
s@SendSSHPublicKey' {} Text
a -> SendSSHPublicKey
s {$sel:instanceId:SendSSHPublicKey' :: Text
instanceId = Text
a} :: SendSSHPublicKey)
sendSSHPublicKey_instanceOSUser :: Lens.Lens' SendSSHPublicKey Prelude.Text
sendSSHPublicKey_instanceOSUser :: (Text -> f Text) -> SendSSHPublicKey -> f SendSSHPublicKey
sendSSHPublicKey_instanceOSUser = (SendSSHPublicKey -> Text)
-> (SendSSHPublicKey -> Text -> SendSSHPublicKey)
-> Lens SendSSHPublicKey SendSSHPublicKey Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendSSHPublicKey' {Text
instanceOSUser :: Text
$sel:instanceOSUser:SendSSHPublicKey' :: SendSSHPublicKey -> Text
instanceOSUser} -> Text
instanceOSUser) (\s :: SendSSHPublicKey
s@SendSSHPublicKey' {} Text
a -> SendSSHPublicKey
s {$sel:instanceOSUser:SendSSHPublicKey' :: Text
instanceOSUser = Text
a} :: SendSSHPublicKey)
sendSSHPublicKey_sSHPublicKey :: Lens.Lens' SendSSHPublicKey Prelude.Text
sendSSHPublicKey_sSHPublicKey :: (Text -> f Text) -> SendSSHPublicKey -> f SendSSHPublicKey
sendSSHPublicKey_sSHPublicKey = (SendSSHPublicKey -> Text)
-> (SendSSHPublicKey -> Text -> SendSSHPublicKey)
-> Lens SendSSHPublicKey SendSSHPublicKey Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendSSHPublicKey' {Text
sSHPublicKey :: Text
$sel:sSHPublicKey:SendSSHPublicKey' :: SendSSHPublicKey -> Text
sSHPublicKey} -> Text
sSHPublicKey) (\s :: SendSSHPublicKey
s@SendSSHPublicKey' {} Text
a -> SendSSHPublicKey
s {$sel:sSHPublicKey:SendSSHPublicKey' :: Text
sSHPublicKey = Text
a} :: SendSSHPublicKey)
sendSSHPublicKey_availabilityZone :: Lens.Lens' SendSSHPublicKey Prelude.Text
sendSSHPublicKey_availabilityZone :: (Text -> f Text) -> SendSSHPublicKey -> f SendSSHPublicKey
sendSSHPublicKey_availabilityZone = (SendSSHPublicKey -> Text)
-> (SendSSHPublicKey -> Text -> SendSSHPublicKey)
-> Lens SendSSHPublicKey SendSSHPublicKey Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendSSHPublicKey' {Text
availabilityZone :: Text
$sel:availabilityZone:SendSSHPublicKey' :: SendSSHPublicKey -> Text
availabilityZone} -> Text
availabilityZone) (\s :: SendSSHPublicKey
s@SendSSHPublicKey' {} Text
a -> SendSSHPublicKey
s {$sel:availabilityZone:SendSSHPublicKey' :: Text
availabilityZone = Text
a} :: SendSSHPublicKey)
instance Core.AWSRequest SendSSHPublicKey where
type
AWSResponse SendSSHPublicKey =
SendSSHPublicKeyResponse
request :: SendSSHPublicKey -> Request SendSSHPublicKey
request = Service -> SendSSHPublicKey -> Request SendSSHPublicKey
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy SendSSHPublicKey
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse SendSSHPublicKey)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse SendSSHPublicKey))
-> Logger
-> Service
-> Proxy SendSSHPublicKey
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse SendSSHPublicKey)))
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 Text -> Maybe Bool -> Int -> SendSSHPublicKeyResponse
SendSSHPublicKeyResponse'
(Maybe Text -> Maybe Bool -> Int -> SendSSHPublicKeyResponse)
-> Either String (Maybe Text)
-> Either String (Maybe Bool -> Int -> SendSSHPublicKeyResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"RequestId")
Either String (Maybe Bool -> Int -> SendSSHPublicKeyResponse)
-> Either String (Maybe Bool)
-> Either String (Int -> SendSSHPublicKeyResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Success")
Either String (Int -> SendSSHPublicKeyResponse)
-> Either String Int -> Either String SendSSHPublicKeyResponse
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 SendSSHPublicKey
instance Prelude.NFData SendSSHPublicKey
instance Core.ToHeaders SendSSHPublicKey where
toHeaders :: SendSSHPublicKey -> ResponseHeaders
toHeaders =
ResponseHeaders -> SendSSHPublicKey -> 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
"AWSEC2InstanceConnectService.SendSSHPublicKey" ::
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 SendSSHPublicKey where
toJSON :: SendSSHPublicKey -> Value
toJSON SendSSHPublicKey' {Text
availabilityZone :: Text
sSHPublicKey :: Text
instanceOSUser :: Text
instanceId :: Text
$sel:availabilityZone:SendSSHPublicKey' :: SendSSHPublicKey -> Text
$sel:sSHPublicKey:SendSSHPublicKey' :: SendSSHPublicKey -> Text
$sel:instanceOSUser:SendSSHPublicKey' :: SendSSHPublicKey -> Text
$sel:instanceId:SendSSHPublicKey' :: SendSSHPublicKey -> Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"InstanceId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
instanceId),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"InstanceOSUser" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
instanceOSUser),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"SSHPublicKey" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
sSHPublicKey),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"AvailabilityZone" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
availabilityZone)
]
)
instance Core.ToPath SendSSHPublicKey where
toPath :: SendSSHPublicKey -> ByteString
toPath = ByteString -> SendSSHPublicKey -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery SendSSHPublicKey where
toQuery :: SendSSHPublicKey -> QueryString
toQuery = QueryString -> SendSSHPublicKey -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data SendSSHPublicKeyResponse = SendSSHPublicKeyResponse'
{
SendSSHPublicKeyResponse -> Maybe Text
requestId :: Prelude.Maybe Prelude.Text,
SendSSHPublicKeyResponse -> Maybe Bool
success :: Prelude.Maybe Prelude.Bool,
SendSSHPublicKeyResponse -> Int
httpStatus :: Prelude.Int
}
deriving (SendSSHPublicKeyResponse -> SendSSHPublicKeyResponse -> Bool
(SendSSHPublicKeyResponse -> SendSSHPublicKeyResponse -> Bool)
-> (SendSSHPublicKeyResponse -> SendSSHPublicKeyResponse -> Bool)
-> Eq SendSSHPublicKeyResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SendSSHPublicKeyResponse -> SendSSHPublicKeyResponse -> Bool
$c/= :: SendSSHPublicKeyResponse -> SendSSHPublicKeyResponse -> Bool
== :: SendSSHPublicKeyResponse -> SendSSHPublicKeyResponse -> Bool
$c== :: SendSSHPublicKeyResponse -> SendSSHPublicKeyResponse -> Bool
Prelude.Eq, ReadPrec [SendSSHPublicKeyResponse]
ReadPrec SendSSHPublicKeyResponse
Int -> ReadS SendSSHPublicKeyResponse
ReadS [SendSSHPublicKeyResponse]
(Int -> ReadS SendSSHPublicKeyResponse)
-> ReadS [SendSSHPublicKeyResponse]
-> ReadPrec SendSSHPublicKeyResponse
-> ReadPrec [SendSSHPublicKeyResponse]
-> Read SendSSHPublicKeyResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SendSSHPublicKeyResponse]
$creadListPrec :: ReadPrec [SendSSHPublicKeyResponse]
readPrec :: ReadPrec SendSSHPublicKeyResponse
$creadPrec :: ReadPrec SendSSHPublicKeyResponse
readList :: ReadS [SendSSHPublicKeyResponse]
$creadList :: ReadS [SendSSHPublicKeyResponse]
readsPrec :: Int -> ReadS SendSSHPublicKeyResponse
$creadsPrec :: Int -> ReadS SendSSHPublicKeyResponse
Prelude.Read, Int -> SendSSHPublicKeyResponse -> ShowS
[SendSSHPublicKeyResponse] -> ShowS
SendSSHPublicKeyResponse -> String
(Int -> SendSSHPublicKeyResponse -> ShowS)
-> (SendSSHPublicKeyResponse -> String)
-> ([SendSSHPublicKeyResponse] -> ShowS)
-> Show SendSSHPublicKeyResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SendSSHPublicKeyResponse] -> ShowS
$cshowList :: [SendSSHPublicKeyResponse] -> ShowS
show :: SendSSHPublicKeyResponse -> String
$cshow :: SendSSHPublicKeyResponse -> String
showsPrec :: Int -> SendSSHPublicKeyResponse -> ShowS
$cshowsPrec :: Int -> SendSSHPublicKeyResponse -> ShowS
Prelude.Show, (forall x.
SendSSHPublicKeyResponse -> Rep SendSSHPublicKeyResponse x)
-> (forall x.
Rep SendSSHPublicKeyResponse x -> SendSSHPublicKeyResponse)
-> Generic SendSSHPublicKeyResponse
forall x.
Rep SendSSHPublicKeyResponse x -> SendSSHPublicKeyResponse
forall x.
SendSSHPublicKeyResponse -> Rep SendSSHPublicKeyResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep SendSSHPublicKeyResponse x -> SendSSHPublicKeyResponse
$cfrom :: forall x.
SendSSHPublicKeyResponse -> Rep SendSSHPublicKeyResponse x
Prelude.Generic)
newSendSSHPublicKeyResponse ::
Prelude.Int ->
SendSSHPublicKeyResponse
newSendSSHPublicKeyResponse :: Int -> SendSSHPublicKeyResponse
newSendSSHPublicKeyResponse Int
pHttpStatus_ =
SendSSHPublicKeyResponse' :: Maybe Text -> Maybe Bool -> Int -> SendSSHPublicKeyResponse
SendSSHPublicKeyResponse'
{ $sel:requestId:SendSSHPublicKeyResponse' :: Maybe Text
requestId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:success:SendSSHPublicKeyResponse' :: Maybe Bool
success = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:SendSSHPublicKeyResponse' :: Int
httpStatus = Int
pHttpStatus_
}
sendSSHPublicKeyResponse_requestId :: Lens.Lens' SendSSHPublicKeyResponse (Prelude.Maybe Prelude.Text)
sendSSHPublicKeyResponse_requestId :: (Maybe Text -> f (Maybe Text))
-> SendSSHPublicKeyResponse -> f SendSSHPublicKeyResponse
sendSSHPublicKeyResponse_requestId = (SendSSHPublicKeyResponse -> Maybe Text)
-> (SendSSHPublicKeyResponse
-> Maybe Text -> SendSSHPublicKeyResponse)
-> Lens
SendSSHPublicKeyResponse
SendSSHPublicKeyResponse
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendSSHPublicKeyResponse' {Maybe Text
requestId :: Maybe Text
$sel:requestId:SendSSHPublicKeyResponse' :: SendSSHPublicKeyResponse -> Maybe Text
requestId} -> Maybe Text
requestId) (\s :: SendSSHPublicKeyResponse
s@SendSSHPublicKeyResponse' {} Maybe Text
a -> SendSSHPublicKeyResponse
s {$sel:requestId:SendSSHPublicKeyResponse' :: Maybe Text
requestId = Maybe Text
a} :: SendSSHPublicKeyResponse)
sendSSHPublicKeyResponse_success :: Lens.Lens' SendSSHPublicKeyResponse (Prelude.Maybe Prelude.Bool)
sendSSHPublicKeyResponse_success :: (Maybe Bool -> f (Maybe Bool))
-> SendSSHPublicKeyResponse -> f SendSSHPublicKeyResponse
sendSSHPublicKeyResponse_success = (SendSSHPublicKeyResponse -> Maybe Bool)
-> (SendSSHPublicKeyResponse
-> Maybe Bool -> SendSSHPublicKeyResponse)
-> Lens
SendSSHPublicKeyResponse
SendSSHPublicKeyResponse
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendSSHPublicKeyResponse' {Maybe Bool
success :: Maybe Bool
$sel:success:SendSSHPublicKeyResponse' :: SendSSHPublicKeyResponse -> Maybe Bool
success} -> Maybe Bool
success) (\s :: SendSSHPublicKeyResponse
s@SendSSHPublicKeyResponse' {} Maybe Bool
a -> SendSSHPublicKeyResponse
s {$sel:success:SendSSHPublicKeyResponse' :: Maybe Bool
success = Maybe Bool
a} :: SendSSHPublicKeyResponse)
sendSSHPublicKeyResponse_httpStatus :: Lens.Lens' SendSSHPublicKeyResponse Prelude.Int
sendSSHPublicKeyResponse_httpStatus :: (Int -> f Int)
-> SendSSHPublicKeyResponse -> f SendSSHPublicKeyResponse
sendSSHPublicKeyResponse_httpStatus = (SendSSHPublicKeyResponse -> Int)
-> (SendSSHPublicKeyResponse -> Int -> SendSSHPublicKeyResponse)
-> Lens SendSSHPublicKeyResponse SendSSHPublicKeyResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\SendSSHPublicKeyResponse' {Int
httpStatus :: Int
$sel:httpStatus:SendSSHPublicKeyResponse' :: SendSSHPublicKeyResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: SendSSHPublicKeyResponse
s@SendSSHPublicKeyResponse' {} Int
a -> SendSSHPublicKeyResponse
s {$sel:httpStatus:SendSSHPublicKeyResponse' :: Int
httpStatus = Int
a} :: SendSSHPublicKeyResponse)
instance Prelude.NFData SendSSHPublicKeyResponse