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年前
関連するコンテンツ
- 質問済み 3年前
- 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