1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
The --filter(s)
parameter uses server-side filtering, returning only the data with matching results.
In contrast, the --query
parameter utilises client-side filtering, returning all data to the client prior to matching.
For more info, take a look at https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-filter.html
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans
Thanks, it helps. I'm pasting a sample code from boto3 docs,
instances = ec2.instances.filter( Filters=[{'Name': 'instance-state-name', 'Values': ['running']}])
Can I assume that this 'filter' would work the same way, since both use the same backend API?
Yes, that would be using server-side filtering