// Metric data aggregations over specified periods of time. For detailed definitions of the statistics supported by CloudWatch, see https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.
// Whether a query is a Metrics, Logs, or Annotations query
queryMode?: #CloudWatchQueryMode
// Whether to use a metric search or metric query. Metric query is referred to as "Metrics Insights" in the AWS console.
// Whether to use a metric search or metric insights query
metricQueryType?: #MetricQueryType
// Whether to use the query builder or code editor to create the query
metricEditorMode?: #MetricEditorMode
@ -69,14 +69,14 @@ composableKinds: DataQuery: {
label?: string
// Math expression query
expression?: string
// When the metric query type is `metricQueryType` is set to `Query`, this field is used to specify the query string.
// When the metric query type is set to `Insights`, this field is used to specify the query string.
sqlExpression?: string
// When the metric query type is `metricQueryType` is set to `Query` and the `metricEditorMode` is set to `Builder`, this field is used to build up an object representation of a SQL query.
// When the metric query type is set to `Insights` and the `metricEditorMode` is set to `Builder`, this field is used to build up an object representation of a SQL query.