Struct aws_sdk_chimesdkidentity::types::LexConfiguration
source · #[non_exhaustive]pub struct LexConfiguration {
pub responds_to: Option<RespondsTo>,
pub invoked_by: Option<InvokedBy>,
pub lex_bot_alias_arn: String,
pub locale_id: String,
pub welcome_intent: Option<String>,
}Expand description
The configuration for an Amazon Lex V2 bot.
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.responds_to: Option<RespondsTo>Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
invoked_by: Option<InvokedBy>Specifies the type of message that triggers a bot.
lex_bot_alias_arn: StringThe ARN of the Amazon Lex V2 bot's alias. The ARN uses this format: arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
locale_id: StringIdentifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.
welcome_intent: Option<String>The name of the welcome intent configured in the Amazon Lex V2 bot.
Implementations§
source§impl LexConfiguration
impl LexConfiguration
sourcepub fn responds_to(&self) -> Option<&RespondsTo>
pub fn responds_to(&self) -> Option<&RespondsTo>
Deprecated. Use InvokedBy instead.
Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.
sourcepub fn invoked_by(&self) -> Option<&InvokedBy>
pub fn invoked_by(&self) -> Option<&InvokedBy>
Specifies the type of message that triggers a bot.
sourcepub fn lex_bot_alias_arn(&self) -> &str
pub fn lex_bot_alias_arn(&self) -> &str
The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format: arn:aws:lex:REGION:ACCOUNT:bot-alias/MYBOTID/MYBOTALIAS
sourcepub fn locale_id(&self) -> &str
pub fn locale_id(&self) -> &str
Identifies the Amazon Lex V2 bot's language and locale. The string must match one of the supported locales in Amazon Lex V2. All of the intents, slot types, and slots used in the bot must have the same locale. For more information, see Supported languages in the Amazon Lex V2 Developer Guide.
sourcepub fn welcome_intent(&self) -> Option<&str>
pub fn welcome_intent(&self) -> Option<&str>
The name of the welcome intent configured in the Amazon Lex V2 bot.
source§impl LexConfiguration
impl LexConfiguration
sourcepub fn builder() -> LexConfigurationBuilder
pub fn builder() -> LexConfigurationBuilder
Creates a new builder-style object to manufacture LexConfiguration.
Trait Implementations§
source§impl Clone for LexConfiguration
impl Clone for LexConfiguration
source§fn clone(&self) -> LexConfiguration
fn clone(&self) -> LexConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LexConfiguration
impl Debug for LexConfiguration
source§impl PartialEq for LexConfiguration
impl PartialEq for LexConfiguration
source§fn eq(&self, other: &LexConfiguration) -> bool
fn eq(&self, other: &LexConfiguration) -> bool
self and other values to be equal, and is used
by ==.