Skip to content

Conversation

@mschlaipfer
Copy link
Contributor

Issue #, if available:

Description of changes: Stores the waiter model the same as "regular" method calls by introducing waiter_lookup in ServiceModelIndex, removing the need for a two-step service name and then waiter definition lookup. Also removes some duplication in the synthetic call generation related to waiters by introducing create_synthetic_call_internal.

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

receiver: Option<String>,
) -> Vec<SdkMethodCall> {
// Convert Python snake_case waiter name to PascalCase for lookup
let waiter_name_pascal = waiter_info.waiter_name.to_case(Case::Pascal);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This conversion here was wrong, fixed it as part of this PR. See #89

@mschlaipfer mschlaipfer requested a review from weibenz1 December 19, 2025 20:49
@mschlaipfer mschlaipfer merged commit ff3fc0e into awslabs:main Dec 19, 2025
14 checks passed
@mschlaipfer mschlaipfer deleted the refactor-waiters branch December 19, 2025 20:56
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.

4 participants