Struct aws_sdk_qconnect::types::KnowledgeBaseSummary
source · #[non_exhaustive]pub struct KnowledgeBaseSummary {
pub knowledge_base_id: String,
pub knowledge_base_arn: String,
pub name: String,
pub knowledge_base_type: KnowledgeBaseType,
pub status: KnowledgeBaseStatus,
pub source_configuration: Option<SourceConfiguration>,
pub rendering_configuration: Option<RenderingConfiguration>,
pub server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>,
pub description: Option<String>,
pub tags: Option<HashMap<String, String>>,
}Expand description
Summary information about the knowledge base.
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.knowledge_base_id: StringThe identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.
knowledge_base_arn: StringThe Amazon Resource Name (ARN) of the knowledge base.
name: StringThe name of the knowledge base.
knowledge_base_type: KnowledgeBaseTypeThe type of knowledge base.
status: KnowledgeBaseStatusThe status of the knowledge base summary.
source_configuration: Option<SourceConfiguration>Configuration information about the external data source.
rendering_configuration: Option<RenderingConfiguration>Information about how to render the content.
server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>The configuration information for the customer managed key used for encryption.
This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q.
For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.
description: Option<String>The description of the knowledge base.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl KnowledgeBaseSummary
impl KnowledgeBaseSummary
sourcepub fn knowledge_base_id(&self) -> &str
pub fn knowledge_base_id(&self) -> &str
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.
sourcepub fn knowledge_base_arn(&self) -> &str
pub fn knowledge_base_arn(&self) -> &str
The Amazon Resource Name (ARN) of the knowledge base.
sourcepub fn knowledge_base_type(&self) -> &KnowledgeBaseType
pub fn knowledge_base_type(&self) -> &KnowledgeBaseType
The type of knowledge base.
sourcepub fn status(&self) -> &KnowledgeBaseStatus
pub fn status(&self) -> &KnowledgeBaseStatus
The status of the knowledge base summary.
sourcepub fn source_configuration(&self) -> Option<&SourceConfiguration>
pub fn source_configuration(&self) -> Option<&SourceConfiguration>
Configuration information about the external data source.
sourcepub fn rendering_configuration(&self) -> Option<&RenderingConfiguration>
pub fn rendering_configuration(&self) -> Option<&RenderingConfiguration>
Information about how to render the content.
sourcepub fn server_side_encryption_configuration(
&self
) -> Option<&ServerSideEncryptionConfiguration>
pub fn server_side_encryption_configuration( &self ) -> Option<&ServerSideEncryptionConfiguration>
The configuration information for the customer managed key used for encryption.
This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q.
For more information about setting up a customer managed key for Amazon Q, see Enable Amazon Q in Connect for your instance.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the knowledge base.
The tags used to organize, track, or control access for this resource.
source§impl KnowledgeBaseSummary
impl KnowledgeBaseSummary
sourcepub fn builder() -> KnowledgeBaseSummaryBuilder
pub fn builder() -> KnowledgeBaseSummaryBuilder
Creates a new builder-style object to manufacture KnowledgeBaseSummary.
Trait Implementations§
source§impl Clone for KnowledgeBaseSummary
impl Clone for KnowledgeBaseSummary
source§fn clone(&self) -> KnowledgeBaseSummary
fn clone(&self) -> KnowledgeBaseSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KnowledgeBaseSummary
impl Debug for KnowledgeBaseSummary
source§impl PartialEq for KnowledgeBaseSummary
impl PartialEq for KnowledgeBaseSummary
source§fn eq(&self, other: &KnowledgeBaseSummary) -> bool
fn eq(&self, other: &KnowledgeBaseSummary) -> bool
self and other values to be equal, and is used
by ==.