Command option Sample:aws cloudwatch get-metric-data

Search command sample in the internet.It is the result.

You can use the "get-metric-data" API to retrieve as many as 100different metrics in a single request, with a total of as many as100,800 datapoints.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/cloudwatch/get-metric-data.html

aws cloudwatch get-metric-data --metric-data-queries file://testdata/metric-data-queries.json --start-time 2018-05-20T00:00:00Z --end-time 2018-05-21T00:00:00Z --scan-by TimestampAscending
    amazon web services - AWS SKD node.js - getMetricData is not a function - Stack Overflow : http://stackoverflow.com/questions/50616999/aws-skd-node-js-getmetricdata-is-not-a-function

aws のオプション一覧