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 |
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.
DeleteChannelBan' | |
|
Instances
:: 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:
$sel:channelArn:DeleteChannelBan'
, deleteChannelBan_channelArn
- The ARN of the channel from which the AppInstanceUser
was banned.
$sel:memberArn: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.
Instances
newDeleteChannelBanResponse :: DeleteChannelBanResponse Source #
Create a value of DeleteChannelBanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.