You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SNS::Types::CreatePlatformApplicationInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreatePlatformApplicationInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "String", # required
  platform: "String", # required
  attributes: { # required
    "String" => "String",
  },
}

Input for CreatePlatformApplication action.

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

For a list of attributes, see SetPlatformApplicationAttributes

Returns:

  • (Hash<String,String>)

    For a list of attributes, see [SetPlatformApplicationAttributes][1].

#nameString

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.

Returns:

  • (String)

    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.

#platformString

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

Returns:

  • (String)

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