libZSservicesZSamazonka-appsyncZSamazonka-appsync
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.AppSync.Types.UserPoolConfig

Description

 
Synopsis

Documentation

data UserPoolConfig Source #

Describes an Amazon Cognito user pool configuration.

See: newUserPoolConfig smart constructor.

Constructors

UserPoolConfig' 

Fields

  • appIdClientRegex :: Maybe Text

    A regular expression for validating the incoming Amazon Cognito user pool app client ID.

  • userPoolId :: Text

    The user pool ID.

  • awsRegion :: Text

    The Amazon Web Services Region in which the user pool was created.

  • defaultAction :: DefaultAction

    The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.

Instances

Instances details
Eq UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Read UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Show UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Generic UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Associated Types

type Rep UserPoolConfig :: Type -> Type #

NFData UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

Methods

rnf :: UserPoolConfig -> () #

Hashable UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

ToJSON UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

FromJSON UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

type Rep UserPoolConfig Source # 
Instance details

Defined in Amazonka.AppSync.Types.UserPoolConfig

type Rep UserPoolConfig = D1 ('MetaData "UserPoolConfig" "Amazonka.AppSync.Types.UserPoolConfig" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "UserPoolConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appIdClientRegex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "defaultAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefaultAction))))

newUserPoolConfig Source #

Create a value of UserPoolConfig 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:appIdClientRegex:UserPoolConfig', userPoolConfig_appIdClientRegex - A regular expression for validating the incoming Amazon Cognito user pool app client ID.

$sel:userPoolId:UserPoolConfig', userPoolConfig_userPoolId - The user pool ID.

$sel:awsRegion:UserPoolConfig', userPoolConfig_awsRegion - The Amazon Web Services Region in which the user pool was created.

$sel:defaultAction:UserPoolConfig', userPoolConfig_defaultAction - The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.

userPoolConfig_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text) Source #

A regular expression for validating the incoming Amazon Cognito user pool app client ID.

userPoolConfig_awsRegion :: Lens' UserPoolConfig Text Source #

The Amazon Web Services Region in which the user pool was created.

userPoolConfig_defaultAction :: Lens' UserPoolConfig DefaultAction Source #

The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.