amazonka-sns-2.0: Amazon Simple Notification Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

Synopsis

Creating a Request

data DeleteEndpoint Source #

Input for DeleteEndpoint action.

See: newDeleteEndpoint smart constructor.

Constructors

DeleteEndpoint' 

Fields

Instances

Instances details
ToHeaders DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

ToPath DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

ToQuery DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

AWSRequest DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type AWSResponse DeleteEndpoint #

Generic DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpoint :: Type -> Type #

Read DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Show DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

NFData DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpoint -> () #

Eq DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Hashable DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type AWSResponse DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpoint = D1 ('MetaData "DeleteEndpoint" "Amazonka.SNS.DeleteEndpoint" "amazonka-sns-2.0-4k7AiJI7DyqhOUy5o4qb9" 'False) (C1 ('MetaCons "DeleteEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteEndpoint Source #

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:

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.

Instances

Instances details
Generic DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpointResponse :: Type -> Type #

Read DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Show DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

NFData DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpointResponse -> () #

Eq DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpointResponse = D1 ('MetaData "DeleteEndpointResponse" "Amazonka.SNS.DeleteEndpoint" "amazonka-sns-2.0-4k7AiJI7DyqhOUy5o4qb9" 'False) (C1 ('MetaCons "DeleteEndpointResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteEndpointResponse :: DeleteEndpointResponse Source #

Create a value of DeleteEndpointResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.