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

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 Source #

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 Source #

Input for DeleteEndpoint action.

See: deleteEndpoint smart constructor.

Instances
Eq DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Data DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.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 Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Show DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Generic DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpoint :: Type -> Type #

Hashable DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

AWSRequest DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Associated Types

type Rs DeleteEndpoint :: Type #

ToHeaders DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

ToPath DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

ToQuery DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

NFData DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpoint -> () #

type Rep DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

type Rep DeleteEndpoint = D1 (MetaData "DeleteEndpoint" "Network.AWS.SNS.DeleteEndpoint" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" True) (C1 (MetaCons "DeleteEndpoint'" PrefixI True) (S1 (MetaSel (Just "_deEndpointARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteEndpoint Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

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.

Instances
Eq DeleteEndpointResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Data DeleteEndpointResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

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 Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Show DeleteEndpointResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Generic DeleteEndpointResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpointResponse :: Type -> Type #

NFData DeleteEndpointResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpointResponse -> () #

type Rep DeleteEndpointResponse Source # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

type Rep DeleteEndpointResponse = D1 (MetaData "DeleteEndpointResponse" "Network.AWS.SNS.DeleteEndpoint" "amazonka-sns-1.6.1-7GBYpIO1P7AJWNWtL33amk" False) (C1 (MetaCons "DeleteEndpointResponse'" PrefixI False) (U1 :: Type -> Type))