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 Datastore = Datastore' {
- creationTime :: Maybe POSIX
- status :: Maybe DatastoreStatus
- lastMessageArrivalTime :: Maybe POSIX
- arn :: Maybe Text
- fileFormatConfiguration :: Maybe FileFormatConfiguration
- datastorePartitions :: Maybe DatastorePartitions
- storage :: Maybe DatastoreStorage
- retentionPeriod :: Maybe RetentionPeriod
- name :: Maybe Text
- lastUpdateTime :: Maybe POSIX
- newDatastore :: Datastore
- datastore_creationTime :: Lens' Datastore (Maybe UTCTime)
- datastore_status :: Lens' Datastore (Maybe DatastoreStatus)
- datastore_lastMessageArrivalTime :: Lens' Datastore (Maybe UTCTime)
- datastore_arn :: Lens' Datastore (Maybe Text)
- datastore_fileFormatConfiguration :: Lens' Datastore (Maybe FileFormatConfiguration)
- datastore_datastorePartitions :: Lens' Datastore (Maybe DatastorePartitions)
- datastore_storage :: Lens' Datastore (Maybe DatastoreStorage)
- datastore_retentionPeriod :: Lens' Datastore (Maybe RetentionPeriod)
- datastore_name :: Lens' Datastore (Maybe Text)
- datastore_lastUpdateTime :: Lens' Datastore (Maybe UTCTime)
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:creationTime:Datastore'
, datastore_creationTime
- When the data store was created.
$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: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:arn:Datastore'
, datastore_arn
- The ARN of the 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:datastorePartitions:Datastore'
, datastore_datastorePartitions
- Contains information about the partition dimensions in a data store.
$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.
$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:name:Datastore'
, datastore_name
- The name of the data store.
$sel:lastUpdateTime:Datastore'
, datastore_lastUpdateTime
- The last time the data store was updated.
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_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_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_datastorePartitions :: Lens' Datastore (Maybe DatastorePartitions) Source #
Contains information about the partition dimensions in a data store.
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.
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.