| 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.DisassociateChannelFlow
Description
Disassociates a channel flow from all its channels. Once disassociated, all messages to that channel stop going through the channel flow processor.
Only administrators or channel moderators can disassociate a channel
flow. 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 DisassociateChannelFlow = DisassociateChannelFlow' {
- channelArn :: Text
- channelFlowArn :: Text
- chimeBearer :: Text
- newDisassociateChannelFlow :: Text -> Text -> Text -> DisassociateChannelFlow
- disassociateChannelFlow_channelArn :: Lens' DisassociateChannelFlow Text
- disassociateChannelFlow_channelFlowArn :: Lens' DisassociateChannelFlow Text
- disassociateChannelFlow_chimeBearer :: Lens' DisassociateChannelFlow Text
- data DisassociateChannelFlowResponse = DisassociateChannelFlowResponse' {
- newDisassociateChannelFlowResponse :: DisassociateChannelFlowResponse
Creating a Request
data DisassociateChannelFlow Source #
See: newDisassociateChannelFlow smart constructor.
Constructors
| DisassociateChannelFlow' | |
Fields
| |
Instances
newDisassociateChannelFlow Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> DisassociateChannelFlow |
Create a value of DisassociateChannelFlow 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:
DisassociateChannelFlow, disassociateChannelFlow_channelArn - The ARN of the channel.
DisassociateChannelFlow, disassociateChannelFlow_channelFlowArn - The ARN of the channel flow.
$sel:chimeBearer:DisassociateChannelFlow', disassociateChannelFlow_chimeBearer - The AppInstanceUserArn of the user making the API call.
Request Lenses
disassociateChannelFlow_channelArn :: Lens' DisassociateChannelFlow Text Source #
The ARN of the channel.
disassociateChannelFlow_channelFlowArn :: Lens' DisassociateChannelFlow Text Source #
The ARN of the channel flow.
disassociateChannelFlow_chimeBearer :: Lens' DisassociateChannelFlow Text Source #
The AppInstanceUserArn of the user making the API call.
Destructuring the Response
data DisassociateChannelFlowResponse Source #
See: newDisassociateChannelFlowResponse smart constructor.
Constructors
| DisassociateChannelFlowResponse' | |
Instances
| Generic DisassociateChannelFlowResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DisassociateChannelFlow Associated Types type Rep DisassociateChannelFlowResponse :: Type -> Type # | |
| Read DisassociateChannelFlowResponse Source # | |
| Show DisassociateChannelFlowResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DisassociateChannelFlow Methods showsPrec :: Int -> DisassociateChannelFlowResponse -> ShowS # | |
| NFData DisassociateChannelFlowResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DisassociateChannelFlow Methods rnf :: DisassociateChannelFlowResponse -> () # | |
| Eq DisassociateChannelFlowResponse Source # | |
| type Rep DisassociateChannelFlowResponse Source # | |
newDisassociateChannelFlowResponse :: DisassociateChannelFlowResponse Source #
Create a value of DisassociateChannelFlowResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.