You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoSync::Types::Dataset

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

Date on which the dataset was created.

Returns:

  • (Time)

    Date on which the dataset was created.

#data_storageInteger

Total size in bytes of the records in this dataset.

Returns:

  • (Integer)

    Total size in bytes of the records in this dataset.

#dataset_nameString

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

Returns:

  • (String)

    A string of up to 128 characters.

#identity_idString

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.

Returns:

  • (String)

    A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.

#last_modified_byString

The device that made the last change to this dataset.

Returns:

  • (String)

    The device that made the last change to this dataset.

#last_modified_dateTime

Date when the dataset was last modified.

Returns:

  • (Time)

    Date when the dataset was last modified.

#num_recordsInteger

Number of records in this dataset.

Returns:

  • (Integer)

    Number of records in this dataset.