| 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.CognitoIdentity.DeleteIdentities
Description
Deletes identities from an identity pool. You can specify a list of 1-60 identities that you want to delete.
You must use AWS Developer credentials to call this API.
Synopsis
- data DeleteIdentities = DeleteIdentities' {}
- newDeleteIdentities :: NonEmpty Text -> DeleteIdentities
- deleteIdentities_identityIdsToDelete :: Lens' DeleteIdentities (NonEmpty Text)
- data DeleteIdentitiesResponse = DeleteIdentitiesResponse' {}
- newDeleteIdentitiesResponse :: Int -> DeleteIdentitiesResponse
- deleteIdentitiesResponse_unprocessedIdentityIds :: Lens' DeleteIdentitiesResponse (Maybe [UnprocessedIdentityId])
- deleteIdentitiesResponse_httpStatus :: Lens' DeleteIdentitiesResponse Int
Creating a Request
data DeleteIdentities Source #
Input to the DeleteIdentities action.
See: newDeleteIdentities smart constructor.
Constructors
| DeleteIdentities' | |
Fields
| |
Instances
Create a value of DeleteIdentities 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:identityIdsToDelete:DeleteIdentities', deleteIdentities_identityIdsToDelete - A list of 1-60 identities that you want to delete.
Request Lenses
deleteIdentities_identityIdsToDelete :: Lens' DeleteIdentities (NonEmpty Text) Source #
A list of 1-60 identities that you want to delete.
Destructuring the Response
data DeleteIdentitiesResponse Source #
Returned in response to a successful DeleteIdentities operation.
See: newDeleteIdentitiesResponse smart constructor.
Constructors
| DeleteIdentitiesResponse' | |
Fields
| |
Instances
newDeleteIdentitiesResponse Source #
Create a value of DeleteIdentitiesResponse 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:unprocessedIdentityIds:DeleteIdentitiesResponse', deleteIdentitiesResponse_unprocessedIdentityIds - An array of UnprocessedIdentityId objects, each of which contains an
ErrorCode and IdentityId.
$sel:httpStatus:DeleteIdentitiesResponse', deleteIdentitiesResponse_httpStatus - The response's http status code.
Response Lenses
deleteIdentitiesResponse_unprocessedIdentityIds :: Lens' DeleteIdentitiesResponse (Maybe [UnprocessedIdentityId]) Source #
An array of UnprocessedIdentityId objects, each of which contains an ErrorCode and IdentityId.
deleteIdentitiesResponse_httpStatus :: Lens' DeleteIdentitiesResponse Int Source #
The response's http status code.