Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data CognitoSync
- data JSONError :: *
- data IdentityPoolUsage
- identityPoolUsage :: IdentityPoolUsage
- ipuDataStorage :: Lens' IdentityPoolUsage (Maybe Integer)
- ipuIdentityPoolId :: Lens' IdentityPoolUsage (Maybe Text)
- ipuLastModifiedDate :: Lens' IdentityPoolUsage (Maybe UTCTime)
- ipuSyncSessionsCount :: Lens' IdentityPoolUsage (Maybe Integer)
- data Platform
- = Adm
- | Apns
- | ApnsSandbox
- | Gcm
- data Dataset
- dataset :: Dataset
- dCreationDate :: Lens' Dataset (Maybe UTCTime)
- dDataStorage :: Lens' Dataset (Maybe Integer)
- dDatasetName :: Lens' Dataset (Maybe Text)
- dIdentityId :: Lens' Dataset (Maybe Text)
- dLastModifiedBy :: Lens' Dataset (Maybe Text)
- dLastModifiedDate :: Lens' Dataset (Maybe UTCTime)
- dNumRecords :: Lens' Dataset (Maybe Integer)
- data Operation
- data StreamingStatus
- data BulkPublishStatus
- data Record
- record :: Record
- rDeviceLastModifiedDate :: Lens' Record (Maybe UTCTime)
- rKey :: Lens' Record (Maybe Text)
- rLastModifiedBy :: Lens' Record (Maybe Text)
- rLastModifiedDate :: Lens' Record (Maybe UTCTime)
- rSyncCount :: Lens' Record (Maybe Integer)
- rValue :: Lens' Record (Maybe Text)
- data CognitoStreams
- cognitoStreams :: CognitoStreams
- csRoleArn :: Lens' CognitoStreams (Maybe Text)
- csStreamName :: Lens' CognitoStreams (Maybe Text)
- csStreamingStatus :: Lens' CognitoStreams (Maybe StreamingStatus)
- data IdentityUsage
- identityUsage :: IdentityUsage
- iuDataStorage :: Lens' IdentityUsage (Maybe Integer)
- iuDatasetCount :: Lens' IdentityUsage (Maybe Int)
- iuIdentityId :: Lens' IdentityUsage (Maybe Text)
- iuIdentityPoolId :: Lens' IdentityUsage (Maybe Text)
- iuLastModifiedDate :: Lens' IdentityUsage (Maybe UTCTime)
- data RecordPatch
- recordPatch :: Operation -> Text -> Integer -> RecordPatch
- rpDeviceLastModifiedDate :: Lens' RecordPatch (Maybe UTCTime)
- rpKey :: Lens' RecordPatch Text
- rpOp :: Lens' RecordPatch Operation
- rpSyncCount :: Lens' RecordPatch Integer
- rpValue :: Lens' RecordPatch (Maybe Text)
- data PushSync
- pushSync :: PushSync
- psApplicationArns :: Lens' PushSync [Text]
- psRoleArn :: Lens' PushSync (Maybe Text)
Service
data CognitoSync Source
Version 2014-06-30
of the Amazon Cognito Sync service.
AWSService CognitoSync | |
type Er CognitoSync = JSONError | |
type Sg CognitoSync = V4 |
Error
data JSONError :: *
IdentityPoolUsage
data IdentityPoolUsage Source
identityPoolUsage :: IdentityPoolUsage Source
IdentityPoolUsage
constructor.
The fields accessible through corresponding lenses are:
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
Adm | ADM |
Apns | APNS |
ApnsSandbox | APNS_SANDBOX |
Gcm | GCM |
Dataset
Dataset
constructor.
The fields accessible through corresponding lenses are:
dDataStorage :: Lens' Dataset (Maybe Integer) Source
Total size in bytes of the records in this dataset.
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.
Operation
StreamingStatus
data StreamingStatus Source
BulkPublishStatus
data BulkPublishStatus Source
Failed | FAILED |
InProgress | IN_PROGRESS |
NotStarted | NOT_STARTED |
Succeeded | SUCCEEDED |
Record
Record
constructor.
The fields accessible through corresponding lenses are:
rDeviceLastModifiedDate :: Lens' Record (Maybe UTCTime) Source
The last modified date of the client device.
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.
CognitoStreams
data CognitoStreams Source
cognitoStreams :: CognitoStreams Source
CognitoStreams
constructor.
The fields accessible through corresponding lenses are:
csRoleArn :: Lens' CognitoStreams (Maybe Text) Source
The ARN of the role Amazon Cognito can assume in order to publish to the
stream. This role must grant access to Amazon Cognito (cognito-sync) to
invoke PutRecord
on your Cognito stream.
csStreamName :: Lens' CognitoStreams (Maybe Text) Source
The name of the Cognito stream to receive updates. This stream must be in the developers account and in the same region as the identity pool.
csStreamingStatus :: Lens' CognitoStreams (Maybe StreamingStatus) Source
Status of the Cognito streams. Valid values are: ENABLED
- Streaming of
updates to identity pool is enabled.
DISABLED
Streaming of updates to identity pool is disabled. Bulk publish will
also fail if StreamingStatus
is DISABLED
.
IdentityUsage
data IdentityUsage Source
identityUsage :: IdentityUsage Source
IdentityUsage
constructor.
The fields accessible through corresponding lenses are:
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
data 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.
PushSync
psApplicationArns :: Lens' PushSync [Text] Source
List of SNS platform application ARNs that could be used by clients.