DeletePlatformApplication() public method

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.
/// Indicates that the user has been denied access to the requested resource. /// /// Indicates an internal service error. /// /// Indicates that a request parameter does not comply with the associated constraints. ///
public DeletePlatformApplication ( DeletePlatformApplicationRequest request ) : Amazon.SimpleNotificationService.Model.DeletePlatformApplicationResponse
request Amazon.SimpleNotificationService.Model.DeletePlatformApplicationRequest Container for the necessary parameters to execute the DeletePlatformApplication service method.
return Amazon.SimpleNotificationService.Model.DeletePlatformApplicationResponse
Exemplo n.º 1
0
    public static void SNSMobilePushAPIsDeletePlatformApplication()
    {
      #region SNSMobilePushAPIsDeletePlatformApplication
      var snsClient = new AmazonSimpleNotificationServiceClient();

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

      snsClient.DeletePlatformApplication(request);
      #endregion
    }