Commit e44ef8a
fix(iam): return paginationToken from listPolicies (#206)
The AWS-standard ListPolicies response nests IsTruncated and Marker
inside ListPoliciesResult, but they were read from the top level, so the
next-page token was always undefined — callers could never page past the
first result set. Read them from ListPoliciesResult, gated on IsTruncated,
matching the existing listPoliciesForAccessKey handling.
Assisted-by: Claude Opus 4.8 via Claude Code
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent bb29d3a commit e44ef8a
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | 18 | | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments