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 4.5
 
Container for the parameters to the DeletePlatformApplication operation. Deletes a platform application object for one of the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications.

Inheritance Hierarchy

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

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

Syntax

C#
public class DeletePlatformApplicationRequest : AmazonSimpleNotificationServiceRequest
         IRequestEvents

The DeletePlatformApplicationRequest type exposes the following members

Constructors

Properties

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

PlatformApplicationArn of platform application object to delete.

Examples

This example shows how to delete a mobile push application.

Delete mobile push application example

var snsClient = new AmazonSimpleNotificationServiceClient();

var request = new DeletePlatformApplicationRequest
{
  PlatformApplicationArn = "arn:aws:sns:us-east-1:80398EXAMPLE:" +
    "app/GCM/TimeCardProcessingApplication"
};

snsClient.DeletePlatformApplication(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