I am using LocalStack and I am able to get a list of all the AMIs, by running this command:
awslocal ec2 describe-images
The output looks som