Amazon.SimpleNotificationService.AmazonSimpleNotificationServiceClient.DeletePlatformApplication C# (CSharp) Метод

DeletePlatformApplication() публичный Метод

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.
Результат Amazon.SimpleNotificationService.Model.DeletePlatformApplicationResponse
        public DeletePlatformApplicationResponse DeletePlatformApplication(DeletePlatformApplicationRequest request)
        {
            var marshaller = new DeletePlatformApplicationRequestMarshaller();
            var unmarshaller = DeletePlatformApplicationResponseUnmarshaller.Instance;

            return Invoke<DeletePlatformApplicationRequest,DeletePlatformApplicationResponse>(request, marshaller, unmarshaller);
        }

Usage Example

Пример #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
    }
AmazonSimpleNotificationServiceClient