CreatePlatformEndpointRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the CreatePlatformEndpoint operation.

The CreatePlatformEndpoint creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM and APNS. CreatePlatformEndpoint requires the PlatformApplicationArn that is returned from CreatePlatformApplication . The EndpointArn that is returned when using CreatePlatformEndpoint can then be used by the Publish action to send a message to a mobile app or by the Subscribe action for subscription to a topic. For more information, see Using Amazon SNS Mobile Push Notifications.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleNotificationService.Model.CreatePlatformEndpointRequest

Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class CreatePlatformEndpointRequest : AmazonWebServiceRequest
         IRequestEvents

The CreatePlatformEndpointRequest type exposes the following members

Constructors

  Name Description
Public Method CreatePlatformEndpointRequest()

Properties

  Name Description
Public Property Attributes For a list of attributes, see SetEndpointAttributes.
Public Property CustomUserData Arbitrary user data to associate with the endpoint. SNS does not use this data. The data must be in UTF-8 format and less than 2KB.
Public Property PlatformApplicationArn PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.
Public Property Token Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID.

Version Information

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

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

.NET for Windows Phone:
Supported in: Window Phone 8