Struct aws_sdk_appsync::types::RdsDataApiConfig
source · #[non_exhaustive]pub struct RdsDataApiConfig {
pub resource_arn: String,
pub secret_arn: String,
pub database_name: String,
}Expand description
Contains the metadata required to introspect the RDS cluster.
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.resource_arn: StringThe resource ARN of the RDS cluster.
secret_arn: StringThe secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
database_name: StringThe name of the database in the cluster.
Implementations§
source§impl RdsDataApiConfig
impl RdsDataApiConfig
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
The resource ARN of the RDS cluster.
sourcepub fn secret_arn(&self) -> &str
pub fn secret_arn(&self) -> &str
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
The name of the database in the cluster.
source§impl RdsDataApiConfig
impl RdsDataApiConfig
sourcepub fn builder() -> RdsDataApiConfigBuilder
pub fn builder() -> RdsDataApiConfigBuilder
Creates a new builder-style object to manufacture RdsDataApiConfig.
Trait Implementations§
source§impl Clone for RdsDataApiConfig
impl Clone for RdsDataApiConfig
source§fn clone(&self) -> RdsDataApiConfig
fn clone(&self) -> RdsDataApiConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RdsDataApiConfig
impl Debug for RdsDataApiConfig
source§impl PartialEq for RdsDataApiConfig
impl PartialEq for RdsDataApiConfig
impl StructuralPartialEq for RdsDataApiConfig
Auto Trait Implementations§
impl Freeze for RdsDataApiConfig
impl RefUnwindSafe for RdsDataApiConfig
impl Send for RdsDataApiConfig
impl Sync for RdsDataApiConfig
impl Unpin for RdsDataApiConfig
impl UnwindSafe for RdsDataApiConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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