Skip to content

Commit

Permalink
fix: restore public visibility on constructor for `EcsCredentialsProv…
Browse files Browse the repository at this point in the history
…ider` (#1049)
  • Loading branch information
ianbotsf authored Sep 25, 2023
1 parent 231224f commit 3042bbc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .changes/c80024c2-a966-42c6-8037-0e0382d6ea89.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "c80024c2-a966-42c6-8037-0e0382d6ea89",
"type": "bugfix",
"description": "Restore public constructor for `EcsCredentialsProvider`",
"issues": [
"awslabs/aws-sdk-kotlin#1048"
]
}
2 changes: 2 additions & 0 deletions aws-runtime/aws-config/api/aws-config.api
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public final class aws/sdk/kotlin/runtime/auth/credentials/DefaultChainCredentia

public final class aws/sdk/kotlin/runtime/auth/credentials/EcsCredentialsProvider : aws/smithy/kotlin/runtime/auth/awscredentials/CloseableCredentialsProvider {
public fun <init> ()V
public fun <init> (Laws/smithy/kotlin/runtime/util/PlatformEnvironProvider;Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;)V
public synthetic fun <init> (Laws/smithy/kotlin/runtime/util/PlatformEnvironProvider;Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun close ()V
public final fun getPlatformProvider ()Laws/smithy/kotlin/runtime/util/PlatformEnvironProvider;
public fun resolve (Laws/smithy/kotlin/runtime/util/Attributes;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private const val PROVIDER_NAME = "EcsContainer"
* are NOT managed by the provider. Caller is responsible for closing.
*
*/
public class EcsCredentialsProvider internal constructor(
public class EcsCredentialsProvider(
public val platformProvider: PlatformEnvironProvider = PlatformProvider.System,
httpClient: HttpClientEngine? = null,
) : CloseableCredentialsProvider {
Expand Down

0 comments on commit 3042bbc

Please sign in to comment.