{-# 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.Nimble.GetLaunchProfileInitialization
(
GetLaunchProfileInitialization (..),
newGetLaunchProfileInitialization,
getLaunchProfileInitialization_studioId,
getLaunchProfileInitialization_launchProfileProtocolVersions,
getLaunchProfileInitialization_launchPurpose,
getLaunchProfileInitialization_launchProfileId,
getLaunchProfileInitialization_platform,
GetLaunchProfileInitializationResponse (..),
newGetLaunchProfileInitializationResponse,
getLaunchProfileInitializationResponse_launchProfileInitialization,
getLaunchProfileInitializationResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Nimble.Types
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
data GetLaunchProfileInitialization = GetLaunchProfileInitialization'
{
GetLaunchProfileInitialization -> Text
studioId :: Prelude.Text,
GetLaunchProfileInitialization -> [Text]
launchProfileProtocolVersions :: [Prelude.Text],
GetLaunchProfileInitialization -> Text
launchPurpose :: Prelude.Text,
GetLaunchProfileInitialization -> Text
launchProfileId :: Prelude.Text,
GetLaunchProfileInitialization -> Text
platform :: Prelude.Text
}
deriving (GetLaunchProfileInitialization
-> GetLaunchProfileInitialization -> Bool
(GetLaunchProfileInitialization
-> GetLaunchProfileInitialization -> Bool)
-> (GetLaunchProfileInitialization
-> GetLaunchProfileInitialization -> Bool)
-> Eq GetLaunchProfileInitialization
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetLaunchProfileInitialization
-> GetLaunchProfileInitialization -> Bool
$c/= :: GetLaunchProfileInitialization
-> GetLaunchProfileInitialization -> Bool
== :: GetLaunchProfileInitialization
-> GetLaunchProfileInitialization -> Bool
$c== :: GetLaunchProfileInitialization
-> GetLaunchProfileInitialization -> Bool
Prelude.Eq, ReadPrec [GetLaunchProfileInitialization]
ReadPrec GetLaunchProfileInitialization
Int -> ReadS GetLaunchProfileInitialization
ReadS [GetLaunchProfileInitialization]
(Int -> ReadS GetLaunchProfileInitialization)
-> ReadS [GetLaunchProfileInitialization]
-> ReadPrec GetLaunchProfileInitialization
-> ReadPrec [GetLaunchProfileInitialization]
-> Read GetLaunchProfileInitialization
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetLaunchProfileInitialization]
$creadListPrec :: ReadPrec [GetLaunchProfileInitialization]
readPrec :: ReadPrec GetLaunchProfileInitialization
$creadPrec :: ReadPrec GetLaunchProfileInitialization
readList :: ReadS [GetLaunchProfileInitialization]
$creadList :: ReadS [GetLaunchProfileInitialization]
readsPrec :: Int -> ReadS GetLaunchProfileInitialization
$creadsPrec :: Int -> ReadS GetLaunchProfileInitialization
Prelude.Read, Int -> GetLaunchProfileInitialization -> ShowS
[GetLaunchProfileInitialization] -> ShowS
GetLaunchProfileInitialization -> String
(Int -> GetLaunchProfileInitialization -> ShowS)
-> (GetLaunchProfileInitialization -> String)
-> ([GetLaunchProfileInitialization] -> ShowS)
-> Show GetLaunchProfileInitialization
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetLaunchProfileInitialization] -> ShowS
$cshowList :: [GetLaunchProfileInitialization] -> ShowS
show :: GetLaunchProfileInitialization -> String
$cshow :: GetLaunchProfileInitialization -> String
showsPrec :: Int -> GetLaunchProfileInitialization -> ShowS
$cshowsPrec :: Int -> GetLaunchProfileInitialization -> ShowS
Prelude.Show, (forall x.
GetLaunchProfileInitialization
-> Rep GetLaunchProfileInitialization x)
-> (forall x.
Rep GetLaunchProfileInitialization x
-> GetLaunchProfileInitialization)
-> Generic GetLaunchProfileInitialization
forall x.
Rep GetLaunchProfileInitialization x
-> GetLaunchProfileInitialization
forall x.
GetLaunchProfileInitialization
-> Rep GetLaunchProfileInitialization x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetLaunchProfileInitialization x
-> GetLaunchProfileInitialization
$cfrom :: forall x.
GetLaunchProfileInitialization
-> Rep GetLaunchProfileInitialization x
Prelude.Generic)
newGetLaunchProfileInitialization ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
GetLaunchProfileInitialization
newGetLaunchProfileInitialization :: Text -> Text -> Text -> Text -> GetLaunchProfileInitialization
newGetLaunchProfileInitialization
Text
pStudioId_
Text
pLaunchPurpose_
Text
pLaunchProfileId_
Text
pPlatform_ =
GetLaunchProfileInitialization' :: Text
-> [Text] -> Text -> Text -> Text -> GetLaunchProfileInitialization
GetLaunchProfileInitialization'
{ $sel:studioId:GetLaunchProfileInitialization' :: Text
studioId =
Text
pStudioId_,
$sel:launchProfileProtocolVersions:GetLaunchProfileInitialization' :: [Text]
launchProfileProtocolVersions =
[Text]
forall a. Monoid a => a
Prelude.mempty,
$sel:launchPurpose:GetLaunchProfileInitialization' :: Text
launchPurpose = Text
pLaunchPurpose_,
$sel:launchProfileId:GetLaunchProfileInitialization' :: Text
launchProfileId = Text
pLaunchProfileId_,
$sel:platform:GetLaunchProfileInitialization' :: Text
platform = Text
pPlatform_
}
getLaunchProfileInitialization_studioId :: Lens.Lens' GetLaunchProfileInitialization Prelude.Text
getLaunchProfileInitialization_studioId :: (Text -> f Text)
-> GetLaunchProfileInitialization
-> f GetLaunchProfileInitialization
getLaunchProfileInitialization_studioId = (GetLaunchProfileInitialization -> Text)
-> (GetLaunchProfileInitialization
-> Text -> GetLaunchProfileInitialization)
-> Lens
GetLaunchProfileInitialization
GetLaunchProfileInitialization
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLaunchProfileInitialization' {Text
studioId :: Text
$sel:studioId:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
studioId} -> Text
studioId) (\s :: GetLaunchProfileInitialization
s@GetLaunchProfileInitialization' {} Text
a -> GetLaunchProfileInitialization
s {$sel:studioId:GetLaunchProfileInitialization' :: Text
studioId = Text
a} :: GetLaunchProfileInitialization)
getLaunchProfileInitialization_launchProfileProtocolVersions :: Lens.Lens' GetLaunchProfileInitialization [Prelude.Text]
getLaunchProfileInitialization_launchProfileProtocolVersions :: ([Text] -> f [Text])
-> GetLaunchProfileInitialization
-> f GetLaunchProfileInitialization
getLaunchProfileInitialization_launchProfileProtocolVersions = (GetLaunchProfileInitialization -> [Text])
-> (GetLaunchProfileInitialization
-> [Text] -> GetLaunchProfileInitialization)
-> Lens
GetLaunchProfileInitialization
GetLaunchProfileInitialization
[Text]
[Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLaunchProfileInitialization' {[Text]
launchProfileProtocolVersions :: [Text]
$sel:launchProfileProtocolVersions:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> [Text]
launchProfileProtocolVersions} -> [Text]
launchProfileProtocolVersions) (\s :: GetLaunchProfileInitialization
s@GetLaunchProfileInitialization' {} [Text]
a -> GetLaunchProfileInitialization
s {$sel:launchProfileProtocolVersions:GetLaunchProfileInitialization' :: [Text]
launchProfileProtocolVersions = [Text]
a} :: GetLaunchProfileInitialization) (([Text] -> f [Text])
-> GetLaunchProfileInitialization
-> f GetLaunchProfileInitialization)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> GetLaunchProfileInitialization
-> f GetLaunchProfileInitialization
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
getLaunchProfileInitialization_launchPurpose :: Lens.Lens' GetLaunchProfileInitialization Prelude.Text
getLaunchProfileInitialization_launchPurpose :: (Text -> f Text)
-> GetLaunchProfileInitialization
-> f GetLaunchProfileInitialization
getLaunchProfileInitialization_launchPurpose = (GetLaunchProfileInitialization -> Text)
-> (GetLaunchProfileInitialization
-> Text -> GetLaunchProfileInitialization)
-> Lens
GetLaunchProfileInitialization
GetLaunchProfileInitialization
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLaunchProfileInitialization' {Text
launchPurpose :: Text
$sel:launchPurpose:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
launchPurpose} -> Text
launchPurpose) (\s :: GetLaunchProfileInitialization
s@GetLaunchProfileInitialization' {} Text
a -> GetLaunchProfileInitialization
s {$sel:launchPurpose:GetLaunchProfileInitialization' :: Text
launchPurpose = Text
a} :: GetLaunchProfileInitialization)
getLaunchProfileInitialization_launchProfileId :: Lens.Lens' GetLaunchProfileInitialization Prelude.Text
getLaunchProfileInitialization_launchProfileId :: (Text -> f Text)
-> GetLaunchProfileInitialization
-> f GetLaunchProfileInitialization
getLaunchProfileInitialization_launchProfileId = (GetLaunchProfileInitialization -> Text)
-> (GetLaunchProfileInitialization
-> Text -> GetLaunchProfileInitialization)
-> Lens
GetLaunchProfileInitialization
GetLaunchProfileInitialization
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLaunchProfileInitialization' {Text
launchProfileId :: Text
$sel:launchProfileId:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
launchProfileId} -> Text
launchProfileId) (\s :: GetLaunchProfileInitialization
s@GetLaunchProfileInitialization' {} Text
a -> GetLaunchProfileInitialization
s {$sel:launchProfileId:GetLaunchProfileInitialization' :: Text
launchProfileId = Text
a} :: GetLaunchProfileInitialization)
getLaunchProfileInitialization_platform :: Lens.Lens' GetLaunchProfileInitialization Prelude.Text
getLaunchProfileInitialization_platform :: (Text -> f Text)
-> GetLaunchProfileInitialization
-> f GetLaunchProfileInitialization
getLaunchProfileInitialization_platform = (GetLaunchProfileInitialization -> Text)
-> (GetLaunchProfileInitialization
-> Text -> GetLaunchProfileInitialization)
-> Lens
GetLaunchProfileInitialization
GetLaunchProfileInitialization
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLaunchProfileInitialization' {Text
platform :: Text
$sel:platform:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
platform} -> Text
platform) (\s :: GetLaunchProfileInitialization
s@GetLaunchProfileInitialization' {} Text
a -> GetLaunchProfileInitialization
s {$sel:platform:GetLaunchProfileInitialization' :: Text
platform = Text
a} :: GetLaunchProfileInitialization)
instance
Core.AWSRequest
GetLaunchProfileInitialization
where
type
AWSResponse GetLaunchProfileInitialization =
GetLaunchProfileInitializationResponse
request :: GetLaunchProfileInitialization
-> Request GetLaunchProfileInitialization
request = Service
-> GetLaunchProfileInitialization
-> Request GetLaunchProfileInitialization
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy GetLaunchProfileInitialization
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse GetLaunchProfileInitialization)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse GetLaunchProfileInitialization))
-> Logger
-> Service
-> Proxy GetLaunchProfileInitialization
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse (AWSResponse GetLaunchProfileInitialization)))
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 LaunchProfileInitialization
-> Int -> GetLaunchProfileInitializationResponse
GetLaunchProfileInitializationResponse'
(Maybe LaunchProfileInitialization
-> Int -> GetLaunchProfileInitializationResponse)
-> Either String (Maybe LaunchProfileInitialization)
-> Either String (Int -> GetLaunchProfileInitializationResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe LaunchProfileInitialization)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"launchProfileInitialization")
Either String (Int -> GetLaunchProfileInitializationResponse)
-> Either String Int
-> Either String GetLaunchProfileInitializationResponse
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
GetLaunchProfileInitialization
instance
Prelude.NFData
GetLaunchProfileInitialization
instance
Core.ToHeaders
GetLaunchProfileInitialization
where
toHeaders :: GetLaunchProfileInitialization -> ResponseHeaders
toHeaders =
ResponseHeaders
-> GetLaunchProfileInitialization -> 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.ToPath GetLaunchProfileInitialization where
toPath :: GetLaunchProfileInitialization -> ByteString
toPath GetLaunchProfileInitialization' {[Text]
Text
platform :: Text
launchProfileId :: Text
launchPurpose :: Text
launchProfileProtocolVersions :: [Text]
studioId :: Text
$sel:platform:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
$sel:launchProfileId:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
$sel:launchPurpose:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
$sel:launchProfileProtocolVersions:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> [Text]
$sel:studioId:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/2020-08-01/studios/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
studioId,
ByteString
"/launch-profiles/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
launchProfileId,
ByteString
"/init"
]
instance Core.ToQuery GetLaunchProfileInitialization where
toQuery :: GetLaunchProfileInitialization -> QueryString
toQuery GetLaunchProfileInitialization' {[Text]
Text
platform :: Text
launchProfileId :: Text
launchPurpose :: Text
launchProfileProtocolVersions :: [Text]
studioId :: Text
$sel:platform:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
$sel:launchProfileId:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
$sel:launchPurpose:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
$sel:launchProfileProtocolVersions:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> [Text]
$sel:studioId:GetLaunchProfileInitialization' :: GetLaunchProfileInitialization -> Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"launchProfileProtocolVersions"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList
ByteString
"member"
[Text]
launchProfileProtocolVersions,
ByteString
"launchPurpose" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
launchPurpose,
ByteString
"platform" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
platform
]
data GetLaunchProfileInitializationResponse = GetLaunchProfileInitializationResponse'
{
GetLaunchProfileInitializationResponse
-> Maybe LaunchProfileInitialization
launchProfileInitialization :: Prelude.Maybe LaunchProfileInitialization,
GetLaunchProfileInitializationResponse -> Int
httpStatus :: Prelude.Int
}
deriving (GetLaunchProfileInitializationResponse
-> GetLaunchProfileInitializationResponse -> Bool
(GetLaunchProfileInitializationResponse
-> GetLaunchProfileInitializationResponse -> Bool)
-> (GetLaunchProfileInitializationResponse
-> GetLaunchProfileInitializationResponse -> Bool)
-> Eq GetLaunchProfileInitializationResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: GetLaunchProfileInitializationResponse
-> GetLaunchProfileInitializationResponse -> Bool
$c/= :: GetLaunchProfileInitializationResponse
-> GetLaunchProfileInitializationResponse -> Bool
== :: GetLaunchProfileInitializationResponse
-> GetLaunchProfileInitializationResponse -> Bool
$c== :: GetLaunchProfileInitializationResponse
-> GetLaunchProfileInitializationResponse -> Bool
Prelude.Eq, ReadPrec [GetLaunchProfileInitializationResponse]
ReadPrec GetLaunchProfileInitializationResponse
Int -> ReadS GetLaunchProfileInitializationResponse
ReadS [GetLaunchProfileInitializationResponse]
(Int -> ReadS GetLaunchProfileInitializationResponse)
-> ReadS [GetLaunchProfileInitializationResponse]
-> ReadPrec GetLaunchProfileInitializationResponse
-> ReadPrec [GetLaunchProfileInitializationResponse]
-> Read GetLaunchProfileInitializationResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [GetLaunchProfileInitializationResponse]
$creadListPrec :: ReadPrec [GetLaunchProfileInitializationResponse]
readPrec :: ReadPrec GetLaunchProfileInitializationResponse
$creadPrec :: ReadPrec GetLaunchProfileInitializationResponse
readList :: ReadS [GetLaunchProfileInitializationResponse]
$creadList :: ReadS [GetLaunchProfileInitializationResponse]
readsPrec :: Int -> ReadS GetLaunchProfileInitializationResponse
$creadsPrec :: Int -> ReadS GetLaunchProfileInitializationResponse
Prelude.Read, Int -> GetLaunchProfileInitializationResponse -> ShowS
[GetLaunchProfileInitializationResponse] -> ShowS
GetLaunchProfileInitializationResponse -> String
(Int -> GetLaunchProfileInitializationResponse -> ShowS)
-> (GetLaunchProfileInitializationResponse -> String)
-> ([GetLaunchProfileInitializationResponse] -> ShowS)
-> Show GetLaunchProfileInitializationResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [GetLaunchProfileInitializationResponse] -> ShowS
$cshowList :: [GetLaunchProfileInitializationResponse] -> ShowS
show :: GetLaunchProfileInitializationResponse -> String
$cshow :: GetLaunchProfileInitializationResponse -> String
showsPrec :: Int -> GetLaunchProfileInitializationResponse -> ShowS
$cshowsPrec :: Int -> GetLaunchProfileInitializationResponse -> ShowS
Prelude.Show, (forall x.
GetLaunchProfileInitializationResponse
-> Rep GetLaunchProfileInitializationResponse x)
-> (forall x.
Rep GetLaunchProfileInitializationResponse x
-> GetLaunchProfileInitializationResponse)
-> Generic GetLaunchProfileInitializationResponse
forall x.
Rep GetLaunchProfileInitializationResponse x
-> GetLaunchProfileInitializationResponse
forall x.
GetLaunchProfileInitializationResponse
-> Rep GetLaunchProfileInitializationResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep GetLaunchProfileInitializationResponse x
-> GetLaunchProfileInitializationResponse
$cfrom :: forall x.
GetLaunchProfileInitializationResponse
-> Rep GetLaunchProfileInitializationResponse x
Prelude.Generic)
newGetLaunchProfileInitializationResponse ::
Prelude.Int ->
GetLaunchProfileInitializationResponse
newGetLaunchProfileInitializationResponse :: Int -> GetLaunchProfileInitializationResponse
newGetLaunchProfileInitializationResponse
Int
pHttpStatus_ =
GetLaunchProfileInitializationResponse' :: Maybe LaunchProfileInitialization
-> Int -> GetLaunchProfileInitializationResponse
GetLaunchProfileInitializationResponse'
{ $sel:launchProfileInitialization:GetLaunchProfileInitializationResponse' :: Maybe LaunchProfileInitialization
launchProfileInitialization =
Maybe LaunchProfileInitialization
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:GetLaunchProfileInitializationResponse' :: Int
httpStatus = Int
pHttpStatus_
}
getLaunchProfileInitializationResponse_launchProfileInitialization :: Lens.Lens' GetLaunchProfileInitializationResponse (Prelude.Maybe LaunchProfileInitialization)
getLaunchProfileInitializationResponse_launchProfileInitialization :: (Maybe LaunchProfileInitialization
-> f (Maybe LaunchProfileInitialization))
-> GetLaunchProfileInitializationResponse
-> f GetLaunchProfileInitializationResponse
getLaunchProfileInitializationResponse_launchProfileInitialization = (GetLaunchProfileInitializationResponse
-> Maybe LaunchProfileInitialization)
-> (GetLaunchProfileInitializationResponse
-> Maybe LaunchProfileInitialization
-> GetLaunchProfileInitializationResponse)
-> Lens
GetLaunchProfileInitializationResponse
GetLaunchProfileInitializationResponse
(Maybe LaunchProfileInitialization)
(Maybe LaunchProfileInitialization)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLaunchProfileInitializationResponse' {Maybe LaunchProfileInitialization
launchProfileInitialization :: Maybe LaunchProfileInitialization
$sel:launchProfileInitialization:GetLaunchProfileInitializationResponse' :: GetLaunchProfileInitializationResponse
-> Maybe LaunchProfileInitialization
launchProfileInitialization} -> Maybe LaunchProfileInitialization
launchProfileInitialization) (\s :: GetLaunchProfileInitializationResponse
s@GetLaunchProfileInitializationResponse' {} Maybe LaunchProfileInitialization
a -> GetLaunchProfileInitializationResponse
s {$sel:launchProfileInitialization:GetLaunchProfileInitializationResponse' :: Maybe LaunchProfileInitialization
launchProfileInitialization = Maybe LaunchProfileInitialization
a} :: GetLaunchProfileInitializationResponse)
getLaunchProfileInitializationResponse_httpStatus :: Lens.Lens' GetLaunchProfileInitializationResponse Prelude.Int
getLaunchProfileInitializationResponse_httpStatus :: (Int -> f Int)
-> GetLaunchProfileInitializationResponse
-> f GetLaunchProfileInitializationResponse
getLaunchProfileInitializationResponse_httpStatus = (GetLaunchProfileInitializationResponse -> Int)
-> (GetLaunchProfileInitializationResponse
-> Int -> GetLaunchProfileInitializationResponse)
-> Lens
GetLaunchProfileInitializationResponse
GetLaunchProfileInitializationResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\GetLaunchProfileInitializationResponse' {Int
httpStatus :: Int
$sel:httpStatus:GetLaunchProfileInitializationResponse' :: GetLaunchProfileInitializationResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: GetLaunchProfileInitializationResponse
s@GetLaunchProfileInitializationResponse' {} Int
a -> GetLaunchProfileInitializationResponse
s {$sel:httpStatus:GetLaunchProfileInitializationResponse' :: Int
httpStatus = Int
a} :: GetLaunchProfileInitializationResponse)
instance
Prelude.NFData
GetLaunchProfileInitializationResponse