- Newest
- Most votes
- Most comments
AWS CLI command that is being referred by you is "aws timestream-write write-records" which takes "LIST" as a valid value in --records option. However, as per the below document, JSON Syntax can also be used to specify this value and you can have a JSON file to parse the data for --records option.
https://docs.aws.amazon.com/cli/latest/reference/timestream-write/write-records.html
I used the below command to test the use case and it executed correctly inserting the row value inside the Timestream table as per the JSON file. (The file name is "test.json" which is present in directory where the command is executed from)
aws timestream-write write-records --database-name database1 --table-name table1 --records file://test.json
Kindly try the same and see if this fulfills your use case.
Relevant content
- asked a year ago
- asked 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Thanks! Does the document say file:// ? I don't see it - am I missing it?