UpdateAssetPropertyRequest
¶
Source code in docs_src/capo_iotsitewise/types/update_asset_property_request.py
asset_id
instance-attribute
¶
asset_id: CustomID
The ID of the asset to be updated. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
property_alias
instance-attribute
¶
property_alias: NotRequired[PropertyAlias]
The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.
If you omit this parameter, the alias is removed from the property.
property_id
instance-attribute
¶
property_id: CustomID
The ID of the asset property to be updated. This can be either the actual ID in UUID format, or else externalId: followed by the external ID, if it has one. For more information, see Referencing objects with external IDs in the IoT SiteWise User Guide.
property_notification_state
instance-attribute
¶
property_notification_state: NotRequired[PropertyNotificationState]
The MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.
If you omit this parameter, the notification state is set to DISABLED.
property_unit
instance-attribute
¶
property_unit: NotRequired[PropertyUnit]
The unit of measure (such as Newtons or RPM) of the asset property. If you don't specify a value for this parameter, the service uses the value of the assetModelProperty in the asset model.