Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates the specified user pool with the specified attributes.
- updateUserPool :: Text -> UpdateUserPool
- data UpdateUserPool
- uupEmailVerificationMessage :: Lens' UpdateUserPool (Maybe Text)
- uupSmsAuthenticationMessage :: Lens' UpdateUserPool (Maybe Text)
- uupEmailVerificationSubject :: Lens' UpdateUserPool (Maybe Text)
- uupEmailConfiguration :: Lens' UpdateUserPool (Maybe EmailConfigurationType)
- uupSmsVerificationMessage :: Lens' UpdateUserPool (Maybe Text)
- uupMFAConfiguration :: Lens' UpdateUserPool (Maybe UserPoolMFAType)
- uupLambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType)
- uupSmsConfiguration :: Lens' UpdateUserPool (Maybe SmsConfigurationType)
- uupAdminCreateUserConfig :: Lens' UpdateUserPool (Maybe AdminCreateUserConfigType)
- uupDeviceConfiguration :: Lens' UpdateUserPool (Maybe DeviceConfigurationType)
- uupAutoVerifiedAttributes :: Lens' UpdateUserPool [VerifiedAttributeType]
- uupPolicies :: Lens' UpdateUserPool (Maybe UserPoolPolicyType)
- uupUserPoolId :: Lens' UpdateUserPool Text
- updateUserPoolResponse :: Int -> UpdateUserPoolResponse
- data UpdateUserPoolResponse
- uuprsResponseStatus :: Lens' UpdateUserPoolResponse Int
Creating a Request
Creates a value of UpdateUserPool
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uupEmailVerificationMessage
- The contents of the email verification message.uupSmsAuthenticationMessage
- The contents of the SMS authentication message.uupEmailVerificationSubject
- The subject of the email verfication message.uupEmailConfiguration
- Email configuration.uupSmsVerificationMessage
- A container with information about the SMS verification message.uupMFAConfiguration
- 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.uupLambdaConfig
- The AWS Lambda configuration information from the request to update the user pool.uupSmsConfiguration
- SMS configuration.uupAdminCreateUserConfig
- The configuration for AdminCreateUser requests.uupDeviceConfiguration
- Device configuration.uupAutoVerifiedAttributes
- The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.uupPolicies
- A container with the policies you wish to update in a user pool.uupUserPoolId
- The user pool ID for the user pool you want to update.
data UpdateUserPool Source #
Represents the request to update the user pool.
See: updateUserPool
smart constructor.
Request Lenses
uupEmailVerificationMessage :: Lens' UpdateUserPool (Maybe Text) Source #
The contents of the email verification message.
uupSmsAuthenticationMessage :: Lens' UpdateUserPool (Maybe Text) Source #
The contents of the SMS authentication message.
uupEmailVerificationSubject :: Lens' UpdateUserPool (Maybe Text) Source #
The subject of the email verfication message.
uupEmailConfiguration :: Lens' UpdateUserPool (Maybe EmailConfigurationType) Source #
Email configuration.
uupSmsVerificationMessage :: Lens' UpdateUserPool (Maybe Text) Source #
A container with information about the SMS verification message.
uupMFAConfiguration :: Lens' UpdateUserPool (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.
uupLambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType) Source #
The AWS Lambda configuration information from the request to update the user pool.
uupSmsConfiguration :: Lens' UpdateUserPool (Maybe SmsConfigurationType) Source #
SMS configuration.
uupAdminCreateUserConfig :: Lens' UpdateUserPool (Maybe AdminCreateUserConfigType) Source #
The configuration for AdminCreateUser requests.
uupDeviceConfiguration :: Lens' UpdateUserPool (Maybe DeviceConfigurationType) Source #
Device configuration.
uupAutoVerifiedAttributes :: Lens' UpdateUserPool [VerifiedAttributeType] Source #
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
uupPolicies :: Lens' UpdateUserPool (Maybe UserPoolPolicyType) Source #
A container with the policies you wish to update in a user pool.
uupUserPoolId :: Lens' UpdateUserPool Text Source #
The user pool ID for the user pool you want to update.
Destructuring the Response
updateUserPoolResponse Source #
Creates a value of UpdateUserPoolResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uuprsResponseStatus
- -- | The response status code.
data UpdateUserPoolResponse Source #
Represents the response from the server when you make a request to update the user pool.
See: updateUserPoolResponse
smart constructor.
Response Lenses
uuprsResponseStatus :: Lens' UpdateUserPoolResponse Int Source #
- - | The response status code.