amazonka-cognito-sync-0.1.0: Amazon Cognito Sync SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoSync.Types

Contents

Synopsis

Service

data CognitoSync Source

Version 2014-06-30 of the Amazon Cognito Sync service.

Error

data JSONError :: *

Instances

Eq JSONError 
Show JSONError 
Generic JSONError 
FromJSON JSONError 
AWSErrorCode JSONError 
type Rep JSONError = D1 D1JSONError (C1 C1_0JSONError ((:*:) (S1 S1_0_0JSONError (Rec0 (Maybe Text))) ((:*:) (S1 S1_0_1JSONError (Rec0 ErrorCode)) (S1 S1_0_2JSONError (Rec0 Text))))) 

IdentityPoolUsage

ipuDataStorage :: Lens' IdentityPoolUsage (Maybe Integer) Source

Data storage information for the identity pool.

ipuIdentityPoolId :: Lens' IdentityPoolUsage (Maybe Text) Source

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.

ipuLastModifiedDate :: Lens' IdentityPoolUsage (Maybe UTCTime) Source

Date on which the identity pool was last modified.

ipuSyncSessionsCount :: Lens' IdentityPoolUsage (Maybe Integer) Source

Number of sync sessions for the identity pool.

Platform

Dataset

dCreationDate :: Lens' Dataset (Maybe UTCTime) Source

Date on which the dataset was created.

dDataStorage :: Lens' Dataset (Maybe Integer) Source

Total size in bytes of the records in this dataset.

dDatasetName :: Lens' Dataset (Maybe Text) Source

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

dIdentityId :: Lens' Dataset (Maybe Text) Source

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.

dLastModifiedBy :: Lens' Dataset (Maybe Text) Source

The device that made the last change to this dataset.

dLastModifiedDate :: Lens' Dataset (Maybe UTCTime) Source

Date when the dataset was last modified.

dNumRecords :: Lens' Dataset (Maybe Integer) Source

Number of records in this dataset.

Operation

Record

rDeviceLastModifiedDate :: Lens' Record (Maybe UTCTime) Source

The last modified date of the client device.

rKey :: Lens' Record (Maybe Text) Source

The key for the record.

rLastModifiedBy :: Lens' Record (Maybe Text) Source

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

rLastModifiedDate :: Lens' Record (Maybe UTCTime) Source

The date on which the record was last modified.

rSyncCount :: Lens' Record (Maybe Integer) Source

The server sync count for this record.

rValue :: Lens' Record (Maybe Text) Source

The value for the record.

IdentityUsage

iuDataStorage :: Lens' IdentityUsage (Maybe Integer) Source

Total data storage for this identity.

iuDatasetCount :: Lens' IdentityUsage (Maybe Int) Source

Number of datasets for the identity.

iuIdentityId :: Lens' IdentityUsage (Maybe Text) Source

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.

iuIdentityPoolId :: Lens' IdentityUsage (Maybe Text) Source

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.

iuLastModifiedDate :: Lens' IdentityUsage (Maybe UTCTime) Source

Date on which the identity was last modified.

RecordPatch

recordPatch Source

RecordPatch constructor.

The fields accessible through corresponding lenses are:

rpDeviceLastModifiedDate :: Lens' RecordPatch (Maybe UTCTime) Source

The last modified date of the client device.

rpKey :: Lens' RecordPatch Text Source

The key associated with the record patch.

rpOp :: Lens' RecordPatch Operation Source

An operation, either replace or remove.

rpSyncCount :: Lens' RecordPatch Integer Source

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

rpValue :: Lens' RecordPatch (Maybe Text) Source

The value associated with the record patch.

PushSync

pushSync :: PushSync Source

PushSync constructor.

The fields accessible through corresponding lenses are:

psApplicationArns :: Lens' PushSync [Text] Source

List of SNS platform application ARNs that could be used by clients.

psRoleArn :: Lens' PushSync (Maybe Text) Source

A role configured to allow Cognito to call SNS on behalf of the developer.