class Aws::IoTAnalytics::Types::CreateDatastoreRequest
@note When making an API call, you may pass CreateDatastoreRequest
data as a hash: { datastore_name: "DatastoreName", # required datastore_storage: { service_managed_s3: { }, customer_managed_s3: { bucket: "BucketName", # required key_prefix: "S3KeyPrefix", role_arn: "RoleArn", # required }, iot_site_wise_multi_layer_storage: { customer_managed_s3_storage: { # required bucket: "BucketName", # required key_prefix: "S3KeyPrefix", }, }, }, retention_period: { unlimited: false, number_of_days: 1, }, tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], file_format_configuration: { json_configuration: { }, parquet_configuration: { schema_definition: { columns: [ { name: "ColumnName", # required type: "ColumnDataType", # required }, ], }, }, }, datastore_partitions: { partitions: [ { attribute_partition: { attribute_name: "PartitionAttributeName", # required }, timestamp_partition: { attribute_name: "PartitionAttributeName", # required timestamp_format: "TimestampFormat", }, }, ], }, }
@!attribute [rw] datastore_name
The name of the data store. @return [String]
@!attribute [rw] 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. @return [Types::DatastoreStorage]
@!attribute [rw] retention_period
How long, in days, message data is kept for the data store. When `customerManagedS3` storage is selected, this parameter is ignored. @return [Types::RetentionPeriod]
@!attribute [rw] tags
Metadata which can be used to manage the data store. @return [Array<Types::Tag>]
@!attribute [rw] file_format_configuration
Contains the configuration information of file formats. IoT Analytics data stores support JSON and [Parquet][1]. 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. [1]: https://parquet.apache.org/ @return [Types::FileFormatConfiguration]
@!attribute [rw] datastore_partitions
Contains information about the partition dimensions in a data store. @return [Types::DatastorePartitions]
Constants
- SENSITIVE