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 -> 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.
DeleteChannelModerator' | |
|
Instances
newDeleteChannelModerator Source #
:: 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.
Instances
Eq DeleteChannelModeratorResponse Source # | |
Read DeleteChannelModeratorResponse Source # | |
Show DeleteChannelModeratorResponse Source # | |
Generic DeleteChannelModeratorResponse Source # | |
NFData DeleteChannelModeratorResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DeleteChannelModerator rnf :: DeleteChannelModeratorResponse -> () # | |
type Rep DeleteChannelModeratorResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DeleteChannelModerator type Rep DeleteChannelModeratorResponse = D1 ('MetaData "DeleteChannelModeratorResponse" "Amazonka.ChimeSDKMessaging.DeleteChannelModerator" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "DeleteChannelModeratorResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteChannelModeratorResponse :: DeleteChannelModeratorResponse Source #
Create a value of DeleteChannelModeratorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.