Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Dataset = Dataset' {}
- newDataset :: Dataset
- dataset_lastModifiedDate :: Lens' Dataset (Maybe UTCTime)
- dataset_numRecords :: Lens' Dataset (Maybe Integer)
- dataset_dataStorage :: Lens' Dataset (Maybe Integer)
- dataset_datasetName :: Lens' Dataset (Maybe Text)
- dataset_creationDate :: Lens' Dataset (Maybe UTCTime)
- dataset_lastModifiedBy :: Lens' Dataset (Maybe Text)
- dataset_identityId :: Lens' Dataset (Maybe Text)
Documentation
A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don't exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.
See: newDataset
smart constructor.
Dataset' | |
|
Instances
newDataset :: Dataset Source #
Create a value of Dataset
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:lastModifiedDate:Dataset'
, dataset_lastModifiedDate
- Date when the dataset was last modified.
$sel:numRecords:Dataset'
, dataset_numRecords
- Number of records in this dataset.
$sel:dataStorage:Dataset'
, dataset_dataStorage
- Total size in bytes of the records in this dataset.
$sel:datasetName:Dataset'
, dataset_datasetName
- A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
'_' (underscore), '-' (dash), and '.' (dot).
$sel:creationDate:Dataset'
, dataset_creationDate
- Date on which the dataset was created.
$sel:lastModifiedBy:Dataset'
, dataset_lastModifiedBy
- The device that made the last change to this dataset.
$sel:identityId:Dataset'
, dataset_identityId
- 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.
dataset_lastModifiedDate :: Lens' Dataset (Maybe UTCTime) Source #
Date when the dataset was last modified.
dataset_dataStorage :: Lens' Dataset (Maybe Integer) Source #
Total size in bytes of the records in this dataset.
dataset_datasetName :: 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).
dataset_creationDate :: Lens' Dataset (Maybe UTCTime) Source #
Date on which the dataset was created.