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 |
Immediately makes a channel and its memberships inaccessible and marks them for deletion. This is an irreversible process.
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 DeleteChannel = DeleteChannel' {
- chimeBearer :: Maybe Text
- channelArn :: Text
- newDeleteChannel :: Text -> DeleteChannel
- deleteChannel_chimeBearer :: Lens' DeleteChannel (Maybe Text)
- deleteChannel_channelArn :: Lens' DeleteChannel Text
- data DeleteChannelResponse = DeleteChannelResponse' {
- newDeleteChannelResponse :: DeleteChannelResponse
Creating a Request
data DeleteChannel Source #
See: newDeleteChannel
smart constructor.
DeleteChannel' | |
|
Instances
Create a value of DeleteChannel
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:DeleteChannel'
, deleteChannel_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
$sel:channelArn:DeleteChannel'
, deleteChannel_channelArn
- The ARN of the channel being deleted.
Request Lenses
deleteChannel_chimeBearer :: Lens' DeleteChannel (Maybe Text) Source #
The AppInstanceUserArn
of the user that makes the API call.
deleteChannel_channelArn :: Lens' DeleteChannel Text Source #
The ARN of the channel being deleted.
Destructuring the Response
data DeleteChannelResponse Source #
See: newDeleteChannelResponse
smart constructor.
Instances
Eq DeleteChannelResponse Source # | |
Defined in Amazonka.Chime.DeleteChannel (==) :: DeleteChannelResponse -> DeleteChannelResponse -> Bool # (/=) :: DeleteChannelResponse -> DeleteChannelResponse -> Bool # | |
Read DeleteChannelResponse Source # | |
Show DeleteChannelResponse Source # | |
Defined in Amazonka.Chime.DeleteChannel showsPrec :: Int -> DeleteChannelResponse -> ShowS # show :: DeleteChannelResponse -> String # showList :: [DeleteChannelResponse] -> ShowS # | |
Generic DeleteChannelResponse Source # | |
Defined in Amazonka.Chime.DeleteChannel type Rep DeleteChannelResponse :: Type -> Type # | |
NFData DeleteChannelResponse Source # | |
Defined in Amazonka.Chime.DeleteChannel rnf :: DeleteChannelResponse -> () # | |
type Rep DeleteChannelResponse Source # | |
newDeleteChannelResponse :: DeleteChannelResponse Source #
Create a value of DeleteChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.