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 |
Allows a user to update a specific attribute (one at a time).
- updateUserAttributes :: UpdateUserAttributes
- data UpdateUserAttributes
- uuaAccessToken :: Lens' UpdateUserAttributes (Maybe Text)
- uuaUserAttributes :: Lens' UpdateUserAttributes [AttributeType]
- updateUserAttributesResponse :: Int -> UpdateUserAttributesResponse
- data UpdateUserAttributesResponse
- uuarsCodeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse [CodeDeliveryDetailsType]
- uuarsResponseStatus :: Lens' UpdateUserAttributesResponse Int
Creating a Request
updateUserAttributes :: UpdateUserAttributes Source #
Creates a value of UpdateUserAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateUserAttributes Source #
Represents the request to update user attributes.
See: updateUserAttributes
smart constructor.
Request Lenses
uuaAccessToken :: Lens' UpdateUserAttributes (Maybe Text) Source #
The access token for the request to update user attributes.
uuaUserAttributes :: Lens' UpdateUserAttributes [AttributeType] Source #
An array of name-value pairs representing user attributes.
Destructuring the Response
updateUserAttributesResponse Source #
Creates a value of UpdateUserAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateUserAttributesResponse Source #
Represents the response from the server for the request to update user attributes.
See: updateUserAttributesResponse
smart constructor.
Response Lenses
uuarsCodeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse [CodeDeliveryDetailsType] Source #
The code delivery details list from the server for the request to update user attributes.
uuarsResponseStatus :: Lens' UpdateUserAttributesResponse Int Source #
The response status code.