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 |
Used to update the settings of a data store.
Synopsis
- data UpdateDatastore = UpdateDatastore' {}
- newUpdateDatastore :: Text -> UpdateDatastore
- updateDatastore_fileFormatConfiguration :: Lens' UpdateDatastore (Maybe FileFormatConfiguration)
- updateDatastore_retentionPeriod :: Lens' UpdateDatastore (Maybe RetentionPeriod)
- updateDatastore_datastoreStorage :: Lens' UpdateDatastore (Maybe DatastoreStorage)
- updateDatastore_datastoreName :: Lens' UpdateDatastore Text
- data UpdateDatastoreResponse = UpdateDatastoreResponse' {
- newUpdateDatastoreResponse :: UpdateDatastoreResponse
Creating a Request
data UpdateDatastore Source #
See: newUpdateDatastore
smart constructor.
UpdateDatastore' | |
|
Instances
Create a value of UpdateDatastore
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:fileFormatConfiguration:UpdateDatastore'
, updateDatastore_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:retentionPeriod:UpdateDatastore'
, updateDatastore_retentionPeriod
- How long, in days, message data is kept for the data store. The
retention period can't be updated if the data store's Amazon S3
storage is customer-managed.
$sel:datastoreStorage:UpdateDatastore'
, updateDatastore_datastoreStorage
- 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:datastoreName:UpdateDatastore'
, updateDatastore_datastoreName
- The name of the data store to be updated.
Request Lenses
updateDatastore_fileFormatConfiguration :: Lens' UpdateDatastore (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.
updateDatastore_retentionPeriod :: Lens' UpdateDatastore (Maybe RetentionPeriod) Source #
How long, in days, message data is kept for the data store. The retention period can't be updated if the data store's Amazon S3 storage is customer-managed.
updateDatastore_datastoreStorage :: Lens' UpdateDatastore (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.
updateDatastore_datastoreName :: Lens' UpdateDatastore Text Source #
The name of the data store to be updated.
Destructuring the Response
data UpdateDatastoreResponse Source #
See: newUpdateDatastoreResponse
smart constructor.
Instances
Eq UpdateDatastoreResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateDatastore | |
Read UpdateDatastoreResponse Source # | |
Show UpdateDatastoreResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateDatastore showsPrec :: Int -> UpdateDatastoreResponse -> ShowS # show :: UpdateDatastoreResponse -> String # showList :: [UpdateDatastoreResponse] -> ShowS # | |
Generic UpdateDatastoreResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateDatastore type Rep UpdateDatastoreResponse :: Type -> Type # | |
NFData UpdateDatastoreResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateDatastore rnf :: UpdateDatastoreResponse -> () # | |
type Rep UpdateDatastoreResponse Source # | |
Defined in Amazonka.IoTAnalytics.UpdateDatastore |
newUpdateDatastoreResponse :: UpdateDatastoreResponse Source #
Create a value of UpdateDatastoreResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.