Class: Aws::CognitoSync::Types::Dataset
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoSync::Types::Dataset
- 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
-
#creation_date ⇒ Time
Date on which the dataset was created.
-
#data_storage ⇒ Integer
Total size in bytes of the records in this dataset.
-
#dataset_name ⇒ String
A string of up to 128 characters.
-
#identity_id ⇒ String
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
-
#last_modified_by ⇒ String
The device that made the last change to this dataset.
-
#last_modified_date ⇒ Time
Date when the dataset was last modified.
-
#num_records ⇒ Integer
Number of records in this dataset.
Instance Attribute Details
#creation_date ⇒ Time
Date on which the dataset was created.
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_storage ⇒ Integer
Total size in bytes of the records in this dataset.
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_name ⇒ String
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, ‘_’ (underscore), ‘-’ (dash), and ‘.’ (dot).
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_id ⇒ String
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.
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_by ⇒ String
The device that made the last change to this dataset.
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_date ⇒ Time
Date when the dataset was last modified.
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_records ⇒ Integer
Number of records in this dataset.
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 |