How to simplify aws DynamoDB query JSON output from the command line?

前端 未结 5 566
暖寄归人
暖寄归人 2020-12-25 15:14

I\'m working with The AWS Command Line Interface for DynamoDB.

When we query an item, we get a very detailed JSON output. You get something like this (it has been bu

5条回答
  •  一整个雨季
    2020-12-25 15:16

    As far as I know, there is no other output like the "verbose" one you've posted. Therefore I think, you can't avoid intermediate tools like jq oder sed

    There are several proposals in this post for converting the raw dynamo data:

    Export data from DynamoDB

    Maybe you can adapt one of these scripts in conjunction with jq or sed

提交回复
热议问题