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 |
Amazonka.ChimeSDKMessaging.DeleteChannel
Description
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' {
- channelArn :: Text
- chimeBearer :: Text
- newDeleteChannel :: Text -> Text -> DeleteChannel
- deleteChannel_channelArn :: Lens' DeleteChannel Text
- deleteChannel_chimeBearer :: Lens' DeleteChannel Text
- data DeleteChannelResponse = DeleteChannelResponse' {
- newDeleteChannelResponse :: DeleteChannelResponse
Creating a Request
data DeleteChannel Source #
See: newDeleteChannel
smart constructor.
Constructors
DeleteChannel' | |
Fields
|
Instances
Arguments
:: Text | |
-> Text | |
-> DeleteChannel |
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:channelArn:DeleteChannel'
, deleteChannel_channelArn
- The ARN of the channel being deleted.
$sel:chimeBearer:DeleteChannel'
, deleteChannel_chimeBearer
- The AppInstanceUserArn
of the user that makes the API call.
Request Lenses
deleteChannel_channelArn :: Lens' DeleteChannel Text Source #
The ARN of the channel being deleted.
deleteChannel_chimeBearer :: Lens' DeleteChannel Text Source #
The AppInstanceUserArn
of the user that makes the API call.
Destructuring the Response
data DeleteChannelResponse Source #
See: newDeleteChannelResponse
smart constructor.
Constructors
DeleteChannelResponse' | |
Instances
newDeleteChannelResponse :: DeleteChannelResponse Source #
Create a value of DeleteChannelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.