Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves information about the storage configuration for IoT SiteWise.
Synopsis
- data DescribeStorageConfiguration = DescribeStorageConfiguration' {
- newDescribeStorageConfiguration :: DescribeStorageConfiguration
- data DescribeStorageConfigurationResponse = DescribeStorageConfigurationResponse' {}
- newDescribeStorageConfigurationResponse :: Int -> StorageType -> ConfigurationStatus -> DescribeStorageConfigurationResponse
- describeStorageConfigurationResponse_multiLayerStorage :: Lens' DescribeStorageConfigurationResponse (Maybe MultiLayerStorage)
- describeStorageConfigurationResponse_lastUpdateDate :: Lens' DescribeStorageConfigurationResponse (Maybe UTCTime)
- 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:multiLayerStorage:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_multiLayerStorage
- Contains information about the storage destination.
$sel:lastUpdateDate:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_lastUpdateDate
- The date the storage configuration was last updated, in Unix epoch time.
$sel:httpStatus:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_httpStatus
- The response's http status code.
$sel:storageType:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_storageType
- The type of storage that you specified for your data. The storage type
can be one of the following values:
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise replicates your data into a service managed database.MULTI_LAYER_STORAGE
– IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.
$sel:configurationStatus:DescribeStorageConfigurationResponse'
, describeStorageConfigurationResponse_configurationStatus
- Undocumented member.
Response Lenses
describeStorageConfigurationResponse_multiLayerStorage :: Lens' DescribeStorageConfigurationResponse (Maybe MultiLayerStorage) Source #
Contains information about the storage destination.
describeStorageConfigurationResponse_lastUpdateDate :: Lens' DescribeStorageConfigurationResponse (Maybe UTCTime) Source #
The date the storage configuration was last updated, in Unix epoch time.
describeStorageConfigurationResponse_httpStatus :: Lens' DescribeStorageConfigurationResponse Int Source #
The response's http status code.
describeStorageConfigurationResponse_storageType :: Lens' DescribeStorageConfigurationResponse StorageType Source #
The type of storage that you specified for your data. The storage type can be one of the following values:
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise replicates your data into a service managed database.MULTI_LAYER_STORAGE
– IoT SiteWise replicates your data into a service managed database and saves a copy of your raw data and metadata in an Amazon S3 object that you specified.