boto/botocore — pull request #30 by jamesls (2013-02-27 20:01:51+00:00)
Title: Pagination Support

This PR adds pagination support to botocore. Pagination can be used to two ways:

* Via the `paginate` method in the Operations class.
* By directly instantiating a `Paginator` object and calling its `paginate` method (I would expect this to be much less likely than the first case).

I've updated the supported services with the *.extra.json files with pagination configs, and regened the models.

I added an extra step to the build/translation process. The pagination configs specify the input parameter using the same casing as specified in the json model, but the `Paginator` class passes this param in using the python_snake_case. Rather than do this at runtime, I just added the `py_input_token` to the model during the build process.

I've also added integration tests for ec2/rds that demonstrate pagination.