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<CognitoConfig> for CognitoConfig
impl PartialEq<CognitoConfig> for CognitoConfig
source§fn eq(&self, other: &CognitoConfig) -> bool
fn eq(&self, other: &CognitoConfig) -> bool
self
and other
values to be equal, and is used
by ==
.