当我尝试运行时收到“Precondition Failed”错误:
my $obj = $s3->SelectObjectContent(
Bucket => 'MyBucket',
Expression => 'SELECT * FROM s3object s',
ExpressionType => 'SQL',
InputSerialization => {
JSON => {
Type => 'LINES'
}
},
Key => 'MyKey',
OutputSerialization => {
JSON => {}
} );
我已经使用我的存储桶和密钥成功调用了“GetObject”,因此这些不对错误负责。