Skip to content

Commit 4b0df67

Browse files
authored
misc: remove @InternalApi from SdkClientOption extension functions (#1252)
1 parent 8178808 commit 4b0df67

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

runtime/smithy-client/common/src/aws/smithy/kotlin/runtime/client/SdkClientOption.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
package aws.smithy.kotlin.runtime.client
77

8-
import aws.smithy.kotlin.runtime.InternalApi
98
import aws.smithy.kotlin.runtime.collections.AttributeKey
109
import aws.smithy.kotlin.runtime.operation.ExecutionContext
1110

@@ -48,27 +47,23 @@ public object SdkClientOption {
4847
/**
4948
* Get the [IdempotencyTokenProvider] from the context. If one is not set the default will be returned.
5049
*/
51-
@InternalApi
5250
public val ExecutionContext.idempotencyTokenProvider: IdempotencyTokenProvider
5351
get() = getOrNull(SdkClientOption.IdempotencyTokenProvider) ?: IdempotencyTokenProvider.Default
5452

5553
/**
5654
* Get the [LogMode] from the context. If one is not set a default will be returned
5755
*/
58-
@InternalApi
5956
public val ExecutionContext.logMode: LogMode
6057
get() = getOrNull(SdkClientOption.LogMode) ?: LogMode.Default
6158

6259
/**
6360
* Get the name of the operation being invoked from the context.
6461
*/
65-
@InternalApi
6662
public val ExecutionContext.operationName: String?
6763
get() = getOrNull(SdkClientOption.OperationName)
6864

6965
/**
7066
* Get the name of the service being invoked from the context.
7167
*/
72-
@InternalApi
7368
public val ExecutionContext.serviceName: String?
7469
get() = getOrNull(SdkClientOption.ServiceName)

0 commit comments

Comments
 (0)