chore: bump AWS SDK from 3.1090.0 to 3.1127.0 #261
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/bump-aws-sdk-3.1127.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
@aws-sdk/*packages from3.1090.0to3.1127.0(37 patch releases)2026.09.06.1with upgrade entry added to the s3-bootstrap provisioner modelNotes
Nine orphaned model directories (artifact, backupsearch, cognitosync, controlcatalog, partnercentral, savingsplans, states, thinclient, usernotifications) still pin
3.1090.0— their schemas are no longer in the upstream CloudFormation bundle so the codegen cannot regenerate them.Test plan
deno checkpasses for vault/aws-sm and datastore/s3🤖 Generated with Claude Code
187ba086def1c1784b93Adversarial Review
This PR bumps the AWS SDK from
3.1090.0to3.1127.0across all hand-written extensions (codegen/,datastore/s3,vault/aws-sm,workflows/s3-bootstrap,datastore/benchmarks) and regenerates ~1147 model files and their lockfiles. The hand-written changes are purely mechanical version string replacements — no logic, control flow, or API surface changes.Critical / High
None found.
Medium
@aws-sdk/client-cloudcontrol@3.1090.0(model/aws/artifact,model/aws/backupsearch,model/aws/cognitosync,model/aws/controlcatalog,model/aws/partnercentral,model/aws/savingsplans,model/aws/states,model/aws/thinclient,model/aws/usernotifications). The codegen template incodegen/shared/denoConfigGenerator.tsnow emits3.1127.0, so these models appear to have been skipped during regeneration. Runningdeno task generate:awsfor these services should bring them in line. This is out of the review scope (model/ files are auto-generated) but worth flagging to avoid version skew at runtime if these models are used alongside extensions that expect the newer SDK — Deno would resolve two different versions of@aws-sdk/client-cloudcontrol, which wastes memory but shouldn't cause correctness issues since CloudControl's API surface is stable across these versions.Low
datastore/s3/deno.lockshrank from 832 to 314 lines. The separate commit187ba086d("fix: regenerate datastore/s3 lockfile with all source and test deps") cleaned up stale entries for old SDK versions (3.1024.0,3.1046.0). This is correct behavior — the old lockfile was carrying dead weight. Verified: the new lockfile only lists3.1127.0.Snapshot test changes are consistent. The "sync, and list" wording in the snapshot diffs matches the existing template in
codegen/aws/extensionModelGenerator.ts:155— this template was already updated before this PR (prior regeneration commits). The snapshots are just catching up.Verdict
PASS — Straightforward, mechanical SDK version bump. All hand-written version references are consistent at
3.1127.0. The upgrade block inworkflows/s3-bootstrap/extensions/models/provisioner.ts:61-66is correctly structured with an identityupgradeAttributesfunction. Lockfiles were regenerated. No logic changes, no new code paths, no security concerns.Code Review
This PR is a mechanical AWS SDK bump from 3.1090.0 to 3.1127.0, applied consistently across all hand-written extension code (
datastore/s3,vault/aws-sm,workflows/s3-bootstrap) and the codegen pipeline (templates and enrichment source files). The model files are legitimate codegen output:codegen/also changes, satisfying the CLAUDE.md legitimacy rule.Blocking Issues
None.
Suggestions
@smithy/node-http-handlernot bumped alongside@aws-sdk/client-bedrock-agent-runtime(codegen/aws/enrichments/bedrock-knowledgebase/config.ts:8,methods.ts:9): The bedrock enrichment pins@smithy/node-http-handler@4.9.7, but the deno.lock shows@aws-sdk/client-bedrock-agent-runtime@3.1127.0pulling in@smithy/node-http-handler@4.12.1transitively. Two different versions of the handler will coexist in the npm resolution graph. This is a pre-existing issue (unchanged in this PR), but worth tracking: if theNodeHttpHandlerinterface changed between 4.9.7 and 4.12.1, the explicit import increateClient()could silently use a stale type. Consider bumping to match the SDK's transitive dependency in a follow-up.Notes
npm:specifiers in source files, deno.lock files, manifest.yaml versions, test file imports, and the codegen snapshot.provisioner.tsupgrade chain (2026.06.04.1 → … → 2026.09.06.1) is ordered correctly and the new entry describes a no-behavior-change version bump.sanitizeResources: falsetest options include the required comment explaining the connection-pool rationale.model/aws/iotsitewise/(new resource types) are expected codegen output, not hand-edits.Adversarial Review
This PR bumps the AWS SDK from
3.1090.0to3.1127.0across all hand-written extensions (datastore/s3,vault/aws-sm,workflows/s3-bootstrap), all codegen source files (codegen/aws/libGenerator.ts,codegen/shared/denoConfigGenerator.ts, enrichment configs/methods), snapshot tests, and ~1139 auto-generated model files. It also updates the docstring in generated models to mention "list" alongside other operations, and bumps manifest versions for the three hand-written extensions.Critical / High
None found.
Medium
None found.
Low
codegen/aws/enrichments/rds-dbcluster/list.enrich.ts:13-19— IMDS disabling is fire-and-forget with a global side effect. ThelistClustersfunction setsAWS_EC2_METADATA_DISABLED=trueglobally and never restores it. This is flagged as an existing pattern (not introduced in this PR), but the version bump means a new SDK's credential chain behavior could interact differently with globally-mutated env vars. Theoretical risk only — the comment says enrichments run at codegen time, not extension runtime, so the blast radius is contained.workflows/s3-bootstrap/extensions/models/provisioner_impl.ts:255— IAM policy ARN construction uses single-colonarn:aws:iam::<accountId>:policy/<name>. This is the correct format for IAM (IAM is a global service; the region field is empty), so this is not actually a bug. Noting it because the double-colon pattern can look suspicious at a glance, but it's correct here.Verdict
PASS — This is a clean, mechanical dependency version bump. All AWS SDK version pins are consistently updated from
3.1090.0to3.1127.0across hand-written source, codegen templates, enrichment configs, test fixtures, snapshot expectations,deno.jsonimport maps, and lock files. No stale3.1090.0references remain in hand-written code (the only occurrence is in an upgrade description string inprovisioner.ts:63, which is correct — it documents the version change). Thedeno.lockfiles are regenerated with updated transitive dependency hashes. Manifest versions are bumped. The snapshot test changes are consistent with the docstring tweak (adding "list" to the operations list) and the version bump. No logic, security, or API contract changes are introduced.Code Review
This PR bumps the AWS SDK from
3.1090.0to3.1127.0across the entire repo, along with associated manifest version bumps and a snapshot fix.Blocking Issues
None.
Suggestions
Snapshot staleness pre-existing on
main(informational, not blocking):extensionModelGenerator.tsonmainalready generates"get, update, delete, sync, and list can be driven through \swamp model`."(line 155), but the snapshot file onmainstill records the old text"and sync". This means the snapshot tests were already failing onmain` before this PR. The PR correctly updates the snapshots to match the generator's actual output — good fix — but it's worth noting the pre-existing breakage so the team can investigate whether snapshot-test CI was being skipped.Upgrade entry description (trivial): In
workflows/s3-bootstrap/extensions/models/provisioner.ts, the upgrade entry for2026.09.06.1describes itself as "No schema or behavior change." This is accurate and clear. No action needed.Lock files present and updated:
deno.lockfiles are updated in all four packages (datastore/s3,datastore/benchmarks,vault/aws-sm,workflows/s3-bootstrap). Cannot rundeno install --frozenin CI to verify, but the presence and modification of lock files is consistent with the import map changes. ✓The change is mechanically consistent: every occurrence of
3.1090.0acrossdeno.jsonimport maps, directnpm:specifiers in source files, enrichment configs, the codegen lib generator, and the deno config generator has been updated to3.1127.0. Manifest versions are bumped and the provisioner model includes a correct no-op upgrade entry.Adversarial Review
This PR is a mechanical AWS SDK version bump from
3.1090.0to3.1127.0across all extensions (codegen, datastore/s3, vault/aws-sm, workflows/s3-bootstrap, benchmarks) plus a minor doc fix in generated model headers ("and sync" → "sync, and list"). Version pins are consistent across all source files, deno.json imports, and lock files.Critical / High
None found.
Medium
None found.
Low
codegen/aws/enrichments/bedrock-knowledgebase/config.ts:8/methods.ts:9—@smithy/node-http-handlerleft at 4.9.7 while SDK bumps to 3.1127.0The SDK's transitive
@smithy/node-http-handlerdependency is now4.12.1(visible in updated lockfiles), but the enrichment explicitly pins4.9.7. Both versions will coexist at runtime (Deno resolvesnpm:specifiers independently), and theNodeHttpHandlerAPI is stable within the same major version, so this is functionally fine. Worth noting for a future housekeeping pass to keep the explicit pin aligned with the SDK's transitive version to avoid loading two copies of the same package.Verification checklist
@aws-sdk/client-*pins are3.1127.0across codegen source, enrichments, hand-written extensions, deno.json files, and test fixtures.denoConfigGenerator.tsandlibGenerator.tsemit the new version into generated code.workflows/s3-bootstrap/provisioner.tshas a matching upgrade entry (toVersion: "2026.09.06.1") with a pass-throughupgradeAttributes.datastore/s3,vault/aws-sm,workflows/s3-bootstrap) are bumped to2026.09.06.1.3.1024.0,3.1046.0,3.1090.0cleaned up indatastore/s3/deno.lock).Verdict
PASS — Clean, consistent SDK version bump with no logic changes. All version pins align. Ship it.
Code Review
This PR is a straightforward AWS SDK bump from 3.1090.0 to 3.1127.0, touching:
codegen/shared/denoConfigGenerator.tsandcodegen/aws/libGenerator.ts(codegen sources)deno.lockandmanifest.yamlfilesBlocking Issues
None.
Suggestions
workflows/s3-bootstrap/extensions/models/provisioner_test.ts— test SDK clients not destroyedThe
S3Client,IAMClient, andSTSClientinstances created insideensureBucket,hardenBucket,getAccountId, andensurePolicytest cases are never explicitly destroyed. This is fine withsanitizeResources: false, but adding a.destroy()call on the client in the test'sfinallyblock (beforeserver.shutdown()) would be tidier. Not a problem in practice since the test process exits.codegen/aws/enrichments/cfn-stackset/methods.ts—detectDriftsleeps before first pollThe polling loop sleeps for
pollIntervalMsunconditionally before checking the operation status. If CloudFormation completes the drift detection very quickly, the first status check is delayed by the full interval (default 5 s). A more responsive pattern polls first, then sleeps. Low-impact for a monitoring operation, but worth noting for future work.codegen/aws/enrichments/bedrock-knowledgebase/methods.ts— double cast onfilterLine 123 uses
filter as unknown as RetrievalFiltereven thoughRetrievalFilteris already imported at the top of the file. A directfilter as RetrievalFiltercast is sufficient. Minor nit.Correctness / security / compliance checklist (all pass):
model/— codegen sources also change, which accounts for the model regeneration ✓anyin hand-written code ✓deno.lockcommitted for all changed packages ✓GlobalArgsSchema) ✓Deno.serve({ port: 0 })local mock servers, no live cloud calls ✓sanitizeResources: falsepresent with explanatory comments on all SDK-client tests ✓2026.09.06.1present inprovisioner.ts✓