#[non_exhaustive]pub struct DataSourceConfiguration {
pub opensearch_configuration: Option<OpensearchConfiguration>,
pub kendra_configuration: Option<QnAKendraConfiguration>,
pub bedrock_knowledge_store_configuration: Option<BedrockKnowledgeStoreConfiguration>,
}
Expand description
Contains details about the configuration of the knowledge store used for the AMAZON.QnAIntent
. You must have already created the knowledge store and indexed the documents within it.
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.opensearch_configuration: Option<OpensearchConfiguration>
Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent
. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.
kendra_configuration: Option<QnAKendraConfiguration>
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent
. To create a Amazon Kendra index, follow the steps at Creating an index.
bedrock_knowledge_store_configuration: Option<BedrockKnowledgeStoreConfiguration>
Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent
. To set up a knowledge base, follow the steps at Building a knowledge base.
Implementations§
source§impl DataSourceConfiguration
impl DataSourceConfiguration
sourcepub fn opensearch_configuration(&self) -> Option<&OpensearchConfiguration>
pub fn opensearch_configuration(&self) -> Option<&OpensearchConfiguration>
Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent
. To create a domain, follow the steps at Creating and managing Amazon OpenSearch Service domains.
sourcepub fn kendra_configuration(&self) -> Option<&QnAKendraConfiguration>
pub fn kendra_configuration(&self) -> Option<&QnAKendraConfiguration>
Contains details about the configuration of the Amazon Kendra index used for the AMAZON.QnAIntent
. To create a Amazon Kendra index, follow the steps at Creating an index.
sourcepub fn bedrock_knowledge_store_configuration(
&self
) -> Option<&BedrockKnowledgeStoreConfiguration>
pub fn bedrock_knowledge_store_configuration( &self ) -> Option<&BedrockKnowledgeStoreConfiguration>
Contains details about the configuration of the Amazon Bedrock knowledge base used for the AMAZON.QnAIntent
. To set up a knowledge base, follow the steps at Building a knowledge base.
source§impl DataSourceConfiguration
impl DataSourceConfiguration
sourcepub fn builder() -> DataSourceConfigurationBuilder
pub fn builder() -> DataSourceConfigurationBuilder
Creates a new builder-style object to manufacture DataSourceConfiguration
.
Trait Implementations§
source§impl Clone for DataSourceConfiguration
impl Clone for DataSourceConfiguration
source§fn clone(&self) -> DataSourceConfiguration
fn clone(&self) -> DataSourceConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataSourceConfiguration
impl Debug for DataSourceConfiguration
source§impl PartialEq for DataSourceConfiguration
impl PartialEq for DataSourceConfiguration
source§fn eq(&self, other: &DataSourceConfiguration) -> bool
fn eq(&self, other: &DataSourceConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataSourceConfiguration
Auto Trait Implementations§
impl Freeze for DataSourceConfiguration
impl RefUnwindSafe for DataSourceConfiguration
impl Send for DataSourceConfiguration
impl Sync for DataSourceConfiguration
impl Unpin for DataSourceConfiguration
impl UnwindSafe for DataSourceConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more