Skip to content

/AWS1/CL_CHS=>CREATECHANNELFLOW()

About CreateChannelFlow

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.

Method Signature

IMPORTING

Required arguments:

IV_APPINSTANCEARN TYPE /AWS1/CHSCHIMEARN /AWS1/CHSCHIMEARN

The ARN of the channel flow request.

IT_PROCESSORS TYPE /AWS1/CL_CHSPROCESSOR=>TT_PROCESSORLIST TT_PROCESSORLIST

Information about the processor Lambda functions.

IV_NAME TYPE /AWS1/CHSNONEMPTYRESOURCENAME /AWS1/CHSNONEMPTYRESOURCENAME

The name of the channel flow.

IV_CLIENTREQUESTTOKEN TYPE /AWS1/CHSCLIENTREQUESTTOKEN /AWS1/CHSCLIENTREQUESTTOKEN

The client token for the request. An Idempotency token.

Optional arguments:

IT_TAGS TYPE /AWS1/CL_CHSTAG=>TT_TAGLIST TT_TAGLIST

The tags for the creation request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHSCRECHANNELFLOWRSP /AWS1/CL_CHSCRECHANNELFLOWRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC