class
Amazonite::Sns::CreatePlatformEndpointInput
- Amazonite::Sns::CreatePlatformEndpointInput
- Reference
- Object
Overview
Input for CreatePlatformEndpoint action.
Defined in:
sns/create_platform_endpoint_input.crConstructors
- .from_xml(node : XML::Node) : self
- .new(platform_application_arn : String, token : String, custom_user_data : String | Nil = nil, attributes : Hash(String, String) | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#attributes : Hash(String, String) | Nil
For a list of attributes, see
SetEndpointAttributes. -
#attributes=(attributes : Hash(String, String) | Nil)
For a list of attributes, see
SetEndpointAttributes. -
#custom_user_data : String | Nil
Arbitrary user data to associate with the endpoint.
-
#custom_user_data=(custom_user_data : String | Nil)
Arbitrary user data to associate with the endpoint.
-
#hash(hasher)
See
Object#hash(hasher) -
#platform_application_arn : String
PlatformApplicationArnreturned from CreatePlatformApplication is used to create a an endpoint. -
#platform_application_arn=(platform_application_arn : String)
PlatformApplicationArnreturned from CreatePlatformApplication is used to create a an endpoint. - #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#token : String
Unique identifier created by the notification service for an app on a device.
-
#token=(token : String)
Unique identifier created by the notification service for an app on a device.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
For a list of attributes, see SetEndpointAttributes
.
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.
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.
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an
endpoint.
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an
endpoint.
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.
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.