Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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).

§
DeviceId?: string | null
[src]

The unique ID generated for this device by Cognito.

§
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.

§
SyncSessionToken: string
[src]

The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.