| 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.Pinpoint.DeleteUserEndpoints
Description
Deletes all the endpoints that are associated with a specific user ID.
Synopsis
- data DeleteUserEndpoints = DeleteUserEndpoints' {
- applicationId :: Text
- userId :: Text
- newDeleteUserEndpoints :: Text -> Text -> DeleteUserEndpoints
- deleteUserEndpoints_applicationId :: Lens' DeleteUserEndpoints Text
- deleteUserEndpoints_userId :: Lens' DeleteUserEndpoints Text
- data DeleteUserEndpointsResponse = DeleteUserEndpointsResponse' {}
- newDeleteUserEndpointsResponse :: Int -> EndpointsResponse -> DeleteUserEndpointsResponse
- deleteUserEndpointsResponse_httpStatus :: Lens' DeleteUserEndpointsResponse Int
- deleteUserEndpointsResponse_endpointsResponse :: Lens' DeleteUserEndpointsResponse EndpointsResponse
Creating a Request
data DeleteUserEndpoints Source #
See: newDeleteUserEndpoints smart constructor.
Constructors
| DeleteUserEndpoints' | |
Fields
| |
Instances
newDeleteUserEndpoints Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteUserEndpoints |
Create a value of DeleteUserEndpoints 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:
DeleteUserEndpoints, deleteUserEndpoints_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
DeleteUserEndpoints, deleteUserEndpoints_userId - The unique identifier for the user.
Request Lenses
deleteUserEndpoints_applicationId :: Lens' DeleteUserEndpoints Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
deleteUserEndpoints_userId :: Lens' DeleteUserEndpoints Text Source #
The unique identifier for the user.
Destructuring the Response
data DeleteUserEndpointsResponse Source #
See: newDeleteUserEndpointsResponse smart constructor.
Constructors
| DeleteUserEndpointsResponse' | |
Fields
| |
Instances
newDeleteUserEndpointsResponse Source #
Arguments
| :: Int | |
| -> EndpointsResponse | |
| -> DeleteUserEndpointsResponse |
Create a value of DeleteUserEndpointsResponse 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:DeleteUserEndpointsResponse', deleteUserEndpointsResponse_httpStatus - The response's http status code.
$sel:endpointsResponse:DeleteUserEndpointsResponse', deleteUserEndpointsResponse_endpointsResponse - Undocumented member.
Response Lenses
deleteUserEndpointsResponse_httpStatus :: Lens' DeleteUserEndpointsResponse Int Source #
The response's http status code.
deleteUserEndpointsResponse_endpointsResponse :: Lens' DeleteUserEndpointsResponse EndpointsResponse Source #
Undocumented member.