Struct aws_sdk_nimble::types::StudioMembership
source · #[non_exhaustive]pub struct StudioMembership {
pub identity_store_id: Option<String>,
pub persona: Option<StudioPersona>,
pub principal_id: Option<String>,
pub sid: Option<String>,
}
Expand description
A studio member is an association of a user from your studio identity source to elevated permissions that they are granted in the studio.
When you add a user to your studio using the Nimble Studio console, they are given access to the studio's IAM Identity Center application and are given access to log in to the Nimble Studio portal. These users have the permissions provided by the studio's user IAM role and do not appear in the studio membership collection. Only studio admins appear in studio membership.
When you add a user to studio membership with the ADMIN persona, upon logging in to the Nimble Studio portal, they are granted permissions specified by the Studio's Admin IAM role.
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.identity_store_id: Option<String>
The ID of the identity store.
persona: Option<StudioPersona>
The persona.
principal_id: Option<String>
The principal ID.
sid: Option<String>
The Active Directory Security Identifier for this user, if available.
Implementations§
source§impl StudioMembership
impl StudioMembership
sourcepub fn identity_store_id(&self) -> Option<&str>
pub fn identity_store_id(&self) -> Option<&str>
The ID of the identity store.
sourcepub fn persona(&self) -> Option<&StudioPersona>
pub fn persona(&self) -> Option<&StudioPersona>
The persona.
sourcepub fn principal_id(&self) -> Option<&str>
pub fn principal_id(&self) -> Option<&str>
The principal ID.
source§impl StudioMembership
impl StudioMembership
sourcepub fn builder() -> StudioMembershipBuilder
pub fn builder() -> StudioMembershipBuilder
Creates a new builder-style object to manufacture StudioMembership
.
Trait Implementations§
source§impl Clone for StudioMembership
impl Clone for StudioMembership
source§fn clone(&self) -> StudioMembership
fn clone(&self) -> StudioMembership
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StudioMembership
impl Debug for StudioMembership
source§impl PartialEq for StudioMembership
impl PartialEq for StudioMembership
source§fn eq(&self, other: &StudioMembership) -> bool
fn eq(&self, other: &StudioMembership) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StudioMembership
Auto Trait Implementations§
impl Freeze for StudioMembership
impl RefUnwindSafe for StudioMembership
impl Send for StudioMembership
impl Sync for StudioMembership
impl Unpin for StudioMembership
impl UnwindSafe for StudioMembership
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