| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppSync.Types.UserPoolConfig
Description
Synopsis
- data UserPoolConfig = UserPoolConfig' {}
- newUserPoolConfig :: Text -> Text -> DefaultAction -> UserPoolConfig
- userPoolConfig_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text)
- userPoolConfig_userPoolId :: Lens' UserPoolConfig Text
- userPoolConfig_awsRegion :: Lens' UserPoolConfig Text
- userPoolConfig_defaultAction :: Lens' UserPoolConfig DefaultAction
Documentation
data UserPoolConfig Source #
Describes an Amazon Cognito user pool configuration.
See: newUserPoolConfig smart constructor.
Constructors
| UserPoolConfig' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DefaultAction | |
| -> UserPoolConfig |
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. If this value isn't set, no filtering is applied.
$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. If this value isn't set, no filtering is applied.
userPoolConfig_userPoolId :: Lens' UserPoolConfig Text Source #
The user pool 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.