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 |
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.
DisassociateChannelFlow' | |
|
Instances
newDisassociateChannelFlow Source #
:: 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:
$sel:channelArn:DisassociateChannelFlow'
, disassociateChannelFlow_channelArn
- The ARN of the channel.
$sel:channelFlowArn: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.
Instances
Eq DisassociateChannelFlowResponse Source # | |
Read DisassociateChannelFlowResponse Source # | |
Show DisassociateChannelFlowResponse Source # | |
Generic DisassociateChannelFlowResponse Source # | |
NFData DisassociateChannelFlowResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DisassociateChannelFlow rnf :: DisassociateChannelFlowResponse -> () # | |
type Rep DisassociateChannelFlowResponse Source # | |
Defined in Amazonka.ChimeSDKMessaging.DisassociateChannelFlow type Rep DisassociateChannelFlowResponse = D1 ('MetaData "DisassociateChannelFlowResponse" "Amazonka.ChimeSDKMessaging.DisassociateChannelFlow" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "DisassociateChannelFlowResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDisassociateChannelFlowResponse :: DisassociateChannelFlowResponse Source #
Create a value of DisassociateChannelFlowResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.