| 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.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' {
- subChannelId :: Maybe Text
- channelArn :: Text
- chimeBearer :: Text
- newDeleteChannel :: Text -> Text -> DeleteChannel
- deleteChannel_subChannelId :: Lens' DeleteChannel (Maybe Text)
- 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:
DeleteChannel, deleteChannel_subChannelId - The ID of the SubChannel in the request.
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_subChannelId :: Lens' DeleteChannel (Maybe Text) Source #
The ID of the SubChannel in the request.
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.