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

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

Defined in Amazonka.SNS.DeleteEndpoint

Read DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Show DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Generic DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpoint :: Type -> Type #

NFData DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpoint -> () #

Hashable DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

AWSRequest DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type AWSResponse DeleteEndpoint #

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

type Rep DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpoint = D1 ('MetaData "DeleteEndpoint" "Amazonka.SNS.DeleteEndpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "DeleteEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

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:

$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.

Instances

Instances details
Eq DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Read DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Show DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Generic DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Associated Types

type Rep DeleteEndpointResponse :: Type -> Type #

NFData DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

Methods

rnf :: DeleteEndpointResponse -> () #

type Rep DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SNS.DeleteEndpoint

type Rep DeleteEndpointResponse = D1 ('MetaData "DeleteEndpointResponse" "Amazonka.SNS.DeleteEndpoint" "libZSservicesZSamazonka-snsZSamazonka-sns" '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.