#[non_exhaustive]pub struct CreateKnowledgeBaseInput {
pub client_token: Option<String>,
pub name: Option<String>,
pub knowledge_base_type: Option<KnowledgeBaseType>,
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>>,
}
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.client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
name: Option<String>
The name of the knowledge base.
knowledge_base_type: Option<KnowledgeBaseType>
The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
source_configuration: Option<SourceConfiguration>
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
rendering_configuration: Option<RenderingConfiguration>
Information about how to render the content.
server_side_encryption_configuration: Option<ServerSideEncryptionConfiguration>
The KMS key used for encryption.
description: Option<String>
The description.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl CreateKnowledgeBaseInput
impl CreateKnowledgeBaseInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn knowledge_base_type(&self) -> Option<&KnowledgeBaseType>
pub fn knowledge_base_type(&self) -> Option<&KnowledgeBaseType>
The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
sourcepub fn source_configuration(&self) -> Option<&SourceConfiguration>
pub fn source_configuration(&self) -> Option<&SourceConfiguration>
The source of the knowledge base content. Only set this argument for EXTERNAL knowledge bases.
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 KMS key used for encryption.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description.
The tags used to organize, track, or control access for this resource.
source§impl CreateKnowledgeBaseInput
impl CreateKnowledgeBaseInput
sourcepub fn builder() -> CreateKnowledgeBaseInputBuilder
pub fn builder() -> CreateKnowledgeBaseInputBuilder
Creates a new builder-style object to manufacture CreateKnowledgeBaseInput
.
Trait Implementations§
source§impl Clone for CreateKnowledgeBaseInput
impl Clone for CreateKnowledgeBaseInput
source§fn clone(&self) -> CreateKnowledgeBaseInput
fn clone(&self) -> CreateKnowledgeBaseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateKnowledgeBaseInput
impl Debug for CreateKnowledgeBaseInput
source§impl PartialEq<CreateKnowledgeBaseInput> for CreateKnowledgeBaseInput
impl PartialEq<CreateKnowledgeBaseInput> for CreateKnowledgeBaseInput
source§fn eq(&self, other: &CreateKnowledgeBaseInput) -> bool
fn eq(&self, other: &CreateKnowledgeBaseInput) -> bool
self
and other
values to be equal, and is used
by ==
.