Struct aws_sdk_bedrockagent::types::RdsConfiguration
source · #[non_exhaustive]pub struct RdsConfiguration {
pub resource_arn: String,
pub credentials_secret_arn: String,
pub database_name: String,
pub table_name: String,
pub field_mapping: Option<RdsFieldMapping>,
}Expand description
Contains the configurations to use RDS to store knowledge base data.
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.resource_arn: StringArn of a RDS Resource.
credentials_secret_arn: StringArn of a SecretsManager Secret.
database_name: StringName of the database within RDS
table_name: StringName of the table within RDS
field_mapping: Option<RdsFieldMapping>A mapping of Bedrock Knowledge Base fields to RDS column names
Implementations§
source§impl RdsConfiguration
impl RdsConfiguration
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
Arn of a RDS Resource.
sourcepub fn credentials_secret_arn(&self) -> &str
pub fn credentials_secret_arn(&self) -> &str
Arn of a SecretsManager Secret.
sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
Name of the database within RDS
sourcepub fn table_name(&self) -> &str
pub fn table_name(&self) -> &str
Name of the table within RDS
sourcepub fn field_mapping(&self) -> Option<&RdsFieldMapping>
pub fn field_mapping(&self) -> Option<&RdsFieldMapping>
A mapping of Bedrock Knowledge Base fields to RDS column names
source§impl RdsConfiguration
impl RdsConfiguration
sourcepub fn builder() -> RdsConfigurationBuilder
pub fn builder() -> RdsConfigurationBuilder
Creates a new builder-style object to manufacture RdsConfiguration.
Trait Implementations§
source§impl Clone for RdsConfiguration
impl Clone for RdsConfiguration
source§fn clone(&self) -> RdsConfiguration
fn clone(&self) -> RdsConfiguration
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 RdsConfiguration
impl Debug for RdsConfiguration
source§impl PartialEq for RdsConfiguration
impl PartialEq for RdsConfiguration
source§fn eq(&self, other: &RdsConfiguration) -> bool
fn eq(&self, other: &RdsConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RdsConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for RdsConfiguration
impl Send for RdsConfiguration
impl Sync for RdsConfiguration
impl Unpin for RdsConfiguration
impl UnwindSafe for RdsConfiguration
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.