Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns the full details of a channel moderated by the specified
AppInstanceUser
.
The x-amz-chime-bearer
request header is mandatory. Use the
AppInstanceUserArn
of the user that makes the API call as the value in
the header.
Synopsis
- data DescribeChannelModeratedByAppInstanceUser = DescribeChannelModeratedByAppInstanceUser' {}
- newDescribeChannelModeratedByAppInstanceUser :: Text -> Text -> DescribeChannelModeratedByAppInstanceUser
- describeChannelModeratedByAppInstanceUser_chimeBearer :: Lens' DescribeChannelModeratedByAppInstanceUser (Maybe Text)
- describeChannelModeratedByAppInstanceUser_channelArn :: Lens' DescribeChannelModeratedByAppInstanceUser Text
- describeChannelModeratedByAppInstanceUser_appInstanceUserArn :: Lens' DescribeChannelModeratedByAppInstanceUser Text
- data DescribeChannelModeratedByAppInstanceUserResponse = DescribeChannelModeratedByAppInstanceUserResponse' {}
- newDescribeChannelModeratedByAppInstanceUserResponse :: Int -> DescribeChannelModeratedByAppInstanceUserResponse
- describeChannelModeratedByAppInstanceUserResponse_channel :: Lens' DescribeChannelModeratedByAppInstanceUserResponse (Maybe ChannelModeratedByAppInstanceUserSummary)
- describeChannelModeratedByAppInstanceUserResponse_httpStatus :: Lens' DescribeChannelModeratedByAppInstanceUserResponse Int
Creating a Request
data DescribeChannelModeratedByAppInstanceUser Source #
See: newDescribeChannelModeratedByAppInstanceUser
smart constructor.
DescribeChannelModeratedByAppInstanceUser' | |
|
Instances
newDescribeChannelModeratedByAppInstanceUser Source #
:: Text | |
-> Text |
|
-> DescribeChannelModeratedByAppInstanceUser |
Create a value of DescribeChannelModeratedByAppInstanceUser
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser'
, describeChannelModeratedByAppInstanceUser_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
$sel:channelArn:DescribeChannelModeratedByAppInstanceUser'
, describeChannelModeratedByAppInstanceUser_channelArn
- The ARN of the moderated channel.
$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser'
, describeChannelModeratedByAppInstanceUser_appInstanceUserArn
- The ARN of the AppInstanceUser
in the moderated channel.
Request Lenses
describeChannelModeratedByAppInstanceUser_chimeBearer :: Lens' DescribeChannelModeratedByAppInstanceUser (Maybe Text) Source #
The AppInstanceUserArn
of the user that makes the API call.
describeChannelModeratedByAppInstanceUser_channelArn :: Lens' DescribeChannelModeratedByAppInstanceUser Text Source #
The ARN of the moderated channel.
describeChannelModeratedByAppInstanceUser_appInstanceUserArn :: Lens' DescribeChannelModeratedByAppInstanceUser Text Source #
The ARN of the AppInstanceUser
in the moderated channel.
Destructuring the Response
data DescribeChannelModeratedByAppInstanceUserResponse Source #
See: newDescribeChannelModeratedByAppInstanceUserResponse
smart constructor.
DescribeChannelModeratedByAppInstanceUserResponse' | |
|
Instances
Eq DescribeChannelModeratedByAppInstanceUserResponse Source # | |
Show DescribeChannelModeratedByAppInstanceUserResponse Source # | |
Generic DescribeChannelModeratedByAppInstanceUserResponse Source # | |
NFData DescribeChannelModeratedByAppInstanceUserResponse Source # | |
type Rep DescribeChannelModeratedByAppInstanceUserResponse Source # | |
Defined in Amazonka.Chime.DescribeChannelModeratedByAppInstanceUser type Rep DescribeChannelModeratedByAppInstanceUserResponse = D1 ('MetaData "DescribeChannelModeratedByAppInstanceUserResponse" "Amazonka.Chime.DescribeChannelModeratedByAppInstanceUser" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "DescribeChannelModeratedByAppInstanceUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelModeratedByAppInstanceUserSummary)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeChannelModeratedByAppInstanceUserResponse Source #
:: Int |
|
-> DescribeChannelModeratedByAppInstanceUserResponse |
Create a value of DescribeChannelModeratedByAppInstanceUserResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channel:DescribeChannelModeratedByAppInstanceUserResponse'
, describeChannelModeratedByAppInstanceUserResponse_channel
- The moderated channel.
$sel:httpStatus:DescribeChannelModeratedByAppInstanceUserResponse'
, describeChannelModeratedByAppInstanceUserResponse_httpStatus
- The response's http status code.
Response Lenses
describeChannelModeratedByAppInstanceUserResponse_channel :: Lens' DescribeChannelModeratedByAppInstanceUserResponse (Maybe ChannelModeratedByAppInstanceUserSummary) Source #
The moderated channel.
describeChannelModeratedByAppInstanceUserResponse_httpStatus :: Lens' DescribeChannelModeratedByAppInstanceUserResponse Int Source #
The response's http status code.