AWSCognitoSyncDataset
Objective-C
@interface AWSCognitoSyncDataset
Swift
class AWSCognitoSyncDataset
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.
-
Date on which the dataset was created.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable creationDate;
Swift
var creationDate: Date? { get set }
-
Total size in bytes of the records in this dataset.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dataStorage;
Swift
var dataStorage: NSNumber? { get set }
-
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, ‘_’ (underscore), ‘-’ (dash), and ‘.’ (dot).
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable datasetName;
Swift
var datasetName: String? { get set }
-
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.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable identityId;
Swift
var identityId: String? { get set }
-
The device that made the last change to this dataset.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable lastModifiedBy;
Swift
var lastModifiedBy: String? { get set }
-
Date when the dataset was last modified.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable lastModifiedDate;
Swift
var lastModifiedDate: Date? { get set }
-
Number of records in this dataset.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable numRecords;
Swift
var numRecords: NSNumber? { get set }