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 |
Allows a user to update a specific attribute (one at a time).
Synopsis
- updateUserAttributes :: Text -> UpdateUserAttributes
- data UpdateUserAttributes
- uuaUserAttributes :: Lens' UpdateUserAttributes [AttributeType]
- uuaAccessToken :: Lens' UpdateUserAttributes Text
- updateUserAttributesResponse :: Int -> UpdateUserAttributesResponse
- data UpdateUserAttributesResponse
- uuarsCodeDeliveryDetailsList :: Lens' UpdateUserAttributesResponse [CodeDeliveryDetailsType]
- uuarsResponseStatus :: Lens' UpdateUserAttributesResponse Int
Creating a Request
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:
uuaUserAttributes
- An array of name-value pairs representing user attributes. For custom attributes, you must prepend thecustom:
prefix to the attribute name.uuaAccessToken
- The access token for the request to update user attributes.
data UpdateUserAttributes Source #
Represents the request to update user attributes.
See: updateUserAttributes
smart constructor.
Instances
Request Lenses
uuaUserAttributes :: Lens' UpdateUserAttributes [AttributeType] Source #
An array of name-value pairs representing user attributes. For custom attributes, you must prepend the custom:
prefix to the attribute name.
uuaAccessToken :: Lens' UpdateUserAttributes Text Source #
The access token for the request to update 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:
uuarsCodeDeliveryDetailsList
- The code delivery details list from the server for the request to update user attributes.uuarsResponseStatus
- -- | The response status code.
data UpdateUserAttributesResponse Source #
Represents the response from the server for the request to update user attributes.
See: updateUserAttributesResponse
smart constructor.
Instances
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.