Class: Aws::SNS::Types::CreatePlatformEndpointInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SNS::Types::CreatePlatformEndpointInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sns/types.rb
Overview
When making an API call, you may pass CreatePlatformEndpointInput data as a hash:
{
platform_application_arn: "String", # required
token: "String", # required
custom_user_data: "String",
attributes: {
"String" => "String",
},
}
Input for CreatePlatformEndpoint action.
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
For a list of attributes, see [SetEndpointAttributes].
-
#custom_user_data ⇒ String
Arbitrary user data to associate with the endpoint.
-
#platform_application_arn ⇒ String
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.
-
#token ⇒ String
Unique identifier created by the notification service for an app on a device.
Instance Attribute Details
#attributes ⇒ Hash<String,String>
For a list of attributes, see [SetEndpointAttributes].
[1]: docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html
251 252 253 254 255 256 257 |
# File 'lib/aws-sdk-sns/types.rb', line 251 class CreatePlatformEndpointInput < Struct.new( :platform_application_arn, :token, :custom_user_data, :attributes) include Aws::Structure end |
#custom_user_data ⇒ String
Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.
251 252 253 254 255 256 257 |
# File 'lib/aws-sdk-sns/types.rb', line 251 class CreatePlatformEndpointInput < Struct.new( :platform_application_arn, :token, :custom_user_data, :attributes) include Aws::Structure end |
#platform_application_arn ⇒ String
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.
251 252 253 254 255 256 257 |
# File 'lib/aws-sdk-sns/types.rb', line 251 class CreatePlatformEndpointInput < Struct.new( :platform_application_arn, :token, :custom_user_data, :attributes) include Aws::Structure end |
#token ⇒ String
Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID.
251 252 253 254 255 256 257 |
# File 'lib/aws-sdk-sns/types.rb', line 251 class CreatePlatformEndpointInput < Struct.new( :platform_application_arn, :token, :custom_user_data, :attributes) include Aws::Structure end |