{-# 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.MGN.UpdateLaunchConfiguration
(
UpdateLaunchConfiguration (..),
newUpdateLaunchConfiguration,
updateLaunchConfiguration_targetInstanceTypeRightSizingMethod,
updateLaunchConfiguration_launchDisposition,
updateLaunchConfiguration_copyTags,
updateLaunchConfiguration_name,
updateLaunchConfiguration_licensing,
updateLaunchConfiguration_copyPrivateIp,
updateLaunchConfiguration_sourceServerID,
LaunchConfiguration (..),
newLaunchConfiguration,
launchConfiguration_ec2LaunchTemplateID,
launchConfiguration_targetInstanceTypeRightSizingMethod,
launchConfiguration_launchDisposition,
launchConfiguration_copyTags,
launchConfiguration_name,
launchConfiguration_sourceServerID,
launchConfiguration_licensing,
launchConfiguration_copyPrivateIp,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.MGN.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data UpdateLaunchConfiguration = UpdateLaunchConfiguration'
{
UpdateLaunchConfiguration
-> Maybe TargetInstanceTypeRightSizingMethod
targetInstanceTypeRightSizingMethod :: Prelude.Maybe TargetInstanceTypeRightSizingMethod,
UpdateLaunchConfiguration -> Maybe LaunchDisposition
launchDisposition :: Prelude.Maybe LaunchDisposition,
UpdateLaunchConfiguration -> Maybe Bool
copyTags :: Prelude.Maybe Prelude.Bool,
UpdateLaunchConfiguration -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
UpdateLaunchConfiguration -> Maybe Licensing
licensing :: Prelude.Maybe Licensing,
UpdateLaunchConfiguration -> Maybe Bool
copyPrivateIp :: Prelude.Maybe Prelude.Bool,
UpdateLaunchConfiguration -> Text
sourceServerID :: Prelude.Text
}
deriving (UpdateLaunchConfiguration -> UpdateLaunchConfiguration -> Bool
(UpdateLaunchConfiguration -> UpdateLaunchConfiguration -> Bool)
-> (UpdateLaunchConfiguration -> UpdateLaunchConfiguration -> Bool)
-> Eq UpdateLaunchConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateLaunchConfiguration -> UpdateLaunchConfiguration -> Bool
$c/= :: UpdateLaunchConfiguration -> UpdateLaunchConfiguration -> Bool
== :: UpdateLaunchConfiguration -> UpdateLaunchConfiguration -> Bool
$c== :: UpdateLaunchConfiguration -> UpdateLaunchConfiguration -> Bool
Prelude.Eq, ReadPrec [UpdateLaunchConfiguration]
ReadPrec UpdateLaunchConfiguration
Int -> ReadS UpdateLaunchConfiguration
ReadS [UpdateLaunchConfiguration]
(Int -> ReadS UpdateLaunchConfiguration)
-> ReadS [UpdateLaunchConfiguration]
-> ReadPrec UpdateLaunchConfiguration
-> ReadPrec [UpdateLaunchConfiguration]
-> Read UpdateLaunchConfiguration
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateLaunchConfiguration]
$creadListPrec :: ReadPrec [UpdateLaunchConfiguration]
readPrec :: ReadPrec UpdateLaunchConfiguration
$creadPrec :: ReadPrec UpdateLaunchConfiguration
readList :: ReadS [UpdateLaunchConfiguration]
$creadList :: ReadS [UpdateLaunchConfiguration]
readsPrec :: Int -> ReadS UpdateLaunchConfiguration
$creadsPrec :: Int -> ReadS UpdateLaunchConfiguration
Prelude.Read, Int -> UpdateLaunchConfiguration -> ShowS
[UpdateLaunchConfiguration] -> ShowS
UpdateLaunchConfiguration -> String
(Int -> UpdateLaunchConfiguration -> ShowS)
-> (UpdateLaunchConfiguration -> String)
-> ([UpdateLaunchConfiguration] -> ShowS)
-> Show UpdateLaunchConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateLaunchConfiguration] -> ShowS
$cshowList :: [UpdateLaunchConfiguration] -> ShowS
show :: UpdateLaunchConfiguration -> String
$cshow :: UpdateLaunchConfiguration -> String
showsPrec :: Int -> UpdateLaunchConfiguration -> ShowS
$cshowsPrec :: Int -> UpdateLaunchConfiguration -> ShowS
Prelude.Show, (forall x.
UpdateLaunchConfiguration -> Rep UpdateLaunchConfiguration x)
-> (forall x.
Rep UpdateLaunchConfiguration x -> UpdateLaunchConfiguration)
-> Generic UpdateLaunchConfiguration
forall x.
Rep UpdateLaunchConfiguration x -> UpdateLaunchConfiguration
forall x.
UpdateLaunchConfiguration -> Rep UpdateLaunchConfiguration x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateLaunchConfiguration x -> UpdateLaunchConfiguration
$cfrom :: forall x.
UpdateLaunchConfiguration -> Rep UpdateLaunchConfiguration x
Prelude.Generic)
newUpdateLaunchConfiguration ::
Prelude.Text ->
UpdateLaunchConfiguration
newUpdateLaunchConfiguration :: Text -> UpdateLaunchConfiguration
newUpdateLaunchConfiguration Text
pSourceServerID_ =
UpdateLaunchConfiguration' :: Maybe TargetInstanceTypeRightSizingMethod
-> Maybe LaunchDisposition
-> Maybe Bool
-> Maybe Text
-> Maybe Licensing
-> Maybe Bool
-> Text
-> UpdateLaunchConfiguration
UpdateLaunchConfiguration'
{ $sel:targetInstanceTypeRightSizingMethod:UpdateLaunchConfiguration' :: Maybe TargetInstanceTypeRightSizingMethod
targetInstanceTypeRightSizingMethod =
Maybe TargetInstanceTypeRightSizingMethod
forall a. Maybe a
Prelude.Nothing,
$sel:launchDisposition:UpdateLaunchConfiguration' :: Maybe LaunchDisposition
launchDisposition = Maybe LaunchDisposition
forall a. Maybe a
Prelude.Nothing,
$sel:copyTags:UpdateLaunchConfiguration' :: Maybe Bool
copyTags = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:name:UpdateLaunchConfiguration' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:licensing:UpdateLaunchConfiguration' :: Maybe Licensing
licensing = Maybe Licensing
forall a. Maybe a
Prelude.Nothing,
$sel:copyPrivateIp:UpdateLaunchConfiguration' :: Maybe Bool
copyPrivateIp = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:sourceServerID:UpdateLaunchConfiguration' :: Text
sourceServerID = Text
pSourceServerID_
}
updateLaunchConfiguration_targetInstanceTypeRightSizingMethod :: Lens.Lens' UpdateLaunchConfiguration (Prelude.Maybe TargetInstanceTypeRightSizingMethod)
updateLaunchConfiguration_targetInstanceTypeRightSizingMethod :: (Maybe TargetInstanceTypeRightSizingMethod
-> f (Maybe TargetInstanceTypeRightSizingMethod))
-> UpdateLaunchConfiguration -> f UpdateLaunchConfiguration
updateLaunchConfiguration_targetInstanceTypeRightSizingMethod = (UpdateLaunchConfiguration
-> Maybe TargetInstanceTypeRightSizingMethod)
-> (UpdateLaunchConfiguration
-> Maybe TargetInstanceTypeRightSizingMethod
-> UpdateLaunchConfiguration)
-> Lens
UpdateLaunchConfiguration
UpdateLaunchConfiguration
(Maybe TargetInstanceTypeRightSizingMethod)
(Maybe TargetInstanceTypeRightSizingMethod)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateLaunchConfiguration' {Maybe TargetInstanceTypeRightSizingMethod
targetInstanceTypeRightSizingMethod :: Maybe TargetInstanceTypeRightSizingMethod
$sel:targetInstanceTypeRightSizingMethod:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration
-> Maybe TargetInstanceTypeRightSizingMethod
targetInstanceTypeRightSizingMethod} -> Maybe TargetInstanceTypeRightSizingMethod
targetInstanceTypeRightSizingMethod) (\s :: UpdateLaunchConfiguration
s@UpdateLaunchConfiguration' {} Maybe TargetInstanceTypeRightSizingMethod
a -> UpdateLaunchConfiguration
s {$sel:targetInstanceTypeRightSizingMethod:UpdateLaunchConfiguration' :: Maybe TargetInstanceTypeRightSizingMethod
targetInstanceTypeRightSizingMethod = Maybe TargetInstanceTypeRightSizingMethod
a} :: UpdateLaunchConfiguration)
updateLaunchConfiguration_launchDisposition :: Lens.Lens' UpdateLaunchConfiguration (Prelude.Maybe LaunchDisposition)
updateLaunchConfiguration_launchDisposition :: (Maybe LaunchDisposition -> f (Maybe LaunchDisposition))
-> UpdateLaunchConfiguration -> f UpdateLaunchConfiguration
updateLaunchConfiguration_launchDisposition = (UpdateLaunchConfiguration -> Maybe LaunchDisposition)
-> (UpdateLaunchConfiguration
-> Maybe LaunchDisposition -> UpdateLaunchConfiguration)
-> Lens
UpdateLaunchConfiguration
UpdateLaunchConfiguration
(Maybe LaunchDisposition)
(Maybe LaunchDisposition)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateLaunchConfiguration' {Maybe LaunchDisposition
launchDisposition :: Maybe LaunchDisposition
$sel:launchDisposition:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe LaunchDisposition
launchDisposition} -> Maybe LaunchDisposition
launchDisposition) (\s :: UpdateLaunchConfiguration
s@UpdateLaunchConfiguration' {} Maybe LaunchDisposition
a -> UpdateLaunchConfiguration
s {$sel:launchDisposition:UpdateLaunchConfiguration' :: Maybe LaunchDisposition
launchDisposition = Maybe LaunchDisposition
a} :: UpdateLaunchConfiguration)
updateLaunchConfiguration_copyTags :: Lens.Lens' UpdateLaunchConfiguration (Prelude.Maybe Prelude.Bool)
updateLaunchConfiguration_copyTags :: (Maybe Bool -> f (Maybe Bool))
-> UpdateLaunchConfiguration -> f UpdateLaunchConfiguration
updateLaunchConfiguration_copyTags = (UpdateLaunchConfiguration -> Maybe Bool)
-> (UpdateLaunchConfiguration
-> Maybe Bool -> UpdateLaunchConfiguration)
-> Lens
UpdateLaunchConfiguration
UpdateLaunchConfiguration
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateLaunchConfiguration' {Maybe Bool
copyTags :: Maybe Bool
$sel:copyTags:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Bool
copyTags} -> Maybe Bool
copyTags) (\s :: UpdateLaunchConfiguration
s@UpdateLaunchConfiguration' {} Maybe Bool
a -> UpdateLaunchConfiguration
s {$sel:copyTags:UpdateLaunchConfiguration' :: Maybe Bool
copyTags = Maybe Bool
a} :: UpdateLaunchConfiguration)
updateLaunchConfiguration_name :: Lens.Lens' UpdateLaunchConfiguration (Prelude.Maybe Prelude.Text)
updateLaunchConfiguration_name :: (Maybe Text -> f (Maybe Text))
-> UpdateLaunchConfiguration -> f UpdateLaunchConfiguration
updateLaunchConfiguration_name = (UpdateLaunchConfiguration -> Maybe Text)
-> (UpdateLaunchConfiguration
-> Maybe Text -> UpdateLaunchConfiguration)
-> Lens
UpdateLaunchConfiguration
UpdateLaunchConfiguration
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateLaunchConfiguration' {Maybe Text
name :: Maybe Text
$sel:name:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateLaunchConfiguration
s@UpdateLaunchConfiguration' {} Maybe Text
a -> UpdateLaunchConfiguration
s {$sel:name:UpdateLaunchConfiguration' :: Maybe Text
name = Maybe Text
a} :: UpdateLaunchConfiguration)
updateLaunchConfiguration_licensing :: Lens.Lens' UpdateLaunchConfiguration (Prelude.Maybe Licensing)
updateLaunchConfiguration_licensing :: (Maybe Licensing -> f (Maybe Licensing))
-> UpdateLaunchConfiguration -> f UpdateLaunchConfiguration
updateLaunchConfiguration_licensing = (UpdateLaunchConfiguration -> Maybe Licensing)
-> (UpdateLaunchConfiguration
-> Maybe Licensing -> UpdateLaunchConfiguration)
-> Lens
UpdateLaunchConfiguration
UpdateLaunchConfiguration
(Maybe Licensing)
(Maybe Licensing)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateLaunchConfiguration' {Maybe Licensing
licensing :: Maybe Licensing
$sel:licensing:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Licensing
licensing} -> Maybe Licensing
licensing) (\s :: UpdateLaunchConfiguration
s@UpdateLaunchConfiguration' {} Maybe Licensing
a -> UpdateLaunchConfiguration
s {$sel:licensing:UpdateLaunchConfiguration' :: Maybe Licensing
licensing = Maybe Licensing
a} :: UpdateLaunchConfiguration)
updateLaunchConfiguration_copyPrivateIp :: Lens.Lens' UpdateLaunchConfiguration (Prelude.Maybe Prelude.Bool)
updateLaunchConfiguration_copyPrivateIp :: (Maybe Bool -> f (Maybe Bool))
-> UpdateLaunchConfiguration -> f UpdateLaunchConfiguration
updateLaunchConfiguration_copyPrivateIp = (UpdateLaunchConfiguration -> Maybe Bool)
-> (UpdateLaunchConfiguration
-> Maybe Bool -> UpdateLaunchConfiguration)
-> Lens
UpdateLaunchConfiguration
UpdateLaunchConfiguration
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateLaunchConfiguration' {Maybe Bool
copyPrivateIp :: Maybe Bool
$sel:copyPrivateIp:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Bool
copyPrivateIp} -> Maybe Bool
copyPrivateIp) (\s :: UpdateLaunchConfiguration
s@UpdateLaunchConfiguration' {} Maybe Bool
a -> UpdateLaunchConfiguration
s {$sel:copyPrivateIp:UpdateLaunchConfiguration' :: Maybe Bool
copyPrivateIp = Maybe Bool
a} :: UpdateLaunchConfiguration)
updateLaunchConfiguration_sourceServerID :: Lens.Lens' UpdateLaunchConfiguration Prelude.Text
updateLaunchConfiguration_sourceServerID :: (Text -> f Text)
-> UpdateLaunchConfiguration -> f UpdateLaunchConfiguration
updateLaunchConfiguration_sourceServerID = (UpdateLaunchConfiguration -> Text)
-> (UpdateLaunchConfiguration -> Text -> UpdateLaunchConfiguration)
-> Lens
UpdateLaunchConfiguration UpdateLaunchConfiguration Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateLaunchConfiguration' {Text
sourceServerID :: Text
$sel:sourceServerID:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Text
sourceServerID} -> Text
sourceServerID) (\s :: UpdateLaunchConfiguration
s@UpdateLaunchConfiguration' {} Text
a -> UpdateLaunchConfiguration
s {$sel:sourceServerID:UpdateLaunchConfiguration' :: Text
sourceServerID = Text
a} :: UpdateLaunchConfiguration)
instance Core.AWSRequest UpdateLaunchConfiguration where
type
AWSResponse UpdateLaunchConfiguration =
LaunchConfiguration
request :: UpdateLaunchConfiguration -> Request UpdateLaunchConfiguration
request = Service
-> UpdateLaunchConfiguration -> Request UpdateLaunchConfiguration
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateLaunchConfiguration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateLaunchConfiguration)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpdateLaunchConfiguration))
-> Logger
-> Service
-> Proxy UpdateLaunchConfiguration
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateLaunchConfiguration)))
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 -> Object -> Either String LaunchConfiguration
forall a. FromJSON a => Object -> Either String a
Core.eitherParseJSON Object
x)
instance Prelude.Hashable UpdateLaunchConfiguration
instance Prelude.NFData UpdateLaunchConfiguration
instance Core.ToHeaders UpdateLaunchConfiguration where
toHeaders :: UpdateLaunchConfiguration -> ResponseHeaders
toHeaders =
ResponseHeaders -> UpdateLaunchConfiguration -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ 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 UpdateLaunchConfiguration where
toJSON :: UpdateLaunchConfiguration -> Value
toJSON UpdateLaunchConfiguration' {Maybe Bool
Maybe Text
Maybe LaunchDisposition
Maybe Licensing
Maybe TargetInstanceTypeRightSizingMethod
Text
sourceServerID :: Text
copyPrivateIp :: Maybe Bool
licensing :: Maybe Licensing
name :: Maybe Text
copyTags :: Maybe Bool
launchDisposition :: Maybe LaunchDisposition
targetInstanceTypeRightSizingMethod :: Maybe TargetInstanceTypeRightSizingMethod
$sel:sourceServerID:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Text
$sel:copyPrivateIp:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Bool
$sel:licensing:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Licensing
$sel:name:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Text
$sel:copyTags:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe Bool
$sel:launchDisposition:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration -> Maybe LaunchDisposition
$sel:targetInstanceTypeRightSizingMethod:UpdateLaunchConfiguration' :: UpdateLaunchConfiguration
-> Maybe TargetInstanceTypeRightSizingMethod
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"targetInstanceTypeRightSizingMethod" Text -> TargetInstanceTypeRightSizingMethod -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(TargetInstanceTypeRightSizingMethod -> Pair)
-> Maybe TargetInstanceTypeRightSizingMethod -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TargetInstanceTypeRightSizingMethod
targetInstanceTypeRightSizingMethod,
(Text
"launchDisposition" Text -> LaunchDisposition -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(LaunchDisposition -> Pair)
-> Maybe LaunchDisposition -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LaunchDisposition
launchDisposition,
(Text
"copyTags" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
copyTags,
(Text
"name" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
name,
(Text
"licensing" Text -> Licensing -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Licensing -> Pair) -> Maybe Licensing -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Licensing
licensing,
(Text
"copyPrivateIp" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
copyPrivateIp,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"sourceServerID" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
sourceServerID)
]
)
instance Core.ToPath UpdateLaunchConfiguration where
toPath :: UpdateLaunchConfiguration -> ByteString
toPath = ByteString -> UpdateLaunchConfiguration -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/UpdateLaunchConfiguration"
instance Core.ToQuery UpdateLaunchConfiguration where
toQuery :: UpdateLaunchConfiguration -> QueryString
toQuery = QueryString -> UpdateLaunchConfiguration -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty