Struct aws_sdk_ssoadmin::types::PermissionSet
source · #[non_exhaustive]pub struct PermissionSet {
pub name: Option<String>,
pub permission_set_arn: Option<String>,
pub description: Option<String>,
pub created_date: Option<DateTime>,
pub session_duration: Option<String>,
pub relay_state: Option<String>,
}
Expand description
An entity that contains IAM policies.
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.name: Option<String>
The name of the permission set.
permission_set_arn: Option<String>
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
description: Option<String>
The description of the PermissionSet
.
created_date: Option<DateTime>
The date that the permission set was created.
session_duration: Option<String>
The length of time that the application user sessions are valid for in the ISO-8601 standard.
relay_state: Option<String>
Used to redirect users within the application during the federation authentication process.
Implementations§
source§impl PermissionSet
impl PermissionSet
sourcepub fn permission_set_arn(&self) -> Option<&str>
pub fn permission_set_arn(&self) -> Option<&str>
The ARN of the permission set. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the PermissionSet
.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date that the permission set was created.
sourcepub fn session_duration(&self) -> Option<&str>
pub fn session_duration(&self) -> Option<&str>
The length of time that the application user sessions are valid for in the ISO-8601 standard.
sourcepub fn relay_state(&self) -> Option<&str>
pub fn relay_state(&self) -> Option<&str>
Used to redirect users within the application during the federation authentication process.
source§impl PermissionSet
impl PermissionSet
sourcepub fn builder() -> PermissionSetBuilder
pub fn builder() -> PermissionSetBuilder
Creates a new builder-style object to manufacture PermissionSet
.
Trait Implementations§
source§impl Clone for PermissionSet
impl Clone for PermissionSet
source§fn clone(&self) -> PermissionSet
fn clone(&self) -> PermissionSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PermissionSet
impl Debug for PermissionSet
source§impl PartialEq for PermissionSet
impl PartialEq for PermissionSet
source§fn eq(&self, other: &PermissionSet) -> bool
fn eq(&self, other: &PermissionSet) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PermissionSet
Auto Trait Implementations§
impl Freeze for PermissionSet
impl RefUnwindSafe for PermissionSet
impl Send for PermissionSet
impl Sync for PermissionSet
impl Unpin for PermissionSet
impl UnwindSafe for PermissionSet
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