amazonka-sns-1.4.5: Amazon Simple Notification Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.DeleteEndpoint

Contents

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.

Synopsis

Creating a Request

deleteEndpoint #

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:

data DeleteEndpoint #

Input for DeleteEndpoint action.

See: deleteEndpoint smart constructor.

Instances

Eq DeleteEndpoint # 
Data DeleteEndpoint # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteEndpoint -> c DeleteEndpoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteEndpoint #

toConstr :: DeleteEndpoint -> Constr #

dataTypeOf :: DeleteEndpoint -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteEndpoint) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteEndpoint) #

gmapT :: (forall b. Data b => b -> b) -> DeleteEndpoint -> DeleteEndpoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteEndpoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteEndpoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteEndpoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteEndpoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteEndpoint -> m DeleteEndpoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteEndpoint -> m DeleteEndpoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteEndpoint -> m DeleteEndpoint #

Read DeleteEndpoint # 
Show DeleteEndpoint # 
Generic DeleteEndpoint # 

Associated Types

type Rep DeleteEndpoint :: * -> * #

Hashable DeleteEndpoint # 
NFData DeleteEndpoint # 

Methods

rnf :: DeleteEndpoint -> () #

AWSRequest DeleteEndpoint # 
ToQuery DeleteEndpoint # 
ToPath DeleteEndpoint # 
ToHeaders DeleteEndpoint # 
type Rep DeleteEndpoint # 
type Rep DeleteEndpoint = D1 (MetaData "DeleteEndpoint" "Network.AWS.SNS.DeleteEndpoint" "amazonka-sns-1.4.5-5x1MjGFUMvV6p7MfMkg43e" True) (C1 (MetaCons "DeleteEndpoint'" PrefixI True) (S1 (MetaSel (Just Symbol "_deEndpointARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteEndpoint # 

Request Lenses

deEndpointARN :: Lens' DeleteEndpoint Text #

EndpointArn of endpoint to delete.

Destructuring the Response

deleteEndpointResponse :: DeleteEndpointResponse #

Creates a value of DeleteEndpointResponse with the minimum fields required to make a request.

data DeleteEndpointResponse #

See: deleteEndpointResponse smart constructor.

Instances

Eq DeleteEndpointResponse # 
Data DeleteEndpointResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteEndpointResponse -> c DeleteEndpointResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteEndpointResponse #

toConstr :: DeleteEndpointResponse -> Constr #

dataTypeOf :: DeleteEndpointResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteEndpointResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteEndpointResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteEndpointResponse -> DeleteEndpointResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteEndpointResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteEndpointResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteEndpointResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteEndpointResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteEndpointResponse -> m DeleteEndpointResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteEndpointResponse -> m DeleteEndpointResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteEndpointResponse -> m DeleteEndpointResponse #

Read DeleteEndpointResponse # 
Show DeleteEndpointResponse # 
Generic DeleteEndpointResponse # 
NFData DeleteEndpointResponse # 

Methods

rnf :: DeleteEndpointResponse -> () #

type Rep DeleteEndpointResponse # 
type Rep DeleteEndpointResponse = D1 (MetaData "DeleteEndpointResponse" "Network.AWS.SNS.DeleteEndpoint" "amazonka-sns-1.4.5-5x1MjGFUMvV6p7MfMkg43e" False) (C1 (MetaCons "DeleteEndpointResponse'" PrefixI False) U1)