我正在使用AWS CLI,特别是cs-configure-from-batches命令,但我收到了一个无效的格式错误,如下所示。
C:\>cs-configure-from-batches -d mysearchdomain --source C:\CloudSearch\AWSCloudSearchImplementation\XmlMiniBatch.xml --endpoint cloudsearch.ap-southeast-2.amazonaws.com --verbose
Connecting to CloudSearch in region [ap-southeast-2]
Sending to endpoint [https://cloudsearch.ap-southeast-2.amazonaws.com/] for region [ap-southeast-2]
Endpoint set as cloudsearch.ap-southeast-2.amazonaws.com
Analyzing sources.
Invalid format for C:\CloudSearch\AWSCloudSearchImplementation\XmlMiniBatch.xml, ignoring.
Analysis results.
这是我提供的xml
<?xml version="1.0" encoding="utf-8"?>
<batch>
<add id="96FD3C87-DF5C-E511-8167-02CC745DD7D4">
<field name="code">000000000000010000</field>
<field name="description">Blah Blah</field>
<field name="sprcode">4100</field>
<field name="levelonehierarchy">Blah</field>
<field name="leveltwohierarchy">Blah</field>
</add>
</batch>
是否有此命令将接受的示例xml文件?或者关于什么是错误的建议?