Struct aws_sdk_lexmodelsv2::model::KendraConfiguration
source · [−]#[non_exhaustive]pub struct KendraConfiguration {
pub kendra_index: Option<String>,
pub query_filter_string_enabled: bool,
pub query_filter_string: Option<String>,
}Expand description
Provides configuration information for the AMAZON.KendraSearchIntent intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance.
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.kendra_index: Option<String>The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot.
query_filter_string_enabled: boolDetermines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
query_filter_string: Option<String>A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
Implementations
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot.
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries.
Creates a new builder-style object to manufacture KendraConfiguration
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for KendraConfiguration
impl Send for KendraConfiguration
impl Sync for KendraConfiguration
impl Unpin for KendraConfiguration
impl UnwindSafe for KendraConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more