libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • 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.

  • 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.

  • datastoreName :: Text

    The name of the data store to be updated.

Instances

Instances details
Eq UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Read UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Show UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Generic UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Associated Types

type Rep UpdateDatastore :: Type -> Type #

NFData UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Methods

rnf :: UpdateDatastore -> () #

Hashable UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

ToJSON UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

AWSRequest UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Associated Types

type AWSResponse 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

type Rep UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

type Rep UpdateDatastore = D1 ('MetaData "UpdateDatastore" "Amazonka.IoTAnalytics.UpdateDatastore" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "UpdateDatastore'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fileFormatConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileFormatConfiguration)) :*: S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPeriod))) :*: (S1 ('MetaSel ('Just "datastoreStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DatastoreStorage)) :*: S1 ('MetaSel ('Just "datastoreName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

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:

$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

Instances details
Eq UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Read UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Show UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Generic UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Associated Types

type Rep UpdateDatastoreResponse :: Type -> Type #

NFData UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

Methods

rnf :: UpdateDatastoreResponse -> () #

type Rep UpdateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.UpdateDatastore

type Rep UpdateDatastoreResponse = D1 ('MetaData "UpdateDatastoreResponse" "Amazonka.IoTAnalytics.UpdateDatastore" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" '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.