2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
2
Hello Lzap,
You can order your results in your own. For example, with the AWS CLI you can use JMESPath as it indicates the official documentation:
As an example, using AWS CLI you can order the DescribeInstanceTypes API invoking the API as:
aws ec2 describe-instance-types --query 'sort_by(InstanceTypes, &InstanceType)[].InstanceType'
Hope it helps.
répondu il y a 2 ans
1
Sorting isn't supported server-side, so is done client-side after results are returned by the API (e.g. the CLI example Joan_B mentioned). You can filter server-side with some API calls by passing a Filter parameter. That, and pagination, are for coping with large numbers of records.
Contenus pertinents
- demandé il y a un an
- demandé il y a 18 jours
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans