| 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.DeleteChannelBan
Description
Removes a user from a channel's ban list.
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 DeleteChannelBan = DeleteChannelBan' {
- channelArn :: Text
- memberArn :: Text
- chimeBearer :: Text
- newDeleteChannelBan :: Text -> Text -> Text -> DeleteChannelBan
- deleteChannelBan_channelArn :: Lens' DeleteChannelBan Text
- deleteChannelBan_memberArn :: Lens' DeleteChannelBan Text
- deleteChannelBan_chimeBearer :: Lens' DeleteChannelBan Text
- data DeleteChannelBanResponse = DeleteChannelBanResponse' {
- newDeleteChannelBanResponse :: DeleteChannelBanResponse
Creating a Request
data DeleteChannelBan Source #
See: newDeleteChannelBan smart constructor.
Constructors
| DeleteChannelBan' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DeleteChannelBan |
Create a value of DeleteChannelBan 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:
DeleteChannelBan, deleteChannelBan_channelArn - The ARN of the channel from which the AppInstanceUser was banned.
DeleteChannelBan, deleteChannelBan_memberArn - The ARN of the AppInstanceUser that you want to reinstate.
$sel:chimeBearer:DeleteChannelBan', deleteChannelBan_chimeBearer - The AppInstanceUserArn of the user that makes the API call.
Request Lenses
deleteChannelBan_channelArn :: Lens' DeleteChannelBan Text Source #
The ARN of the channel from which the AppInstanceUser was banned.
deleteChannelBan_memberArn :: Lens' DeleteChannelBan Text Source #
The ARN of the AppInstanceUser that you want to reinstate.
deleteChannelBan_chimeBearer :: Lens' DeleteChannelBan Text Source #
The AppInstanceUserArn of the user that makes the API call.
Destructuring the Response
data DeleteChannelBanResponse Source #
See: newDeleteChannelBanResponse smart constructor.
Constructors
| DeleteChannelBanResponse' | |
Instances
newDeleteChannelBanResponse :: DeleteChannelBanResponse Source #
Create a value of DeleteChannelBanResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.