2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
con risposta un anno fa
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
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata un anno fa
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.