{-# 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.PutLaunchProfileMembers
(
PutLaunchProfileMembers (..),
newPutLaunchProfileMembers,
putLaunchProfileMembers_clientToken,
putLaunchProfileMembers_studioId,
putLaunchProfileMembers_members,
putLaunchProfileMembers_launchProfileId,
putLaunchProfileMembers_identityStoreId,
PutLaunchProfileMembersResponse (..),
newPutLaunchProfileMembersResponse,
putLaunchProfileMembersResponse_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 PutLaunchProfileMembers = PutLaunchProfileMembers'
{
PutLaunchProfileMembers -> Maybe Text
clientToken :: Prelude.Maybe Prelude.Text,
PutLaunchProfileMembers -> Text
studioId :: Prelude.Text,
PutLaunchProfileMembers -> NonEmpty NewLaunchProfileMember
members :: Prelude.NonEmpty NewLaunchProfileMember,
PutLaunchProfileMembers -> Text
launchProfileId :: Prelude.Text,
PutLaunchProfileMembers -> Text
identityStoreId :: Prelude.Text
}
deriving (PutLaunchProfileMembers -> PutLaunchProfileMembers -> Bool
(PutLaunchProfileMembers -> PutLaunchProfileMembers -> Bool)
-> (PutLaunchProfileMembers -> PutLaunchProfileMembers -> Bool)
-> Eq PutLaunchProfileMembers
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutLaunchProfileMembers -> PutLaunchProfileMembers -> Bool
$c/= :: PutLaunchProfileMembers -> PutLaunchProfileMembers -> Bool
== :: PutLaunchProfileMembers -> PutLaunchProfileMembers -> Bool
$c== :: PutLaunchProfileMembers -> PutLaunchProfileMembers -> Bool
Prelude.Eq, ReadPrec [PutLaunchProfileMembers]
ReadPrec PutLaunchProfileMembers
Int -> ReadS PutLaunchProfileMembers
ReadS [PutLaunchProfileMembers]
(Int -> ReadS PutLaunchProfileMembers)
-> ReadS [PutLaunchProfileMembers]
-> ReadPrec PutLaunchProfileMembers
-> ReadPrec [PutLaunchProfileMembers]
-> Read PutLaunchProfileMembers
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutLaunchProfileMembers]
$creadListPrec :: ReadPrec [PutLaunchProfileMembers]
readPrec :: ReadPrec PutLaunchProfileMembers
$creadPrec :: ReadPrec PutLaunchProfileMembers
readList :: ReadS [PutLaunchProfileMembers]
$creadList :: ReadS [PutLaunchProfileMembers]
readsPrec :: Int -> ReadS PutLaunchProfileMembers
$creadsPrec :: Int -> ReadS PutLaunchProfileMembers
Prelude.Read, Int -> PutLaunchProfileMembers -> ShowS
[PutLaunchProfileMembers] -> ShowS
PutLaunchProfileMembers -> String
(Int -> PutLaunchProfileMembers -> ShowS)
-> (PutLaunchProfileMembers -> String)
-> ([PutLaunchProfileMembers] -> ShowS)
-> Show PutLaunchProfileMembers
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutLaunchProfileMembers] -> ShowS
$cshowList :: [PutLaunchProfileMembers] -> ShowS
show :: PutLaunchProfileMembers -> String
$cshow :: PutLaunchProfileMembers -> String
showsPrec :: Int -> PutLaunchProfileMembers -> ShowS
$cshowsPrec :: Int -> PutLaunchProfileMembers -> ShowS
Prelude.Show, (forall x.
PutLaunchProfileMembers -> Rep PutLaunchProfileMembers x)
-> (forall x.
Rep PutLaunchProfileMembers x -> PutLaunchProfileMembers)
-> Generic PutLaunchProfileMembers
forall x. Rep PutLaunchProfileMembers x -> PutLaunchProfileMembers
forall x. PutLaunchProfileMembers -> Rep PutLaunchProfileMembers x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PutLaunchProfileMembers x -> PutLaunchProfileMembers
$cfrom :: forall x. PutLaunchProfileMembers -> Rep PutLaunchProfileMembers x
Prelude.Generic)
newPutLaunchProfileMembers ::
Prelude.Text ->
Prelude.NonEmpty NewLaunchProfileMember ->
Prelude.Text ->
Prelude.Text ->
PutLaunchProfileMembers
newPutLaunchProfileMembers :: Text
-> NonEmpty NewLaunchProfileMember
-> Text
-> Text
-> PutLaunchProfileMembers
newPutLaunchProfileMembers
Text
pStudioId_
NonEmpty NewLaunchProfileMember
pMembers_
Text
pLaunchProfileId_
Text
pIdentityStoreId_ =
PutLaunchProfileMembers' :: Maybe Text
-> Text
-> NonEmpty NewLaunchProfileMember
-> Text
-> Text
-> PutLaunchProfileMembers
PutLaunchProfileMembers'
{ $sel:clientToken:PutLaunchProfileMembers' :: Maybe Text
clientToken =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:studioId:PutLaunchProfileMembers' :: Text
studioId = Text
pStudioId_,
$sel:members:PutLaunchProfileMembers' :: NonEmpty NewLaunchProfileMember
members = Tagged
(NonEmpty NewLaunchProfileMember)
(Identity (NonEmpty NewLaunchProfileMember))
-> Tagged
(NonEmpty NewLaunchProfileMember)
(Identity (NonEmpty NewLaunchProfileMember))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged
(NonEmpty NewLaunchProfileMember)
(Identity (NonEmpty NewLaunchProfileMember))
-> Tagged
(NonEmpty NewLaunchProfileMember)
(Identity (NonEmpty NewLaunchProfileMember)))
-> NonEmpty NewLaunchProfileMember
-> NonEmpty NewLaunchProfileMember
forall t b. AReview t b -> b -> t
Lens.# NonEmpty NewLaunchProfileMember
pMembers_,
$sel:launchProfileId:PutLaunchProfileMembers' :: Text
launchProfileId = Text
pLaunchProfileId_,
$sel:identityStoreId:PutLaunchProfileMembers' :: Text
identityStoreId = Text
pIdentityStoreId_
}
putLaunchProfileMembers_clientToken :: Lens.Lens' PutLaunchProfileMembers (Prelude.Maybe Prelude.Text)
putLaunchProfileMembers_clientToken :: (Maybe Text -> f (Maybe Text))
-> PutLaunchProfileMembers -> f PutLaunchProfileMembers
putLaunchProfileMembers_clientToken = (PutLaunchProfileMembers -> Maybe Text)
-> (PutLaunchProfileMembers
-> Maybe Text -> PutLaunchProfileMembers)
-> Lens
PutLaunchProfileMembers
PutLaunchProfileMembers
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutLaunchProfileMembers' {Maybe Text
clientToken :: Maybe Text
$sel:clientToken:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Maybe Text
clientToken} -> Maybe Text
clientToken) (\s :: PutLaunchProfileMembers
s@PutLaunchProfileMembers' {} Maybe Text
a -> PutLaunchProfileMembers
s {$sel:clientToken:PutLaunchProfileMembers' :: Maybe Text
clientToken = Maybe Text
a} :: PutLaunchProfileMembers)
putLaunchProfileMembers_studioId :: Lens.Lens' PutLaunchProfileMembers Prelude.Text
putLaunchProfileMembers_studioId :: (Text -> f Text)
-> PutLaunchProfileMembers -> f PutLaunchProfileMembers
putLaunchProfileMembers_studioId = (PutLaunchProfileMembers -> Text)
-> (PutLaunchProfileMembers -> Text -> PutLaunchProfileMembers)
-> Lens PutLaunchProfileMembers PutLaunchProfileMembers Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutLaunchProfileMembers' {Text
studioId :: Text
$sel:studioId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
studioId} -> Text
studioId) (\s :: PutLaunchProfileMembers
s@PutLaunchProfileMembers' {} Text
a -> PutLaunchProfileMembers
s {$sel:studioId:PutLaunchProfileMembers' :: Text
studioId = Text
a} :: PutLaunchProfileMembers)
putLaunchProfileMembers_members :: Lens.Lens' PutLaunchProfileMembers (Prelude.NonEmpty NewLaunchProfileMember)
putLaunchProfileMembers_members :: (NonEmpty NewLaunchProfileMember
-> f (NonEmpty NewLaunchProfileMember))
-> PutLaunchProfileMembers -> f PutLaunchProfileMembers
putLaunchProfileMembers_members = (PutLaunchProfileMembers -> NonEmpty NewLaunchProfileMember)
-> (PutLaunchProfileMembers
-> NonEmpty NewLaunchProfileMember -> PutLaunchProfileMembers)
-> Lens
PutLaunchProfileMembers
PutLaunchProfileMembers
(NonEmpty NewLaunchProfileMember)
(NonEmpty NewLaunchProfileMember)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutLaunchProfileMembers' {NonEmpty NewLaunchProfileMember
members :: NonEmpty NewLaunchProfileMember
$sel:members:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> NonEmpty NewLaunchProfileMember
members} -> NonEmpty NewLaunchProfileMember
members) (\s :: PutLaunchProfileMembers
s@PutLaunchProfileMembers' {} NonEmpty NewLaunchProfileMember
a -> PutLaunchProfileMembers
s {$sel:members:PutLaunchProfileMembers' :: NonEmpty NewLaunchProfileMember
members = NonEmpty NewLaunchProfileMember
a} :: PutLaunchProfileMembers) ((NonEmpty NewLaunchProfileMember
-> f (NonEmpty NewLaunchProfileMember))
-> PutLaunchProfileMembers -> f PutLaunchProfileMembers)
-> ((NonEmpty NewLaunchProfileMember
-> f (NonEmpty NewLaunchProfileMember))
-> NonEmpty NewLaunchProfileMember
-> f (NonEmpty NewLaunchProfileMember))
-> (NonEmpty NewLaunchProfileMember
-> f (NonEmpty NewLaunchProfileMember))
-> PutLaunchProfileMembers
-> f PutLaunchProfileMembers
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty NewLaunchProfileMember
-> f (NonEmpty NewLaunchProfileMember))
-> NonEmpty NewLaunchProfileMember
-> f (NonEmpty NewLaunchProfileMember)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
putLaunchProfileMembers_launchProfileId :: Lens.Lens' PutLaunchProfileMembers Prelude.Text
putLaunchProfileMembers_launchProfileId :: (Text -> f Text)
-> PutLaunchProfileMembers -> f PutLaunchProfileMembers
putLaunchProfileMembers_launchProfileId = (PutLaunchProfileMembers -> Text)
-> (PutLaunchProfileMembers -> Text -> PutLaunchProfileMembers)
-> Lens PutLaunchProfileMembers PutLaunchProfileMembers Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutLaunchProfileMembers' {Text
launchProfileId :: Text
$sel:launchProfileId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
launchProfileId} -> Text
launchProfileId) (\s :: PutLaunchProfileMembers
s@PutLaunchProfileMembers' {} Text
a -> PutLaunchProfileMembers
s {$sel:launchProfileId:PutLaunchProfileMembers' :: Text
launchProfileId = Text
a} :: PutLaunchProfileMembers)
putLaunchProfileMembers_identityStoreId :: Lens.Lens' PutLaunchProfileMembers Prelude.Text
putLaunchProfileMembers_identityStoreId :: (Text -> f Text)
-> PutLaunchProfileMembers -> f PutLaunchProfileMembers
putLaunchProfileMembers_identityStoreId = (PutLaunchProfileMembers -> Text)
-> (PutLaunchProfileMembers -> Text -> PutLaunchProfileMembers)
-> Lens PutLaunchProfileMembers PutLaunchProfileMembers Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutLaunchProfileMembers' {Text
identityStoreId :: Text
$sel:identityStoreId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
identityStoreId} -> Text
identityStoreId) (\s :: PutLaunchProfileMembers
s@PutLaunchProfileMembers' {} Text
a -> PutLaunchProfileMembers
s {$sel:identityStoreId:PutLaunchProfileMembers' :: Text
identityStoreId = Text
a} :: PutLaunchProfileMembers)
instance Core.AWSRequest PutLaunchProfileMembers where
type
AWSResponse PutLaunchProfileMembers =
PutLaunchProfileMembersResponse
request :: PutLaunchProfileMembers -> Request PutLaunchProfileMembers
request = Service
-> PutLaunchProfileMembers -> Request PutLaunchProfileMembers
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy PutLaunchProfileMembers
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse PutLaunchProfileMembers)))
response =
(Int
-> ResponseHeaders
-> ()
-> Either String (AWSResponse PutLaunchProfileMembers))
-> Logger
-> Service
-> Proxy PutLaunchProfileMembers
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse PutLaunchProfileMembers)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
( \Int
s ResponseHeaders
h ()
x ->
Int -> PutLaunchProfileMembersResponse
PutLaunchProfileMembersResponse'
(Int -> PutLaunchProfileMembersResponse)
-> Either String Int
-> Either String PutLaunchProfileMembersResponse
forall (f :: * -> *) a b. Functor 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 PutLaunchProfileMembers
instance Prelude.NFData PutLaunchProfileMembers
instance Core.ToHeaders PutLaunchProfileMembers where
toHeaders :: PutLaunchProfileMembers -> ResponseHeaders
toHeaders PutLaunchProfileMembers' {Maybe Text
NonEmpty NewLaunchProfileMember
Text
identityStoreId :: Text
launchProfileId :: Text
members :: NonEmpty NewLaunchProfileMember
studioId :: Text
clientToken :: Maybe Text
$sel:identityStoreId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:launchProfileId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:members:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> NonEmpty NewLaunchProfileMember
$sel:studioId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:clientToken:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Maybe Text
..} =
[ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"X-Amz-Client-Token" HeaderName -> Maybe Text -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# Maybe Text
clientToken,
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 PutLaunchProfileMembers where
toJSON :: PutLaunchProfileMembers -> Value
toJSON PutLaunchProfileMembers' {Maybe Text
NonEmpty NewLaunchProfileMember
Text
identityStoreId :: Text
launchProfileId :: Text
members :: NonEmpty NewLaunchProfileMember
studioId :: Text
clientToken :: Maybe Text
$sel:identityStoreId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:launchProfileId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:members:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> NonEmpty NewLaunchProfileMember
$sel:studioId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:clientToken:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Maybe 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
"members" Text -> NonEmpty NewLaunchProfileMember -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty NewLaunchProfileMember
members),
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
(Text
"identityStoreId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
identityStoreId)
]
)
instance Core.ToPath PutLaunchProfileMembers where
toPath :: PutLaunchProfileMembers -> ByteString
toPath PutLaunchProfileMembers' {Maybe Text
NonEmpty NewLaunchProfileMember
Text
identityStoreId :: Text
launchProfileId :: Text
members :: NonEmpty NewLaunchProfileMember
studioId :: Text
clientToken :: Maybe Text
$sel:identityStoreId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:launchProfileId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:members:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> NonEmpty NewLaunchProfileMember
$sel:studioId:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Text
$sel:clientToken:PutLaunchProfileMembers' :: PutLaunchProfileMembers -> Maybe 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
"/membership"
]
instance Core.ToQuery PutLaunchProfileMembers where
toQuery :: PutLaunchProfileMembers -> QueryString
toQuery = QueryString -> PutLaunchProfileMembers -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data PutLaunchProfileMembersResponse = PutLaunchProfileMembersResponse'
{
PutLaunchProfileMembersResponse -> Int
httpStatus :: Prelude.Int
}
deriving (PutLaunchProfileMembersResponse
-> PutLaunchProfileMembersResponse -> Bool
(PutLaunchProfileMembersResponse
-> PutLaunchProfileMembersResponse -> Bool)
-> (PutLaunchProfileMembersResponse
-> PutLaunchProfileMembersResponse -> Bool)
-> Eq PutLaunchProfileMembersResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutLaunchProfileMembersResponse
-> PutLaunchProfileMembersResponse -> Bool
$c/= :: PutLaunchProfileMembersResponse
-> PutLaunchProfileMembersResponse -> Bool
== :: PutLaunchProfileMembersResponse
-> PutLaunchProfileMembersResponse -> Bool
$c== :: PutLaunchProfileMembersResponse
-> PutLaunchProfileMembersResponse -> Bool
Prelude.Eq, ReadPrec [PutLaunchProfileMembersResponse]
ReadPrec PutLaunchProfileMembersResponse
Int -> ReadS PutLaunchProfileMembersResponse
ReadS [PutLaunchProfileMembersResponse]
(Int -> ReadS PutLaunchProfileMembersResponse)
-> ReadS [PutLaunchProfileMembersResponse]
-> ReadPrec PutLaunchProfileMembersResponse
-> ReadPrec [PutLaunchProfileMembersResponse]
-> Read PutLaunchProfileMembersResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutLaunchProfileMembersResponse]
$creadListPrec :: ReadPrec [PutLaunchProfileMembersResponse]
readPrec :: ReadPrec PutLaunchProfileMembersResponse
$creadPrec :: ReadPrec PutLaunchProfileMembersResponse
readList :: ReadS [PutLaunchProfileMembersResponse]
$creadList :: ReadS [PutLaunchProfileMembersResponse]
readsPrec :: Int -> ReadS PutLaunchProfileMembersResponse
$creadsPrec :: Int -> ReadS PutLaunchProfileMembersResponse
Prelude.Read, Int -> PutLaunchProfileMembersResponse -> ShowS
[PutLaunchProfileMembersResponse] -> ShowS
PutLaunchProfileMembersResponse -> String
(Int -> PutLaunchProfileMembersResponse -> ShowS)
-> (PutLaunchProfileMembersResponse -> String)
-> ([PutLaunchProfileMembersResponse] -> ShowS)
-> Show PutLaunchProfileMembersResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutLaunchProfileMembersResponse] -> ShowS
$cshowList :: [PutLaunchProfileMembersResponse] -> ShowS
show :: PutLaunchProfileMembersResponse -> String
$cshow :: PutLaunchProfileMembersResponse -> String
showsPrec :: Int -> PutLaunchProfileMembersResponse -> ShowS
$cshowsPrec :: Int -> PutLaunchProfileMembersResponse -> ShowS
Prelude.Show, (forall x.
PutLaunchProfileMembersResponse
-> Rep PutLaunchProfileMembersResponse x)
-> (forall x.
Rep PutLaunchProfileMembersResponse x
-> PutLaunchProfileMembersResponse)
-> Generic PutLaunchProfileMembersResponse
forall x.
Rep PutLaunchProfileMembersResponse x
-> PutLaunchProfileMembersResponse
forall x.
PutLaunchProfileMembersResponse
-> Rep PutLaunchProfileMembersResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutLaunchProfileMembersResponse x
-> PutLaunchProfileMembersResponse
$cfrom :: forall x.
PutLaunchProfileMembersResponse
-> Rep PutLaunchProfileMembersResponse x
Prelude.Generic)
newPutLaunchProfileMembersResponse ::
Prelude.Int ->
PutLaunchProfileMembersResponse
newPutLaunchProfileMembersResponse :: Int -> PutLaunchProfileMembersResponse
newPutLaunchProfileMembersResponse Int
pHttpStatus_ =
PutLaunchProfileMembersResponse' :: Int -> PutLaunchProfileMembersResponse
PutLaunchProfileMembersResponse'
{ $sel:httpStatus:PutLaunchProfileMembersResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
putLaunchProfileMembersResponse_httpStatus :: Lens.Lens' PutLaunchProfileMembersResponse Prelude.Int
putLaunchProfileMembersResponse_httpStatus :: (Int -> f Int)
-> PutLaunchProfileMembersResponse
-> f PutLaunchProfileMembersResponse
putLaunchProfileMembersResponse_httpStatus = (PutLaunchProfileMembersResponse -> Int)
-> (PutLaunchProfileMembersResponse
-> Int -> PutLaunchProfileMembersResponse)
-> Lens
PutLaunchProfileMembersResponse
PutLaunchProfileMembersResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutLaunchProfileMembersResponse' {Int
httpStatus :: Int
$sel:httpStatus:PutLaunchProfileMembersResponse' :: PutLaunchProfileMembersResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: PutLaunchProfileMembersResponse
s@PutLaunchProfileMembersResponse' {} Int
a -> PutLaunchProfileMembersResponse
s {$sel:httpStatus:PutLaunchProfileMembersResponse' :: Int
httpStatus = Int
a} :: PutLaunchProfileMembersResponse)
instance
Prelude.NFData
PutLaunchProfileMembersResponse