#[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 configuration information for the customer managed key used for encryption.
This KMS key must have a policy that allows kms:CreateGrant
, kms:DescribeKey
, and kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
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 configuration information for the customer managed key used for encryption.
This KMS key must have a policy that allows kms:CreateGrant
, kms:DescribeKey
, and kms:Decrypt/kms:GenerateDataKey
permissions to the IAM identity using the key to invoke Wisdom.
For more information about setting up a customer managed key for Wisdom, see Enable Amazon Connect Wisdom for your instance.
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 for CreateKnowledgeBaseInput
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateKnowledgeBaseInput
Auto Trait Implementations§
impl Freeze for CreateKnowledgeBaseInput
impl RefUnwindSafe for CreateKnowledgeBaseInput
impl Send for CreateKnowledgeBaseInput
impl Sync for CreateKnowledgeBaseInput
impl Unpin for CreateKnowledgeBaseInput
impl UnwindSafe for CreateKnowledgeBaseInput
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