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 |
Synopsis
Documentation
data VariableValue Source #
Identifies a property value used in an expression.
See: newVariableValue
smart constructor.
VariableValue' | |
|
Instances
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.