awslabs / awslabs/aws-sdk-rust

In `aws_sdk_eventbridge`, there is no pagination helper for `ListTargetsByRule`

Open
#1,206 1 comment 1 reaction 0 assignees View on GitHub
feature-request p3 service-api
Dominant language
Rust
Stars
3.3k
Forks
290
Avg merge
1d 12h
Merged PRs (30d)
3

Description

### Describe the feature

Many of the SDK's fluent builders [have a method allow the SDK to handle pagination for you](https://docs.aws.amazon.com/sdk-for-rust/latest/dg/paginating.html). `aws_sdk_eventbridge::operation::list_targets_by_rule::builders::ListTargetsByRuleFluentBuilder` does not. This means you have to manually paginate to retrieve all the rules from the EventBridge `ListTargetsByRule` API.

### Use Case

Retrieving all the targets when calling the EventBridge `ListTargetsByRule` API.

### Proposed Solution

Add [the documented pagination helper](https://docs.aws.amazon.com/sdk-for-rust/latest/dg/paginating.html), please.

### Other Information

Similar to #1205.

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### A note for the community

### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue, please leave a comment

Contributor guide

Open the contributing guide

Research direction

Start with aws_sdk_eventbridge::operation::list_targets_by_rule::builders::ListTargetsByRuleFluentBuilder and review the documented Rust SDK pagination helper. Compare the similar request in issue #1205, then verify that ListTargetsByRule supports the helper and that callers can retrieve all targets without manual pagination.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, rust
Domain
api, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.