Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Datastore = Datastore' {
- arn :: Maybe Text
- creationTime :: Maybe POSIX
- datastorePartitions :: Maybe DatastorePartitions
- fileFormatConfiguration :: Maybe FileFormatConfiguration
- lastMessageArrivalTime :: Maybe POSIX
- lastUpdateTime :: Maybe POSIX
- name :: Maybe Text
- retentionPeriod :: Maybe RetentionPeriod
- status :: Maybe DatastoreStatus
- storage :: Maybe DatastoreStorage
- newDatastore :: Datastore
- datastore_arn :: Lens' Datastore (Maybe Text)
- datastore_creationTime :: Lens' Datastore (Maybe UTCTime)
- datastore_datastorePartitions :: Lens' Datastore (Maybe DatastorePartitions)
- datastore_fileFormatConfiguration :: Lens' Datastore (Maybe FileFormatConfiguration)
- datastore_lastMessageArrivalTime :: Lens' Datastore (Maybe UTCTime)
- datastore_lastUpdateTime :: Lens' Datastore (Maybe UTCTime)
- datastore_name :: Lens' Datastore (Maybe Text)
- datastore_retentionPeriod :: Lens' Datastore (Maybe RetentionPeriod)
- datastore_status :: Lens' Datastore (Maybe DatastoreStatus)
- datastore_storage :: Lens' Datastore (Maybe DatastoreStorage)
Documentation
Information about a data store.
See: newDatastore
smart constructor.
Datastore' | |
|
Instances
newDatastore :: Datastore Source #
Create a value of Datastore
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:arn:Datastore'
, datastore_arn
- The ARN of the data store.
$sel:creationTime:Datastore'
, datastore_creationTime
- When the data store was created.
$sel:datastorePartitions:Datastore'
, datastore_datastorePartitions
- Contains information about the partition dimensions in a data store.
$sel:fileFormatConfiguration:Datastore'
, datastore_fileFormatConfiguration
- Contains the configuration information of file formats. IoT Analytics
data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
$sel:lastMessageArrivalTime:Datastore'
, datastore_lastMessageArrivalTime
- The last time when a new message arrived in the data store.
IoT Analytics updates this value at most once per minute for Amazon
Simple Storage Service one data store. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
$sel:lastUpdateTime:Datastore'
, datastore_lastUpdateTime
- The last time the data store was updated.
$sel:name:Datastore'
, datastore_name
- The name of the data store.
$sel:retentionPeriod:Datastore'
, datastore_retentionPeriod
- How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored.
$sel:status:Datastore'
, datastore_status
- The status of a data store:
- CREATING
- The data store is being created.
- ACTIVE
- The data store has been created and can be used.
- DELETING
- The data store is being deleted.
$sel:storage:Datastore'
, datastore_storage
- Where data in a data store is stored.. You can choose serviceManagedS3
storage, customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default is serviceManagedS3
. You can't change the choice
of Amazon S3 storage after your data store is created.
datastore_datastorePartitions :: Lens' Datastore (Maybe DatastorePartitions) Source #
Contains information about the partition dimensions in a data store.
datastore_fileFormatConfiguration :: Lens' Datastore (Maybe FileFormatConfiguration) Source #
Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.
The default file format is JSON. You can specify only one format.
You can't change the file format after you create the data store.
datastore_lastMessageArrivalTime :: Lens' Datastore (Maybe UTCTime) Source #
The last time when a new message arrived in the data store.
IoT Analytics updates this value at most once per minute for Amazon
Simple Storage Service one data store. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
datastore_lastUpdateTime :: Lens' Datastore (Maybe UTCTime) Source #
The last time the data store was updated.
datastore_retentionPeriod :: Lens' Datastore (Maybe RetentionPeriod) Source #
How long, in days, message data is kept for the data store. When
customerManagedS3
storage is selected, this parameter is ignored.
datastore_status :: Lens' Datastore (Maybe DatastoreStatus) Source #
The status of a data store:
- CREATING
- The data store is being created.
- ACTIVE
- The data store has been created and can be used.
- DELETING
- The data store is being deleted.
datastore_storage :: Lens' Datastore (Maybe DatastoreStorage) Source #
Where data in a data store is stored.. You can choose serviceManagedS3
storage, customerManagedS3
storage, or iotSiteWiseMultiLayerStorage
storage. The default is serviceManagedS3
. You can't change the choice
of Amazon S3 storage after your data store is created.