Dataset

class Dataset

A 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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Date on which the dataset was created.

Link copied to clipboard

A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).

Link copied to clipboard

Total size in bytes of the records in this dataset.

Link copied to clipboard

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.

Link copied to clipboard

The device that made the last change to this dataset.

Link copied to clipboard

Date when the dataset was last modified.

Link copied to clipboard

Number of records in this dataset.

Functions

Link copied to clipboard
inline fun copy(block: Dataset.Builder.() -> Unit = {}): Dataset
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String