how do i set a default value for null values in a jmespath query when using aws cli?

Based on the comments.

The solution was to use:

aws s3api list-buckets --query 'sum(Versions[*].Size || [`0`])'

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top