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
- Struct
- Aws::CognitoSync::Types::RecordPatch
- 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
-
#device_last_modified_date ⇒ Time
The last modified date of the client device.
-
#key ⇒ String
The key associated with the record patch.
-
#op ⇒ String
An operation, either replace or remove.
-
#sync_count ⇒ Integer
Last known server sync count for this record.
-
#value ⇒ String
The value associated with the record patch.
Instance Attribute Details
#device_last_modified_date ⇒ Time
The last modified date of the client device.
#key ⇒ String
The key associated with the record patch.
#op ⇒ String
An operation, either replace or remove.
Possible values:
- replace
- remove
#sync_count ⇒ Integer
Last known server sync count for this record. Set to 0 if unknown.
#value ⇒ String
The value associated with the record patch.