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 |
Updates a user profile.
Synopsis
- data UpdateUserProfile = UpdateUserProfile' {}
- newUpdateUserProfile :: Text -> Text -> UpdateUserProfile
- updateUserProfile_userSettings :: Lens' UpdateUserProfile (Maybe UserSettings)
- updateUserProfile_domainId :: Lens' UpdateUserProfile Text
- updateUserProfile_userProfileName :: Lens' UpdateUserProfile Text
- data UpdateUserProfileResponse = UpdateUserProfileResponse' {
- userProfileArn :: Maybe Text
- httpStatus :: Int
- newUpdateUserProfileResponse :: Int -> UpdateUserProfileResponse
- updateUserProfileResponse_userProfileArn :: Lens' UpdateUserProfileResponse (Maybe Text)
- updateUserProfileResponse_httpStatus :: Lens' UpdateUserProfileResponse Int
Creating a Request
data UpdateUserProfile Source #
See: newUpdateUserProfile
smart constructor.
UpdateUserProfile' | |
|
Instances
:: Text | |
-> Text | |
-> UpdateUserProfile |
Create a value of UpdateUserProfile
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:userSettings:UpdateUserProfile'
, updateUserProfile_userSettings
- A collection of settings.
$sel:domainId:UpdateUserProfile'
, updateUserProfile_domainId
- The domain ID.
$sel:userProfileName:UpdateUserProfile'
, updateUserProfile_userProfileName
- The user profile name.
Request Lenses
updateUserProfile_userSettings :: Lens' UpdateUserProfile (Maybe UserSettings) Source #
A collection of settings.
updateUserProfile_domainId :: Lens' UpdateUserProfile Text Source #
The domain ID.
updateUserProfile_userProfileName :: Lens' UpdateUserProfile Text Source #
The user profile name.
Destructuring the Response
data UpdateUserProfileResponse Source #
See: newUpdateUserProfileResponse
smart constructor.
UpdateUserProfileResponse' | |
|
Instances
newUpdateUserProfileResponse Source #
Create a value of UpdateUserProfileResponse
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:userProfileArn:UpdateUserProfileResponse'
, updateUserProfileResponse_userProfileArn
- The user profile Amazon Resource Name (ARN).
$sel:httpStatus:UpdateUserProfileResponse'
, updateUserProfileResponse_httpStatus
- The response's http status code.
Response Lenses
updateUserProfileResponse_userProfileArn :: Lens' UpdateUserProfileResponse (Maybe Text) Source #
The user profile Amazon Resource Name (ARN).
updateUserProfileResponse_httpStatus :: Lens' UpdateUserProfileResponse Int Source #
The response's http status code.