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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitosync/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.

Instance Attribute Summary collapse

Instance Attribute Details

#creation_dateTime

Date on which the dataset was created.

Returns:

  • (Time)


127
128
129
130
131
132
133
134
135
136
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 127

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

#data_storageInteger

Total size in bytes of the records in this dataset.

Returns:

  • (Integer)


127
128
129
130
131
132
133
134
135
136
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 127

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  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)


127
128
129
130
131
132
133
134
135
136
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 127

class Dataset < Struct.new(
  :identity_id,
  :dataset_name,
  :creation_date,
  :last_modified_date,
  :last_modified_by,
  :data_storage,
  :num_records)
  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)


127
128
129
130
131
132
133
134
135
136
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 127

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

#last_modified_byString

The device that made the last change to this dataset.

Returns:

  • (String)


127
128
129
130
131
132
133
134
135
136
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 127

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

#last_modified_dateTime

Date when the dataset was last modified.

Returns:

  • (Time)


127
128
129
130
131
132
133
134
135
136
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 127

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

#num_recordsInteger

Number of records in this dataset.

Returns:

  • (Integer)


127
128
129
130
131
132
133
134
135
136
# File 'gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/types.rb', line 127

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