libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.IotSiteWiseAction

Description

 
Synopsis

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.

Constructors

IotSiteWiseAction' 

Fields

Instances

Instances details
Eq IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

Read IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

Show IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

Generic IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

Associated Types

type Rep IotSiteWiseAction :: Type -> Type #

NFData IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

Methods

rnf :: IotSiteWiseAction -> () #

Hashable IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

ToJSON IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

FromJSON IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

type Rep IotSiteWiseAction Source # 
Instance details

Defined in Amazonka.IoT.Types.IotSiteWiseAction

type Rep IotSiteWiseAction = D1 ('MetaData "IotSiteWiseAction" "Amazonka.IoT.Types.IotSiteWiseAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "IotSiteWiseAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "putAssetPropertyValueEntries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty PutAssetPropertyValueEntry)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newIotSiteWiseAction Source #

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_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.