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
- data IotSiteWiseAction = IotSiteWiseAction' {}
- newIotSiteWiseAction :: NonEmpty PutAssetPropertyValueEntry -> Text -> IotSiteWiseAction
- iotSiteWiseAction_putAssetPropertyValueEntries :: Lens' IotSiteWiseAction (NonEmpty PutAssetPropertyValueEntry)
- iotSiteWiseAction_roleArn :: Lens' IotSiteWiseAction Text
Documentation
data IotSiteWiseAction Source #
Describes an action to send data from an MQTT message that triggered the rule to IoT SiteWise asset properties.
See: newIotSiteWiseAction
smart constructor.
IotSiteWiseAction' | |
|
Instances
Create a value of IotSiteWiseAction
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:putAssetPropertyValueEntries:IotSiteWiseAction'
, iotSiteWiseAction_putAssetPropertyValueEntries
- A list of asset property value entries.
$sel:roleArn:IotSiteWiseAction'
, iotSiteWiseAction_roleArn
- The ARN of the role that grants IoT permission to send an asset property
value to IoT SiteWise.
("Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust
policy can restrict access to specific asset hierarchy paths.
iotSiteWiseAction_putAssetPropertyValueEntries :: Lens' IotSiteWiseAction (NonEmpty PutAssetPropertyValueEntry) Source #
A list of asset property value entries.
iotSiteWiseAction_roleArn :: Lens' IotSiteWiseAction Text Source #
The ARN of the role that grants IoT permission to send an asset property
value to IoT SiteWise.
("Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust
policy can restrict access to specific asset hierarchy paths.