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

Description

Calls back Chime SDK Messaging with a processing response message. This should be invoked from the processor Lambda. This is a developer API.

You can return one of the following processing responses:

  • Update message content or metadata
  • Deny a message
  • Make no changes to the message
Synopsis

Creating a Request

data ChannelFlowCallback Source #

See: newChannelFlowCallback smart constructor.

Constructors

ChannelFlowCallback' 

Fields

Instances

Instances details
Eq ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Show ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Generic ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Associated Types

type Rep ChannelFlowCallback :: Type -> Type #

NFData ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Methods

rnf :: ChannelFlowCallback -> () #

Hashable ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

ToJSON ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

AWSRequest ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Associated Types

type AWSResponse ChannelFlowCallback #

ToHeaders ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

ToPath ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

ToQuery ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

type Rep ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

type Rep ChannelFlowCallback = D1 ('MetaData "ChannelFlowCallback" "Amazonka.ChimeSDKMessaging.ChannelFlowCallback" "libZSservicesZSamazonka-chime-sdk-messagingZSamazonka-chime-sdk-messaging" 'False) (C1 ('MetaCons "ChannelFlowCallback'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deleteResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "callbackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "channelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "channelMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChannelMessageCallback))))
type AWSResponse ChannelFlowCallback Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

newChannelFlowCallback Source #

Create a value of ChannelFlowCallback 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:deleteResource:ChannelFlowCallback', channelFlowCallback_deleteResource - When a processor determines that a message needs to be DENIED, pass this parameter with a value of true.

$sel:callbackId:ChannelFlowCallback', channelFlowCallback_callbackId - The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.

$sel:channelArn:ChannelFlowCallback', channelFlowCallback_channelArn - The ARN of the channel.

$sel:channelMessage:ChannelFlowCallback', channelFlowCallback_channelMessage - Stores information about the processed message.

Request Lenses

channelFlowCallback_deleteResource :: Lens' ChannelFlowCallback (Maybe Bool) Source #

When a processor determines that a message needs to be DENIED, pass this parameter with a value of true.

channelFlowCallback_callbackId :: Lens' ChannelFlowCallback Text Source #

The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.

Destructuring the Response

data ChannelFlowCallbackResponse Source #

See: newChannelFlowCallbackResponse smart constructor.

Constructors

ChannelFlowCallbackResponse' 

Fields

Instances

Instances details
Eq ChannelFlowCallbackResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Read ChannelFlowCallbackResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Show ChannelFlowCallbackResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Generic ChannelFlowCallbackResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

Associated Types

type Rep ChannelFlowCallbackResponse :: Type -> Type #

NFData ChannelFlowCallbackResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

type Rep ChannelFlowCallbackResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKMessaging.ChannelFlowCallback

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

newChannelFlowCallbackResponse Source #

Create a value of ChannelFlowCallbackResponse 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:callbackId:ChannelFlowCallback', channelFlowCallbackResponse_callbackId - The call back ID passed in the request.

$sel:channelArn:ChannelFlowCallback', channelFlowCallbackResponse_channelArn - The ARN of the channel.

$sel:httpStatus:ChannelFlowCallbackResponse', channelFlowCallbackResponse_httpStatus - The response's http status code.

Response Lenses