{-# 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.GroundStation.UpdateMissionProfile
(
UpdateMissionProfile (..),
newUpdateMissionProfile,
updateMissionProfile_trackingConfigArn,
updateMissionProfile_contactPrePassDurationSeconds,
updateMissionProfile_contactPostPassDurationSeconds,
updateMissionProfile_name,
updateMissionProfile_dataflowEdges,
updateMissionProfile_minimumViableContactDurationSeconds,
updateMissionProfile_missionProfileId,
MissionProfileIdResponse (..),
newMissionProfileIdResponse,
missionProfileIdResponse_missionProfileId,
)
where
import qualified Amazonka.Core as Core
import Amazonka.GroundStation.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 UpdateMissionProfile = UpdateMissionProfile'
{
UpdateMissionProfile -> Maybe Text
trackingConfigArn :: Prelude.Maybe Prelude.Text,
UpdateMissionProfile -> Maybe Natural
contactPrePassDurationSeconds :: Prelude.Maybe Prelude.Natural,
UpdateMissionProfile -> Maybe Natural
contactPostPassDurationSeconds :: Prelude.Maybe Prelude.Natural,
UpdateMissionProfile -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
UpdateMissionProfile -> Maybe [NonEmpty Text]
dataflowEdges :: Prelude.Maybe [Prelude.NonEmpty Prelude.Text],
UpdateMissionProfile -> Maybe Natural
minimumViableContactDurationSeconds :: Prelude.Maybe Prelude.Natural,
UpdateMissionProfile -> Text
missionProfileId :: Prelude.Text
}
deriving (UpdateMissionProfile -> UpdateMissionProfile -> Bool
(UpdateMissionProfile -> UpdateMissionProfile -> Bool)
-> (UpdateMissionProfile -> UpdateMissionProfile -> Bool)
-> Eq UpdateMissionProfile
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateMissionProfile -> UpdateMissionProfile -> Bool
$c/= :: UpdateMissionProfile -> UpdateMissionProfile -> Bool
== :: UpdateMissionProfile -> UpdateMissionProfile -> Bool
$c== :: UpdateMissionProfile -> UpdateMissionProfile -> Bool
Prelude.Eq, ReadPrec [UpdateMissionProfile]
ReadPrec UpdateMissionProfile
Int -> ReadS UpdateMissionProfile
ReadS [UpdateMissionProfile]
(Int -> ReadS UpdateMissionProfile)
-> ReadS [UpdateMissionProfile]
-> ReadPrec UpdateMissionProfile
-> ReadPrec [UpdateMissionProfile]
-> Read UpdateMissionProfile
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateMissionProfile]
$creadListPrec :: ReadPrec [UpdateMissionProfile]
readPrec :: ReadPrec UpdateMissionProfile
$creadPrec :: ReadPrec UpdateMissionProfile
readList :: ReadS [UpdateMissionProfile]
$creadList :: ReadS [UpdateMissionProfile]
readsPrec :: Int -> ReadS UpdateMissionProfile
$creadsPrec :: Int -> ReadS UpdateMissionProfile
Prelude.Read, Int -> UpdateMissionProfile -> ShowS
[UpdateMissionProfile] -> ShowS
UpdateMissionProfile -> String
(Int -> UpdateMissionProfile -> ShowS)
-> (UpdateMissionProfile -> String)
-> ([UpdateMissionProfile] -> ShowS)
-> Show UpdateMissionProfile
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateMissionProfile] -> ShowS
$cshowList :: [UpdateMissionProfile] -> ShowS
show :: UpdateMissionProfile -> String
$cshow :: UpdateMissionProfile -> String
showsPrec :: Int -> UpdateMissionProfile -> ShowS
$cshowsPrec :: Int -> UpdateMissionProfile -> ShowS
Prelude.Show, (forall x. UpdateMissionProfile -> Rep UpdateMissionProfile x)
-> (forall x. Rep UpdateMissionProfile x -> UpdateMissionProfile)
-> Generic UpdateMissionProfile
forall x. Rep UpdateMissionProfile x -> UpdateMissionProfile
forall x. UpdateMissionProfile -> Rep UpdateMissionProfile x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateMissionProfile x -> UpdateMissionProfile
$cfrom :: forall x. UpdateMissionProfile -> Rep UpdateMissionProfile x
Prelude.Generic)
newUpdateMissionProfile ::
Prelude.Text ->
UpdateMissionProfile
newUpdateMissionProfile :: Text -> UpdateMissionProfile
newUpdateMissionProfile Text
pMissionProfileId_ =
UpdateMissionProfile' :: Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe [NonEmpty Text]
-> Maybe Natural
-> Text
-> UpdateMissionProfile
UpdateMissionProfile'
{ $sel:trackingConfigArn:UpdateMissionProfile' :: Maybe Text
trackingConfigArn =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:contactPrePassDurationSeconds:UpdateMissionProfile' :: Maybe Natural
contactPrePassDurationSeconds = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:contactPostPassDurationSeconds:UpdateMissionProfile' :: Maybe Natural
contactPostPassDurationSeconds = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:name:UpdateMissionProfile' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dataflowEdges:UpdateMissionProfile' :: Maybe [NonEmpty Text]
dataflowEdges = Maybe [NonEmpty Text]
forall a. Maybe a
Prelude.Nothing,
$sel:minimumViableContactDurationSeconds:UpdateMissionProfile' :: Maybe Natural
minimumViableContactDurationSeconds =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:missionProfileId:UpdateMissionProfile' :: Text
missionProfileId = Text
pMissionProfileId_
}
updateMissionProfile_trackingConfigArn :: Lens.Lens' UpdateMissionProfile (Prelude.Maybe Prelude.Text)
updateMissionProfile_trackingConfigArn :: (Maybe Text -> f (Maybe Text))
-> UpdateMissionProfile -> f UpdateMissionProfile
updateMissionProfile_trackingConfigArn = (UpdateMissionProfile -> Maybe Text)
-> (UpdateMissionProfile -> Maybe Text -> UpdateMissionProfile)
-> Lens
UpdateMissionProfile UpdateMissionProfile (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMissionProfile' {Maybe Text
trackingConfigArn :: Maybe Text
$sel:trackingConfigArn:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Text
trackingConfigArn} -> Maybe Text
trackingConfigArn) (\s :: UpdateMissionProfile
s@UpdateMissionProfile' {} Maybe Text
a -> UpdateMissionProfile
s {$sel:trackingConfigArn:UpdateMissionProfile' :: Maybe Text
trackingConfigArn = Maybe Text
a} :: UpdateMissionProfile)
updateMissionProfile_contactPrePassDurationSeconds :: Lens.Lens' UpdateMissionProfile (Prelude.Maybe Prelude.Natural)
updateMissionProfile_contactPrePassDurationSeconds :: (Maybe Natural -> f (Maybe Natural))
-> UpdateMissionProfile -> f UpdateMissionProfile
updateMissionProfile_contactPrePassDurationSeconds = (UpdateMissionProfile -> Maybe Natural)
-> (UpdateMissionProfile -> Maybe Natural -> UpdateMissionProfile)
-> Lens
UpdateMissionProfile
UpdateMissionProfile
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMissionProfile' {Maybe Natural
contactPrePassDurationSeconds :: Maybe Natural
$sel:contactPrePassDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
contactPrePassDurationSeconds} -> Maybe Natural
contactPrePassDurationSeconds) (\s :: UpdateMissionProfile
s@UpdateMissionProfile' {} Maybe Natural
a -> UpdateMissionProfile
s {$sel:contactPrePassDurationSeconds:UpdateMissionProfile' :: Maybe Natural
contactPrePassDurationSeconds = Maybe Natural
a} :: UpdateMissionProfile)
updateMissionProfile_contactPostPassDurationSeconds :: Lens.Lens' UpdateMissionProfile (Prelude.Maybe Prelude.Natural)
updateMissionProfile_contactPostPassDurationSeconds :: (Maybe Natural -> f (Maybe Natural))
-> UpdateMissionProfile -> f UpdateMissionProfile
updateMissionProfile_contactPostPassDurationSeconds = (UpdateMissionProfile -> Maybe Natural)
-> (UpdateMissionProfile -> Maybe Natural -> UpdateMissionProfile)
-> Lens
UpdateMissionProfile
UpdateMissionProfile
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMissionProfile' {Maybe Natural
contactPostPassDurationSeconds :: Maybe Natural
$sel:contactPostPassDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
contactPostPassDurationSeconds} -> Maybe Natural
contactPostPassDurationSeconds) (\s :: UpdateMissionProfile
s@UpdateMissionProfile' {} Maybe Natural
a -> UpdateMissionProfile
s {$sel:contactPostPassDurationSeconds:UpdateMissionProfile' :: Maybe Natural
contactPostPassDurationSeconds = Maybe Natural
a} :: UpdateMissionProfile)
updateMissionProfile_name :: Lens.Lens' UpdateMissionProfile (Prelude.Maybe Prelude.Text)
updateMissionProfile_name :: (Maybe Text -> f (Maybe Text))
-> UpdateMissionProfile -> f UpdateMissionProfile
updateMissionProfile_name = (UpdateMissionProfile -> Maybe Text)
-> (UpdateMissionProfile -> Maybe Text -> UpdateMissionProfile)
-> Lens
UpdateMissionProfile UpdateMissionProfile (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMissionProfile' {Maybe Text
name :: Maybe Text
$sel:name:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateMissionProfile
s@UpdateMissionProfile' {} Maybe Text
a -> UpdateMissionProfile
s {$sel:name:UpdateMissionProfile' :: Maybe Text
name = Maybe Text
a} :: UpdateMissionProfile)
updateMissionProfile_dataflowEdges :: Lens.Lens' UpdateMissionProfile (Prelude.Maybe [Prelude.NonEmpty Prelude.Text])
updateMissionProfile_dataflowEdges :: (Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> UpdateMissionProfile -> f UpdateMissionProfile
updateMissionProfile_dataflowEdges = (UpdateMissionProfile -> Maybe [NonEmpty Text])
-> (UpdateMissionProfile
-> Maybe [NonEmpty Text] -> UpdateMissionProfile)
-> Lens
UpdateMissionProfile
UpdateMissionProfile
(Maybe [NonEmpty Text])
(Maybe [NonEmpty Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMissionProfile' {Maybe [NonEmpty Text]
dataflowEdges :: Maybe [NonEmpty Text]
$sel:dataflowEdges:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe [NonEmpty Text]
dataflowEdges} -> Maybe [NonEmpty Text]
dataflowEdges) (\s :: UpdateMissionProfile
s@UpdateMissionProfile' {} Maybe [NonEmpty Text]
a -> UpdateMissionProfile
s {$sel:dataflowEdges:UpdateMissionProfile' :: Maybe [NonEmpty Text]
dataflowEdges = Maybe [NonEmpty Text]
a} :: UpdateMissionProfile) ((Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> UpdateMissionProfile -> f UpdateMissionProfile)
-> ((Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> (Maybe [NonEmpty Text] -> f (Maybe [NonEmpty Text]))
-> UpdateMissionProfile
-> f UpdateMissionProfile
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[NonEmpty Text] [NonEmpty Text] [NonEmpty Text] [NonEmpty Text]
-> Iso
(Maybe [NonEmpty Text])
(Maybe [NonEmpty Text])
(Maybe [NonEmpty Text])
(Maybe [NonEmpty Text])
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
[NonEmpty Text] [NonEmpty Text] [NonEmpty Text] [NonEmpty Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
updateMissionProfile_minimumViableContactDurationSeconds :: Lens.Lens' UpdateMissionProfile (Prelude.Maybe Prelude.Natural)
updateMissionProfile_minimumViableContactDurationSeconds :: (Maybe Natural -> f (Maybe Natural))
-> UpdateMissionProfile -> f UpdateMissionProfile
updateMissionProfile_minimumViableContactDurationSeconds = (UpdateMissionProfile -> Maybe Natural)
-> (UpdateMissionProfile -> Maybe Natural -> UpdateMissionProfile)
-> Lens
UpdateMissionProfile
UpdateMissionProfile
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMissionProfile' {Maybe Natural
minimumViableContactDurationSeconds :: Maybe Natural
$sel:minimumViableContactDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
minimumViableContactDurationSeconds} -> Maybe Natural
minimumViableContactDurationSeconds) (\s :: UpdateMissionProfile
s@UpdateMissionProfile' {} Maybe Natural
a -> UpdateMissionProfile
s {$sel:minimumViableContactDurationSeconds:UpdateMissionProfile' :: Maybe Natural
minimumViableContactDurationSeconds = Maybe Natural
a} :: UpdateMissionProfile)
updateMissionProfile_missionProfileId :: Lens.Lens' UpdateMissionProfile Prelude.Text
updateMissionProfile_missionProfileId :: (Text -> f Text) -> UpdateMissionProfile -> f UpdateMissionProfile
updateMissionProfile_missionProfileId = (UpdateMissionProfile -> Text)
-> (UpdateMissionProfile -> Text -> UpdateMissionProfile)
-> Lens UpdateMissionProfile UpdateMissionProfile Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateMissionProfile' {Text
missionProfileId :: Text
$sel:missionProfileId:UpdateMissionProfile' :: UpdateMissionProfile -> Text
missionProfileId} -> Text
missionProfileId) (\s :: UpdateMissionProfile
s@UpdateMissionProfile' {} Text
a -> UpdateMissionProfile
s {$sel:missionProfileId:UpdateMissionProfile' :: Text
missionProfileId = Text
a} :: UpdateMissionProfile)
instance Core.AWSRequest UpdateMissionProfile where
type
AWSResponse UpdateMissionProfile =
MissionProfileIdResponse
request :: UpdateMissionProfile -> Request UpdateMissionProfile
request = Service -> UpdateMissionProfile -> Request UpdateMissionProfile
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.putJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateMissionProfile
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateMissionProfile)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse UpdateMissionProfile))
-> Logger
-> Service
-> Proxy UpdateMissionProfile
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateMissionProfile)))
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 MissionProfileIdResponse
forall a. FromJSON a => Object -> Either String a
Core.eitherParseJSON Object
x)
instance Prelude.Hashable UpdateMissionProfile
instance Prelude.NFData UpdateMissionProfile
instance Core.ToHeaders UpdateMissionProfile where
toHeaders :: UpdateMissionProfile -> ResponseHeaders
toHeaders =
ResponseHeaders -> UpdateMissionProfile -> 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 UpdateMissionProfile where
toJSON :: UpdateMissionProfile -> Value
toJSON UpdateMissionProfile' {Maybe Natural
Maybe [NonEmpty Text]
Maybe Text
Text
missionProfileId :: Text
minimumViableContactDurationSeconds :: Maybe Natural
dataflowEdges :: Maybe [NonEmpty Text]
name :: Maybe Text
contactPostPassDurationSeconds :: Maybe Natural
contactPrePassDurationSeconds :: Maybe Natural
trackingConfigArn :: Maybe Text
$sel:missionProfileId:UpdateMissionProfile' :: UpdateMissionProfile -> Text
$sel:minimumViableContactDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
$sel:dataflowEdges:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe [NonEmpty Text]
$sel:name:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Text
$sel:contactPostPassDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
$sel:contactPrePassDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
$sel:trackingConfigArn:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Text
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"trackingConfigArn" 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
trackingConfigArn,
(Text
"contactPrePassDurationSeconds" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
contactPrePassDurationSeconds,
(Text
"contactPostPassDurationSeconds" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
contactPostPassDurationSeconds,
(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
"dataflowEdges" Text -> [NonEmpty Text] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) ([NonEmpty Text] -> Pair) -> Maybe [NonEmpty Text] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [NonEmpty Text]
dataflowEdges,
(Text
"minimumViableContactDurationSeconds" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
minimumViableContactDurationSeconds
]
)
instance Core.ToPath UpdateMissionProfile where
toPath :: UpdateMissionProfile -> ByteString
toPath UpdateMissionProfile' {Maybe Natural
Maybe [NonEmpty Text]
Maybe Text
Text
missionProfileId :: Text
minimumViableContactDurationSeconds :: Maybe Natural
dataflowEdges :: Maybe [NonEmpty Text]
name :: Maybe Text
contactPostPassDurationSeconds :: Maybe Natural
contactPrePassDurationSeconds :: Maybe Natural
trackingConfigArn :: Maybe Text
$sel:missionProfileId:UpdateMissionProfile' :: UpdateMissionProfile -> Text
$sel:minimumViableContactDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
$sel:dataflowEdges:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe [NonEmpty Text]
$sel:name:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Text
$sel:contactPostPassDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
$sel:contactPrePassDurationSeconds:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Natural
$sel:trackingConfigArn:UpdateMissionProfile' :: UpdateMissionProfile -> Maybe Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/missionprofile/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
missionProfileId]
instance Core.ToQuery UpdateMissionProfile where
toQuery :: UpdateMissionProfile -> QueryString
toQuery = QueryString -> UpdateMissionProfile -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty