AWS SDK for .NET Documentation
CreatePlatformApplicationRequest Class
AmazonAmazon.SimpleNotificationService.ModelCreatePlatformApplicationRequest Did this page help you?   Yes   No    Tell us about it...
Creates a platform application object for one of the supported push notification services, such as APNS and GCM, to which devices and mobile apps may register.
Declaration Syntax
public class CreatePlatformApplicationRequest : SNSRequest
All MembersConstructorsMethodsProperties

Initializes a new instance of the CreatePlatformApplicationRequest class

Gets or sets the attributes. For a list of attributes, see SetPlatformApplicationAttributes

Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the type of the current instance.
(Inherited from Object.)
Determines whether the target [P:Attributes] is set in this request.

Determines whether the target [P:Name] property is set in this request.

Determines whether the target [P:Platform] property is set.

Gets or sets the name. Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.

Gets or sets the platform. The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).

Returns a string that represents the current object.
(Inherited from Object.)
WithAttribute(String, String) Obsolete.
Modifies this request to include the specified attribute. If an attribute already exists, its value will be replaced with the new value.

WithAttributes(Dictionary<(Of <<'(String, String>)>>)) Obsolete.
Modifies this request with the specified attributes.

WithName(String) Obsolete.
Modifies this request with the specified name.

WithPlatform(String) Obsolete.
Modifies this request with the specified platform.

You must specify PlatformPrincipal and PlatformCredential attributes when using this method. The PlatformPrincipal is received from the notification service. For APNS/APNS_SANDBOX, PlatformPrincipal is "SSL certificate". For GCM, PlatformPrincipal is not applicable. For ADM PlatformPrincipal is "client id". The PlatformCredential is also received from the notification service. For APNS/APNS_SANDBOX, PlatformCredential is "private key". For GCM, PlatformCredential is "API key". For ADM, PlatformCredential is "client secret". The PlatformApplicationArn that is returned by this method is then used as an attribute for the CreatePlatformEndpoint(CreatePlatformEndpointRequest) method. For more information, see Using Amazon SNS Mobile Push Notifications.
Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: (