| 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.Types.AssetStatus
Description
Synopsis
Documentation
data AssetStatus Source #
Contains information about the current status of an asset. For more information, see Asset and model states in the IoT SiteWise User Guide.
See: newAssetStatus smart constructor.
Constructors
| AssetStatus' | |
Fields
| |
Instances
Arguments
| :: AssetState | |
| -> AssetStatus |
Create a value of AssetStatus 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:error:AssetStatus', assetStatus_error - Contains associated error information, if any.
$sel:state:AssetStatus', assetStatus_state - The current status of the asset.
assetStatus_error :: Lens' AssetStatus (Maybe ErrorDetails) Source #
Contains associated error information, if any.
assetStatus_state :: Lens' AssetStatus AssetState Source #
The current status of the asset.