You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoSync::Types::RecordPatch

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RecordPatch as input to an Aws::Client method, you can use a vanilla Hash:

{
  op: "replace", # required, accepts replace, remove
  key: "RecordKey", # required
  value: "RecordValue",
  sync_count: 1, # required
  device_last_modified_date: Time.now,
}

An update operation for a record.

Instance Attribute Summary collapse

Instance Attribute Details

#device_last_modified_dateTime

The last modified date of the client device.

Returns:

  • (Time)

    The last modified date of the client device.

#keyString

The key associated with the record patch.

Returns:

  • (String)

    The key associated with the record patch.

#opString

An operation, either replace or remove.

Possible values:

  • replace
  • remove

Returns:

  • (String)

    An operation, either replace or remove.

#sync_countInteger

Last known server sync count for this record. Set to 0 if unknown.

Returns:

  • (Integer)

    Last known server sync count for this record.

#valueString

The value associated with the record patch.

Returns:

  • (String)

    The value associated with the record patch.