2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
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.
respondido há um ano
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
respondido há 2 anos
Conteúdo relevante
- AWS OFICIALAtualizada há 9 meses
- AWS OFICIALAtualizada há um ano
- AWS OFICIALAtualizada há 2 anos
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.