1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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
답변함 2년 전
관련 콘텐츠
- AWS 공식업데이트됨 2년 전
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