Skip to content

MessageReviewHandler

Source code in docs_src/capo_ivschat/types/message_review_handler.py
class MessageReviewHandler(TypedDict, closed=True):
    uri: NotRequired["capo_ivschat.types.lambda_arn.LambdaArn"]
    """<p>Identifier of the message review handler. Currently this must be an ARN of a lambda function.</p>"""
    fallback_result: NotRequired["capo_ivschat.types.fallback_result.FallbackResult"]
    """<p>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 <a href="https://docs.aws.amazon.com/ivs/latest/userguide/service-quotas.html"> Service Quotas</a>.) 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: <code>ALLOW</code>.</p>"""

fallback_result instance-attribute

fallback_result: NotRequired[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 instance-attribute

uri: NotRequired[LambdaArn]

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