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 single ChannelModerator.
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 DescribeChannelModerator = DescribeChannelModerator' {}
- newDescribeChannelModerator :: Text -> Text -> DescribeChannelModerator
- describeChannelModerator_chimeBearer :: Lens' DescribeChannelModerator (Maybe Text)
- describeChannelModerator_channelArn :: Lens' DescribeChannelModerator Text
- describeChannelModerator_channelModeratorArn :: Lens' DescribeChannelModerator Text
- data DescribeChannelModeratorResponse = DescribeChannelModeratorResponse' {}
- newDescribeChannelModeratorResponse :: Int -> DescribeChannelModeratorResponse
- describeChannelModeratorResponse_channelModerator :: Lens' DescribeChannelModeratorResponse (Maybe ChannelModerator)
- describeChannelModeratorResponse_httpStatus :: Lens' DescribeChannelModeratorResponse Int
Creating a Request
data DescribeChannelModerator Source #
See: newDescribeChannelModerator
smart constructor.
DescribeChannelModerator' | |
|
Instances
newDescribeChannelModerator Source #
:: Text | |
-> Text | |
-> DescribeChannelModerator |
Create a value of DescribeChannelModerator
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:DescribeChannelModerator'
, describeChannelModerator_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
$sel:channelArn:DescribeChannelModerator'
, describeChannelModerator_channelArn
- The ARN of the channel.
$sel:channelModeratorArn:DescribeChannelModerator'
, describeChannelModerator_channelModeratorArn
- The ARN of the channel moderator.
Request Lenses
describeChannelModerator_chimeBearer :: Lens' DescribeChannelModerator (Maybe Text) Source #
The AppInstanceUserArn
of the user that makes the API call.
describeChannelModerator_channelArn :: Lens' DescribeChannelModerator Text Source #
The ARN of the channel.
describeChannelModerator_channelModeratorArn :: Lens' DescribeChannelModerator Text Source #
The ARN of the channel moderator.
Destructuring the Response
data DescribeChannelModeratorResponse Source #
See: newDescribeChannelModeratorResponse
smart constructor.
DescribeChannelModeratorResponse' | |
|
Instances
Eq DescribeChannelModeratorResponse Source # | |
Show DescribeChannelModeratorResponse Source # | |
Defined in Amazonka.Chime.DescribeChannelModerator | |
Generic DescribeChannelModeratorResponse Source # | |
NFData DescribeChannelModeratorResponse Source # | |
Defined in Amazonka.Chime.DescribeChannelModerator rnf :: DescribeChannelModeratorResponse -> () # | |
type Rep DescribeChannelModeratorResponse Source # | |
Defined in Amazonka.Chime.DescribeChannelModerator type Rep DescribeChannelModeratorResponse = D1 ('MetaData "DescribeChannelModeratorResponse" "Amazonka.Chime.DescribeChannelModerator" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "DescribeChannelModeratorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelModerator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChannelModerator)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeChannelModeratorResponse Source #
Create a value of DescribeChannelModeratorResponse
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:channelModerator:DescribeChannelModeratorResponse'
, describeChannelModeratorResponse_channelModerator
- The details of the channel moderator.
$sel:httpStatus:DescribeChannelModeratorResponse'
, describeChannelModeratorResponse_httpStatus
- The response's http status code.
Response Lenses
describeChannelModeratorResponse_channelModerator :: Lens' DescribeChannelModeratorResponse (Maybe ChannelModerator) Source #
The details of the channel moderator.
describeChannelModeratorResponse_httpStatus :: Lens' DescribeChannelModeratorResponse Int Source #
The response's http status code.