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 |
Deletes the attributes for a user.
Synopsis
- data DeleteUserAttributes = DeleteUserAttributes' {}
- newDeleteUserAttributes :: Text -> DeleteUserAttributes
- deleteUserAttributes_userAttributeNames :: Lens' DeleteUserAttributes [Text]
- deleteUserAttributes_accessToken :: Lens' DeleteUserAttributes Text
- data DeleteUserAttributesResponse = DeleteUserAttributesResponse' {
- httpStatus :: Int
- newDeleteUserAttributesResponse :: Int -> DeleteUserAttributesResponse
- deleteUserAttributesResponse_httpStatus :: Lens' DeleteUserAttributesResponse Int
Creating a Request
data DeleteUserAttributes Source #
Represents the request to delete user attributes.
See: newDeleteUserAttributes
smart constructor.
DeleteUserAttributes' | |
|
Instances
newDeleteUserAttributes Source #
Create a value of DeleteUserAttributes
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:userAttributeNames:DeleteUserAttributes'
, deleteUserAttributes_userAttributeNames
- 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.
$sel:accessToken:DeleteUserAttributes'
, deleteUserAttributes_accessToken
- The access token used in the request to delete user attributes.
Request Lenses
deleteUserAttributes_userAttributeNames :: 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.
deleteUserAttributes_accessToken :: Lens' DeleteUserAttributes Text Source #
The access token used in the request to delete user attributes.
Destructuring the Response
data DeleteUserAttributesResponse Source #
Represents the response from the server to delete user attributes.
See: newDeleteUserAttributesResponse
smart constructor.
DeleteUserAttributesResponse' | |
|
Instances
newDeleteUserAttributesResponse Source #
Create a value of DeleteUserAttributesResponse
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:DeleteUserAttributesResponse'
, deleteUserAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
deleteUserAttributesResponse_httpStatus :: Lens' DeleteUserAttributesResponse Int Source #
The response's http status code.