Class: Aws::SNS::Types::CreatePlatformApplicationInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SNS::Types::CreatePlatformApplicationInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sns/types.rb
Overview
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
-
#attributes ⇒ Hash<String,String>
For a list of attributes, see [SetPlatformApplicationAttributes].
-
#name ⇒ 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.
-
#platform ⇒ String
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).
Instance Attribute Details
#attributes ⇒ Hash<String,String>
For a list of attributes, see [SetPlatformApplicationAttributes]
[1]: docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html
187 188 189 190 191 192 |
# File 'lib/aws-sdk-sns/types.rb', line 187 class CreatePlatformApplicationInput < Struct.new( :name, :platform, :attributes) include Aws::Structure end |
#name ⇒ 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.
187 188 189 190 191 192 |
# File 'lib/aws-sdk-sns/types.rb', line 187 class CreatePlatformApplicationInput < Struct.new( :name, :platform, :attributes) include Aws::Structure end |
#platform ⇒ String
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).
187 188 189 190 191 192 |
# File 'lib/aws-sdk-sns/types.rb', line 187 class CreatePlatformApplicationInput < Struct.new( :name, :platform, :attributes) include Aws::Structure end |