Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves information about the storage configuration for IoT SiteWise.
Synopsis
- data DescribeStorageConfiguration = DescribeStorageConfiguration' {
- newDescribeStorageConfiguration :: DescribeStorageConfiguration
- data DescribeStorageConfigurationResponse = DescribeStorageConfigurationResponse' {}
- newDescribeStorageConfigurationResponse :: Int -> StorageType -> ConfigurationStatus -> DescribeStorageConfigurationResponse
- describeStorageConfigurationResponse_disassociatedDataStorage :: Lens' DescribeStorageConfigurationResponse (Maybe DisassociatedDataStorageState)
- describeStorageConfigurationResponse_lastUpdateDate :: Lens' DescribeStorageConfigurationResponse (Maybe UTCTime)
- describeStorageConfigurationResponse_multiLayerStorage :: Lens' DescribeStorageConfigurationResponse (Maybe MultiLayerStorage)
- describeStorageConfigurationResponse_retentionPeriod :: Lens' DescribeStorageConfigurationResponse (Maybe RetentionPeriod)
- describeStorageConfigurationResponse_httpStatus :: Lens' DescribeStorageConfigurationResponse Int
- describeStorageConfigurationResponse_storageType :: Lens' DescribeStorageConfigurationResponse StorageType
- describeStorageConfigurationResponse_configurationStatus :: Lens' DescribeStorageConfigurationResponse ConfigurationStatus
Creating a Request
data DescribeStorageConfiguration Source #
See: newDescribeStorageConfiguration
smart constructor.
Instances
newDescribeStorageConfiguration :: DescribeStorageConfiguration Source #
Create a value of DescribeStorageConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeStorageConfigurationResponse Source #
See: newDescribeStorageConfigurationResponse
smart constructor.
DescribeStorageConfigurationResponse' | |
|
Instances
newDescribeStorageConfigurationResponse Source #
:: Int | |
-> StorageType | |
-> ConfigurationStatus |
|
-> DescribeStorageConfigurationResponse |
Create a value of DescribeStorageConfigurationResponse
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:disassociatedDataStorage:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_disassociatedDataStorage
- 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.
DescribeStorageConfigurationResponse
, describeStorageConfigurationResponse_lastUpdateDate
- The date the storage configuration was last updated, in Unix epoch time.
$sel:multiLayerStorage:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_multiLayerStorage
- Contains information about the storage destination.
$sel:retentionPeriod:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_retentionPeriod
- How many days your data is kept in the hot tier. By default, your data
is kept indefinitely in the hot tier.
$sel:httpStatus:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_httpStatus
- The response's http status code.
$sel:storageType:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_storageType
- 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.
$sel:configurationStatus:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_configurationStatus
- Undocumented member.
Response Lenses
describeStorageConfigurationResponse_disassociatedDataStorage :: Lens' DescribeStorageConfigurationResponse (Maybe DisassociatedDataStorageState) Source #
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.
describeStorageConfigurationResponse_lastUpdateDate :: Lens' DescribeStorageConfigurationResponse (Maybe UTCTime) Source #
The date the storage configuration was last updated, in Unix epoch time.
describeStorageConfigurationResponse_multiLayerStorage :: Lens' DescribeStorageConfigurationResponse (Maybe MultiLayerStorage) Source #
Contains information about the storage destination.
describeStorageConfigurationResponse_retentionPeriod :: Lens' DescribeStorageConfigurationResponse (Maybe RetentionPeriod) Source #
How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
describeStorageConfigurationResponse_httpStatus :: Lens' DescribeStorageConfigurationResponse Int Source #
The response's http status code.
describeStorageConfigurationResponse_storageType :: Lens' DescribeStorageConfigurationResponse StorageType Source #
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.