Reputation: 5499
Is it possible to disable pagination in boto ?
The CLI mentions that I can disable paginations, for example in listing datapipelines, It says - > You can disable pagination by providing the --no-paginate argument
- Link
However, when I look at datapipelines boto docs, I can't find any place to disable pagination. I am working with someone else's code who did not read api docs and assumed everythign was non paginated, and it would be easier to just turn on no pagination . Thanks for the help !
Specifically, I want to turn list_pipelines into no paginated version.
Upvotes: 0
Views: 1178
Reputation: 5499
Ok so It turns out that boto does not let you currently disable pagination. It is not Opt in . I tried running it with and without pagination and I always get incomplete answers without pagination.
Upvotes: 2
Reputation: 16013
The CLI paginates by default, but in boto3 you have to opt-in by making a call to get_paginator
or manually paginating. So you shouldn't have to do anything.
Upvotes: 1