aws-sdk-go-v2
aws-sdk-go-v2 copied to clipboard
route53: ListResourceRecordSets paginator
Is your feature request related to a problem? Please describe.
SDK v1 provides ListResourceRecordSetsPagesWithContext
which is a convenient API to process all the records in a hosted zone. I'm currently upgrading to SDK v2 and would love to keep not having to worry about handling pagination.
Describe the solution you'd like
SDK provides a NewListListResourceRecordSetsPaginator
(akin to other paginators, e.g. NewListHostedZonesPaginator
)
Describe alternatives you've considered Implementing that specific paginator in my application code.
Additional context I feel like providing a new paginator should be quite straightforward if the existing paginators are used as reference. If you think that the proposed solution is the way to go, I could take a stab at contributing and implementing it.
Hah. I just went to file this exact same ticket. 👍🏻
Lack of this paginator led to incorrect implementation and a bug https://github.com/GoogleCloudPlatform/terraformer/issues/874
In the meantime, you can look at https://github.com/GoogleCloudPlatform/terraformer/pull/875/files for correct implementation.
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.