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 UserPoolType = UserPoolType' {
- status :: Maybe StatusType
- userPoolTags :: Maybe (HashMap Text Text)
- emailConfigurationFailure :: Maybe Text
- lastModifiedDate :: Maybe POSIX
- verificationMessageTemplate :: Maybe VerificationMessageTemplateType
- estimatedNumberOfUsers :: Maybe Int
- arn :: Maybe Text
- domain :: Maybe Text
- customDomain :: Maybe Text
- emailVerificationMessage :: Maybe Text
- smsAuthenticationMessage :: Maybe Text
- userPoolAddOns :: Maybe UserPoolAddOnsType
- schemaAttributes :: Maybe (NonEmpty SchemaAttributeType)
- emailVerificationSubject :: Maybe Text
- usernameAttributes :: Maybe [UsernameAttributeType]
- aliasAttributes :: Maybe [AliasAttributeType]
- accountRecoverySetting :: Maybe AccountRecoverySettingType
- emailConfiguration :: Maybe EmailConfigurationType
- smsVerificationMessage :: Maybe Text
- name :: Maybe Text
- mfaConfiguration :: Maybe UserPoolMfaType
- id :: Maybe Text
- smsConfigurationFailure :: Maybe Text
- creationDate :: Maybe POSIX
- lambdaConfig :: Maybe LambdaConfigType
- smsConfiguration :: Maybe SmsConfigurationType
- adminCreateUserConfig :: Maybe AdminCreateUserConfigType
- deviceConfiguration :: Maybe DeviceConfigurationType
- autoVerifiedAttributes :: Maybe [VerifiedAttributeType]
- policies :: Maybe UserPoolPolicyType
- usernameConfiguration :: Maybe UsernameConfigurationType
- newUserPoolType :: UserPoolType
- userPoolType_status :: Lens' UserPoolType (Maybe StatusType)
- userPoolType_userPoolTags :: Lens' UserPoolType (Maybe (HashMap Text Text))
- userPoolType_emailConfigurationFailure :: Lens' UserPoolType (Maybe Text)
- userPoolType_lastModifiedDate :: Lens' UserPoolType (Maybe UTCTime)
- userPoolType_verificationMessageTemplate :: Lens' UserPoolType (Maybe VerificationMessageTemplateType)
- userPoolType_estimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int)
- userPoolType_arn :: Lens' UserPoolType (Maybe Text)
- userPoolType_domain :: Lens' UserPoolType (Maybe Text)
- userPoolType_customDomain :: Lens' UserPoolType (Maybe Text)
- userPoolType_emailVerificationMessage :: Lens' UserPoolType (Maybe Text)
- userPoolType_smsAuthenticationMessage :: Lens' UserPoolType (Maybe Text)
- userPoolType_userPoolAddOns :: Lens' UserPoolType (Maybe UserPoolAddOnsType)
- userPoolType_schemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType))
- userPoolType_emailVerificationSubject :: Lens' UserPoolType (Maybe Text)
- userPoolType_usernameAttributes :: Lens' UserPoolType (Maybe [UsernameAttributeType])
- userPoolType_aliasAttributes :: Lens' UserPoolType (Maybe [AliasAttributeType])
- userPoolType_accountRecoverySetting :: Lens' UserPoolType (Maybe AccountRecoverySettingType)
- userPoolType_emailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType)
- userPoolType_smsVerificationMessage :: Lens' UserPoolType (Maybe Text)
- userPoolType_name :: Lens' UserPoolType (Maybe Text)
- userPoolType_mfaConfiguration :: Lens' UserPoolType (Maybe UserPoolMfaType)
- userPoolType_id :: Lens' UserPoolType (Maybe Text)
- userPoolType_smsConfigurationFailure :: Lens' UserPoolType (Maybe Text)
- userPoolType_creationDate :: Lens' UserPoolType (Maybe UTCTime)
- userPoolType_lambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType)
- userPoolType_smsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType)
- userPoolType_adminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType)
- userPoolType_deviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType)
- userPoolType_autoVerifiedAttributes :: Lens' UserPoolType (Maybe [VerifiedAttributeType])
- userPoolType_policies :: Lens' UserPoolType (Maybe UserPoolPolicyType)
- userPoolType_usernameConfiguration :: Lens' UserPoolType (Maybe UsernameConfigurationType)
Documentation
data UserPoolType Source #
A container for information about the user pool.
See: newUserPoolType
smart constructor.
UserPoolType' | |
|
Instances
newUserPoolType :: UserPoolType Source #
Create a value of UserPoolType
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:status:UserPoolType'
, userPoolType_status
- The status of a user pool.
$sel:userPoolTags:UserPoolType'
, userPoolType_userPoolTags
- The tags that are assigned to the user pool. A tag is a label that you
can apply to user pools to categorize and manage them in different ways,
such as by purpose, owner, environment, or other criteria.
$sel:emailConfigurationFailure:UserPoolType'
, userPoolType_emailConfigurationFailure
- The reason why the email configuration cannot send the messages to your
users.
$sel:lastModifiedDate:UserPoolType'
, userPoolType_lastModifiedDate
- The date the user pool was last modified.
$sel:verificationMessageTemplate:UserPoolType'
, userPoolType_verificationMessageTemplate
- The template for verification messages.
$sel:estimatedNumberOfUsers:UserPoolType'
, userPoolType_estimatedNumberOfUsers
- A number estimating the size of the user pool.
$sel:arn:UserPoolType'
, userPoolType_arn
- The Amazon Resource Name (ARN) for the user pool.
$sel:domain:UserPoolType'
, userPoolType_domain
- Holds the domain prefix if the user pool has a domain associated with
it.
$sel:customDomain:UserPoolType'
, userPoolType_customDomain
- A custom domain name that you provide to Amazon Cognito. This parameter
applies only if you use a custom domain to host the sign-up and sign-in
pages for your application. For example: auth.example.com
.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
$sel:emailVerificationMessage:UserPoolType'
, userPoolType_emailVerificationMessage
- The contents of the email verification message.
$sel:smsAuthenticationMessage:UserPoolType'
, userPoolType_smsAuthenticationMessage
- The contents of the SMS authentication message.
$sel:userPoolAddOns:UserPoolType'
, userPoolType_userPoolAddOns
- The user pool add-ons.
$sel:schemaAttributes:UserPoolType'
, userPoolType_schemaAttributes
- A container with the schema attributes of a user pool.
$sel:emailVerificationSubject:UserPoolType'
, userPoolType_emailVerificationSubject
- The subject of the email verification message.
$sel:usernameAttributes:UserPoolType'
, userPoolType_usernameAttributes
- Specifies whether email addresses or phone numbers can be specified as
usernames when a user signs up.
$sel:aliasAttributes:UserPoolType'
, userPoolType_aliasAttributes
- Specifies the attributes that are aliased in a user pool.
$sel:accountRecoverySetting:UserPoolType'
, userPoolType_accountRecoverySetting
- Use this setting to define which verified available method a user can
use to recover their password when they call ForgotPassword
. It allows
you to define a preferred method when a user has more than one method
available. With this setting, SMS does not qualify for a valid password
recovery mechanism if the user also has SMS MFA enabled. In the absence
of this setting, Cognito uses the legacy behavior to determine the
recovery method where SMS is preferred over email.
$sel:emailConfiguration:UserPoolType'
, userPoolType_emailConfiguration
- The email configuration.
$sel:smsVerificationMessage:UserPoolType'
, userPoolType_smsVerificationMessage
- The contents of the SMS verification message.
$sel:name:UserPoolType'
, userPoolType_name
- The name of the user pool.
$sel:mfaConfiguration:UserPoolType'
, userPoolType_mfaConfiguration
- Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.ON
- MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool.OPTIONAL
- Users have the option when registering to create an MFA token.
$sel:id:UserPoolType'
, userPoolType_id
- The ID of the user pool.
$sel:smsConfigurationFailure:UserPoolType'
, userPoolType_smsConfigurationFailure
- The reason why the SMS configuration cannot send the messages to your
users.
This message might include comma-separated values to describe why your SMS configuration can't send messages to user pool end users.
- InvalidSmsRoleAccessPolicyException - The IAM role which Cognito uses to send SMS messages is not properly configured. For more information, see SmsConfigurationType.
- SNSSandbox - The account is in SNS Sandbox and messages won’t reach unverified end users. This parameter won’t get populated with SNSSandbox if the IAM user creating the user pool doesn’t have SNS permissions. To learn how to move your account out of the sandbox, see Moving out of the SMS sandbox.
$sel:creationDate:UserPoolType'
, userPoolType_creationDate
- The date the user pool was created.
$sel:lambdaConfig:UserPoolType'
, userPoolType_lambdaConfig
- The Lambda triggers associated with the user pool.
$sel:smsConfiguration:UserPoolType'
, userPoolType_smsConfiguration
- The SMS configuration.
$sel:adminCreateUserConfig:UserPoolType'
, userPoolType_adminCreateUserConfig
- The configuration for AdminCreateUser
requests.
$sel:deviceConfiguration:UserPoolType'
, userPoolType_deviceConfiguration
- The device configuration.
$sel:autoVerifiedAttributes:UserPoolType'
, userPoolType_autoVerifiedAttributes
- Specifies the attributes that are auto-verified in a user pool.
$sel:policies:UserPoolType'
, userPoolType_policies
- The policies associated with the user pool.
$sel:usernameConfiguration:UserPoolType'
, userPoolType_usernameConfiguration
- You can choose to enable case sensitivity on the username input for the
selected sign-in option. For example, when this is set to False
, users
will be able to sign in using either "username" or "Username". This
configuration is immutable once it has been set. For more information,
see
UsernameConfigurationType.
userPoolType_status :: Lens' UserPoolType (Maybe StatusType) Source #
The status of a user pool.
userPoolType_userPoolTags :: Lens' UserPoolType (Maybe (HashMap Text Text)) Source #
The tags that are assigned to the user pool. A tag is a label that you can apply to user pools to categorize and manage them in different ways, such as by purpose, owner, environment, or other criteria.
userPoolType_emailConfigurationFailure :: Lens' UserPoolType (Maybe Text) Source #
The reason why the email configuration cannot send the messages to your users.
userPoolType_lastModifiedDate :: Lens' UserPoolType (Maybe UTCTime) Source #
The date the user pool was last modified.
userPoolType_verificationMessageTemplate :: Lens' UserPoolType (Maybe VerificationMessageTemplateType) Source #
The template for verification messages.
userPoolType_estimatedNumberOfUsers :: Lens' UserPoolType (Maybe Int) Source #
A number estimating the size of the user pool.
userPoolType_arn :: Lens' UserPoolType (Maybe Text) Source #
The Amazon Resource Name (ARN) for the user pool.
userPoolType_domain :: Lens' UserPoolType (Maybe Text) Source #
Holds the domain prefix if the user pool has a domain associated with it.
userPoolType_customDomain :: Lens' UserPoolType (Maybe Text) Source #
A custom domain name that you provide to Amazon Cognito. This parameter
applies only if you use a custom domain to host the sign-up and sign-in
pages for your application. For example: auth.example.com
.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
userPoolType_emailVerificationMessage :: Lens' UserPoolType (Maybe Text) Source #
The contents of the email verification message.
userPoolType_smsAuthenticationMessage :: Lens' UserPoolType (Maybe Text) Source #
The contents of the SMS authentication message.
userPoolType_userPoolAddOns :: Lens' UserPoolType (Maybe UserPoolAddOnsType) Source #
The user pool add-ons.
userPoolType_schemaAttributes :: Lens' UserPoolType (Maybe (NonEmpty SchemaAttributeType)) Source #
A container with the schema attributes of a user pool.
userPoolType_emailVerificationSubject :: Lens' UserPoolType (Maybe Text) Source #
The subject of the email verification message.
userPoolType_usernameAttributes :: Lens' UserPoolType (Maybe [UsernameAttributeType]) Source #
Specifies whether email addresses or phone numbers can be specified as usernames when a user signs up.
userPoolType_aliasAttributes :: Lens' UserPoolType (Maybe [AliasAttributeType]) Source #
Specifies the attributes that are aliased in a user pool.
userPoolType_accountRecoverySetting :: Lens' UserPoolType (Maybe AccountRecoverySettingType) Source #
Use this setting to define which verified available method a user can
use to recover their password when they call ForgotPassword
. It allows
you to define a preferred method when a user has more than one method
available. With this setting, SMS does not qualify for a valid password
recovery mechanism if the user also has SMS MFA enabled. In the absence
of this setting, Cognito uses the legacy behavior to determine the
recovery method where SMS is preferred over email.
userPoolType_emailConfiguration :: Lens' UserPoolType (Maybe EmailConfigurationType) Source #
The email configuration.
userPoolType_smsVerificationMessage :: Lens' UserPoolType (Maybe Text) Source #
The contents of the SMS verification message.
userPoolType_name :: Lens' UserPoolType (Maybe Text) Source #
The name of the user pool.
userPoolType_mfaConfiguration :: Lens' UserPoolType (Maybe UserPoolMfaType) Source #
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be specified during user registration.ON
- MFA tokens are required for all user registrations. You can only specify required when you are initially creating a user pool.OPTIONAL
- Users have the option when registering to create an MFA token.
userPoolType_id :: Lens' UserPoolType (Maybe Text) Source #
The ID of the user pool.
userPoolType_smsConfigurationFailure :: Lens' UserPoolType (Maybe Text) Source #
The reason why the SMS configuration cannot send the messages to your users.
This message might include comma-separated values to describe why your SMS configuration can't send messages to user pool end users.
- InvalidSmsRoleAccessPolicyException - The IAM role which Cognito uses to send SMS messages is not properly configured. For more information, see SmsConfigurationType.
- SNSSandbox - The account is in SNS Sandbox and messages won’t reach unverified end users. This parameter won’t get populated with SNSSandbox if the IAM user creating the user pool doesn’t have SNS permissions. To learn how to move your account out of the sandbox, see Moving out of the SMS sandbox.
userPoolType_creationDate :: Lens' UserPoolType (Maybe UTCTime) Source #
The date the user pool was created.
userPoolType_lambdaConfig :: Lens' UserPoolType (Maybe LambdaConfigType) Source #
The Lambda triggers associated with the user pool.
userPoolType_smsConfiguration :: Lens' UserPoolType (Maybe SmsConfigurationType) Source #
The SMS configuration.
userPoolType_adminCreateUserConfig :: Lens' UserPoolType (Maybe AdminCreateUserConfigType) Source #
The configuration for AdminCreateUser
requests.
userPoolType_deviceConfiguration :: Lens' UserPoolType (Maybe DeviceConfigurationType) Source #
The device configuration.
userPoolType_autoVerifiedAttributes :: Lens' UserPoolType (Maybe [VerifiedAttributeType]) Source #
Specifies the attributes that are auto-verified in a user pool.
userPoolType_policies :: Lens' UserPoolType (Maybe UserPoolPolicyType) Source #
The policies associated with the user pool.
userPoolType_usernameConfiguration :: Lens' UserPoolType (Maybe UsernameConfigurationType) Source #
You can choose to enable case sensitivity on the username input for the
selected sign-in option. For example, when this is set to False
, users
will be able to sign in using either "username" or "Username". This
configuration is immutable once it has been set. For more information,
see
UsernameConfigurationType.