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 |
Deletes a channel moderator.
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 DeleteChannelModerator = DeleteChannelModerator' {}
- newDeleteChannelModerator :: Text -> Text -> DeleteChannelModerator
- deleteChannelModerator_chimeBearer :: Lens' DeleteChannelModerator (Maybe Text)
- deleteChannelModerator_channelArn :: Lens' DeleteChannelModerator Text
- deleteChannelModerator_channelModeratorArn :: Lens' DeleteChannelModerator Text
- data DeleteChannelModeratorResponse = DeleteChannelModeratorResponse' {
- newDeleteChannelModeratorResponse :: DeleteChannelModeratorResponse
Creating a Request
data DeleteChannelModerator Source #
See: newDeleteChannelModerator
smart constructor.
DeleteChannelModerator' | |
|
Instances
newDeleteChannelModerator Source #
:: Text | |
-> Text | |
-> DeleteChannelModerator |
Create a value of DeleteChannelModerator
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:DeleteChannelModerator'
, deleteChannelModerator_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
$sel:channelArn:DeleteChannelModerator'
, deleteChannelModerator_channelArn
- The ARN of the channel.
$sel:channelModeratorArn:DeleteChannelModerator'
, deleteChannelModerator_channelModeratorArn
- The ARN of the moderator being deleted.
Request Lenses
deleteChannelModerator_chimeBearer :: Lens' DeleteChannelModerator (Maybe Text) Source #
The AppInstanceUserArn
of the user that makes the API call.
deleteChannelModerator_channelArn :: Lens' DeleteChannelModerator Text Source #
The ARN of the channel.
deleteChannelModerator_channelModeratorArn :: Lens' DeleteChannelModerator Text Source #
The ARN of the moderator being deleted.
Destructuring the Response
data DeleteChannelModeratorResponse Source #
See: newDeleteChannelModeratorResponse
smart constructor.
Instances
newDeleteChannelModeratorResponse :: DeleteChannelModeratorResponse Source #
Create a value of DeleteChannelModeratorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.