2回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
It is an historical parameter used to define S3 Select response protocol (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTSelectObjectAppendix.html). The only available value for select-type
is 2.
回答済み 1年前
0
I coded this on windows 10 and it worked. Put your values in for mine. You will need the s3:GetObject permission on your IAM user to do this command.
aws s3api select-object-content --bucket "bucket-name" --key "key.csv" --expression "select * from s3object" --expression-type "SQL" --input-serialization "{"CSV": {}, "CompressionType": "NONE"}" --output-serialization "{"CSV": {}}" outfile.csv
回答済み 2年前
This is unrelated.
Are you using the aws s3api select-object-content command? https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html
Yes. Everything works fine. The question is about the confusing parameter in select-object-content's RESTful API.