[][src]Struct rusoto_sns::CreatePlatformEndpointInput

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 Clone for CreatePlatformEndpointInput
[src]

Performs copy-assignment from source. Read more

impl Default for CreatePlatformEndpointInput
[src]

impl PartialEq<CreatePlatformEndpointInput> for CreatePlatformEndpointInput
[src]

impl Debug for CreatePlatformEndpointInput
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T