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

Description

Creates a data store, which is a repository for messages.

Synopsis

Creating a Request

data CreateDatastore Source #

See: newCreateDatastore smart constructor.

Constructors

CreateDatastore' 

Fields

Instances

Instances details
Eq CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Read CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Show CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Generic CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Associated Types

type Rep CreateDatastore :: Type -> Type #

NFData CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Methods

rnf :: CreateDatastore -> () #

Hashable CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

ToJSON CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

AWSRequest CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Associated Types

type AWSResponse CreateDatastore #

ToHeaders CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

ToPath CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

ToQuery CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

type Rep CreateDatastore Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

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

Defined in Amazonka.IoTAnalytics.CreateDatastore

newCreateDatastore Source #

Create a value of CreateDatastore 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:CreateDatastore', createDatastore_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:CreateDatastore', createDatastore_datastorePartitions - Contains information about the partition dimensions in a data store.

$sel:retentionPeriod:CreateDatastore', createDatastore_retentionPeriod - How long, in days, message data is kept for the data store. When customerManagedS3 storage is selected, this parameter is ignored.

$sel:datastoreStorage:CreateDatastore', createDatastore_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:tags:CreateDatastore', createDatastore_tags - Metadata which can be used to manage the data store.

$sel:datastoreName:CreateDatastore', createDatastore_datastoreName - The name of the data store.

Request Lenses

createDatastore_fileFormatConfiguration :: Lens' CreateDatastore (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.

createDatastore_datastorePartitions :: Lens' CreateDatastore (Maybe DatastorePartitions) Source #

Contains information about the partition dimensions in a data store.

createDatastore_retentionPeriod :: Lens' CreateDatastore (Maybe RetentionPeriod) Source #

How long, in days, message data is kept for the data store. When customerManagedS3 storage is selected, this parameter is ignored.

createDatastore_datastoreStorage :: Lens' CreateDatastore (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.

createDatastore_tags :: Lens' CreateDatastore (Maybe (NonEmpty Tag)) Source #

Metadata which can be used to manage the data store.

Destructuring the Response

data CreateDatastoreResponse Source #

See: newCreateDatastoreResponse smart constructor.

Constructors

CreateDatastoreResponse' 

Fields

Instances

Instances details
Eq CreateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Read CreateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Show CreateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Generic CreateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Associated Types

type Rep CreateDatastoreResponse :: Type -> Type #

NFData CreateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

Methods

rnf :: CreateDatastoreResponse -> () #

type Rep CreateDatastoreResponse Source # 
Instance details

Defined in Amazonka.IoTAnalytics.CreateDatastore

type Rep CreateDatastoreResponse = D1 ('MetaData "CreateDatastoreResponse" "Amazonka.IoTAnalytics.CreateDatastore" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "CreateDatastoreResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "datastoreArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "datastoreName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPeriod)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateDatastoreResponse Source #

Create a value of CreateDatastoreResponse 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:datastoreArn:CreateDatastoreResponse', createDatastoreResponse_datastoreArn - The ARN of the data store.

$sel:datastoreName:CreateDatastore', createDatastoreResponse_datastoreName - The name of the data store.

$sel:retentionPeriod:CreateDatastore', createDatastoreResponse_retentionPeriod - How long, in days, message data is kept for the data store.

$sel:httpStatus:CreateDatastoreResponse', createDatastoreResponse_httpStatus - The response's http status code.

Response Lenses

createDatastoreResponse_retentionPeriod :: Lens' CreateDatastoreResponse (Maybe RetentionPeriod) Source #

How long, in days, message data is kept for the data store.