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.
답변함 일 년 전
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.