UpdateRecordsRequest
import type { UpdateRecordsRequest } from "https://aws-api.deno.dev/v0.3/services/cognitosync.ts?docs=full";
A request to post updates to records or add and delete records for a dataset and user.
interface UpdateRecordsRequest {
ClientContext?: string | null;
DatasetName: string;
DeviceId?: string | null;
IdentityId: string;
IdentityPoolId: string;
RecordPatches?: RecordPatch[] | null;
SyncSessionToken: string;
}§Properties
§
ClientContext?: string | null
[src]Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.
§
DatasetName: string
[src]A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).
§
IdentityId: string
[src]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.
§
IdentityPoolId: string
[src]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.
§
RecordPatches?: RecordPatch[] | null
[src]A list of patch operations.