Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Sets all the user settings for a specified user name. Works on any user.
Requires developer credentials.
- adminSetUserSettings :: Text -> Text -> AdminSetUserSettings
- data AdminSetUserSettings
- asusUserPoolId :: Lens' AdminSetUserSettings Text
- asusUsername :: Lens' AdminSetUserSettings Text
- asusMFAOptions :: Lens' AdminSetUserSettings [MFAOptionType]
- adminSetUserSettingsResponse :: Int -> AdminSetUserSettingsResponse
- data AdminSetUserSettingsResponse
- asusrsResponseStatus :: Lens' AdminSetUserSettingsResponse Int
Creating a Request
Creates a value of AdminSetUserSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asusUserPoolId
- The user pool ID for the user pool where you want to set the user's settings, such as MFA options.asusUsername
- The user name of the user for whom you wish to set user settings.asusMFAOptions
- Specifies the options for MFA (e.g., email or phone number).
data AdminSetUserSettings Source #
Represents the request to set user settings as an administrator.
See: adminSetUserSettings
smart constructor.
Request Lenses
asusUserPoolId :: Lens' AdminSetUserSettings Text Source #
The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
asusUsername :: Lens' AdminSetUserSettings Text Source #
The user name of the user for whom you wish to set user settings.
asusMFAOptions :: Lens' AdminSetUserSettings [MFAOptionType] Source #
Specifies the options for MFA (e.g., email or phone number).
Destructuring the Response
adminSetUserSettingsResponse Source #
Creates a value of AdminSetUserSettingsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
asusrsResponseStatus
- -- | The response status code.
data AdminSetUserSettingsResponse Source #
Represents the response from the server to set user settings as an administrator.
See: adminSetUserSettingsResponse
smart constructor.
Response Lenses
asusrsResponseStatus :: Lens' AdminSetUserSettingsResponse Int Source #
- - | The response status code.