Module Values.DescribeStorageConfigurationResponseSource

Retrieves information about the storage configuration for IoT SiteWise.

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

    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;
    (*

    Contains information about the storage destination.

    *)
  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;
    (*

    The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.

    *)
  5. configurationStatus : ConfigurationStatus.t option;
  6. lastUpdateDate : Timestamp.t option;
    (*

    The date the storage configuration was last updated, in Unix epoch time.

    *)
  7. 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.

    *)
  8. 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.

    *)
  9. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictingOperationException of ConflictingOperationException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `InvalidRequestException of InvalidRequestException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?storageType:??? -> ?multiLayerStorage:??? -> ?disassociatedDataStorage:??? -> ?retentionPeriod:??? -> ?configurationStatus:??? -> ?lastUpdateDate:??? -> ?warmTier:??? -> ?warmTierRetentionPeriod:??? -> ?disallowIngestNullNaN:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictingOperationException of ConflictingOperationException.t | `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConflictingOperationException of ConflictingOperationException.t | `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DisallowIngestNullNaN.t | `Enum of string | `Structure of (string * [> `Boolean of Unlimited.t | `Enum of string | `Integer of NumberOfDays.t | `Structure of (string * [> `Enum of string | `String of ARN.t ]) list ]) list | `Timestamp of Timestamp.t ]) 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