Struct rusoto_sns::CreatePlatformEndpointInput
[−]
[src]
pub struct CreatePlatformEndpointInput { pub attributes: Option<HashMap<String, String>>, pub custom_user_data: Option<String>, pub platform_application_arn: String, pub token: String, }
Input for CreatePlatformEndpoint action.
Fields
attributes: Option<HashMap<String, String>>
For a list of attributes, see SetEndpointAttributes.
custom_user_data: Option<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.
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. 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.
Trait Implementations
impl Default for CreatePlatformEndpointInput
[src]
fn default() -> CreatePlatformEndpointInput
[src]
Returns the "default value" for a type. Read more
impl Debug for CreatePlatformEndpointInput
[src]
impl Clone for CreatePlatformEndpointInput
[src]
fn clone(&self) -> CreatePlatformEndpointInput
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more