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