Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
For the specified user in the specified identity store, updates the user metadata and attributes.
Synopsis
- data UpdateUser = UpdateUser' {}
- newUpdateUser :: Text -> Text -> NonEmpty AttributeOperation -> UpdateUser
- updateUser_identityStoreId :: Lens' UpdateUser Text
- updateUser_userId :: Lens' UpdateUser Text
- updateUser_operations :: Lens' UpdateUser (NonEmpty AttributeOperation)
- data UpdateUserResponse = UpdateUserResponse' {
- httpStatus :: Int
- newUpdateUserResponse :: Int -> UpdateUserResponse
- updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int
Creating a Request
data UpdateUser Source #
See: newUpdateUser
smart constructor.
UpdateUser' | |
|
Instances
:: Text | |
-> Text | |
-> NonEmpty AttributeOperation | |
-> UpdateUser |
Create a value of UpdateUser
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:
UpdateUser
, updateUser_identityStoreId
- The globally unique identifier for the identity store.
UpdateUser
, updateUser_userId
- The identifier for a user in the identity store.
$sel:operations:UpdateUser'
, updateUser_operations
- A list of AttributeOperation
objects to apply to the requested user.
These operations might add, replace, or remove an attribute.
Request Lenses
updateUser_identityStoreId :: Lens' UpdateUser Text Source #
The globally unique identifier for the identity store.
updateUser_userId :: Lens' UpdateUser Text Source #
The identifier for a user in the identity store.
updateUser_operations :: Lens' UpdateUser (NonEmpty AttributeOperation) Source #
A list of AttributeOperation
objects to apply to the requested user.
These operations might add, replace, or remove an attribute.
Destructuring the Response
data UpdateUserResponse Source #
See: newUpdateUserResponse
smart constructor.
UpdateUserResponse' | |
|
Instances
newUpdateUserResponse Source #
Create a value of UpdateUserResponse
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:httpStatus:UpdateUserResponse'
, updateUserResponse_httpStatus
- The response's http status code.
Response Lenses
updateUserResponse_httpStatus :: Lens' UpdateUserResponse Int Source #
The response's http status code.