pub fn run_select(
expression: &str,
account: &AccountState,
) -> Result<Vec<Value>, String>Expand description
Evaluate a Config advanced-query SELECT expression against recorded items.
Supported grammar (a real, documented subset of the Config query language):
SELECT <field>[, <field>...] [WHERE <cond> [AND <cond>...]], where each
<cond> is <field> = '<value>' or <field> IN ('a', 'b'). Fields are
dotted paths resolved against the item: bare resourceId, resourceType,
resourceName, arn, awsRegion, tags, or configuration.<path>.
Returns (rows, error); on a parse error rows is empty and error is set.