| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ChimeSDKMessaging.DescribeChannelModerator
Description
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 -> Text -> DescribeChannelModerator
- describeChannelModerator_channelArn :: Lens' DescribeChannelModerator Text
- describeChannelModerator_channelModeratorArn :: Lens' DescribeChannelModerator Text
- describeChannelModerator_chimeBearer :: 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.
Constructors
| DescribeChannelModerator' | |
Fields
| |
Instances
newDescribeChannelModerator Source #
Arguments
| :: Text | |
| -> 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:
DescribeChannelModerator, describeChannelModerator_channelArn - The ARN of the channel.
$sel:channelModeratorArn:DescribeChannelModerator', describeChannelModerator_channelModeratorArn - The AppInstanceUserArn of the channel moderator.
$sel:chimeBearer:DescribeChannelModerator', describeChannelModerator_chimeBearer - The AppInstanceUserArn of the user that makes the API call.
Request Lenses
describeChannelModerator_channelArn :: Lens' DescribeChannelModerator Text Source #
The ARN of the channel.
describeChannelModerator_channelModeratorArn :: Lens' DescribeChannelModerator Text Source #
The AppInstanceUserArn of the channel moderator.
describeChannelModerator_chimeBearer :: Lens' DescribeChannelModerator Text Source #
The AppInstanceUserArn of the user that makes the API call.
Destructuring the Response
data DescribeChannelModeratorResponse Source #
See: newDescribeChannelModeratorResponse smart constructor.
Constructors
| DescribeChannelModeratorResponse' | |
Fields
| |
Instances
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.