Struct aws_sdk_ivschat::types::MessageReviewHandler
source · #[non_exhaustive]pub struct MessageReviewHandler {
pub uri: Option<String>,
pub fallback_result: Option<FallbackResult>,
}Expand description
Configuration information for optional message review.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.uri: Option<String>Identifier of the message review handler. Currently this must be an ARN of a lambda function.
fallback_result: Option<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.
Implementations§
source§impl MessageReviewHandler
impl MessageReviewHandler
sourcepub fn uri(&self) -> Option<&str>
pub fn uri(&self) -> Option<&str>
Identifier of the message review handler. Currently this must be an ARN of a lambda function.
sourcepub fn fallback_result(&self) -> Option<&FallbackResult>
pub fn fallback_result(&self) -> Option<&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.
source§impl MessageReviewHandler
impl MessageReviewHandler
sourcepub fn builder() -> MessageReviewHandlerBuilder
pub fn builder() -> MessageReviewHandlerBuilder
Creates a new builder-style object to manufacture MessageReviewHandler.
Trait Implementations§
source§impl Clone for MessageReviewHandler
impl Clone for MessageReviewHandler
source§fn clone(&self) -> MessageReviewHandler
fn clone(&self) -> MessageReviewHandler
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MessageReviewHandler
impl Debug for MessageReviewHandler
source§impl PartialEq for MessageReviewHandler
impl PartialEq for MessageReviewHandler
source§fn eq(&self, other: &MessageReviewHandler) -> bool
fn eq(&self, other: &MessageReviewHandler) -> bool
self and other values to be equal, and is used
by ==.