2 Answers
- Newest
- Most votes
- Most comments
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.
answered 2 years ago
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
answered 2 years ago
Relevant content
- Accepted Answerasked 10 months ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
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.