AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Container for the parameters to the DeleteEndpoint operation. Deletes the endpoint from Amazon SNS. This action is idempotent. For more information, see Using Amazon SNS Mobile Push Notifications.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceRequest
      Amazon.SimpleNotificationService.Model.DeleteEndpointRequest

Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class DeleteEndpointRequest : AmazonSimpleNotificationServiceRequest
         IRequestEvents

The DeleteEndpointRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteEndpointRequest()

Properties

NameTypeDescription
Public Property EndpointArn System.String Gets and sets the property EndpointArn.

EndpointArn of endpoint to delete.

Examples

This example shows how to delete a mobile push application endpoint.

Delete mobile push application endpoint example

var snsClient = new AmazonSimpleNotificationServiceClient();

var request = new DeleteEndpointRequest
{
  EndpointArn = "arn:aws:sns:us-east-1:80398EXAMPLE:" +
    "endpoint/GCM/TimeCardProcessingApplication/" +
    "d84b5f0d-7136-3bbe-9b42-4e001EXAMPLE"
};

snsClient.DeleteEndpoint(request);
      

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8