-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert AWS API calls to use paginators #14491
Conversation
test-me-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, the rest LGTM
38f3942
to
057ec26
Compare
test-me-please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of small nits.
057ec26
to
44aefa9
Compare
test-me-please updated #12511 (comment) with the failure in netnext. |
retest-net-next |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Can you put the context in the PR into the commit itself? It would be helpful to have the "why" in the commit msg
Some of the AWS API calls that we do are not doing correct pagination. This means that we return partial output to the calling functions. Those ones are (from the ec2 internal package): - `describeVpcs` - `describeSubnets` - `describeSecurityGroups` The ones that implement manually pagination are: - `describeNetworkInterfaces` - `GetInstanceTypes` Signed-off-by: Vlad Ungureanu <vladu@palantir.com>
44aefa9
to
fdb046d
Compare
test-me-please @christarazi -- updated the commit msg. |
Some of the AWS API calls that we do are not doing correct pagination. This means that we return partial output to the calling functions. Those ones are (from the ec2 internal package):
describeVpcs
describeSubnets
describeSecurityGroups
The ones that implement manually pagination are:
describeNetworkInterfaces
GetInstanceTypes
Overall it might not be important to implement pagination for all EC2 API calls but is good to standardize on it. Happy to revisit this if the reviewers think this is complicating things too much.
Signed-off-by: Vlad Ungureanu vladu@palantir.com