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 |
Amazonka.SNS.DeleteEndpoint
Description
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.
Constructors
DeleteEndpoint' | |
Fields
|
Instances
Arguments
:: 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:
$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.
Constructors
DeleteEndpointResponse' | |
Instances
Eq DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint Methods (==) :: DeleteEndpointResponse -> DeleteEndpointResponse -> Bool # (/=) :: DeleteEndpointResponse -> DeleteEndpointResponse -> Bool # | |
Read DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint | |
Show DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint Methods showsPrec :: Int -> DeleteEndpointResponse -> ShowS # show :: DeleteEndpointResponse -> String # showList :: [DeleteEndpointResponse] -> ShowS # | |
Generic DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint Associated Types type Rep DeleteEndpointResponse :: Type -> Type # Methods from :: DeleteEndpointResponse -> Rep DeleteEndpointResponse x # to :: Rep DeleteEndpointResponse x -> DeleteEndpointResponse # | |
NFData DeleteEndpointResponse Source # | |
Defined in Amazonka.SNS.DeleteEndpoint Methods 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.