amazonka-iot-analytics-2.0: Amazon IoT Analytics SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTAnalytics.UpdateDatastore

Description

Used to update the settings of a data store.

Synopsis

Creating a Request

data UpdateDatastore Source #

See: newUpdateDatastore smart constructor.

Constructors

UpdateDatastore' 

Fields

  • datastoreStorage :: Maybe 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.

  • fileFormatConfiguration :: Maybe 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.

  • retentionPeriod :: Maybe 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.

  • datastoreName :: Text

    The name of the data store to be updated.

Instances

Instances details
ToJSON UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

ToHeaders UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

ToPath UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

ToQuery UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

AWSRequest UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Associated Types

type AWSResponse UpdateDatastore #

Generic UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Associated Types

type Rep UpdateDatastore :: Type -> Type #

Read UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Show UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

NFData UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Methods

rnf :: UpdateDatastore -> () #

Eq UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Hashable UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

type AWSResponse UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

type Rep UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

type Rep UpdateDatastore = D1 ('MetaData "UpdateDatastore" "Amazonka.IoTAnalytics.UpdateDatastore" "amazonka-iot-analytics-2.0-2pxFb0PbSzA9ccOL4CofY4" 'False) (C1 ('MetaCons "UpdateDatastore'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "datastoreStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DatastoreStorage)) :*: S1 ('MetaSel ('Just "fileFormatConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileFormatConfiguration))) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPeriod)) :*: S1 ('MetaSel ('Just "datastoreName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateDatastore Source #

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:

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.

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.

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.

UpdateDatastore, updateDatastore_datastoreName - The name of the data store to be updated.

Request Lenses

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_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_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

Instances details
Generic UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Associated Types

type Rep UpdateDatastoreResponse :: Type -> Type #

Read UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Show UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

NFData UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Methods

rnf :: UpdateDatastoreResponse -> () #

Eq UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

type Rep UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

type Rep UpdateDatastoreResponse = D1 ('MetaData "UpdateDatastoreResponse" "Amazonka.IoTAnalytics.UpdateDatastore" "amazonka-iot-analytics-2.0-2pxFb0PbSzA9ccOL4CofY4" 'False) (C1 ('MetaCons "UpdateDatastoreResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateDatastoreResponse :: UpdateDatastoreResponse Source #

Create a value of UpdateDatastoreResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.