libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.CognitoConfig

Description

 
Synopsis

Documentation

data CognitoConfig Source #

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.

See: newCognitoConfig smart constructor.

Constructors

CognitoConfig' 

Fields

  • userPool :: Text

    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.

  • clientId :: Text

    The client ID for your Amazon Cognito user pool.

Instances

Instances details
Eq CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

Read CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

Show CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

Generic CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

Associated Types

type Rep CognitoConfig :: Type -> Type #

NFData CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

Methods

rnf :: CognitoConfig -> () #

Hashable CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

ToJSON CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

FromJSON CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

type Rep CognitoConfig Source # 
Instance details

Defined in Amazonka.SageMaker.Types.CognitoConfig

type Rep CognitoConfig = D1 ('MetaData "CognitoConfig" "Amazonka.SageMaker.Types.CognitoConfig" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "CognitoConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "clientId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCognitoConfig Source #

Create a value of CognitoConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:userPool:CognitoConfig', cognitoConfig_userPool - 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.

$sel:clientId:CognitoConfig', cognitoConfig_clientId - The client ID for your Amazon Cognito user pool.

cognitoConfig_userPool :: Lens' CognitoConfig Text Source #

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.

cognitoConfig_clientId :: Lens' CognitoConfig Text Source #

The client ID for your Amazon Cognito user pool.