cognitosync_update_records: Posts updates to records and adds and deletes records for a...

View source: R/cognitosync_operations.R

cognitosync_update_recordsR Documentation

Posts updates to records and adds and deletes records for a dataset and user

Description

Posts updates to records and adds and deletes records for a dataset and user.

See https://www.paws-r-sdk.com/docs/cognitosync_update_records/ for full documentation.

Usage

cognitosync_update_records(
  IdentityPoolId,
  IdentityId,
  DatasetName,
  DeviceId = NULL,
  RecordPatches = NULL,
  SyncSessionToken,
  ClientContext = NULL
)

Arguments

IdentityPoolId

[required] 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.

IdentityId

[required] 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.

DatasetName

[required] A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).

DeviceId

The unique ID generated for this device by Cognito.

RecordPatches

A list of patch operations.

SyncSessionToken

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

ClientContext

Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.