AWS SimpleDB CLI:如何使用'select'命令?

Pau*_*ine 1 amazon-web-services amazon-simpledb

我正在尝试使用selectAWS CLI中的AWS SimpleDB命令.

所需的电话如下: select --select-expression <value>

select-expression被描述如下:--select-expression (string) The expression used to query the domain.

select应该与SQLselect语句类似,但是我不断收到语法错误,例如:

aws sdb select --select-expression "select * from my-domain"

An error occurred (InvalidQueryExpression) when calling the Select operation: The specified query expression syntax is not valid.

我也找不到任何关于正确使用语法的文档或示例.

Pau*_*ine 5

我找到了解决方案 - 事实证明我需要使用单引号查询和表名周围的特殊字符:

aws sdb select --select-expression'select*from'my-domain`'