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

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.

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 or ADM, the device token equivalent is called the registration ID.

Trait Implementations

impl Default for CreatePlatformEndpointInput
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for CreatePlatformEndpointInput
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CreatePlatformEndpointInput
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations