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.CreateChannelFlow

Description

Creates a channel flow, a container for processors. Processors are AWS Lambda functions that perform actions on chat messages, such as stripping out profanity. You can associate channel flows with channels, and the processors in the channel flow then take action on all messages sent to that channel. This is a developer API.

Channel flows process the following items:

  1. New and updated messages
  2. Persistent and non-persistent messages
  3. The Standard message type

Channel flows don't process Control or System messages. For more information about the message types provided by Chime SDK Messaging, refer to Message types in the Amazon Chime developer guide.

Synopsis

Creating a Request

data CreateChannelFlow Source #

See: newCreateChannelFlow smart constructor.

Constructors

CreateChannelFlow' 

Fields

Instances

Instances details
Eq CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Show CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Generic CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Associated Types

type Rep CreateChannelFlow :: Type -> Type #

NFData CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Methods

rnf :: CreateChannelFlow -> () #

Hashable CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

ToJSON CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

AWSRequest CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Associated Types

type AWSResponse CreateChannelFlow #

ToHeaders CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

ToPath CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

ToQuery CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

type Rep CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

type Rep CreateChannelFlow = D1 ('MetaData "CreateChannelFlow" "Amazonka.ChimeSDKMessaging.CreateChannelFlow" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "CreateChannelFlow'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "appInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "processors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Processor)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))))
type AWSResponse CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

newCreateChannelFlow Source #

Create a value of CreateChannelFlow 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:tags:CreateChannelFlow', createChannelFlow_tags - The tags for the creation request.

$sel:appInstanceArn:CreateChannelFlow', createChannelFlow_appInstanceArn - The ARN of the channel flow request.

$sel:processors:CreateChannelFlow', createChannelFlow_processors - Information about the processor Lambda functions.

$sel:name:CreateChannelFlow', createChannelFlow_name - The name of the channel flow.

$sel:clientRequestToken:CreateChannelFlow', createChannelFlow_clientRequestToken - The client token for the request. An Idempotency token.

Request Lenses

createChannelFlow_tags :: Lens' CreateChannelFlow (Maybe (NonEmpty Tag)) Source #

The tags for the creation request.

createChannelFlow_appInstanceArn :: Lens' CreateChannelFlow Text Source #

The ARN of the channel flow request.

createChannelFlow_processors :: Lens' CreateChannelFlow (NonEmpty Processor) Source #

Information about the processor Lambda functions.

createChannelFlow_name :: Lens' CreateChannelFlow Text Source #

The name of the channel flow.

createChannelFlow_clientRequestToken :: Lens' CreateChannelFlow Text Source #

The client token for the request. An Idempotency token.

Destructuring the Response

data CreateChannelFlowResponse Source #

See: newCreateChannelFlowResponse smart constructor.

Constructors

CreateChannelFlowResponse' 

Fields

Instances

Instances details
Eq CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Read CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Show CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Generic CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Associated Types

type Rep CreateChannelFlowResponse :: Type -> Type #

NFData CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

type Rep CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

type Rep CreateChannelFlowResponse = D1 ('MetaData "CreateChannelFlowResponse" "Amazonka.ChimeSDKMessaging.CreateChannelFlow" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "CreateChannelFlowResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "channelFlowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateChannelFlowResponse Source #

Create a value of CreateChannelFlowResponse 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:channelFlowArn:CreateChannelFlowResponse', createChannelFlowResponse_channelFlowArn - The ARN of the channel flow.

$sel:httpStatus:CreateChannelFlowResponse', createChannelFlowResponse_httpStatus - The response's http status code.

Response Lenses