AmazonSimpleNotificationServiceClient.CreatePlatformEndpoint Method (CreatePlatformEndpointRequest)

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...

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.

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

Syntax

C#
public virtual CreatePlatformEndpointResponse CreatePlatformEndpoint(
         CreatePlatformEndpointRequest createPlatformEndpointRequest
)

Parameters

createPlatformEndpointRequest
Type: Amazon.SimpleNotificationService.Model.CreatePlatformEndpointRequest

Container for the necessary parameters to execute the CreatePlatformEndpoint service method on AmazonSimpleNotificationService.

Return Value
Type: Amazon.SimpleNotificationService.Model.CreatePlatformEndpointResponse
The response from the CreatePlatformEndpoint service method, as returned by AmazonSimpleNotificationService.

Exceptions

Version Information

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