| 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 |
Amazonka.CognitoIdentityProvider.DeleteUserAttributes
Description
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.
Constructors
| DeleteUserAttributes' | |
Fields
| |
Instances
newDeleteUserAttributes Source #
Arguments
| :: Text | |
| -> DeleteUserAttributes |
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 want to
delete.
For custom attributes, you must prependattach the custom: prefix to
the front of the attribute name.
DeleteUserAttributes, deleteUserAttributes_accessToken - A valid access token that Amazon Cognito issued to the user whose
attributes you want to delete.
Request Lenses
deleteUserAttributes_userAttributeNames :: Lens' DeleteUserAttributes [Text] Source #
An array of strings representing the user attribute names you want to delete.
For custom attributes, you must prependattach the custom: prefix to
the front of the attribute name.
deleteUserAttributes_accessToken :: Lens' DeleteUserAttributes Text Source #
A valid access token that Amazon Cognito issued to the user whose attributes you want to delete.
Destructuring the Response
data DeleteUserAttributesResponse Source #
Represents the response from the server to delete user attributes.
See: newDeleteUserAttributesResponse smart constructor.
Constructors
| DeleteUserAttributesResponse' | |
Fields
| |
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.