AWSCognitoSyncUpdateRecordsRequest
Objective-C
@interface AWSCognitoSyncUpdateRecordsRequest
Swift
class AWSCognitoSyncUpdateRecordsRequest
A request to post updates to records or add and delete records for a dataset and user. Required parameters: [IdentityPoolId, IdentityId, DatasetName, SyncSessionToken]
-
Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable clientContext;
Swift
var clientContext: String? { 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 }
-
The unique ID generated for this device by Cognito.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable deviceId;
Swift
var deviceId: 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 }
-
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 identityPoolId;
Swift
var identityPoolId: String? { get set }
-
A list of patch operations.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSCognitoSyncRecordPatch *> *_Nullable recordPatches;
Swift
var recordPatches: [AWSCognitoSyncRecordPatch]? { get set }
-
The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable syncSessionToken;
Swift
var syncSessionToken: String? { get set }