aws-sdk-go-v2 icon indicating copy to clipboard operation
aws-sdk-go-v2 copied to clipboard

route53: ListResourceRecordSets paginator

Open flood4life opened this issue 3 years ago • 2 comments

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.

flood4life avatar Feb 01 '21 13:02 flood4life

Hah. I just went to file this exact same ticket. 👍🏻

skyzyx avatar Apr 08 '21 01:04 skyzyx

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.

meshuga avatar Apr 10 '21 05:04 meshuga

⚠️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.

github-actions[bot] avatar Apr 21 '23 22:04 github-actions[bot]