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