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 |
Deletes the attributes for a user.
Synopsis
- deleteUserAttributes :: Text -> DeleteUserAttributes
- data DeleteUserAttributes
- duaUserAttributeNames :: Lens' DeleteUserAttributes [Text]
- duaAccessToken :: Lens' DeleteUserAttributes Text
- deleteUserAttributesResponse :: Int -> DeleteUserAttributesResponse
- data DeleteUserAttributesResponse
- duarsResponseStatus :: Lens' DeleteUserAttributesResponse Int
Creating a Request
Creates a value of DeleteUserAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duaUserAttributeNames
- An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend thecustom:
prefix to the attribute name.duaAccessToken
- The access token used in the request to delete user attributes.
data DeleteUserAttributes Source #
Represents the request to delete user attributes.
See: deleteUserAttributes
smart constructor.
Instances
Request Lenses
duaUserAttributeNames :: Lens' DeleteUserAttributes [Text] Source #
An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend the custom:
prefix to the attribute name.
duaAccessToken :: Lens' DeleteUserAttributes Text Source #
The access token used in the request to delete user attributes.
Destructuring the Response
deleteUserAttributesResponse Source #
Creates a value of DeleteUserAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
duarsResponseStatus
- -- | The response status code.
data DeleteUserAttributesResponse Source #
Represents the response from the server to delete user attributes.
See: deleteUserAttributesResponse
smart constructor.
Instances
Response Lenses
duarsResponseStatus :: Lens' DeleteUserAttributesResponse Int Source #
- - | The response status code.