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
C#
public class CreatePlatformApplicationRequest : SNSRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreatePlatformApplicationRequest()()()()
Initializes a new instance of the CreatePlatformApplicationRequest class

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

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

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

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

Name
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.

Platform
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).

ToString()()()()
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.

Remarks
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
Object
SNSRequest
 CreatePlatformApplicationRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)