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 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.
DeleteEndpoint' | |
|
Instances
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:
$sel:applicationId: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.
DeleteEndpointResponse' | |
|
Instances
newDeleteEndpointResponse Source #
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.