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 -> Text -> DescribeChannelModeratedByAppInstanceUser
- describeChannelModeratedByAppInstanceUser_channelArn :: Lens' DescribeChannelModeratedByAppInstanceUser Text
- describeChannelModeratedByAppInstanceUser_appInstanceUserArn :: Lens' DescribeChannelModeratedByAppInstanceUser Text
- describeChannelModeratedByAppInstanceUser_chimeBearer :: 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 |
|
-> 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:channelArn:DescribeChannelModeratedByAppInstanceUser'
, describeChannelModeratedByAppInstanceUser_channelArn
- The ARN of the moderated channel.
$sel:appInstanceUserArn:DescribeChannelModeratedByAppInstanceUser'
, describeChannelModeratedByAppInstanceUser_appInstanceUserArn
- The ARN of the AppInstanceUser
in the moderated channel.
$sel:chimeBearer:DescribeChannelModeratedByAppInstanceUser'
, describeChannelModeratedByAppInstanceUser_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
Request Lenses
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.
describeChannelModeratedByAppInstanceUser_chimeBearer :: Lens' DescribeChannelModeratedByAppInstanceUser Text Source #
The AppInstanceUserArn
of the user that makes the API call.
Destructuring the Response
data DescribeChannelModeratedByAppInstanceUserResponse Source #
See: newDescribeChannelModeratedByAppInstanceUserResponse
smart constructor.
DescribeChannelModeratedByAppInstanceUserResponse' | |
|
Instances
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.