Struct aws_sdk_opensearch::types::SamlOptionsInput
source · #[non_exhaustive]pub struct SamlOptionsInput {
pub enabled: Option<bool>,
pub idp: Option<SamlIdp>,
pub master_user_name: Option<String>,
pub master_backend_role: Option<String>,
pub subject_key: Option<String>,
pub roles_key: Option<String>,
pub session_timeout_minutes: Option<i32>,
}
Expand description
The SAML authentication configuration for an Amazon OpenSearch Service domain.
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.enabled: Option<bool>
True to enable SAML authentication for a domain.
idp: Option<SamlIdp>
The SAML Identity Provider's information.
master_user_name: Option<String>
The SAML master user name, which is stored in the domain's internal user database.
master_backend_role: Option<String>
The backend role that the SAML master user is mapped to.
subject_key: Option<String>
Element of the SAML assertion to use for the user name. Default is NameID
.
roles_key: Option<String>
Element of the SAML assertion to use for backend roles. Default is roles
.
session_timeout_minutes: Option<i32>
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
Implementations§
source§impl SamlOptionsInput
impl SamlOptionsInput
sourcepub fn master_user_name(&self) -> Option<&str>
pub fn master_user_name(&self) -> Option<&str>
The SAML master user name, which is stored in the domain's internal user database.
sourcepub fn master_backend_role(&self) -> Option<&str>
pub fn master_backend_role(&self) -> Option<&str>
The backend role that the SAML master user is mapped to.
sourcepub fn subject_key(&self) -> Option<&str>
pub fn subject_key(&self) -> Option<&str>
Element of the SAML assertion to use for the user name. Default is NameID
.
sourcepub fn roles_key(&self) -> Option<&str>
pub fn roles_key(&self) -> Option<&str>
Element of the SAML assertion to use for backend roles. Default is roles
.
sourcepub fn session_timeout_minutes(&self) -> Option<i32>
pub fn session_timeout_minutes(&self) -> Option<i32>
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
source§impl SamlOptionsInput
impl SamlOptionsInput
sourcepub fn builder() -> SamlOptionsInputBuilder
pub fn builder() -> SamlOptionsInputBuilder
Creates a new builder-style object to manufacture SamlOptionsInput
.
Trait Implementations§
source§impl Clone for SamlOptionsInput
impl Clone for SamlOptionsInput
source§fn clone(&self) -> SamlOptionsInput
fn clone(&self) -> SamlOptionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SamlOptionsInput
impl Debug for SamlOptionsInput
source§impl PartialEq for SamlOptionsInput
impl PartialEq for SamlOptionsInput
source§fn eq(&self, other: &SamlOptionsInput) -> bool
fn eq(&self, other: &SamlOptionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SamlOptionsInput
Auto Trait Implementations§
impl Freeze for SamlOptionsInput
impl RefUnwindSafe for SamlOptionsInput
impl Send for SamlOptionsInput
impl Sync for SamlOptionsInput
impl Unpin for SamlOptionsInput
impl UnwindSafe for SamlOptionsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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