Skip to content

Migrate schema patches from botocore to AWS Smithy models#4355

Merged
kddejong merged 2 commits intoaws-cloudformation:mainfrom
kddejong:feat/smithy/conversion
Feb 3, 2026
Merged

Migrate schema patches from botocore to AWS Smithy models#4355
kddejong merged 2 commits intoaws-cloudformation:mainfrom
kddejong:feat/smithy/conversion

Conversation

@kddejong
Copy link
Contributor

@kddejong kddejong commented Feb 2, 2026

Replace botocore-based patch generation with AWS Smithy API models.

  • Add scripts/smithy/ with Smithy model extraction
  • Update GitHub Actions to use Smithy script
  • Replace 609 boto.json with smithy.json patches
  • Add 110 manual.json for schema flattening cases
  • Net +1,817 validation constraints across 526 resources

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Replace botocore-based patch generation with AWS Smithy API models.

- Add scripts/smithy/ with Smithy model extraction
- Update GitHub Actions to use Smithy script
- Replace 609 boto.json with smithy.json patches
- Add 110 manual.json for schema flattening cases
- Net +1,817 validation constraints across 526 resources
Boto scripts are no longer needed after migration to Smithy.
Fixes mypy duplicate module error.
@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.53%. Comparing base (6cb398d) to head (faec332).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4355   +/-   ##
=======================================
  Coverage   93.53%   93.53%           
=======================================
  Files         418      418           
  Lines       14143    14145    +2     
  Branches     2817     2817           
=======================================
+ Hits        13229    13231    +2     
- Misses        566      567    +1     
+ Partials      348      347    -1     
Flag Coverage Δ
unittests 93.52% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kddejong kddejong merged commit 28de1f7 into aws-cloudformation:main Feb 3, 2026
22 checks passed
@kddejong kddejong deleted the feat/smithy/conversion branch February 3, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant