[][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

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

Trait Implementations

impl Clone for CreatePlatformEndpointInput[src]

impl Debug for CreatePlatformEndpointInput[src]

impl Default for CreatePlatformEndpointInput[src]

impl PartialEq<CreatePlatformEndpointInput> for CreatePlatformEndpointInput[src]

impl StructuralPartialEq for CreatePlatformEndpointInput[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.