| 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.VariableValue
Description
Synopsis
Documentation
data VariableValue Source #
Identifies a property value used in an expression.
See: newVariableValue smart constructor.
Constructors
| VariableValue' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> VariableValue |
Create a value of VariableValue 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:hierarchyId:VariableValue', variableValue_hierarchyId - The ID of the hierarchy to query for the property ID. You can use the
hierarchy's name instead of the hierarchy's ID.
You use a hierarchy ID instead of a model ID because you can have
several hierarchies using the same model and therefore the same
propertyId. For example, you might have separately grouped assets that
come from the same asset model. For more information, see
Asset hierarchies
in the IoT SiteWise User Guide.
$sel:propertyId:VariableValue', variableValue_propertyId - The ID of the property to use as the variable. You can use the property
name if it's from the same asset model.
variableValue_hierarchyId :: Lens' VariableValue (Maybe Text) Source #
The ID of the hierarchy to query for the property ID. You can use the hierarchy's name instead of the hierarchy's ID.
You use a hierarchy ID instead of a model ID because you can have
several hierarchies using the same model and therefore the same
propertyId. For example, you might have separately grouped assets that
come from the same asset model. For more information, see
Asset hierarchies
in the IoT SiteWise User Guide.
variableValue_propertyId :: Lens' VariableValue Text Source #
The ID of the property to use as the variable. You can use the property
name if it's from the same asset model.