amazonka-chime-sdk-messaging-2.0: Amazon Chime SDK Messaging SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.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

AWSRequest CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Associated Types

type AWSResponse CreateChannelFlow #

Generic CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Associated Types

type Rep CreateChannelFlow :: Type -> Type #

Show CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

NFData CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Methods

rnf :: CreateChannelFlow -> () #

Eq CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Hashable CreateChannelFlow Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

type AWSResponse 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" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" '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))))))

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.

CreateChannelFlow, createChannelFlow_processors - Information about the processor Lambda functions.

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
Generic CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Associated Types

type Rep CreateChannelFlowResponse :: Type -> Type #

Read CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Show CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

NFData CreateChannelFlowResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.CreateChannelFlow

Eq 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" "amazonka-chime-sdk-messaging-2.0-BxY1AbjLoDB4AQUv82PCQZ" '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:

CreateChannelFlowResponse, createChannelFlowResponse_channelFlowArn - The ARN of the channel flow.

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

Response Lenses