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 the endpoint for a device and mobile app from Amazon SNS. This action is idempotent. For more information, see Using Amazon SNS Mobile Push Notifications.
When you delete an endpoint that is also subscribed to a topic, then you must also unsubscribe the endpoint from the topic.
Creating a Request
data DeleteEndpoint Source #
Input for DeleteEndpoint action.
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:endpointArn:DeleteEndpoint'
, deleteEndpoint_endpointArn
- EndpointArn of endpoint to delete.
Request Lenses
deleteEndpoint_endpointArn :: Lens' DeleteEndpoint Text Source #
EndpointArn of endpoint to delete.
Destructuring the Response
data DeleteEndpointResponse Source #
See: newDeleteEndpointResponse
smart constructor.
Instances
Eq DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint | |
Read DeleteEndpointResponse Source # | |
Show DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint showsPrec :: Int -> DeleteEndpointResponse -> ShowS # show :: DeleteEndpointResponse -> String # showList :: [DeleteEndpointResponse] -> ShowS # | |
Generic DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint type Rep DeleteEndpointResponse :: Type -> Type # | |
NFData DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint rnf :: DeleteEndpointResponse -> () # | |
type Rep DeleteEndpointResponse Source # | |
newDeleteEndpointResponse :: DeleteEndpointResponse Source #
Create a value of DeleteEndpointResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.