class Aws::CognitoSync::Types::UpdateRecordsRequest
A request to post updates to records or add and delete records for a dataset and user.
@note When making an API call, you may pass UpdateRecordsRequest
data as a hash: { identity_pool_id: "IdentityPoolId", # required identity_id: "IdentityId", # required dataset_name: "DatasetName", # required device_id: "DeviceId", record_patches: [ { op: "replace", # required, accepts replace, remove key: "RecordKey", # required value: "RecordValue", sync_count: 1, # required device_last_modified_date: Time.now, }, ], sync_session_token: "SyncSessionToken", # required client_context: "ClientContext", }
@!attribute [rw] identity_pool_id
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. @return [String]
@!attribute [rw] identity_id
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. @return [String]
@!attribute [rw] dataset_name
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '\_' (underscore), '-' (dash), and '.' (dot). @return [String]
@!attribute [rw] device_id
The unique ID generated for this device by Cognito. @return [String]
@!attribute [rw] record_patches
A list of patch operations. @return [Array<Types::RecordPatch>]
@!attribute [rw] sync_session_token
The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity. @return [String]
@!attribute [rw] client_context
Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/UpdateRecordsRequest AWS API Documentation
Constants
- SENSITIVE