| 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 |
Amazonka.IoTSiteWise.PutStorageConfiguration
Description
Configures storage settings for IoT SiteWise.
Synopsis
- data PutStorageConfiguration = PutStorageConfiguration' {}
- newPutStorageConfiguration :: StorageType -> PutStorageConfiguration
- putStorageConfiguration_multiLayerStorage :: Lens' PutStorageConfiguration (Maybe MultiLayerStorage)
- putStorageConfiguration_storageType :: Lens' PutStorageConfiguration StorageType
- data PutStorageConfigurationResponse = PutStorageConfigurationResponse' {}
- newPutStorageConfigurationResponse :: Int -> StorageType -> ConfigurationStatus -> PutStorageConfigurationResponse
- putStorageConfigurationResponse_multiLayerStorage :: Lens' PutStorageConfigurationResponse (Maybe MultiLayerStorage)
- 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 #
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:
$sel:multiLayerStorage:PutStorageConfiguration', putStorageConfiguration_multiLayerStorage - Identifies a storage destination. If you specified MULTI_LAYER_STORAGE
for the storage type, you must specify a MultiLayerStorage object.
$sel:storageType:PutStorageConfiguration', putStorageConfiguration_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.
Request Lenses
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_storageType :: Lens' PutStorageConfiguration 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.
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:
$sel:multiLayerStorage:PutStorageConfiguration', putStorageConfigurationResponse_multiLayerStorage - Contains information about the storage destination.
$sel:httpStatus:PutStorageConfigurationResponse', putStorageConfigurationResponse_httpStatus - The response's http status code.
$sel:storageType:PutStorageConfiguration', putStorageConfigurationResponse_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:PutStorageConfigurationResponse', putStorageConfigurationResponse_configurationStatus - Undocumented member.
Response Lenses
putStorageConfigurationResponse_multiLayerStorage :: Lens' PutStorageConfigurationResponse (Maybe MultiLayerStorage) Source #
Contains information about the storage destination.
putStorageConfigurationResponse_httpStatus :: Lens' PutStorageConfigurationResponse Int Source #
The response's http status code.
putStorageConfigurationResponse_storageType :: Lens' PutStorageConfigurationResponse 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.