GetMetricWidgetImage: Metric Widget Structure and Syntax - Amazon CloudWatch
MetricWidget is an input parameter for the API. It is a string in JSON format.