Struct aws_sdk_grafana::types::AuthenticationDescription
source · #[non_exhaustive]pub struct AuthenticationDescription {
pub providers: Vec<AuthenticationProviderTypes>,
pub saml: Option<SamlAuthentication>,
pub aws_sso: Option<AwsSsoAuthentication>,
}
Expand description
A structure containing information about the user authentication methods used by the workspace.
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.providers: Vec<AuthenticationProviderTypes>
Specifies whether this workspace uses IAM Identity Center, SAML, or both methods to authenticate users to use the Grafana console in the Amazon Managed Grafana workspace.
saml: Option<SamlAuthentication>
A structure containing information about how this workspace works with SAML, including what attributes within the assertion are to be mapped to user information in the workspace.
aws_sso: Option<AwsSsoAuthentication>
A structure containing information about how this workspace works with IAM Identity Center.
Implementations§
source§impl AuthenticationDescription
impl AuthenticationDescription
sourcepub fn providers(&self) -> &[AuthenticationProviderTypes]
pub fn providers(&self) -> &[AuthenticationProviderTypes]
Specifies whether this workspace uses IAM Identity Center, SAML, or both methods to authenticate users to use the Grafana console in the Amazon Managed Grafana workspace.
sourcepub fn saml(&self) -> Option<&SamlAuthentication>
pub fn saml(&self) -> Option<&SamlAuthentication>
A structure containing information about how this workspace works with SAML, including what attributes within the assertion are to be mapped to user information in the workspace.
sourcepub fn aws_sso(&self) -> Option<&AwsSsoAuthentication>
pub fn aws_sso(&self) -> Option<&AwsSsoAuthentication>
A structure containing information about how this workspace works with IAM Identity Center.
source§impl AuthenticationDescription
impl AuthenticationDescription
sourcepub fn builder() -> AuthenticationDescriptionBuilder
pub fn builder() -> AuthenticationDescriptionBuilder
Creates a new builder-style object to manufacture AuthenticationDescription
.
Trait Implementations§
source§impl Clone for AuthenticationDescription
impl Clone for AuthenticationDescription
source§fn clone(&self) -> AuthenticationDescription
fn clone(&self) -> AuthenticationDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthenticationDescription
impl Debug for AuthenticationDescription
source§impl PartialEq for AuthenticationDescription
impl PartialEq for AuthenticationDescription
source§fn eq(&self, other: &AuthenticationDescription) -> bool
fn eq(&self, other: &AuthenticationDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthenticationDescription
Auto Trait Implementations§
impl Freeze for AuthenticationDescription
impl RefUnwindSafe for AuthenticationDescription
impl Send for AuthenticationDescription
impl Sync for AuthenticationDescription
impl Unpin for AuthenticationDescription
impl UnwindSafe for AuthenticationDescription
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> 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