Module Values.PutStorageConfigurationRequestSource

Configures storage settings for IoT SiteWise.

Sourcetype nonrec t = {
  1. storageType : StorageType.t;
    (*

    The storage tier that you specified for your data. The storageType parameter can be one of the following values: SITEWISE_DEFAULT_STORAGE – IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. MULTI_LAYER_STORAGE – IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.

    *)
  2. multiLayerStorage : MultiLayerStorage.t option;
    (*

    Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.

    *)
  3. disassociatedDataStorage : DisassociatedDataStorageState.t option;
    (*

    Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The disassociatedDataStorage can be one of the following values: ENABLED – IoT SiteWise accepts time series that aren't associated with asset properties. After the disassociatedDataStorage is enabled, you can't disable it. DISABLED – IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties. For more information, see Data streams in the IoT SiteWise User Guide.

    *)
  4. retentionPeriod : RetentionPeriod.t option;
  5. warmTier : WarmTierState.t option;
    (*

    A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.

    *)
  6. warmTierRetentionPeriod : WarmTierRetentionPeriod.t option;
    (*

    Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.

    *)
  7. disallowIngestNullNaN : DisallowIngestNullNaN.t option;
    (*

    Describes the configuration for ingesting NULL and NaN data. By default the feature is allowed. The feature is disallowed if the value is true.

    *)
}
Sourceval context_ : string
Sourceval make : ?multiLayerStorage:??? -> ?disassociatedDataStorage:??? -> ?retentionPeriod:??? -> ?warmTier:??? -> ?warmTierRetentionPeriod:??? -> ?disallowIngestNullNaN:??? -> storageType:StorageType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DisallowIngestNullNaN.t | `Enum of string | `Structure of (string * [> `Boolean of Unlimited.t | `Integer of NumberOfDays.t | `Structure of (string * [> `String of ARN.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t