I'm using boto3 API to describe_image from AWS. My list AMI has the same name, AWS automatically generate suffix on that name. I wonder is there any option to describe_image in creation time order list. Currently I have to sort programmatically on that return dict.
Any help would be appreciated.
No. There is no capability to request the data back in a particular order.
You can use a Filter
to limit the results, but not to sort the results.
You would need to programmatically sort the results to identify your desired AMI.