| 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 |
Amazonka.IoTSiteWise.PutStorageConfiguration
Description
Configures storage settings for IoT SiteWise.
Synopsis
- data PutStorageConfiguration = PutStorageConfiguration' {}
- newPutStorageConfiguration :: StorageType -> PutStorageConfiguration
- putStorageConfiguration_disassociatedDataStorage :: Lens' PutStorageConfiguration (Maybe DisassociatedDataStorageState)
- putStorageConfiguration_multiLayerStorage :: Lens' PutStorageConfiguration (Maybe MultiLayerStorage)
- putStorageConfiguration_retentionPeriod :: Lens' PutStorageConfiguration (Maybe RetentionPeriod)
- putStorageConfiguration_storageType :: Lens' PutStorageConfiguration StorageType
- data PutStorageConfigurationResponse = PutStorageConfigurationResponse' {}
- newPutStorageConfigurationResponse :: Int -> StorageType -> ConfigurationStatus -> PutStorageConfigurationResponse
- putStorageConfigurationResponse_disassociatedDataStorage :: Lens' PutStorageConfigurationResponse (Maybe DisassociatedDataStorageState)
- putStorageConfigurationResponse_multiLayerStorage :: Lens' PutStorageConfigurationResponse (Maybe MultiLayerStorage)
- putStorageConfigurationResponse_retentionPeriod :: Lens' PutStorageConfigurationResponse (Maybe RetentionPeriod)
- putStorageConfigurationResponse_httpStatus :: Lens' PutStorageConfigurationResponse Int
- putStorageConfigurationResponse_storageType :: Lens' PutStorageConfigurationResponse StorageType
- putStorageConfigurationResponse_configurationStatus :: Lens' PutStorageConfigurationResponse ConfigurationStatus
Creating a Request
data PutStorageConfiguration Source #
See: newPutStorageConfiguration smart constructor.
Constructors
| PutStorageConfiguration' | |
Fields
| |
Instances
newPutStorageConfiguration Source #
Arguments
| :: StorageType | |
| -> PutStorageConfiguration |
Create a value of PutStorageConfiguration 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:
PutStorageConfiguration, putStorageConfiguration_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
disassociatedDataStorageis 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.
PutStorageConfiguration, putStorageConfiguration_multiLayerStorage - Identifies a storage destination. If you specified MULTI_LAYER_STORAGE
for the storage type, you must specify a MultiLayerStorage object.
PutStorageConfiguration, putStorageConfiguration_retentionPeriod - Undocumented member.
PutStorageConfiguration, putStorageConfiguration_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.
Request Lenses
putStorageConfiguration_disassociatedDataStorage :: Lens' PutStorageConfiguration (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
disassociatedDataStorageis 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.
putStorageConfiguration_multiLayerStorage :: Lens' PutStorageConfiguration (Maybe MultiLayerStorage) Source #
Identifies a storage destination. If you specified MULTI_LAYER_STORAGE
for the storage type, you must specify a MultiLayerStorage object.
putStorageConfiguration_retentionPeriod :: Lens' PutStorageConfiguration (Maybe RetentionPeriod) Source #
Undocumented member.
putStorageConfiguration_storageType :: Lens' PutStorageConfiguration 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.
Destructuring the Response
data PutStorageConfigurationResponse Source #
See: newPutStorageConfigurationResponse smart constructor.
Constructors
| PutStorageConfigurationResponse' | |
Fields
| |
Instances
newPutStorageConfigurationResponse Source #
Arguments
| :: Int | |
| -> StorageType | |
| -> ConfigurationStatus | |
| -> PutStorageConfigurationResponse |
Create a value of PutStorageConfigurationResponse 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:
PutStorageConfiguration, putStorageConfigurationResponse_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
disassociatedDataStorageis 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.
PutStorageConfiguration, putStorageConfigurationResponse_multiLayerStorage - Contains information about the storage destination.
PutStorageConfiguration, putStorageConfigurationResponse_retentionPeriod - Undocumented member.
$sel:httpStatus:PutStorageConfigurationResponse', putStorageConfigurationResponse_httpStatus - The response's http status code.
PutStorageConfiguration, putStorageConfigurationResponse_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:PutStorageConfigurationResponse', putStorageConfigurationResponse_configurationStatus - Undocumented member.
Response Lenses
putStorageConfigurationResponse_disassociatedDataStorage :: Lens' PutStorageConfigurationResponse (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
disassociatedDataStorageis 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.
putStorageConfigurationResponse_multiLayerStorage :: Lens' PutStorageConfigurationResponse (Maybe MultiLayerStorage) Source #
Contains information about the storage destination.
putStorageConfigurationResponse_retentionPeriod :: Lens' PutStorageConfigurationResponse (Maybe RetentionPeriod) Source #
Undocumented member.
putStorageConfigurationResponse_httpStatus :: Lens' PutStorageConfigurationResponse Int Source #
The response's http status code.
putStorageConfigurationResponse_storageType :: Lens' PutStorageConfigurationResponse 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.