Skip to content

Generate awsQuery and ec2Query clients - #977

Open
stobrien89 wants to merge 1 commit into
python-client-rest-xmlfrom
python-client-aws-query
Open

stobrien89 wants to merge 1 commit into
python-client-rest-xmlfrom
python-client-aws-query

Conversation

@stobrien89

Copy link
Copy Markdown
Contributor

Issue #, if available:

Stacked on #976.

Description of changes:

Python clients now support aws.protocols#awsQuery and aws.protocols#ec2Query, matching Java's AwsQueryProtocolGenerator and Ec2QueryProtocolGenerator:

  • AWS_PROTOCOLS adds AwsQueryClientProtocol and Ec2QueryClientProtocol from smithy-aws-core[xml].
  • Async clients use the same sync protocol classes, as Java does, since the query protocols have no event streams.
  • The protocols read the service version, which ProtocolSettings already carries.

New snapshots: aws-query-client and ec2-query-client. All 136 vectors run, the same counts as the Java clients (77 and 59). The strict xfails are the 4 request compression cases Java skips.

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

@stobrien89
stobrien89 requested a review from a team as a code owner November 22, 2026 20:46
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