Module Values.CreatePlatformEndpointInputSource

Input for CreatePlatformEndpoint action.

Sourcetype nonrec t = {
  1. platformApplicationArn : String_.t;
    (*

    PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.

    *)
  2. token : String_.t;
    (*

    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.

    *)
  3. customUserData : String_.t option;
    (*

    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.

    *)
  4. attributes : MapStringToString.t option;
    (*

    For a list of attributes, see SetEndpointAttributes .

    *)
}
Sourceval context_ : string
Sourceval make : ?customUserData:??? -> ?attributes:??? -> platformApplicationArn:String_.t -> token:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t