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' {
- chimeBearer :: Maybe Text
- channelArn :: Text
- memberArn :: Text
- newDeleteChannelBan :: Text -> Text -> DeleteChannelBan
- deleteChannelBan_chimeBearer :: Lens' DeleteChannelBan (Maybe Text)
- deleteChannelBan_channelArn :: Lens' DeleteChannelBan Text
- deleteChannelBan_memberArn :: Lens' DeleteChannelBan Text
- data DeleteChannelBanResponse = DeleteChannelBanResponse' {
- newDeleteChannelBanResponse :: DeleteChannelBanResponse
Creating a Request
data DeleteChannelBan Source #
See: newDeleteChannelBan
smart constructor.
DeleteChannelBan' | |
|
Instances
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:chimeBearer:DeleteChannelBan'
, deleteChannelBan_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
$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.
Request Lenses
deleteChannelBan_chimeBearer :: Lens' DeleteChannelBan (Maybe Text) Source #
The AppInstanceUserArn
of the user that makes the API call.
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.
Destructuring the Response
data DeleteChannelBanResponse Source #
See: newDeleteChannelBanResponse
smart constructor.
Instances
Eq DeleteChannelBanResponse Source # | |
Defined in Amazonka.Chime.DeleteChannelBan | |
Read DeleteChannelBanResponse Source # | |
Show DeleteChannelBanResponse Source # | |
Defined in Amazonka.Chime.DeleteChannelBan showsPrec :: Int -> DeleteChannelBanResponse -> ShowS # show :: DeleteChannelBanResponse -> String # showList :: [DeleteChannelBanResponse] -> ShowS # | |
Generic DeleteChannelBanResponse Source # | |
Defined in Amazonka.Chime.DeleteChannelBan type Rep DeleteChannelBanResponse :: Type -> Type # | |
NFData DeleteChannelBanResponse Source # | |
Defined in Amazonka.Chime.DeleteChannelBan rnf :: DeleteChannelBanResponse -> () # | |
type Rep DeleteChannelBanResponse Source # | |
newDeleteChannelBanResponse :: DeleteChannelBanResponse Source #
Create a value of DeleteChannelBanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.