| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CognitoSync.Types.RecordPatch
Description
Synopsis
- data RecordPatch = RecordPatch' {}
- newRecordPatch :: Operation -> Text -> Integer -> RecordPatch
- recordPatch_deviceLastModifiedDate :: Lens' RecordPatch (Maybe UTCTime)
- recordPatch_value :: Lens' RecordPatch (Maybe Text)
- recordPatch_op :: Lens' RecordPatch Operation
- recordPatch_key :: Lens' RecordPatch Text
- recordPatch_syncCount :: Lens' RecordPatch Integer
Documentation
data RecordPatch Source #
An update operation for a record.
See: newRecordPatch smart constructor.
Constructors
| RecordPatch' | |
Fields
| |
Instances
Arguments
| :: Operation | |
| -> Text | |
| -> Integer | |
| -> RecordPatch |
Create a value of RecordPatch with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deviceLastModifiedDate:RecordPatch', recordPatch_deviceLastModifiedDate - The last modified date of the client device.
$sel:value:RecordPatch', recordPatch_value - The value associated with the record patch.
$sel:op:RecordPatch', recordPatch_op - An operation, either replace or remove.
$sel:key:RecordPatch', recordPatch_key - The key associated with the record patch.
$sel:syncCount:RecordPatch', recordPatch_syncCount - Last known server sync count for this record. Set to 0 if unknown.
recordPatch_deviceLastModifiedDate :: Lens' RecordPatch (Maybe UTCTime) Source #
The last modified date of the client device.
recordPatch_value :: Lens' RecordPatch (Maybe Text) Source #
The value associated with the record patch.
recordPatch_op :: Lens' RecordPatch Operation Source #
An operation, either replace or remove.
recordPatch_key :: Lens' RecordPatch Text Source #
The key associated with the record patch.
recordPatch_syncCount :: Lens' RecordPatch Integer Source #
Last known server sync count for this record. Set to 0 if unknown.