fix(lambda): ListFunctions(ALL) lists versions, ListAliases/ListVersionsByFunction MaxItems 1..10000#2018
Merged
Conversation
…onsByFunction MaxItems 1..10000 - ListFunctions with FunctionVersion=ALL returned only each function's $LATEST, omitting published numbered versions. It now also emits the per-version snapshots (ordered by function name, $LATEST then ascending versions), keyed by ARN for pagination so duplicate function names don't collide in the marker. - ListAliases was grouped with the 50-cap MaxItems ops, so a MaxItems of 51.. 10000 returned a spurious 400. Its Smithy range is 1..10000; removed it from the 50-cap group. - ListVersionsByFunction clamped MaxItems to 50; its range is 1..10000 (default 50). Clamp widened. Adds an e2e test covering ALL-versions listing and MaxItems=100 on both lists.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug-hunt batch 7 (cycle 6). Lambda control-plane list correctness.
$LATEST, omitting published numbered versions. It now also emits the per-version snapshots (ordered by name,$LATESTthen ascending versions), keyed by ARN for pagination so duplicate names don't collide in the marker.E2E covers ALL-versions listing + MaxItems=100 on both lists. lambda lib (207) green. Builds clean; clippy
-D warningsclean.Summary by cubic
Fixes Lambda list behavior:
ListFunctions(FunctionVersion=ALL)now returns$LATESTplus all published versions, andMaxItemsforListAliasesandListVersionsByFunctionaccepts 1..10000. Pagination for ALL versions now uses function ARN to avoid marker collisions.ListFunctions(ALL)emits per-version snapshots and sorts by name, with$LATESTfirst then ascending version numbers.FunctionArnfor pagination keys when listing ALL versions to prevent duplicate-name marker collisions.MaxItemsrange to 1..10000 forListAliasesandListVersionsByFunction(default 50); adds e2e coverage for ALL-versions listing andMaxItems=100.Written for commit fb688a4. Summary will update on new commits.