title: How to Query Images AMI's from AWS Console based on their status : Available using Python boto3?
body: <p>I need to get the Details of Images AMI's from AWS Console based on their State: Available.</p>
  
  <p>When I tried it is getting stuck and not printing any line.</p>
  
  <p>Python code 1:</p>
  
  <pre><code>conn = boto3.resource('ec2')
  image = conn.describe_images()
  print(image) # prints nothing
  for img in image:
    image_count.append(img)
  print("img count -&gt;" + str(len(image_count)))
  #prints nothing
  </code></pre>
  
  <p>Is there any exact keywords for this Image AMI's Please correct me </p>