amazonka-sns-1.6.0: 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 #

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

Defined in Network.AWS.SNS.DeleteEndpoint

Data DeleteEndpoint # 
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 # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Show DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Generic DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpoint :: * -> * #

Hashable DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

AWSRequest DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Associated Types

type Rs DeleteEndpoint :: * #

ToHeaders DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

ToPath DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

ToQuery DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

NFData DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpoint -> () #

type Rep DeleteEndpoint # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

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

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

Defined in Network.AWS.SNS.DeleteEndpoint

Data DeleteEndpointResponse # 
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 # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Show DeleteEndpointResponse # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Generic DeleteEndpointResponse # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpointResponse :: * -> * #

NFData DeleteEndpointResponse # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpointResponse -> () #

type Rep DeleteEndpointResponse # 
Instance details

Defined in Network.AWS.SNS.DeleteEndpoint

type Rep DeleteEndpointResponse = D1 (MetaData "DeleteEndpointResponse" "Network.AWS.SNS.DeleteEndpoint" "amazonka-sns-1.6.0-HtFY9r81ykN4UA9Dx2hCIO" False) (C1 (MetaCons "DeleteEndpointResponse'" PrefixI False) (U1 :: * -> *))