#[non_exhaustive]pub struct SamlConfigOptions {
pub metadata: String,
pub user_attribute: Option<String>,
pub group_attribute: Option<String>,
pub session_timeout: Option<i32>,
}
Expand description
Describes SAML options for an OpenSearch Serverless security configuration in the form of a key-value map.
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.metadata: String
The XML IdP metadata file generated from your identity provider.
user_attribute: Option<String>
A user attribute for this SAML integration.
group_attribute: Option<String>
The group attribute for this SAML integration.
session_timeout: Option<i32>
The session timeout, in minutes. Default is 60 minutes (12 hours).
Implementations§
source§impl SamlConfigOptions
impl SamlConfigOptions
sourcepub fn metadata(&self) -> &str
pub fn metadata(&self) -> &str
The XML IdP metadata file generated from your identity provider.
sourcepub fn user_attribute(&self) -> Option<&str>
pub fn user_attribute(&self) -> Option<&str>
A user attribute for this SAML integration.
sourcepub fn group_attribute(&self) -> Option<&str>
pub fn group_attribute(&self) -> Option<&str>
The group attribute for this SAML integration.
sourcepub fn session_timeout(&self) -> Option<i32>
pub fn session_timeout(&self) -> Option<i32>
The session timeout, in minutes. Default is 60 minutes (12 hours).
source§impl SamlConfigOptions
impl SamlConfigOptions
sourcepub fn builder() -> SamlConfigOptionsBuilder
pub fn builder() -> SamlConfigOptionsBuilder
Creates a new builder-style object to manufacture SamlConfigOptions
.
Trait Implementations§
source§impl Clone for SamlConfigOptions
impl Clone for SamlConfigOptions
source§fn clone(&self) -> SamlConfigOptions
fn clone(&self) -> SamlConfigOptions
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 SamlConfigOptions
impl Debug for SamlConfigOptions
source§impl PartialEq for SamlConfigOptions
impl PartialEq for SamlConfigOptions
source§fn eq(&self, other: &SamlConfigOptions) -> bool
fn eq(&self, other: &SamlConfigOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SamlConfigOptions
Auto Trait Implementations§
impl Freeze for SamlConfigOptions
impl RefUnwindSafe for SamlConfigOptions
impl Send for SamlConfigOptions
impl Sync for SamlConfigOptions
impl Unpin for SamlConfigOptions
impl UnwindSafe for SamlConfigOptions
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.