Skip to content

Conversation

kai-ion
Copy link
Contributor

@kai-ion kai-ion commented Oct 9, 2025

Issue #, if available:

Description of changes:
Implements step 1 of service-specific endpoint resolution supporting:

  • AWS_ENDPOINT_URL_ environment variables (service-specific)
  • AWS_ENDPOINT_URL environment variable (global fallback)
  • AWS_IGNORE_CONFIGURED_ENDPOINT_URLS opt-out mechanism
  • Precedence chain with proper service ID normalization

Components added:

  • ConfiguredEndpointResolver: Core resolution logic with precedence handling
  • ConfiguredEndpointProvider: Template-based decorator for EndpointProviderBase
  • Comprehensive unit tests following existing test patterns

Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

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

…or service-specific endpoints

Implements step 1 of service-specific endpoint resolution supporting:
- AWS_ENDPOINT_URL_<SERVICE> environment variables (service-specific)
- AWS_ENDPOINT_URL environment variable (global fallback)
- AWS_IGNORE_CONFIGURED_ENDPOINT_URLS opt-out mechanism
- Precedence chain with proper service ID normalization

Components added:
- ConfiguredEndpointResolver: Core resolution logic with precedence handling
- ConfiguredEndpointProvider: Template-based decorator for EndpointProviderBase
- Comprehensive unit tests following existing test patterns

Shared config file support ([services] sections) deferred to step 2.
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