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)
- uupSmsVerificationMessage :: Lens' UpdateUserPool (Maybe Text)
- uupMFAConfiguration :: Lens' UpdateUserPool (Maybe UserPoolMFAType)
- uupLambdaConfig :: Lens' UpdateUserPool (Maybe LambdaConfigType)
- 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:
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
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.
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:
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.