Struct aws_sdk_qbusiness::types::BasicAuthConfiguration
source · #[non_exhaustive]pub struct BasicAuthConfiguration {
pub secret_arn: String,
pub role_arn: String,
}Expand description
Information about the basic authentication credentials used to configure a plugin.
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.secret_arn: StringThe ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
role_arn: StringThe ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.
Implementations§
source§impl BasicAuthConfiguration
impl BasicAuthConfiguration
sourcepub fn secret_arn(&self) -> &str
pub fn secret_arn(&self) -> &str
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
source§impl BasicAuthConfiguration
impl BasicAuthConfiguration
sourcepub fn builder() -> BasicAuthConfigurationBuilder
pub fn builder() -> BasicAuthConfigurationBuilder
Creates a new builder-style object to manufacture BasicAuthConfiguration.
Trait Implementations§
source§impl Clone for BasicAuthConfiguration
impl Clone for BasicAuthConfiguration
source§fn clone(&self) -> BasicAuthConfiguration
fn clone(&self) -> BasicAuthConfiguration
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 BasicAuthConfiguration
impl Debug for BasicAuthConfiguration
source§impl PartialEq for BasicAuthConfiguration
impl PartialEq for BasicAuthConfiguration
source§fn eq(&self, other: &BasicAuthConfiguration) -> bool
fn eq(&self, other: &BasicAuthConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BasicAuthConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for BasicAuthConfiguration
impl Send for BasicAuthConfiguration
impl Sync for BasicAuthConfiguration
impl Unpin for BasicAuthConfiguration
impl UnwindSafe for BasicAuthConfiguration
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.