libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CognitoSync.Types.Record

Description

 
Synopsis

Documentation

data Record Source #

The basic data structure of a dataset.

See: newRecord smart constructor.

Constructors

Record' 

Fields

Instances

Instances details
Eq Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Methods

(==) :: Record -> Record -> Bool #

(/=) :: Record -> Record -> Bool #

Read Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Show Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Generic Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

NFData Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Methods

rnf :: Record -> () #

Hashable Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

FromJSON Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

type Rep Record Source # 
Instance details

Defined in Amazonka.CognitoSync.Types.Record

type Rep Record = D1 ('MetaData "Record" "Amazonka.CognitoSync.Types.Record" "libZSservicesZSamazonka-cognito-syncZSamazonka-cognito-sync" 'False) (C1 ('MetaCons "Record'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "syncCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "deviceLastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newRecord :: Record Source #

Create a value of Record 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:syncCount:Record', record_syncCount - The server sync count for this record.

$sel:deviceLastModifiedDate:Record', record_deviceLastModifiedDate - The last modified date of the client device.

$sel:lastModifiedDate:Record', record_lastModifiedDate - The date on which the record was last modified.

$sel:value:Record', record_value - The value for the record.

$sel:key:Record', record_key - The key for the record.

$sel:lastModifiedBy:Record', record_lastModifiedBy - The user/device that made the last change to this record.

record_syncCount :: Lens' Record (Maybe Integer) Source #

The server sync count for this record.

record_deviceLastModifiedDate :: Lens' Record (Maybe UTCTime) Source #

The last modified date of the client device.

record_lastModifiedDate :: Lens' Record (Maybe UTCTime) Source #

The date on which the record was last modified.

record_value :: Lens' Record (Maybe Text) Source #

The value for the record.

record_key :: Lens' Record (Maybe Text) Source #

The key for the record.

record_lastModifiedBy :: Lens' Record (Maybe Text) Source #

The user/device that made the last change to this record.