Values.DatasetSourceA collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.
type nonrec t = {identityId : IdentityId.t option;A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
*)datasetName : DatasetName.t option;A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
*)creationDate : Date.t option;Date on which the dataset was created.
*)lastModifiedDate : Date.t option;Date when the dataset was last modified.
*)lastModifiedBy : String_.t option;The device that made the last change to this dataset.
*)dataStorage : Long.t option;Total size in bytes of the records in this dataset.
*)numRecords : Long.t option;Number of records in this dataset.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Long of Long.t | `String of IdentityId.t | `Timestamp of Date.t ])
list ]