Posted On: Dec 20, 2022

Amazon EC2 announces pagination for the EC2 DescribeImages API. It allows you to describe your images over a number of API requests, instead a single one. You can specify a page size when calling the API, which will be used as the upper bound for resources to return in a single request. A pagination token is returned on the response, which you can then include in your next API request to fetch the next page of images.

Pagination helps solve problems related to time-outs or response size when you have a large number of images in your account or shared with you. It allows you to fetch all your images across a single paginated workflow, helping to provide consistent and reliable response times.

The feature is available now in all AWS Regions, including the AWS GovCloud (US) Regions.

To learn more, see our documentation.