Skip to content

Commit 3042bbc

Browse files
authored
fix: restore public visibility on constructor for EcsCredentialsProvider (#1049)
1 parent 231224f commit 3042bbc

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "c80024c2-a966-42c6-8037-0e0382d6ea89",
3+
"type": "bugfix",
4+
"description": "Restore public constructor for `EcsCredentialsProvider`",
5+
"issues": [
6+
"awslabs/aws-sdk-kotlin#1048"
7+
]
8+
}

aws-runtime/aws-config/api/aws-config.api

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public final class aws/sdk/kotlin/runtime/auth/credentials/DefaultChainCredentia
5555

5656
public final class aws/sdk/kotlin/runtime/auth/credentials/EcsCredentialsProvider : aws/smithy/kotlin/runtime/auth/awscredentials/CloseableCredentialsProvider {
5757
public fun <init> ()V
58+
public fun <init> (Laws/smithy/kotlin/runtime/util/PlatformEnvironProvider;Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;)V
59+
public synthetic fun <init> (Laws/smithy/kotlin/runtime/util/PlatformEnvironProvider;Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
5860
public fun close ()V
5961
public final fun getPlatformProvider ()Laws/smithy/kotlin/runtime/util/PlatformEnvironProvider;
6062
public fun resolve (Laws/smithy/kotlin/runtime/util/Attributes;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;

aws-runtime/aws-config/common/src/aws/sdk/kotlin/runtime/auth/credentials/EcsCredentialsProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ private const val PROVIDER_NAME = "EcsContainer"
6060
* are NOT managed by the provider. Caller is responsible for closing.
6161
*
6262
*/
63-
public class EcsCredentialsProvider internal constructor(
63+
public class EcsCredentialsProvider(
6464
public val platformProvider: PlatformEnvironProvider = PlatformProvider.System,
6565
httpClient: HttpClientEngine? = null,
6666
) : CloseableCredentialsProvider {

0 commit comments

Comments
 (0)