Struct aws_sdk_lexmodelsv2::model::KendraConfiguration
source · #[non_exhaustive]pub struct KendraConfiguration { /* private fields */ }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.
Implementations§
source§impl KendraConfiguration
impl KendraConfiguration
sourcepub fn kendra_index(&self) -> Option<&str>
pub fn kendra_index(&self) -> Option<&str>
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.
sourcepub fn query_filter_string_enabled(&self) -> bool
pub fn query_filter_string_enabled(&self) -> bool
Determines whether the AMAZON.KendraSearchIntent intent uses a custom query string to query the Amazon Kendra index.
sourcepub fn query_filter_string(&self) -> Option<&str>
pub fn query_filter_string(&self) -> Option<&str>
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.
source§impl KendraConfiguration
impl KendraConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture KendraConfiguration.
Trait Implementations§
source§impl Clone for KendraConfiguration
impl Clone for KendraConfiguration
source§fn clone(&self) -> KendraConfiguration
fn clone(&self) -> KendraConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KendraConfiguration
impl Debug for KendraConfiguration
source§impl PartialEq<KendraConfiguration> for KendraConfiguration
impl PartialEq<KendraConfiguration> for KendraConfiguration
source§fn eq(&self, other: &KendraConfiguration) -> bool
fn eq(&self, other: &KendraConfiguration) -> bool
self and other values to be equal, and is used
by ==.