Module Values.RegisterDeviceRequestSource

A request to RegisterDevice.

Sourcetype nonrec t = {
  1. identityPoolId : IdentityPoolId.t;
    (*

    A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.

    *)
  2. identityId : IdentityId.t;
    (*

    The unique ID for this identity.

    *)
  3. platform : Platform.t;
    (*

    The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).

    *)
  4. token : PushToken.t;
    (*

    The push token.

    *)
}
Sourceval context_ : string
Sourceval make : identityPoolId:IdentityPoolId.t -> identityId:IdentityId.t -> platform:Platform.t -> token:PushToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of IdentityPoolId.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