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 Sg CognitoSync = V4 | |
type Er CognitoSync = JSONError |
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:
dCreationDate
::
Maybe
UTCTime
dDataStorage
::
Maybe
Integer
dDatasetName
::
Maybe
Text
dIdentityId
::
Maybe
Text
dLastModifiedBy
::
Maybe
Text
dLastModifiedDate
::
Maybe
UTCTime
dNumRecords
::
Maybe
Integer
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
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
StreamingStatus
data StreamingStatus Source
Enum StreamingStatus | |
Eq StreamingStatus | |
Ord StreamingStatus | |
Read StreamingStatus | |
Show StreamingStatus | |
Generic StreamingStatus | |
Hashable StreamingStatus | |
ToText StreamingStatus | |
FromText StreamingStatus | |
ToQuery StreamingStatus | |
ToHeader StreamingStatus | |
ToByteString StreamingStatus | |
ToJSON StreamingStatus | |
FromJSON StreamingStatus | |
type Rep StreamingStatus |
BulkPublishStatus
data BulkPublishStatus Source
Failed | FAILED |
InProgress | IN_PROGRESS |
NotStarted | NOT_STARTED |
Succeeded | SUCCEEDED |
Enum BulkPublishStatus | |
Eq BulkPublishStatus | |
Ord BulkPublishStatus | |
Read BulkPublishStatus | |
Show BulkPublishStatus | |
Generic BulkPublishStatus | |
Hashable BulkPublishStatus | |
ToText BulkPublishStatus | |
FromText BulkPublishStatus | |
ToQuery BulkPublishStatus | |
ToHeader BulkPublishStatus | |
ToByteString BulkPublishStatus | |
ToJSON BulkPublishStatus | |
FromJSON BulkPublishStatus | |
type Rep BulkPublishStatus |
Record
Record
constructor.
The fields accessible through corresponding lenses are:
rDeviceLastModifiedDate
::
Maybe
UTCTime
rKey
::
Maybe
Text
rLastModifiedBy
::
Maybe
Text
rLastModifiedDate
::
Maybe
UTCTime
rSyncCount
::
Maybe
Integer
rValue
::
Maybe
Text
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.
rSyncCount :: Lens' Record (Maybe Integer) Source
The server sync count for this record.
CognitoStreams
data CognitoStreams Source
Eq CognitoStreams | |
Read CognitoStreams | |
Show CognitoStreams | |
ToJSON CognitoStreams | |
FromJSON CognitoStreams |
cognitoStreams :: CognitoStreams Source
CognitoStreams
constructor.
The fields accessible through corresponding lenses are:
csRoleArn
::
Maybe
Text
csStreamName
::
Maybe
Text
csStreamingStatus
::
Maybe
StreamingStatus
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
Eq IdentityUsage | |
Ord IdentityUsage | |
Read IdentityUsage | |
Show IdentityUsage | |
ToJSON IdentityUsage | |
FromJSON IdentityUsage |
identityUsage :: IdentityUsage Source
IdentityUsage
constructor.
The fields accessible through corresponding lenses are:
iuDataStorage
::
Maybe
Integer
iuDatasetCount
::
Maybe
Int
iuIdentityId
::
Maybe
Text
iuIdentityPoolId
::
Maybe
Text
iuLastModifiedDate
::
Maybe
UTCTime
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
Eq RecordPatch | |
Read RecordPatch | |
Show RecordPatch | |
ToJSON RecordPatch | |
FromJSON RecordPatch |
:: Operation | |
-> Text | |
-> Integer | |
-> RecordPatch |
RecordPatch
constructor.
The fields accessible through corresponding lenses are:
rpDeviceLastModifiedDate
::
Maybe
UTCTime
rpKey
::
Text
rpOp
::
Operation
rpSyncCount
::
Integer
rpValue
::
Maybe
Text
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
constructor.
The fields accessible through corresponding lenses are:
psApplicationArns
::
[Text
]psRoleArn
::
Maybe
Text
psApplicationArns :: Lens' PushSync [Text] Source
List of SNS platform application ARNs that could be used by clients.