Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb

Overview

Input for CreatePlatformApplication action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

For a list of attributes, see SetPlatformApplicationAttributes .

Returns:

  • (Hash<String,String>)

245
246
247
248
249
250
251
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 245

class CreatePlatformApplicationInput < Struct.new(
  :name,
  :platform,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#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)

245
246
247
248
249
250
251
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 245

class CreatePlatformApplicationInput < Struct.new(
  :name,
  :platform,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#platformString

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

Returns:

  • (String)

245
246
247
248
249
250
251
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 245

class CreatePlatformApplicationInput < Struct.new(
  :name,
  :platform,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end