Struct aws_sdk_sagemaker::types::MemberDefinition
source · #[non_exhaustive]pub struct MemberDefinition {
pub cognito_member_definition: Option<CognitoMemberDefinition>,
pub oidc_member_definition: Option<OidcMemberDefinition>,
}
Expand description
Defines an Amazon Cognito or your own OIDC IdP user group that is part of a work team.
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.cognito_member_definition: Option<CognitoMemberDefinition>
The Amazon Cognito user group that is part of the work team.
oidc_member_definition: Option<OidcMemberDefinition>
A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. When you add a user group to the list of Groups
, you can add that user group to one or more private work teams. If you add a user group to a private work team, all workers in that user group are added to the work team.
Implementations§
source§impl MemberDefinition
impl MemberDefinition
sourcepub fn cognito_member_definition(&self) -> Option<&CognitoMemberDefinition>
pub fn cognito_member_definition(&self) -> Option<&CognitoMemberDefinition>
The Amazon Cognito user group that is part of the work team.
sourcepub fn oidc_member_definition(&self) -> Option<&OidcMemberDefinition>
pub fn oidc_member_definition(&self) -> Option<&OidcMemberDefinition>
A list user groups that exist in your OIDC Identity Provider (IdP). One to ten groups can be used to create a single private work team. When you add a user group to the list of Groups
, you can add that user group to one or more private work teams. If you add a user group to a private work team, all workers in that user group are added to the work team.
source§impl MemberDefinition
impl MemberDefinition
sourcepub fn builder() -> MemberDefinitionBuilder
pub fn builder() -> MemberDefinitionBuilder
Creates a new builder-style object to manufacture MemberDefinition
.
Trait Implementations§
source§impl Clone for MemberDefinition
impl Clone for MemberDefinition
source§fn clone(&self) -> MemberDefinition
fn clone(&self) -> MemberDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MemberDefinition
impl Debug for MemberDefinition
source§impl PartialEq for MemberDefinition
impl PartialEq for MemberDefinition
source§fn eq(&self, other: &MemberDefinition) -> bool
fn eq(&self, other: &MemberDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MemberDefinition
Auto Trait Implementations§
impl Freeze for MemberDefinition
impl RefUnwindSafe for MemberDefinition
impl Send for MemberDefinition
impl Sync for MemberDefinition
impl Unpin for MemberDefinition
impl UnwindSafe for MemberDefinition
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