class Aws::IoTAnalytics::Types::UpdateDatastoreRequest

@note When making an API call, you may pass UpdateDatastoreRequest

data as a hash:

    {
      datastore_name: "DatastoreName", # required
      retention_period: {
        unlimited: false,
        number_of_days: 1,
      },
      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",
          },
        },
      },
      file_format_configuration: {
        json_configuration: {
        },
        parquet_configuration: {
          schema_definition: {
            columns: [
              {
                name: "ColumnName", # required
                type: "ColumnDataType", # required
              },
            ],
          },
        },
      },
    }

@!attribute [rw] datastore_name

The name of the data store to be updated.
@return [String]

@!attribute [rw] retention_period

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.
@return [Types::RetentionPeriod]

@!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] 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]

Constants

SENSITIVE