Struct aws_sdk_grafana::types::SamlConfiguration
source · #[non_exhaustive]pub struct SamlConfiguration {
pub idp_metadata: Option<IdpMetadata>,
pub assertion_attributes: Option<AssertionAttributes>,
pub role_values: Option<RoleValues>,
pub allowed_organizations: Option<Vec<String>>,
pub login_validity_duration: i32,
}
Expand description
A structure containing information about how this workspace works with SAML.
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.idp_metadata: Option<IdpMetadata>
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
assertion_attributes: Option<AssertionAttributes>
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.
role_values: Option<RoleValues>
A structure containing arrays that map group names in the SAML assertion to the Grafana Admin
and Editor
roles in the workspace.
allowed_organizations: Option<Vec<String>>
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.
login_validity_duration: i32
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
Implementations§
source§impl SamlConfiguration
impl SamlConfiguration
sourcepub fn idp_metadata(&self) -> Option<&IdpMetadata>
pub fn idp_metadata(&self) -> Option<&IdpMetadata>
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
sourcepub fn assertion_attributes(&self) -> Option<&AssertionAttributes>
pub fn assertion_attributes(&self) -> Option<&AssertionAttributes>
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.
sourcepub fn role_values(&self) -> Option<&RoleValues>
pub fn role_values(&self) -> Option<&RoleValues>
A structure containing arrays that map group names in the SAML assertion to the Grafana Admin
and Editor
roles in the workspace.
sourcepub fn allowed_organizations(&self) -> &[String]
pub fn allowed_organizations(&self) -> &[String]
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .allowed_organizations.is_none()
.
sourcepub fn login_validity_duration(&self) -> i32
pub fn login_validity_duration(&self) -> i32
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
source§impl SamlConfiguration
impl SamlConfiguration
sourcepub fn builder() -> SamlConfigurationBuilder
pub fn builder() -> SamlConfigurationBuilder
Creates a new builder-style object to manufacture SamlConfiguration
.
Trait Implementations§
source§impl Clone for SamlConfiguration
impl Clone for SamlConfiguration
source§fn clone(&self) -> SamlConfiguration
fn clone(&self) -> SamlConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SamlConfiguration
impl Debug for SamlConfiguration
source§impl PartialEq for SamlConfiguration
impl PartialEq for SamlConfiguration
source§fn eq(&self, other: &SamlConfiguration) -> bool
fn eq(&self, other: &SamlConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SamlConfiguration
Auto Trait Implementations§
impl Freeze for SamlConfiguration
impl RefUnwindSafe for SamlConfiguration
impl Send for SamlConfiguration
impl Sync for SamlConfiguration
impl Unpin for SamlConfiguration
impl UnwindSafe for SamlConfiguration
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