[GH-ISSUE #123] aws_python_case_conversion does not correctly translate some operation names #101

Open
opened 2026-03-07 19:41:59 +03:00 by kerem · 1 comment
Owner

Originally created by @mschlaipfer on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/awslabs/iam-policy-autopilot/issues/123

Examples include operations with Ipv6 and WhatsApp in their name.

Instead of special-casing a snake_case conversion we should build a map of cases where the standard snake_case conversion does not work and override. We can build this map from the service reference https://servicereference.us-east-1.amazonaws.com.

This causes us to miss operations during extraction.

Originally created by @mschlaipfer on GitHub (Jan 27, 2026). Original GitHub issue: https://github.com/awslabs/iam-policy-autopilot/issues/123 Examples include operations with `Ipv6` and `WhatsApp` in their name. Instead of special-casing a `snake_case` conversion we should build a map of cases where the standard `snake_case` conversion does not work and override. We can build this map from the service reference https://servicereference.us-east-1.amazonaws.com. This causes us to miss operations during extraction.
Author
Owner

@nwinans-aws commented on GitHub (Mar 5, 2026):

FWIW, this is the logic that handles special cases for Python snake case conversion https://github.com/boto/botocore/blob/develop/botocore/init.py

<!-- gh-comment-id:4005895223 --> @nwinans-aws commented on GitHub (Mar 5, 2026): FWIW, this is the logic that handles special cases for Python snake case conversion https://github.com/boto/botocore/blob/develop/botocore/__init__.py
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/iam-policy-autopilot#101
No description provided.