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.
public class CreatePlatformApplicationRequest : SNSRequest
Initializes a new instance of theclass
Gets or sets the attributes. For a list of attributes, see SetPlatformApplicationAttributes
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 targetis set in this request.
Determines whether the targetproperty is set in this request.
Determines whether the targetproperty 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.
Modifies this request with the specified name.
Modifies this request with the specified platform.
AWSSDK (Module: AWSSDK) Version: 22.214.171.124 (126.96.36.199)
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.