amazonka-ivschat-2.0: Amazon Interactive Video Service Chat 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.IVSChat.Types.MessageReviewHandler

Description

 
Synopsis

Documentation

data MessageReviewHandler Source #

Configuration information for optional message review.

See: newMessageReviewHandler smart constructor.

Constructors

MessageReviewHandler' 

Fields

  • fallbackResult :: Maybe FallbackResult

    Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user. Default: ALLOW.

  • uri :: Maybe Text

    Identifier of the message review handler. Currently this must be an ARN of a lambda function.

Instances

Instances details
FromJSON MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

ToJSON MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

Generic MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

Associated Types

type Rep MessageReviewHandler :: Type -> Type #

Read MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

Show MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

NFData MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

Methods

rnf :: MessageReviewHandler -> () #

Eq MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

Hashable MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

type Rep MessageReviewHandler Source # 
Instance details

Defined in Amazonka.IVSChat.Types.MessageReviewHandler

type Rep MessageReviewHandler = D1 ('MetaData "MessageReviewHandler" "Amazonka.IVSChat.Types.MessageReviewHandler" "amazonka-ivschat-2.0-AB4QlCKEEGt4izEWjWKMb2" 'False) (C1 ('MetaCons "MessageReviewHandler'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fallbackResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FallbackResult)) :*: S1 ('MetaSel ('Just "uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMessageReviewHandler :: MessageReviewHandler Source #

Create a value of MessageReviewHandler 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:fallbackResult:MessageReviewHandler', messageReviewHandler_fallbackResult - Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user. Default: ALLOW.

$sel:uri:MessageReviewHandler', messageReviewHandler_uri - Identifier of the message review handler. Currently this must be an ARN of a lambda function.

messageReviewHandler_fallbackResult :: Lens' MessageReviewHandler (Maybe FallbackResult) Source #

Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user. Default: ALLOW.

messageReviewHandler_uri :: Lens' MessageReviewHandler (Maybe Text) Source #

Identifier of the message review handler. Currently this must be an ARN of a lambda function.