Skip to content

Plumb explicit HTTP engine and region through credential provider chain #711

@aajtodd

Description

@aajtodd

Describe the feature

If a user sets a custom httpClientEngine on their service client config we don't currently plumb this through to the credential provider chain.

interface S3Client {
     ...

    public class Config private constructor(builder: Builder): HttpClientConfig, SdkClientConfig {
        public val credentialsProvider: CredentialsProvider = builder.credentialsProvider?.borrow() ?: DefaultChainCredentialsProvider()
        ...
        override val httpClientEngine: HttpClientEngine? = builder.httpClientEngine
     }
      ...

This appears to also be true for region

Is your Feature Request related to a problem?

N/A

Proposed Solution

N/A

Describe alternative solutions or features you've considered

N/A

Acknowledge

  • I may be able to implement this feature request

AWS Kotlin SDK version used

N/A

Platform (JVM/JS/Native)

N/A

Operating System and version

N/A

Metadata

Metadata

Assignees

Labels

feature-requestA feature should be added or improved.no-auto-closureWe do not want this issue to be automatically closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions