class Aws::SNS::Types::CreatePlatformEndpointInput
Input for CreatePlatformEndpoint action.
@note 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", }, }
@!attribute [rw] platform_application_arn
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint. @return [String]
@!attribute [rw] token
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 (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID. @return [String]
@!attribute [rw] custom_user_data
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. @return [String]
@!attribute [rw] attributes
For a list of attributes, see [SetEndpointAttributes][1]. [1]: https://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpointInput AWS API Documentation
Constants
- SENSITIVE