Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CognitoUserPoolConfig = CognitoUserPoolConfig' {
- appIdClientRegex :: Maybe Text
- userPoolId :: Text
- awsRegion :: Text
- newCognitoUserPoolConfig :: Text -> Text -> CognitoUserPoolConfig
- cognitoUserPoolConfig_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text)
- cognitoUserPoolConfig_userPoolId :: Lens' CognitoUserPoolConfig Text
- cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text
Documentation
data CognitoUserPoolConfig Source #
Describes an Amazon Cognito user pool configuration.
See: newCognitoUserPoolConfig
smart constructor.
CognitoUserPoolConfig' | |
|
Instances
newCognitoUserPoolConfig Source #
:: Text | |
-> Text | |
-> CognitoUserPoolConfig |
Create a value of CognitoUserPoolConfig
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:CognitoUserPoolConfig'
, cognitoUserPoolConfig_appIdClientRegex
- A regular expression for validating the incoming Amazon Cognito user
pool app client ID.
$sel:userPoolId:CognitoUserPoolConfig'
, cognitoUserPoolConfig_userPoolId
- The user pool ID.
$sel:awsRegion:CognitoUserPoolConfig'
, cognitoUserPoolConfig_awsRegion
- The Amazon Web Services Region in which the user pool was created.
cognitoUserPoolConfig_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text) Source #
A regular expression for validating the incoming Amazon Cognito user pool app client ID.
cognitoUserPoolConfig_userPoolId :: Lens' CognitoUserPoolConfig Text Source #
The user pool ID.
cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text Source #
The Amazon Web Services Region in which the user pool was created.