#[non_exhaustive]pub struct CreateKnowledgeBaseInput {
pub client_token: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub role_arn: Option<String>,
pub knowledge_base_configuration: Option<KnowledgeBaseConfiguration>,
pub storage_configuration: Option<StorageConfiguration>,
pub tags: Option<HashMap<String, String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_token: Option<String>Client specified token used for idempotency checks
name: Option<String>Name for a resource.
description: Option<String>Description of the Resource.
role_arn: Option<String>ARN of a IAM role.
knowledge_base_configuration: Option<KnowledgeBaseConfiguration>Configures a bedrock knowledge base.
storage_configuration: Option<StorageConfiguration>Configures the physical storage of ingested data in a knowledge base.
A map of tag keys and values
Implementations§
source§impl CreateKnowledgeBaseInput
impl CreateKnowledgeBaseInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Client specified token used for idempotency checks
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the Resource.
sourcepub fn knowledge_base_configuration(
&self
) -> Option<&KnowledgeBaseConfiguration>
pub fn knowledge_base_configuration( &self ) -> Option<&KnowledgeBaseConfiguration>
Configures a bedrock knowledge base.
sourcepub fn storage_configuration(&self) -> Option<&StorageConfiguration>
pub fn storage_configuration(&self) -> Option<&StorageConfiguration>
Configures the physical storage of ingested data in a knowledge base.
A map of tag keys and values
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateKnowledgeBaseInput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.