{-# 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.ChimeSDKMessaging.DescribeChannelModeratedByAppInstanceUser
(
DescribeChannelModeratedByAppInstanceUser (..),
newDescribeChannelModeratedByAppInstanceUser,
describeChannelModeratedByAppInstanceUser_channelArn,
describeChannelModeratedByAppInstanceUser_appInstanceUserArn,
describeChannelModeratedByAppInstanceUser_chimeBearer,
DescribeChannelModeratedByAppInstanceUserResponse (..),
newDescribeChannelModeratedByAppInstanceUserResponse,
describeChannelModeratedByAppInstanceUserResponse_channel,
describeChannelModeratedByAppInstanceUserResponse_httpStatus,
)
where
import Amazonka.ChimeSDKMessaging.Types
import qualified Amazonka.Core as Core
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 DescribeChannelModeratedByAppInstanceUser = DescribeChannelModeratedByAppInstanceUser'
{
DescribeChannelModeratedByAppInstanceUser -> Text
channelArn :: Prelude.Text,
DescribeChannelModeratedByAppInstanceUser -> Text
appInstanceUserArn :: Prelude.Text,
DescribeChannelModeratedByAppInstanceUser -> Text
chimeBearer :: Prelude.Text
}
deriving (DescribeChannelModeratedByAppInstanceUser
-> DescribeChannelModeratedByAppInstanceUser -> Bool
(DescribeChannelModeratedByAppInstanceUser
-> DescribeChannelModeratedByAppInstanceUser -> Bool)
-> (DescribeChannelModeratedByAppInstanceUser
-> DescribeChannelModeratedByAppInstanceUser -> Bool)
-> Eq DescribeChannelModeratedByAppInstanceUser
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeChannelModeratedByAppInstanceUser
-> DescribeChannelModeratedByAppInstanceUser -> Bool
$c/= :: DescribeChannelModeratedByAppInstanceUser
-> DescribeChannelModeratedByAppInstanceUser -> Bool
== :: DescribeChannelModeratedByAppInstanceUser
-> DescribeChannelModeratedByAppInstanceUser -> Bool
$c== :: DescribeChannelModeratedByAppInstanceUser
-> DescribeChannelModeratedByAppInstanceUser -> Bool
Prelude.Eq, ReadPrec [DescribeChannelModeratedByAppInstanceUser]
ReadPrec DescribeChannelModeratedByAppInstanceUser
Int -> ReadS DescribeChannelModeratedByAppInstanceUser
ReadS [DescribeChannelModeratedByAppInstanceUser]
(Int -> ReadS DescribeChannelModeratedByAppInstanceUser)
-> ReadS [DescribeChannelModeratedByAppInstanceUser]
-> ReadPrec DescribeChannelModeratedByAppInstanceUser
-> ReadPrec [DescribeChannelModeratedByAppInstanceUser]
-> Read DescribeChannelModeratedByAppInstanceUser
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DescribeChannelModeratedByAppInstanceUser]
$creadListPrec :: ReadPrec [DescribeChannelModeratedByAppInstanceUser]
readPrec :: ReadPrec DescribeChannelModeratedByAppInstanceUser
$creadPrec :: ReadPrec DescribeChannelModeratedByAppInstanceUser
readList :: ReadS [DescribeChannelModeratedByAppInstanceUser]
$creadList :: ReadS [DescribeChannelModeratedByAppInstanceUser]
readsPrec :: Int -> ReadS DescribeChannelModeratedByAppInstanceUser
$creadsPrec :: Int -> ReadS DescribeChannelModeratedByAppInstanceUser
Prelude.Read, Int -> DescribeChannelModeratedByAppInstanceUser -> ShowS
[DescribeChannelModeratedByAppInstanceUser] -> ShowS
DescribeChannelModeratedByAppInstanceUser -> String
(Int -> DescribeChannelModeratedByAppInstanceUser -> ShowS)
-> (DescribeChannelModeratedByAppInstanceUser -> String)
-> ([DescribeChannelModeratedByAppInstanceUser] -> ShowS)
-> Show DescribeChannelModeratedByAppInstanceUser
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeChannelModeratedByAppInstanceUser] -> ShowS
$cshowList :: [DescribeChannelModeratedByAppInstanceUser] -> ShowS
show :: DescribeChannelModeratedByAppInstanceUser -> String
$cshow :: DescribeChannelModeratedByAppInstanceUser -> String
showsPrec :: Int -> DescribeChannelModeratedByAppInstanceUser -> ShowS
$cshowsPrec :: Int -> DescribeChannelModeratedByAppInstanceUser -> ShowS
Prelude.Show, (forall x.
DescribeChannelModeratedByAppInstanceUser
-> Rep DescribeChannelModeratedByAppInstanceUser x)
-> (forall x.
Rep DescribeChannelModeratedByAppInstanceUser x
-> DescribeChannelModeratedByAppInstanceUser)
-> Generic DescribeChannelModeratedByAppInstanceUser
forall x.
Rep DescribeChannelModeratedByAppInstanceUser x
-> DescribeChannelModeratedByAppInstanceUser
forall x.
DescribeChannelModeratedByAppInstanceUser
-> Rep DescribeChannelModeratedByAppInstanceUser x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeChannelModeratedByAppInstanceUser x
-> DescribeChannelModeratedByAppInstanceUser
$cfrom :: forall x.
DescribeChannelModeratedByAppInstanceUser
-> Rep DescribeChannelModeratedByAppInstanceUser x
Prelude.Generic)
newDescribeChannelModeratedByAppInstanceUser ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
DescribeChannelModeratedByAppInstanceUser
newDescribeChannelModeratedByAppInstanceUser :: Text -> Text -> Text -> DescribeChannelModeratedByAppInstanceUser
newDescribeChannelModeratedByAppInstanceUser
Text
pChannelArn_
Text
pAppInstanceUserArn_
Text
pChimeBearer_ =
DescribeChannelModeratedByAppInstanceUser' :: Text -> Text -> Text -> DescribeChannelModeratedByAppInstanceUser
DescribeChannelModeratedByAppInstanceUser'
{ $sel:channelArn:DescribeChannelModeratedByAppInstanceUser' :: Text
channelArn =
Text
pChannelArn_,
$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser' :: Text
appInstanceUserArn =
Text
pAppInstanceUserArn_,
$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser' :: Text
chimeBearer = Text
pChimeBearer_
}
describeChannelModeratedByAppInstanceUser_channelArn :: Lens.Lens' DescribeChannelModeratedByAppInstanceUser Prelude.Text
describeChannelModeratedByAppInstanceUser_channelArn :: (Text -> f Text)
-> DescribeChannelModeratedByAppInstanceUser
-> f DescribeChannelModeratedByAppInstanceUser
describeChannelModeratedByAppInstanceUser_channelArn = (DescribeChannelModeratedByAppInstanceUser -> Text)
-> (DescribeChannelModeratedByAppInstanceUser
-> Text -> DescribeChannelModeratedByAppInstanceUser)
-> Lens
DescribeChannelModeratedByAppInstanceUser
DescribeChannelModeratedByAppInstanceUser
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeChannelModeratedByAppInstanceUser' {Text
channelArn :: Text
$sel:channelArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
channelArn} -> Text
channelArn) (\s :: DescribeChannelModeratedByAppInstanceUser
s@DescribeChannelModeratedByAppInstanceUser' {} Text
a -> DescribeChannelModeratedByAppInstanceUser
s {$sel:channelArn:DescribeChannelModeratedByAppInstanceUser' :: Text
channelArn = Text
a} :: DescribeChannelModeratedByAppInstanceUser)
describeChannelModeratedByAppInstanceUser_appInstanceUserArn :: Lens.Lens' DescribeChannelModeratedByAppInstanceUser Prelude.Text
describeChannelModeratedByAppInstanceUser_appInstanceUserArn :: (Text -> f Text)
-> DescribeChannelModeratedByAppInstanceUser
-> f DescribeChannelModeratedByAppInstanceUser
describeChannelModeratedByAppInstanceUser_appInstanceUserArn = (DescribeChannelModeratedByAppInstanceUser -> Text)
-> (DescribeChannelModeratedByAppInstanceUser
-> Text -> DescribeChannelModeratedByAppInstanceUser)
-> Lens
DescribeChannelModeratedByAppInstanceUser
DescribeChannelModeratedByAppInstanceUser
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeChannelModeratedByAppInstanceUser' {Text
appInstanceUserArn :: Text
$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
appInstanceUserArn} -> Text
appInstanceUserArn) (\s :: DescribeChannelModeratedByAppInstanceUser
s@DescribeChannelModeratedByAppInstanceUser' {} Text
a -> DescribeChannelModeratedByAppInstanceUser
s {$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser' :: Text
appInstanceUserArn = Text
a} :: DescribeChannelModeratedByAppInstanceUser)
describeChannelModeratedByAppInstanceUser_chimeBearer :: Lens.Lens' DescribeChannelModeratedByAppInstanceUser Prelude.Text
describeChannelModeratedByAppInstanceUser_chimeBearer :: (Text -> f Text)
-> DescribeChannelModeratedByAppInstanceUser
-> f DescribeChannelModeratedByAppInstanceUser
describeChannelModeratedByAppInstanceUser_chimeBearer = (DescribeChannelModeratedByAppInstanceUser -> Text)
-> (DescribeChannelModeratedByAppInstanceUser
-> Text -> DescribeChannelModeratedByAppInstanceUser)
-> Lens
DescribeChannelModeratedByAppInstanceUser
DescribeChannelModeratedByAppInstanceUser
Text
Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeChannelModeratedByAppInstanceUser' {Text
chimeBearer :: Text
$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
chimeBearer} -> Text
chimeBearer) (\s :: DescribeChannelModeratedByAppInstanceUser
s@DescribeChannelModeratedByAppInstanceUser' {} Text
a -> DescribeChannelModeratedByAppInstanceUser
s {$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser' :: Text
chimeBearer = Text
a} :: DescribeChannelModeratedByAppInstanceUser)
instance
Core.AWSRequest
DescribeChannelModeratedByAppInstanceUser
where
type
AWSResponse
DescribeChannelModeratedByAppInstanceUser =
DescribeChannelModeratedByAppInstanceUserResponse
request :: DescribeChannelModeratedByAppInstanceUser
-> Request DescribeChannelModeratedByAppInstanceUser
request = Service
-> DescribeChannelModeratedByAppInstanceUser
-> Request DescribeChannelModeratedByAppInstanceUser
forall a. ToRequest a => Service -> a -> Request a
Request.get Service
defaultService
response :: Logger
-> Service
-> Proxy DescribeChannelModeratedByAppInstanceUser
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeChannelModeratedByAppInstanceUser)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either
String (AWSResponse DescribeChannelModeratedByAppInstanceUser))
-> Logger
-> Service
-> Proxy DescribeChannelModeratedByAppInstanceUser
-> ClientResponse ClientBody
-> m (Either
Error
(ClientResponse
(AWSResponse DescribeChannelModeratedByAppInstanceUser)))
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 ChannelModeratedByAppInstanceUserSummary
-> Int -> DescribeChannelModeratedByAppInstanceUserResponse
DescribeChannelModeratedByAppInstanceUserResponse'
(Maybe ChannelModeratedByAppInstanceUserSummary
-> Int -> DescribeChannelModeratedByAppInstanceUserResponse)
-> Either String (Maybe ChannelModeratedByAppInstanceUserSummary)
-> Either
String (Int -> DescribeChannelModeratedByAppInstanceUserResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Text
-> Either String (Maybe ChannelModeratedByAppInstanceUserSummary)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Channel")
Either
String (Int -> DescribeChannelModeratedByAppInstanceUserResponse)
-> Either String Int
-> Either String DescribeChannelModeratedByAppInstanceUserResponse
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
DescribeChannelModeratedByAppInstanceUser
instance
Prelude.NFData
DescribeChannelModeratedByAppInstanceUser
instance
Core.ToHeaders
DescribeChannelModeratedByAppInstanceUser
where
toHeaders :: DescribeChannelModeratedByAppInstanceUser -> ResponseHeaders
toHeaders
DescribeChannelModeratedByAppInstanceUser' {Text
chimeBearer :: Text
appInstanceUserArn :: Text
channelArn :: Text
$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
$sel:channelArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
..} =
[ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
[HeaderName
"x-amz-chime-bearer" HeaderName -> Text -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# Text
chimeBearer]
instance
Core.ToPath
DescribeChannelModeratedByAppInstanceUser
where
toPath :: DescribeChannelModeratedByAppInstanceUser -> ByteString
toPath DescribeChannelModeratedByAppInstanceUser' {Text
chimeBearer :: Text
appInstanceUserArn :: Text
channelArn :: Text
$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
$sel:channelArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ByteString
"/channels/", Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
channelArn]
instance
Core.ToQuery
DescribeChannelModeratedByAppInstanceUser
where
toQuery :: DescribeChannelModeratedByAppInstanceUser -> QueryString
toQuery
DescribeChannelModeratedByAppInstanceUser' {Text
chimeBearer :: Text
appInstanceUserArn :: Text
channelArn :: Text
$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
$sel:channelArn:DescribeChannelModeratedByAppInstanceUser' :: DescribeChannelModeratedByAppInstanceUser -> Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"app-instance-user-arn" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
appInstanceUserArn,
QueryString
"scope=app-instance-user-moderated-channel"
]
data DescribeChannelModeratedByAppInstanceUserResponse = DescribeChannelModeratedByAppInstanceUserResponse'
{
DescribeChannelModeratedByAppInstanceUserResponse
-> Maybe ChannelModeratedByAppInstanceUserSummary
channel :: Prelude.Maybe ChannelModeratedByAppInstanceUserSummary,
DescribeChannelModeratedByAppInstanceUserResponse -> Int
httpStatus :: Prelude.Int
}
deriving (DescribeChannelModeratedByAppInstanceUserResponse
-> DescribeChannelModeratedByAppInstanceUserResponse -> Bool
(DescribeChannelModeratedByAppInstanceUserResponse
-> DescribeChannelModeratedByAppInstanceUserResponse -> Bool)
-> (DescribeChannelModeratedByAppInstanceUserResponse
-> DescribeChannelModeratedByAppInstanceUserResponse -> Bool)
-> Eq DescribeChannelModeratedByAppInstanceUserResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescribeChannelModeratedByAppInstanceUserResponse
-> DescribeChannelModeratedByAppInstanceUserResponse -> Bool
$c/= :: DescribeChannelModeratedByAppInstanceUserResponse
-> DescribeChannelModeratedByAppInstanceUserResponse -> Bool
== :: DescribeChannelModeratedByAppInstanceUserResponse
-> DescribeChannelModeratedByAppInstanceUserResponse -> Bool
$c== :: DescribeChannelModeratedByAppInstanceUserResponse
-> DescribeChannelModeratedByAppInstanceUserResponse -> Bool
Prelude.Eq, Int -> DescribeChannelModeratedByAppInstanceUserResponse -> ShowS
[DescribeChannelModeratedByAppInstanceUserResponse] -> ShowS
DescribeChannelModeratedByAppInstanceUserResponse -> String
(Int -> DescribeChannelModeratedByAppInstanceUserResponse -> ShowS)
-> (DescribeChannelModeratedByAppInstanceUserResponse -> String)
-> ([DescribeChannelModeratedByAppInstanceUserResponse] -> ShowS)
-> Show DescribeChannelModeratedByAppInstanceUserResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DescribeChannelModeratedByAppInstanceUserResponse] -> ShowS
$cshowList :: [DescribeChannelModeratedByAppInstanceUserResponse] -> ShowS
show :: DescribeChannelModeratedByAppInstanceUserResponse -> String
$cshow :: DescribeChannelModeratedByAppInstanceUserResponse -> String
showsPrec :: Int -> DescribeChannelModeratedByAppInstanceUserResponse -> ShowS
$cshowsPrec :: Int -> DescribeChannelModeratedByAppInstanceUserResponse -> ShowS
Prelude.Show, (forall x.
DescribeChannelModeratedByAppInstanceUserResponse
-> Rep DescribeChannelModeratedByAppInstanceUserResponse x)
-> (forall x.
Rep DescribeChannelModeratedByAppInstanceUserResponse x
-> DescribeChannelModeratedByAppInstanceUserResponse)
-> Generic DescribeChannelModeratedByAppInstanceUserResponse
forall x.
Rep DescribeChannelModeratedByAppInstanceUserResponse x
-> DescribeChannelModeratedByAppInstanceUserResponse
forall x.
DescribeChannelModeratedByAppInstanceUserResponse
-> Rep DescribeChannelModeratedByAppInstanceUserResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DescribeChannelModeratedByAppInstanceUserResponse x
-> DescribeChannelModeratedByAppInstanceUserResponse
$cfrom :: forall x.
DescribeChannelModeratedByAppInstanceUserResponse
-> Rep DescribeChannelModeratedByAppInstanceUserResponse x
Prelude.Generic)
newDescribeChannelModeratedByAppInstanceUserResponse ::
Prelude.Int ->
DescribeChannelModeratedByAppInstanceUserResponse
newDescribeChannelModeratedByAppInstanceUserResponse :: Int -> DescribeChannelModeratedByAppInstanceUserResponse
newDescribeChannelModeratedByAppInstanceUserResponse
Int
pHttpStatus_ =
DescribeChannelModeratedByAppInstanceUserResponse' :: Maybe ChannelModeratedByAppInstanceUserSummary
-> Int -> DescribeChannelModeratedByAppInstanceUserResponse
DescribeChannelModeratedByAppInstanceUserResponse'
{ $sel:channel:DescribeChannelModeratedByAppInstanceUserResponse' :: Maybe ChannelModeratedByAppInstanceUserSummary
channel =
Maybe ChannelModeratedByAppInstanceUserSummary
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:DescribeChannelModeratedByAppInstanceUserResponse' :: Int
httpStatus =
Int
pHttpStatus_
}
describeChannelModeratedByAppInstanceUserResponse_channel :: Lens.Lens' DescribeChannelModeratedByAppInstanceUserResponse (Prelude.Maybe ChannelModeratedByAppInstanceUserSummary)
describeChannelModeratedByAppInstanceUserResponse_channel :: (Maybe ChannelModeratedByAppInstanceUserSummary
-> f (Maybe ChannelModeratedByAppInstanceUserSummary))
-> DescribeChannelModeratedByAppInstanceUserResponse
-> f DescribeChannelModeratedByAppInstanceUserResponse
describeChannelModeratedByAppInstanceUserResponse_channel = (DescribeChannelModeratedByAppInstanceUserResponse
-> Maybe ChannelModeratedByAppInstanceUserSummary)
-> (DescribeChannelModeratedByAppInstanceUserResponse
-> Maybe ChannelModeratedByAppInstanceUserSummary
-> DescribeChannelModeratedByAppInstanceUserResponse)
-> Lens
DescribeChannelModeratedByAppInstanceUserResponse
DescribeChannelModeratedByAppInstanceUserResponse
(Maybe ChannelModeratedByAppInstanceUserSummary)
(Maybe ChannelModeratedByAppInstanceUserSummary)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeChannelModeratedByAppInstanceUserResponse' {Maybe ChannelModeratedByAppInstanceUserSummary
channel :: Maybe ChannelModeratedByAppInstanceUserSummary
$sel:channel:DescribeChannelModeratedByAppInstanceUserResponse' :: DescribeChannelModeratedByAppInstanceUserResponse
-> Maybe ChannelModeratedByAppInstanceUserSummary
channel} -> Maybe ChannelModeratedByAppInstanceUserSummary
channel) (\s :: DescribeChannelModeratedByAppInstanceUserResponse
s@DescribeChannelModeratedByAppInstanceUserResponse' {} Maybe ChannelModeratedByAppInstanceUserSummary
a -> DescribeChannelModeratedByAppInstanceUserResponse
s {$sel:channel:DescribeChannelModeratedByAppInstanceUserResponse' :: Maybe ChannelModeratedByAppInstanceUserSummary
channel = Maybe ChannelModeratedByAppInstanceUserSummary
a} :: DescribeChannelModeratedByAppInstanceUserResponse)
describeChannelModeratedByAppInstanceUserResponse_httpStatus :: Lens.Lens' DescribeChannelModeratedByAppInstanceUserResponse Prelude.Int
describeChannelModeratedByAppInstanceUserResponse_httpStatus :: (Int -> f Int)
-> DescribeChannelModeratedByAppInstanceUserResponse
-> f DescribeChannelModeratedByAppInstanceUserResponse
describeChannelModeratedByAppInstanceUserResponse_httpStatus = (DescribeChannelModeratedByAppInstanceUserResponse -> Int)
-> (DescribeChannelModeratedByAppInstanceUserResponse
-> Int -> DescribeChannelModeratedByAppInstanceUserResponse)
-> Lens
DescribeChannelModeratedByAppInstanceUserResponse
DescribeChannelModeratedByAppInstanceUserResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DescribeChannelModeratedByAppInstanceUserResponse' {Int
httpStatus :: Int
$sel:httpStatus:DescribeChannelModeratedByAppInstanceUserResponse' :: DescribeChannelModeratedByAppInstanceUserResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: DescribeChannelModeratedByAppInstanceUserResponse
s@DescribeChannelModeratedByAppInstanceUserResponse' {} Int
a -> DescribeChannelModeratedByAppInstanceUserResponse
s {$sel:httpStatus:DescribeChannelModeratedByAppInstanceUserResponse' :: Int
httpStatus = Int
a} :: DescribeChannelModeratedByAppInstanceUserResponse)
instance
Prelude.NFData
DescribeChannelModeratedByAppInstanceUserResponse