title: how to get list of all available images for a region in amazon web services using aws-java-sdk?
body: <p>How can i get the list of all available images for a region using aws-java-sdk, I just tried with the below code, it is keep on executing for a long time.</p>
  
  <pre><code>AmazonEC2  ec2Client = new AmazonEC2Client(awsCredetials);
  ec2Client.setRegion(RegionUtils.getRegion("us-west-2"));
  DescribeImagesRequest request = new DescribeImagesRequest().withFilters(new LinkedList&lt;Filter&gt;());
  DescribeImagesResult describeImagesResult= ec2Client.describeImages(request);
  </code></pre>