Module Smaws_Client_SNS.CreatePlatformApplication

Creates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the CreatePlatformApplication action.

PlatformPrincipal and PlatformCredential are received from the notification service.

You can use the returned PlatformApplicationArn as an attribute for the CreatePlatformEndpoint action.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `AuthorizationErrorException of Types.authorization_error_exception | `InternalErrorException of Types.internal_error_exception | `InvalidParameterException of Types.invalid_parameter_exception ] -> string