| 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.DeleteEndpoint
Description
Deletes an endpoint from an application.
Synopsis
- data DeleteEndpoint = DeleteEndpoint' {
- applicationId :: Text
- endpointId :: Text
- newDeleteEndpoint :: Text -> Text -> DeleteEndpoint
- deleteEndpoint_applicationId :: Lens' DeleteEndpoint Text
- deleteEndpoint_endpointId :: Lens' DeleteEndpoint Text
- data DeleteEndpointResponse = DeleteEndpointResponse' {}
- newDeleteEndpointResponse :: Int -> EndpointResponse -> DeleteEndpointResponse
- deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int
- deleteEndpointResponse_endpointResponse :: Lens' DeleteEndpointResponse EndpointResponse
Creating a Request
data DeleteEndpoint Source #
See: newDeleteEndpoint smart constructor.
Constructors
| DeleteEndpoint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteEndpoint |
Create a value of DeleteEndpoint 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:
DeleteEndpoint, deleteEndpoint_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:endpointId:DeleteEndpoint', deleteEndpoint_endpointId - The unique identifier for the endpoint.
Request Lenses
deleteEndpoint_applicationId :: Lens' DeleteEndpoint Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
deleteEndpoint_endpointId :: Lens' DeleteEndpoint Text Source #
The unique identifier for the endpoint.
Destructuring the Response
data DeleteEndpointResponse Source #
See: newDeleteEndpointResponse smart constructor.
Constructors
| DeleteEndpointResponse' | |
Fields
| |
Instances
newDeleteEndpointResponse Source #
Arguments
| :: Int | |
| -> EndpointResponse | |
| -> DeleteEndpointResponse |
Create a value of DeleteEndpointResponse 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:DeleteEndpointResponse', deleteEndpointResponse_httpStatus - The response's http status code.
$sel:endpointResponse:DeleteEndpointResponse', deleteEndpointResponse_endpointResponse - Undocumented member.
Response Lenses
deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int Source #
The response's http status code.
deleteEndpointResponse_endpointResponse :: Lens' DeleteEndpointResponse EndpointResponse Source #
Undocumented member.