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

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

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

Overview

Note:

When making an API call, you may pass CreatePlatformApplicationInput data as a 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>)


187
188
189
190
191
192
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 187

class CreatePlatformApplicationInput < Struct.new(
  :name,
  :platform,
  :attributes)
  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)


187
188
189
190
191
192
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 187

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

#platformString

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

Returns:

  • (String)


187
188
189
190
191
192
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 187

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