Connecting to AWS IoT and storing in Timestream database

Has anyone successfully connected to AWS IoT and stored their data that contains multi-measure data? For example, storing GPS coordinates on the same record in two separate columns? I can store single measurements easily enough, but I can't seem to figure out how to format the json to store as a multi measure record with dimensions. Any examples would be greatly appreciated. You can store multi measure in Timestream, but I'm not sure how to properly code the json object to send it in the required format.

Never used it, but looking at the docs just now, it's one record per measure

The data type of the measure are inferred from the data type of the value of the message payload. JSON data types such as integer, double, boolean, and string are mapped to Timestream data types of BIGINT, DOUBLE, BOOLEAN, and VARCHAR respectively.

Each attribute's value is written to its own record in the Timestream table.

So even if multi-measure is supported in general, it is not with the auto-magic IoT Rules (at least, not currently).

You could write something -- and with AWS, that is a voluminous can of worms -- that reads whatever JSON you post on the IoT topic and create Timestream rows in some custom way.

Thanks for the docs. I've seen other evidence that it does support it. If you create the sample database on AWS, you get an option to create single or multi measure records. I've queried that data and it does show multiple values per record. I do believe it is possible.

That latter link shows using the Python API/SDK. No mention of it working directly through IoT Rules, in neither the IoT docs describing Timestream, nor the Timestream docs describing IoT.