Hi All, Is there anyone having an example code fo...
# getting-started
v
Hi All, Is there anyone having an example code for deploying AWS IoT SiteWise AssetModel using python? I'm able to create AssetModel without any properties (as it's optional), but when I'm adding properties JSON, there I'm not able to figure out how to define
type
attribute in it. I have tried with some string value like
"type": "MEASUREMENT"
, but it failing with an error:
property assetModelProperties[0]/type value {<nil>} has a problem: assetModelProperties[0]/type must be an object
(as that's mandatory field).
i
Hey! Could you give this a shot (from `aws-native.iotsitewise.AssetModel`:
Copy code
"type": {
        "measurement": {}
      },