Skip to content

Commit

Permalink
fix: make configurationSource public (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis authored Dec 7, 2023
1 parent 6b86544 commit 2180b5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions aws-runtime/aws-config/api/aws-config.api
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public final class aws/sdk/kotlin/runtime/auth/credentials/ProfileCredentialsPro
public fun <init> (Ljava/lang/String;Ljava/lang/String;Laws/smithy/kotlin/runtime/util/PlatformProvider;Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;Laws/sdk/kotlin/runtime/config/profile/AwsConfigurationSource;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Laws/smithy/kotlin/runtime/util/PlatformProvider;Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;Laws/sdk/kotlin/runtime/config/profile/AwsConfigurationSource;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun close ()V
public final fun getConfigurationSource ()Laws/sdk/kotlin/runtime/config/profile/AwsConfigurationSource;
public final fun getHttpClient ()Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;
public final fun getPlatformProvider ()Laws/smithy/kotlin/runtime/util/PlatformProvider;
public final fun getProfileName ()Ljava/lang/String;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class ProfileCredentialsProvider(
public val region: String? = null,
public val platformProvider: PlatformProvider = PlatformProvider.System,
public val httpClient: HttpClientEngine? = null,
private val configurationSource: AwsConfigurationSource? = null,
public val configurationSource: AwsConfigurationSource? = null,
) : CloseableCredentialsProvider {
private val namedProviders = mapOf(
"Environment" to EnvironmentCredentialsProvider(platformProvider::getenv),
Expand Down

0 comments on commit 2180b5b

Please sign in to comment.