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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cognitosync/types.rb

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

Date on which the dataset was created.

Returns:

  • (Time)


146
147
148
149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-cognitosync/types.rb', line 146

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  SENSITIVE = []
  include Aws::Structure
end

#data_storageInteger

Total size in bytes of the records in this dataset.

Returns:

  • (Integer)


146
147
148
149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-cognitosync/types.rb', line 146

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  SENSITIVE = []
  include Aws::Structure
end

#dataset_nameString

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

Returns:

  • (String)


146
147
148
149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-cognitosync/types.rb', line 146

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  SENSITIVE = []
  include Aws::Structure
end

#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)


146
147
148
149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-cognitosync/types.rb', line 146

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_byString

The device that made the last change to this dataset.

Returns:

  • (String)


146
147
148
149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-cognitosync/types.rb', line 146

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  SENSITIVE = []
  include Aws::Structure
end

#last_modified_dateTime

Date when the dataset was last modified.

Returns:

  • (Time)


146
147
148
149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-cognitosync/types.rb', line 146

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  SENSITIVE = []
  include Aws::Structure
end

#num_recordsInteger

Number of records in this dataset.

Returns:

  • (Integer)


146
147
148
149
150
151
152
153
154
155
156
# File 'lib/aws-sdk-cognitosync/types.rb', line 146

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  SENSITIVE = []
  include Aws::Structure
end