Skip to content

Generate AWS configs and user agents for Python clients - #967

Open
stobrien89 wants to merge 1 commit into
developfrom
python-client-aws-config
Open

stobrien89 wants to merge 1 commit into
developfrom
python-client-aws-config

Conversation

@stobrien89

@stobrien89 stobrien89 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Python clients for services with aws.api#service now get AWS configs, the same as Java:

  • Clients and configs are named for the SDK ID, for example WeatherStationClient and AsyncWeatherStationConfig.
  • Configs subclass AwsConfig / AsyncAwsConfig, so they resolve from the environment and shared config files through resolve(). Clients without a config call resolve().
  • Clients add aws_user_agent_plugin, which sends the api/<SdkId>#<version> user agent.

The AWS code lives in a new smithy_python.aws module. The core generator gets a ClientIntegration hook in smithy_python.integrations, and the CLI passes the AWS integrations into it.

There is a new aws-config-client snapshot built from models/aws-config.smithy. SigV4 and the AWS endpoint functions come in later PRs.

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 19, 2026 20:50
@stobrien89
stobrien89 force-pushed the python-client-aws-config branch from d5c075b to e53d51d Compare November 20, 2026 17:32
@stobrien89
stobrien89 changed the base branch from python-client-generic-auth to develop November 20, 2026 17:32
@stobrien89
stobrien89 added this pull request to stack #972 November 20, 2026 18:13
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