Skip to content

chore(client-s3): bucket contextParam customization for schema-serde mode #7250

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Aug 8, 2025

Issue

smithy-lang/smithy-typescript#1600

Description

For schema-serde mode:

  • applies model transform removing the /{Bucket} endpoint uri prefix IFF input members group has Bucket and the member is a contextParam (trait).
  • error handlers for schema-serde protocols have more consistent error metadata assignment

Testing

S3 e2e tests, integration (CI)

Checklist

  • [n/a] If the PR is a feature, add integration tests (*.integ.spec.ts).
  • [n/a] If you wrote E2E tests, are they resilient to concurrent I/O?
  • [n/a] If adding new public functions, did you add the @public tag and enable doc generation on the package?

@kuhe kuhe requested a review from a team as a code owner August 8, 2025 16:17
// Bucket is in the http trait but is handled by endpoints ruleset.
return segment !== "{Bucket}";
})
.join("/") || "/";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed this hack, replaced by model preprocessing transform

@kuhe kuhe force-pushed the schema/logger branch 3 times, most recently from cfcc887 to 6207b9d Compare August 8, 2025 16:34
@kuhe kuhe force-pushed the schema/logger branch 3 times, most recently from 4c1a503 to 5dc79a4 Compare August 8, 2025 19:50
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.

2 participants