Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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
Creates a value of DeleteEndpoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deEndpointARN
- EndpointArn of endpoint to delete.
data DeleteEndpoint Source #
Input for DeleteEndpoint action.
See: deleteEndpoint
smart constructor.
Instances
Request Lenses
deEndpointARN :: Lens' DeleteEndpoint Text Source #
EndpointArn of endpoint to delete.
Destructuring the Response
deleteEndpointResponse :: DeleteEndpointResponse Source #
Creates a value of DeleteEndpointResponse
with the minimum fields required to make a request.
data DeleteEndpointResponse Source #
See: deleteEndpointResponse
smart constructor.