Struct aws_sdk_sagemaker::types::CognitoConfig
source · #[non_exhaustive]pub struct CognitoConfig {
pub user_pool: Option<String>,
pub client_id: Option<String>,
}
Expand description
Use this parameter to configure your Amazon Cognito workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool.
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.user_pool: Option<String>
A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.
client_id: Option<String>
The client ID for your Amazon Cognito user pool.
Implementations§
source§impl CognitoConfig
impl CognitoConfig
sourcepub fn user_pool(&self) -> Option<&str>
pub fn user_pool(&self) -> Option<&str>
A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.
source§impl CognitoConfig
impl CognitoConfig
sourcepub fn builder() -> CognitoConfigBuilder
pub fn builder() -> CognitoConfigBuilder
Creates a new builder-style object to manufacture CognitoConfig
.
Trait Implementations§
source§impl Clone for CognitoConfig
impl Clone for CognitoConfig
source§fn clone(&self) -> CognitoConfig
fn clone(&self) -> CognitoConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CognitoConfig
impl Debug for CognitoConfig
source§impl PartialEq for CognitoConfig
impl PartialEq for CognitoConfig
impl StructuralPartialEq for CognitoConfig
Auto Trait Implementations§
impl Freeze for CognitoConfig
impl RefUnwindSafe for CognitoConfig
impl Send for CognitoConfig
impl Sync for CognitoConfig
impl Unpin for CognitoConfig
impl UnwindSafe for CognitoConfig
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