libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Description

Associates a channel flow with a channel. Once associated, all messages to that channel go through channel flow processors. To stop processing, use the DisassociateChannelFlow API.

Only administrators or channel moderators can associate 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

Creating a Request

data AssociateChannelFlow Source #

See: newAssociateChannelFlow smart constructor.

Constructors

AssociateChannelFlow' 

Fields

Instances

Instances details
Eq AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Read AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Show AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Generic AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Associated Types

type Rep AssociateChannelFlow :: Type -> Type #

NFData AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Methods

rnf :: AssociateChannelFlow -> () #

Hashable AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

ToJSON AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

AWSRequest AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Associated Types

type AWSResponse AssociateChannelFlow #

ToHeaders AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

ToPath AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

ToQuery AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

type Rep AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

type Rep AssociateChannelFlow = D1 ('MetaData "AssociateChannelFlow" "Amazonka.ChimeSDKMessaging.AssociateChannelFlow" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "AssociateChannelFlow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "channelFlowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "chimeBearer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AssociateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

newAssociateChannelFlow Source #

Create a value of AssociateChannelFlow 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:AssociateChannelFlow', associateChannelFlow_channelArn - The ARN of the channel.

$sel:channelFlowArn:AssociateChannelFlow', associateChannelFlow_channelFlowArn - The ARN of the channel flow.

$sel:chimeBearer:AssociateChannelFlow', associateChannelFlow_chimeBearer - The AppInstanceUserArn of the user making the API call.

Request Lenses

associateChannelFlow_chimeBearer :: Lens' AssociateChannelFlow Text Source #

The AppInstanceUserArn of the user making the API call.

Destructuring the Response

data AssociateChannelFlowResponse Source #

See: newAssociateChannelFlowResponse smart constructor.

Instances

Instances details
Eq AssociateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Read AssociateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Show AssociateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Generic AssociateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

Associated Types

type Rep AssociateChannelFlowResponse :: Type -> Type #

NFData AssociateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

type Rep AssociateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.AssociateChannelFlow

type Rep AssociateChannelFlowResponse = D1 ('MetaData "AssociateChannelFlowResponse" "Amazonka.ChimeSDKMessaging.AssociateChannelFlow" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "AssociateChannelFlowResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAssociateChannelFlowResponse :: AssociateChannelFlowResponse Source #

Create a value of AssociateChannelFlowResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.