Skip to content

Do not dynamically define operation methods #3235

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

Merged
merged 22 commits into from
Apr 28, 2025

Conversation

mullermp
Copy link
Contributor

Removes dynamic operation methods definition. This allows async client operations to be called on the regular client.

This needs investigation on whether this is breaking or not.

Copy link

github-actions bot commented Apr 24, 2025

Detected 1 possible performance regressions:

  • aws-sdk-cloudwatchlogs.client_init_ms - z-score regression: 0.79 -> 0.89. Z-score: 28.13

Copy link
Contributor

@jterapin jterapin left a comment

Choose a reason for hiding this comment

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

This is now ready to review. This PR addresses the following:

  • Remove dynamically defined operation methods from Base Client
  • Update ApiHelper to not include eventstream shapes as part of their sample shapes
    • ApiHelper now accepts custom module name when creating a sample service
    • ApiHelper now has a sample_client method to clean up other specs
  • Moved select specs from Base client to a new interface spec under BuildTools
    • Updated existing fixture to test out streaming operation
  • Added RBS support for generated async_client
  • Fixed rendering of async client documentation

Copy link
Contributor Author

@mullermp mullermp left a comment

Choose a reason for hiding this comment

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

Nice. I can't approve my own PR, but I approve. Just be sure to revert the generated changes to force updates.

@jterapin jterapin merged commit 35cb45d into version-3 Apr 28, 2025
34 checks passed
@jterapin jterapin deleted the remove-dynamic-operation branch April 28, 2025 15:38
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