diff --git a/.changes/2ec4ad9a-f964-4cf1-be58-d0229493bb81.json b/.changes/2ec4ad9a-f964-4cf1-be58-d0229493bb81.json new file mode 100644 index 0000000000..94684ac76b --- /dev/null +++ b/.changes/2ec4ad9a-f964-4cf1-be58-d0229493bb81.json @@ -0,0 +1,5 @@ +{ + "id": "2ec4ad9a-f964-4cf1-be58-d0229493bb81", + "type": "feature", + "description": "Upgrade to Kotlin 2.2.0" +} \ No newline at end of file diff --git a/bom/build.gradle.kts b/bom/build.gradle.kts index 51b05616c1..8af09dbf58 100644 --- a/bom/build.gradle.kts +++ b/bom/build.gradle.kts @@ -7,8 +7,6 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension import org.jetbrains.kotlin.gradle.plugin.KotlinMultiplatformPluginWrapper import org.jetbrains.kotlin.gradle.plugin.KotlinTarget import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMetadataTarget -import org.jetbrains.kotlin.gradle.targets.js.KotlinJsTarget -import java.util.* plugins { `maven-publish` @@ -52,7 +50,6 @@ fun createBomConstraintsAndVersionCatalog() { fun Project.artifactId(target: KotlinTarget): String = when (target) { is KotlinMetadataTarget -> name - is KotlinJsTarget -> "$name-js" else -> "$name-${target.targetName.lowercase()}" } diff --git a/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinDependency.kt b/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinDependency.kt index b575efae60..0ab643d653 100644 --- a/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinDependency.kt +++ b/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/core/KotlinDependency.kt @@ -37,7 +37,7 @@ private fun getDefaultRuntimeVersion(): String { // publishing info const val RUNTIME_GROUP: String = "aws.smithy.kotlin" val RUNTIME_VERSION: String = System.getProperty("smithy.kotlin.codegen.clientRuntimeVersion", getDefaultRuntimeVersion()) -val KOTLIN_COMPILER_VERSION: String = System.getProperty("smithy.kotlin.codegen.kotlinCompilerVersion", "2.1.0") +val KOTLIN_COMPILER_VERSION: String = System.getProperty("smithy.kotlin.codegen.kotlinCompilerVersion", "2.2.0") enum class SourceSet { CommonMain, diff --git a/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/GradleGenerator.kt b/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/GradleGenerator.kt index 07f7541a06..d4123f0f03 100644 --- a/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/GradleGenerator.kt +++ b/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/GradleGenerator.kt @@ -6,7 +6,10 @@ package software.amazon.smithy.kotlin.codegen.rendering import software.amazon.smithy.build.FileManifest import software.amazon.smithy.kotlin.codegen.KotlinSettings -import software.amazon.smithy.kotlin.codegen.core.* +import software.amazon.smithy.kotlin.codegen.core.InlineCodeWriter +import software.amazon.smithy.kotlin.codegen.core.InlineCodeWriterFormatter +import software.amazon.smithy.kotlin.codegen.core.KOTLIN_COMPILER_VERSION +import software.amazon.smithy.kotlin.codegen.core.KotlinDependency import software.amazon.smithy.utils.AbstractCodeWriter // Determines the jvmTarget version emitted to the build file @@ -134,7 +137,7 @@ fun renderRootJvmPluginConfig(writer: GradleWriter) { """ jvm { compilations.all { - kotlinOptions.jvmTarget = #S + compilerOptions.jvmTarget = #S } testRuns["test"].executionTask.configure { useJUnitPlatform() diff --git a/codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/KotlinSettingsTest.kt b/codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/KotlinSettingsTest.kt index 2de132c9fa..7910b25cc1 100644 --- a/codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/KotlinSettingsTest.kt +++ b/codegen/smithy-kotlin-codegen/src/test/kotlin/software/amazon/smithy/kotlin/codegen/KotlinSettingsTest.kt @@ -11,6 +11,7 @@ import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.ArgumentsProvider import org.junit.jupiter.params.provider.ArgumentsSource import org.junit.jupiter.params.provider.CsvSource +import org.junit.jupiter.params.support.ParameterDeclarations import software.amazon.smithy.codegen.core.CodegenException import software.amazon.smithy.kotlin.codegen.test.TestModelDefault import software.amazon.smithy.kotlin.codegen.test.toSmithyModel @@ -392,7 +393,10 @@ class TestProtocolSelectionArgumentProvider : ArgumentsProvider { private const val NO_CBOR = "awsJson1_0, awsJson1_1, restJson1, restXml, awsQuery, ec2Query" } - override fun provideArguments(context: ExtensionContext?): Stream = Stream.of( + override fun provideArguments( + parameters: ParameterDeclarations?, + context: ExtensionContext?, + ): Stream = Stream.of( Arguments.of( ALL_PROTOCOLS, "rpcv2Cbor, awsJson1_0", diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 615e9328ca..afff864643 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,26 +1,26 @@ [versions] -kotlin-version = "2.1.0" +kotlin-version = "2.2.0" dokka-version = "2.0.0" aws-kotlin-repo-tools-version = "0.4.31" # libs -coroutines-version = "1.9.0" -atomicfu-version = "0.25.0" +coroutines-version = "1.10.2" +atomicfu-version = "0.29.0" okhttp-version = "5.0.0-alpha.14" okhttp4-version = "4.12.0" okio-version = "3.9.1" otel-version = "1.45.0" slf4j-version = "2.0.16" slf4j-v1x-version = "1.7.36" -crt-kotlin-version = "0.9.1" +crt-kotlin-version = "0.9.2" micrometer-version = "1.14.2" -binary-compatibility-validator-version = "0.16.3" +binary-compatibility-validator-version = "0.18.0" smithy-version = "1.60.2" # testing -junit-version = "5.10.5" +junit-version = "5.13.2" kotest-version = "5.9.1" kotlin-compile-testing-version = "0.7.0" kotlinx-benchmark-version = "0.4.12" diff --git a/runtime/auth/aws-credentials/api/aws-credentials.api b/runtime/auth/aws-credentials/api/aws-credentials.api index 15df96aff6..1138b24d5f 100644 --- a/runtime/auth/aws-credentials/api/aws-credentials.api +++ b/runtime/auth/aws-credentials/api/aws-credentials.api @@ -18,9 +18,9 @@ public abstract interface class aws/smithy/kotlin/runtime/auth/awscredentials/Cl public abstract interface class aws/smithy/kotlin/runtime/auth/awscredentials/Credentials : aws/smithy/kotlin/runtime/identity/Identity { public static final field Companion Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials$Companion; public abstract fun getAccessKeyId ()Ljava/lang/String; - public abstract fun getProviderName ()Ljava/lang/String; + public fun getProviderName ()Ljava/lang/String; public abstract fun getSecretAccessKey ()Ljava/lang/String; - public abstract fun getSessionToken ()Ljava/lang/String; + public fun getSessionToken ()Ljava/lang/String; } public final class aws/smithy/kotlin/runtime/auth/awscredentials/Credentials$Companion { @@ -28,11 +28,6 @@ public final class aws/smithy/kotlin/runtime/auth/awscredentials/Credentials$Com public static synthetic fun invoke$default (Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials$Companion;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Laws/smithy/kotlin/runtime/time/Instant;Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials; } -public final class aws/smithy/kotlin/runtime/auth/awscredentials/Credentials$DefaultImpls { - public static fun getProviderName (Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials;)Ljava/lang/String; - public static fun getSessionToken (Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials;)Ljava/lang/String; -} - public final class aws/smithy/kotlin/runtime/auth/awscredentials/CredentialsKt { public static final fun copy (Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Laws/smithy/kotlin/runtime/time/Instant;Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;)Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials; public static synthetic fun copy$default (Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Laws/smithy/kotlin/runtime/time/Instant;Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/auth/awscredentials/Credentials; diff --git a/runtime/auth/aws-signing-tests/build.gradle.kts b/runtime/auth/aws-signing-tests/build.gradle.kts index 5810181041..667021303e 100644 --- a/runtime/auth/aws-signing-tests/build.gradle.kts +++ b/runtime/auth/aws-signing-tests/build.gradle.kts @@ -17,7 +17,6 @@ kotlin { api(project(":runtime:auth:http-auth-aws")) implementation(libs.kotlin.test) implementation(libs.kotlinx.coroutines.test) - implementation(libs.junit.jupiter.params) } } @@ -28,6 +27,7 @@ kotlin { implementation(libs.ktor.http.cio) implementation(libs.ktor.utils) implementation(libs.kotlin.test.junit5) + implementation(libs.junit.jupiter.params) implementation(libs.kotlinx.serialization.json) } } diff --git a/runtime/auth/http-auth-api/api/http-auth-api.api b/runtime/auth/http-auth-api/api/http-auth-api.api index 491aa48555..b842aa9dfb 100644 --- a/runtime/auth/http-auth-api/api/http-auth-api.api +++ b/runtime/auth/http-auth-api/api/http-auth-api.api @@ -1,11 +1,7 @@ public abstract interface class aws/smithy/kotlin/runtime/http/auth/AuthScheme { public abstract fun getSchemeId-DepwgT4 ()Ljava/lang/String; public abstract fun getSigner ()Laws/smithy/kotlin/runtime/http/auth/HttpSigner; - public abstract fun identityProvider (Laws/smithy/kotlin/runtime/identity/IdentityProviderConfig;)Laws/smithy/kotlin/runtime/identity/IdentityProvider; -} - -public final class aws/smithy/kotlin/runtime/http/auth/AuthScheme$DefaultImpls { - public static fun identityProvider (Laws/smithy/kotlin/runtime/http/auth/AuthScheme;Laws/smithy/kotlin/runtime/identity/IdentityProviderConfig;)Laws/smithy/kotlin/runtime/identity/IdentityProvider; + public fun identityProvider (Laws/smithy/kotlin/runtime/identity/IdentityProviderConfig;)Laws/smithy/kotlin/runtime/identity/IdentityProvider; } public abstract interface class aws/smithy/kotlin/runtime/http/auth/HttpAuthConfig { diff --git a/runtime/auth/http-auth-aws/api/http-auth-aws.api b/runtime/auth/http-auth-aws/api/http-auth-aws.api index ed4d74df3a..1a0d013ac5 100644 --- a/runtime/auth/http-auth-aws/api/http-auth-aws.api +++ b/runtime/auth/http-auth-aws/api/http-auth-aws.api @@ -60,7 +60,6 @@ public final class aws/smithy/kotlin/runtime/http/auth/SigV4AuthScheme : aws/smi public fun getSchemeId-DepwgT4 ()Ljava/lang/String; public fun getSigner ()Laws/smithy/kotlin/runtime/http/auth/AwsHttpSigner; public synthetic fun getSigner ()Laws/smithy/kotlin/runtime/http/auth/HttpSigner; - public fun identityProvider (Laws/smithy/kotlin/runtime/identity/IdentityProviderConfig;)Laws/smithy/kotlin/runtime/identity/IdentityProvider; } public final class aws/smithy/kotlin/runtime/http/auth/SigV4AuthSchemeKt { diff --git a/runtime/auth/http-auth/api/http-auth.api b/runtime/auth/http-auth/api/http-auth.api index 709166a395..5558e7b42d 100644 --- a/runtime/auth/http-auth/api/http-auth.api +++ b/runtime/auth/http-auth/api/http-auth.api @@ -29,7 +29,6 @@ public final class aws/smithy/kotlin/runtime/http/auth/BearerTokenAuthScheme : a public fun ()V public fun getSchemeId-DepwgT4 ()Ljava/lang/String; public fun getSigner ()Laws/smithy/kotlin/runtime/http/auth/HttpSigner; - public fun identityProvider (Laws/smithy/kotlin/runtime/identity/IdentityProviderConfig;)Laws/smithy/kotlin/runtime/identity/IdentityProvider; } public abstract interface class aws/smithy/kotlin/runtime/http/auth/BearerTokenProvider : aws/smithy/kotlin/runtime/identity/IdentityProvider { diff --git a/runtime/auth/identity-api/api/identity-api.api b/runtime/auth/identity-api/api/identity-api.api index 9b07562934..1e1c0fc5d9 100644 --- a/runtime/auth/identity-api/api/identity-api.api +++ b/runtime/auth/identity-api/api/identity-api.api @@ -56,9 +56,6 @@ public final class aws/smithy/kotlin/runtime/identity/IdentityAttributesKt { public abstract interface class aws/smithy/kotlin/runtime/identity/IdentityProvider { public abstract fun resolve (Laws/smithy/kotlin/runtime/collections/Attributes;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; -} - -public final class aws/smithy/kotlin/runtime/identity/IdentityProvider$DefaultImpls { public static synthetic fun resolve$default (Laws/smithy/kotlin/runtime/identity/IdentityProvider;Laws/smithy/kotlin/runtime/collections/Attributes;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } diff --git a/runtime/build.gradle.kts b/runtime/build.gradle.kts index 4aa9e06b3b..43aa9ef687 100644 --- a/runtime/build.gradle.kts +++ b/runtime/build.gradle.kts @@ -4,7 +4,6 @@ */ import aws.sdk.kotlin.gradle.dsl.configurePublishing import aws.sdk.kotlin.gradle.kmp.* -import org.gradle.kotlin.dsl.apply import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { @@ -67,8 +66,10 @@ subprojects { jvmTarget.set(JvmTarget.JVM_1_8) freeCompilerArgs.add("-Xjdk-release=1.8") freeCompilerArgs.add("-Xexpect-actual-classes") + freeCompilerArgs.add("-jvm-default=no-compatibility") // https://youtrack.jetbrains.com/issue/KT-77376 } } + tasks.withType { compilerOptions { freeCompilerArgs.add("-Xexpect-actual-classes") diff --git a/runtime/observability/telemetry-api/api/telemetry-api.api b/runtime/observability/telemetry-api/api/telemetry-api.api index 470061210b..fa3035f8b7 100644 --- a/runtime/observability/telemetry-api/api/telemetry-api.api +++ b/runtime/observability/telemetry-api/api/telemetry-api.api @@ -176,25 +176,22 @@ public abstract interface class aws/smithy/kotlin/runtime/telemetry/logging/Logg public static final field Companion Laws/smithy/kotlin/runtime/telemetry/logging/Logger$Companion; public abstract fun atLevel (Laws/smithy/kotlin/runtime/telemetry/logging/LogLevel;)Laws/smithy/kotlin/runtime/telemetry/logging/LogRecordBuilder; public abstract fun debug (Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;)V + public static synthetic fun debug$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V public abstract fun error (Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;)V + public static synthetic fun error$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V public abstract fun info (Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;)V + public static synthetic fun info$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V public abstract fun isEnabledFor (Laws/smithy/kotlin/runtime/telemetry/logging/LogLevel;)Z public abstract fun trace (Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;)V + public static synthetic fun trace$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V public abstract fun warn (Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;)V + public static synthetic fun warn$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V } public final class aws/smithy/kotlin/runtime/telemetry/logging/Logger$Companion { public final fun getNone ()Laws/smithy/kotlin/runtime/telemetry/logging/Logger; } -public final class aws/smithy/kotlin/runtime/telemetry/logging/Logger$DefaultImpls { - public static synthetic fun debug$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V - public static synthetic fun error$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V - public static synthetic fun info$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V - public static synthetic fun trace$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V - public static synthetic fun warn$default (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/Throwable;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V -} - public final class aws/smithy/kotlin/runtime/telemetry/logging/LoggerKt { public static final fun debug (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/String;)V public static final fun error (Laws/smithy/kotlin/runtime/telemetry/logging/Logger;Ljava/lang/String;)V @@ -266,9 +263,6 @@ public abstract class aws/smithy/kotlin/runtime/telemetry/metrics/AbstractUpDown public abstract interface class aws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurement { public abstract fun record (Ljava/lang/Number;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;)V -} - -public final class aws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurement$DefaultImpls { public static synthetic fun record$default (Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurement;Ljava/lang/Number;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)V } @@ -284,6 +278,7 @@ public final class aws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementH public abstract interface class aws/smithy/kotlin/runtime/telemetry/metrics/Histogram { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram$Companion; public abstract fun record (Ljava/lang/Number;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;)V + public static synthetic fun record$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram;Ljava/lang/Number;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)V } public final class aws/smithy/kotlin/runtime/telemetry/metrics/Histogram$Companion { @@ -291,10 +286,6 @@ public final class aws/smithy/kotlin/runtime/telemetry/metrics/Histogram$Compani public final fun getLongNone ()Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram; } -public final class aws/smithy/kotlin/runtime/telemetry/metrics/Histogram$DefaultImpls { - public static synthetic fun record$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram;Ljava/lang/Number;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)V -} - public final class aws/smithy/kotlin/runtime/telemetry/metrics/HistogramKt { public static final fun measureSeconds (Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;Lkotlin/jvm/functions/Function0;)Ljava/lang/Object; public static synthetic fun measureSeconds$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)Ljava/lang/Object; @@ -307,28 +298,25 @@ public final class aws/smithy/kotlin/runtime/telemetry/metrics/HistogramKt { public abstract interface class aws/smithy/kotlin/runtime/telemetry/metrics/Meter { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/metrics/Meter$Companion; public abstract fun createAsyncUpDownCounter (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; + public static synthetic fun createAsyncUpDownCounter$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; public abstract fun createDoubleGauge (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; + public static synthetic fun createDoubleGauge$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; public abstract fun createDoubleHistogram (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram; + public static synthetic fun createDoubleHistogram$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram; public abstract fun createLongGauge (Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; + public static synthetic fun createLongGauge$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; public abstract fun createLongHistogram (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram; + public static synthetic fun createLongHistogram$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram; public abstract fun createMonotonicCounter (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter; + public static synthetic fun createMonotonicCounter$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter; public abstract fun createUpDownCounter (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter; + public static synthetic fun createUpDownCounter$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter; } public final class aws/smithy/kotlin/runtime/telemetry/metrics/Meter$Companion { public final fun getNone ()Laws/smithy/kotlin/runtime/telemetry/metrics/Meter; } -public final class aws/smithy/kotlin/runtime/telemetry/metrics/Meter$DefaultImpls { - public static synthetic fun createAsyncUpDownCounter$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; - public static synthetic fun createDoubleGauge$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; - public static synthetic fun createDoubleHistogram$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram; - public static synthetic fun createLongGauge$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Lkotlin/jvm/functions/Function1;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/AsyncMeasurementHandle; - public static synthetic fun createLongHistogram$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/Histogram; - public static synthetic fun createMonotonicCounter$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter; - public static synthetic fun createUpDownCounter$default (Laws/smithy/kotlin/runtime/telemetry/metrics/Meter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter; -} - public abstract interface class aws/smithy/kotlin/runtime/telemetry/metrics/MeterProvider { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/metrics/MeterProvider$Companion; public abstract fun getOrCreateMeter (Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/metrics/Meter; @@ -341,29 +329,23 @@ public final class aws/smithy/kotlin/runtime/telemetry/metrics/MeterProvider$Com public abstract interface class aws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter$Companion; public abstract fun add (JLaws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;)V + public static synthetic fun add$default (Laws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter;JLaws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)V } public final class aws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter$Companion { public final fun getNone ()Laws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter; } -public final class aws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter$DefaultImpls { - public static synthetic fun add$default (Laws/smithy/kotlin/runtime/telemetry/metrics/MonotonicCounter;JLaws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)V -} - public abstract interface class aws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter$Companion; public abstract fun add (JLaws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;)V + public static synthetic fun add$default (Laws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter;JLaws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)V } public final class aws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter$Companion { public final fun getNone ()Laws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter; } -public final class aws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter$DefaultImpls { - public static synthetic fun add$default (Laws/smithy/kotlin/runtime/telemetry/metrics/UpDownCounter;JLaws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)V -} - public abstract class aws/smithy/kotlin/runtime/telemetry/trace/AbstractTraceSpan : aws/smithy/kotlin/runtime/telemetry/trace/TraceSpan { public fun ()V public fun asContextElement ()Lkotlin/coroutines/CoroutineContext; @@ -427,9 +409,10 @@ public final class aws/smithy/kotlin/runtime/telemetry/trace/SpanStatus : java/l public abstract interface class aws/smithy/kotlin/runtime/telemetry/trace/TraceSpan : aws/smithy/kotlin/runtime/telemetry/context/Scope { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan$Companion; - public abstract fun asContextElement ()Lkotlin/coroutines/CoroutineContext; + public fun asContextElement ()Lkotlin/coroutines/CoroutineContext; public abstract fun close ()V public abstract fun emitEvent (Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;)V + public static synthetic fun emitEvent$default (Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan;Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;ILjava/lang/Object;)V public abstract fun getSpanContext ()Laws/smithy/kotlin/runtime/telemetry/trace/SpanContext; public abstract fun mergeAttributes (Laws/smithy/kotlin/runtime/collections/Attributes;)V public abstract fun set (Laws/smithy/kotlin/runtime/collections/AttributeKey;Ljava/lang/Object;)V @@ -440,11 +423,6 @@ public final class aws/smithy/kotlin/runtime/telemetry/trace/TraceSpan$Companion public final fun getNone ()Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan; } -public final class aws/smithy/kotlin/runtime/telemetry/trace/TraceSpan$DefaultImpls { - public static fun asContextElement (Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan;)Lkotlin/coroutines/CoroutineContext; - public static synthetic fun emitEvent$default (Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan;Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;ILjava/lang/Object;)V -} - public final class aws/smithy/kotlin/runtime/telemetry/trace/TraceSpanContext : kotlin/coroutines/AbstractCoroutineContextElement { public static final field Key Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpanContext$Key; public fun (Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan;)V @@ -468,16 +446,13 @@ public final class aws/smithy/kotlin/runtime/telemetry/trace/TraceSpanExtKt { public abstract interface class aws/smithy/kotlin/runtime/telemetry/trace/Tracer { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/trace/Tracer$Companion; public abstract fun createSpan (Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/trace/SpanKind;Laws/smithy/kotlin/runtime/telemetry/context/Context;)Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan; + public static synthetic fun createSpan$default (Laws/smithy/kotlin/runtime/telemetry/trace/Tracer;Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/trace/SpanKind;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan; } public final class aws/smithy/kotlin/runtime/telemetry/trace/Tracer$Companion { public final fun getNone ()Laws/smithy/kotlin/runtime/telemetry/trace/Tracer; } -public final class aws/smithy/kotlin/runtime/telemetry/trace/Tracer$DefaultImpls { - public static synthetic fun createSpan$default (Laws/smithy/kotlin/runtime/telemetry/trace/Tracer;Ljava/lang/String;Laws/smithy/kotlin/runtime/collections/Attributes;Laws/smithy/kotlin/runtime/telemetry/trace/SpanKind;Laws/smithy/kotlin/runtime/telemetry/context/Context;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/telemetry/trace/TraceSpan; -} - public abstract interface class aws/smithy/kotlin/runtime/telemetry/trace/TracerProvider { public static final field Companion Laws/smithy/kotlin/runtime/telemetry/trace/TracerProvider$Companion; public abstract fun getOrCreateTracer (Ljava/lang/String;)Laws/smithy/kotlin/runtime/telemetry/trace/Tracer; diff --git a/runtime/protocol/aws-json-protocols/api/aws-json-protocols.api b/runtime/protocol/aws-json-protocols/api/aws-json-protocols.api index 85d5fc44dd..c0ee200958 100644 --- a/runtime/protocol/aws-json-protocols/api/aws-json-protocols.api +++ b/runtime/protocol/aws-json-protocols/api/aws-json-protocols.api @@ -1,6 +1,5 @@ public final class aws/smithy/kotlin/runtime/awsprotocol/json/AwsJsonProtocol : aws/smithy/kotlin/runtime/http/operation/ModifyRequestMiddleware { public fun (Ljava/lang/String;Ljava/lang/String;)V - public fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V public fun modifyRequest (Laws/smithy/kotlin/runtime/http/operation/OperationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public synthetic fun modifyRequest (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } diff --git a/runtime/protocol/aws-protocol-core/api/aws-protocol-core.api b/runtime/protocol/aws-protocol-core/api/aws-protocol-core.api index 98e1385fc6..5f1bbd29d6 100644 --- a/runtime/protocol/aws-protocol-core/api/aws-protocol-core.api +++ b/runtime/protocol/aws-protocol-core/api/aws-protocol-core.api @@ -36,24 +36,7 @@ public final class aws/smithy/kotlin/runtime/awsprotocol/ClockSkewInterceptor : public static final field Companion Laws/smithy/kotlin/runtime/awsprotocol/ClockSkewInterceptor$Companion; public fun ()V public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/awsprotocol/ClockSkewInterceptor$Companion { diff --git a/runtime/protocol/http-client-engines/http-client-engine-okhttp/api/http-client-engine-okhttp.api b/runtime/protocol/http-client-engines/http-client-engine-okhttp/api/http-client-engine-okhttp.api index 25c2339550..ac8023cb40 100644 --- a/runtime/protocol/http-client-engines/http-client-engine-okhttp/api/http-client-engine-okhttp.api +++ b/runtime/protocol/http-client-engines/http-client-engine-okhttp/api/http-client-engine-okhttp.api @@ -93,12 +93,7 @@ public final class aws/smithy/kotlin/runtime/http/engine/okhttp/OkHttpEngineKt { public final class aws/smithy/kotlin/runtime/http/engine/okhttp/OkHttpHeadersAdapter : aws/smithy/kotlin/runtime/http/Headers { public fun (Lokhttp3/Headers;)V public fun contains (Ljava/lang/String;)Z - public synthetic fun contains (Ljava/lang/String;Ljava/lang/Object;)Z - public fun contains (Ljava/lang/String;Ljava/lang/String;)Z public fun entries ()Ljava/util/Set; - public fun forEach (Lkotlin/jvm/functions/Function2;)V - public synthetic fun get (Ljava/lang/String;)Ljava/lang/Object; - public fun get (Ljava/lang/String;)Ljava/lang/String; public fun getAll (Ljava/lang/String;)Ljava/util/List; public fun getCaseInsensitiveName ()Z public fun isEmpty ()Z diff --git a/runtime/protocol/http-client/api/http-client.api b/runtime/protocol/http-client/api/http-client.api index 215e96f381..489a0b6ce5 100644 --- a/runtime/protocol/http-client/api/http-client.api +++ b/runtime/protocol/http-client/api/http-client.api @@ -29,12 +29,9 @@ public abstract interface class aws/smithy/kotlin/runtime/http/config/HttpEngine public abstract fun getHttpClient ()Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine; public abstract fun httpClient (Laws/smithy/kotlin/runtime/http/config/EngineFactory;Lkotlin/jvm/functions/Function1;)V public abstract fun httpClient (Lkotlin/jvm/functions/Function1;)V - public abstract fun setHttpClient (Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;)V -} - -public final class aws/smithy/kotlin/runtime/http/config/HttpEngineConfig$Builder$DefaultImpls { public static synthetic fun httpClient$default (Laws/smithy/kotlin/runtime/http/config/HttpEngineConfig$Builder;Laws/smithy/kotlin/runtime/http/config/EngineFactory;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public static synthetic fun httpClient$default (Laws/smithy/kotlin/runtime/http/config/HttpEngineConfig$Builder;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V + public abstract fun setHttpClient (Laws/smithy/kotlin/runtime/http/engine/HttpClientEngine;)V } public abstract interface annotation class aws/smithy/kotlin/runtime/http/config/HttpEngineConfigDsl : java/lang/annotation/Annotation { @@ -259,25 +256,7 @@ public abstract class aws/smithy/kotlin/runtime/http/interceptors/CachingChecksu public fun ()V public abstract fun applyChecksum (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Ljava/lang/String;)Laws/smithy/kotlin/runtime/http/request/HttpRequest; public abstract fun calculateChecksum (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/http/interceptors/ChecksumMismatchException : aws/smithy/kotlin/runtime/ClientException { @@ -287,48 +266,12 @@ public final class aws/smithy/kotlin/runtime/http/interceptors/ChecksumMismatchE public final class aws/smithy/kotlin/runtime/http/interceptors/ContinueInterceptor : aws/smithy/kotlin/runtime/client/Interceptor { public fun (J)V public final fun getThresholdLengthBytes ()J - public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/http/interceptors/DiscoveredEndpointErrorInterceptor : aws/smithy/kotlin/runtime/client/Interceptor { public fun (Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function2;)V public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/http/interceptors/FlexibleChecksumsRequestInterceptor : aws/smithy/kotlin/runtime/http/interceptors/CachingChecksumInterceptor { @@ -342,25 +285,7 @@ public class aws/smithy/kotlin/runtime/http/interceptors/FlexibleChecksumsRespon public static final field Companion Laws/smithy/kotlin/runtime/http/interceptors/FlexibleChecksumsResponseInterceptor$Companion; public fun (ZLaws/smithy/kotlin/runtime/client/config/ResponseHttpChecksumConfig;)V public fun ignoreChecksum (Ljava/lang/String;Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)Z - public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/http/interceptors/FlexibleChecksumsResponseInterceptor$Companion { @@ -376,48 +301,12 @@ public final class aws/smithy/kotlin/runtime/http/interceptors/HttpChecksumRequi public final class aws/smithy/kotlin/runtime/http/interceptors/RequestCompressionInterceptor : aws/smithy/kotlin/runtime/client/Interceptor { public fun (JLjava/util/List;Ljava/util/List;)V - public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/http/interceptors/ResponseLengthValidationInterceptor : aws/smithy/kotlin/runtime/client/Interceptor { public fun ()V - public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/http/interceptors/SmokeTestsFailureException : java/lang/Exception { @@ -427,25 +316,7 @@ public final class aws/smithy/kotlin/runtime/http/interceptors/SmokeTestsFailure public final class aws/smithy/kotlin/runtime/http/interceptors/SmokeTestsInterceptor : aws/smithy/kotlin/runtime/client/Interceptor { public fun ()V - public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public final class aws/smithy/kotlin/runtime/http/interceptors/SmokeTestsSuccessException : java/lang/Exception { @@ -457,7 +328,6 @@ public final class aws/smithy/kotlin/runtime/http/middleware/DefaultValidateResp public fun ()V public fun handle (Laws/smithy/kotlin/runtime/http/operation/OperationRequest;Laws/smithy/kotlin/runtime/io/Handler;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public synthetic fun handle (Ljava/lang/Object;Laws/smithy/kotlin/runtime/io/Handler;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V } public final class aws/smithy/kotlin/runtime/http/middleware/HttpResponseException : aws/smithy/kotlin/runtime/SdkBaseException { @@ -480,7 +350,6 @@ public final class aws/smithy/kotlin/runtime/http/middleware/MutateHeaders : aws public fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;)V public synthetic fun (Ljava/util/Map;Ljava/util/Map;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun append (Ljava/lang/String;Ljava/lang/String;)V - public fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V public fun modifyRequest (Laws/smithy/kotlin/runtime/http/operation/OperationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public synthetic fun modifyRequest (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public final fun set (Ljava/lang/String;Ljava/lang/String;)V @@ -542,11 +411,7 @@ public abstract interface class aws/smithy/kotlin/runtime/http/operation/HttpSer } public abstract interface class aws/smithy/kotlin/runtime/http/operation/InitializeMiddleware : aws/smithy/kotlin/runtime/io/middleware/Middleware { - public abstract fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V -} - -public final class aws/smithy/kotlin/runtime/http/operation/InitializeMiddleware$DefaultImpls { - public static fun install (Laws/smithy/kotlin/runtime/http/operation/InitializeMiddleware;Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V + public fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V } public abstract interface class aws/smithy/kotlin/runtime/http/operation/InlineMiddleware { @@ -554,19 +419,11 @@ public abstract interface class aws/smithy/kotlin/runtime/http/operation/InlineM } public abstract interface class aws/smithy/kotlin/runtime/http/operation/ModifyRequestMiddleware : aws/smithy/kotlin/runtime/io/middleware/ModifyRequest { - public abstract fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V -} - -public final class aws/smithy/kotlin/runtime/http/operation/ModifyRequestMiddleware$DefaultImpls { - public static fun install (Laws/smithy/kotlin/runtime/http/operation/ModifyRequestMiddleware;Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V + public fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V } public abstract interface class aws/smithy/kotlin/runtime/http/operation/MutateMiddleware : aws/smithy/kotlin/runtime/io/middleware/Middleware { - public abstract fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V -} - -public final class aws/smithy/kotlin/runtime/http/operation/MutateMiddleware$DefaultImpls { - public static fun install (Laws/smithy/kotlin/runtime/http/operation/MutateMiddleware;Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V + public fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V } public final class aws/smithy/kotlin/runtime/http/operation/OperationAuthConfig { @@ -631,11 +488,7 @@ public final class aws/smithy/kotlin/runtime/http/operation/OperationTelemetryKt } public abstract interface class aws/smithy/kotlin/runtime/http/operation/ReceiveMiddleware : aws/smithy/kotlin/runtime/io/middleware/Middleware { - public abstract fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V -} - -public final class aws/smithy/kotlin/runtime/http/operation/ReceiveMiddleware$DefaultImpls { - public static fun install (Laws/smithy/kotlin/runtime/http/operation/ReceiveMiddleware;Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V + public fun install (Laws/smithy/kotlin/runtime/http/operation/SdkHttpOperation;)V } public final class aws/smithy/kotlin/runtime/http/operation/ResolveEndpointRequest { diff --git a/runtime/protocol/http/api/http.api b/runtime/protocol/http/api/http.api index fb338e64d9..fff5590e9c 100644 --- a/runtime/protocol/http/api/http.api +++ b/runtime/protocol/http/api/http.api @@ -23,12 +23,6 @@ public final class aws/smithy/kotlin/runtime/http/DeferredHeaders$Companion { public final fun invoke (Lkotlin/jvm/functions/Function1;)Laws/smithy/kotlin/runtime/http/DeferredHeaders; } -public final class aws/smithy/kotlin/runtime/http/DeferredHeaders$DefaultImpls { - public static fun contains (Laws/smithy/kotlin/runtime/http/DeferredHeaders;Ljava/lang/String;Lkotlinx/coroutines/Deferred;)Z - public static fun forEach (Laws/smithy/kotlin/runtime/http/DeferredHeaders;Lkotlin/jvm/functions/Function2;)V - public static fun get (Laws/smithy/kotlin/runtime/http/DeferredHeaders;Ljava/lang/String;)Lkotlinx/coroutines/Deferred; -} - public final class aws/smithy/kotlin/runtime/http/DeferredHeadersBuilder : aws/smithy/kotlin/runtime/collections/ValuesMapBuilder, aws/smithy/kotlin/runtime/util/CanDeepCopy { public fun ()V public final fun add (Ljava/lang/String;Ljava/lang/String;)V @@ -51,12 +45,6 @@ public final class aws/smithy/kotlin/runtime/http/Headers$Companion { public final fun invoke (Lkotlin/jvm/functions/Function1;)Laws/smithy/kotlin/runtime/http/Headers; } -public final class aws/smithy/kotlin/runtime/http/Headers$DefaultImpls { - public static fun contains (Laws/smithy/kotlin/runtime/http/Headers;Ljava/lang/String;Ljava/lang/String;)Z - public static fun forEach (Laws/smithy/kotlin/runtime/http/Headers;Lkotlin/jvm/functions/Function2;)V - public static fun get (Laws/smithy/kotlin/runtime/http/Headers;Ljava/lang/String;)Ljava/lang/String; -} - public final class aws/smithy/kotlin/runtime/http/HeadersBuilder : aws/smithy/kotlin/runtime/collections/ValuesMapBuilder, aws/smithy/kotlin/runtime/util/CanDeepCopy { public fun ()V public synthetic fun build ()Laws/smithy/kotlin/runtime/collections/ValuesMap; diff --git a/runtime/protocol/smithy-rpcv2-protocols/api/smithy-rpcv2-protocols.api b/runtime/protocol/smithy-rpcv2-protocols/api/smithy-rpcv2-protocols.api index 9040d6bed4..06a748dd0f 100644 --- a/runtime/protocol/smithy-rpcv2-protocols/api/smithy-rpcv2-protocols.api +++ b/runtime/protocol/smithy-rpcv2-protocols/api/smithy-rpcv2-protocols.api @@ -5,24 +5,6 @@ public final class aws/smithy/kotlin/runtime/awsprotocol/rpcv2/cbor/RpcV2CborErr public final class aws/smithy/kotlin/runtime/awsprotocol/rpcv2/cbor/RpcV2CborSmithyProtocolResponseHeaderInterceptor : aws/smithy/kotlin/runtime/client/Interceptor { public static final field INSTANCE Laws/smithy/kotlin/runtime/awsprotocol/rpcv2/cbor/RpcV2CborSmithyProtocolResponseHeaderInterceptor; - public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } diff --git a/runtime/runtime-core/api/runtime-core.api b/runtime/runtime-core/api/runtime-core.api index fb854abfb8..1cbf4413dc 100644 --- a/runtime/runtime-core/api/runtime-core.api +++ b/runtime/runtime-core/api/runtime-core.api @@ -194,14 +194,9 @@ public final class aws/smithy/kotlin/runtime/collections/LruCache { } public abstract interface class aws/smithy/kotlin/runtime/collections/MultiMap : java/util/Map, kotlin/jvm/internal/markers/KMappedMarker { - public abstract fun contains (Ljava/lang/Object;Ljava/lang/Object;)Z + public fun contains (Ljava/lang/Object;Ljava/lang/Object;)Z public abstract fun getEntryValues ()Lkotlin/sequences/Sequence; - public abstract fun toMutableMultiMap ()Laws/smithy/kotlin/runtime/collections/MutableMultiMap; -} - -public final class aws/smithy/kotlin/runtime/collections/MultiMap$DefaultImpls { - public static fun contains (Laws/smithy/kotlin/runtime/collections/MultiMap;Ljava/lang/Object;Ljava/lang/Object;)Z - public static fun toMutableMultiMap (Laws/smithy/kotlin/runtime/collections/MultiMap;)Laws/smithy/kotlin/runtime/collections/MutableMultiMap; + public fun toMutableMultiMap ()Laws/smithy/kotlin/runtime/collections/MutableMultiMap; } public final class aws/smithy/kotlin/runtime/collections/MultiMapKt { @@ -219,22 +214,15 @@ public abstract interface class aws/smithy/kotlin/runtime/collections/MutableMul public abstract fun add (Ljava/lang/Object;Ljava/lang/Object;)Z public abstract fun addAll (Ljava/lang/Object;ILjava/util/Collection;)Z public abstract fun addAll (Ljava/lang/Object;Ljava/util/Collection;)Z - public abstract fun addAll (Ljava/util/Map;)V - public abstract fun contains (Ljava/lang/Object;Ljava/lang/Object;)Z + public fun addAll (Ljava/util/Map;)V + public fun contains (Ljava/lang/Object;Ljava/lang/Object;)Z public abstract fun getEntryValues ()Lkotlin/sequences/Sequence; - public abstract fun put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List; + public fun put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List; public abstract fun removeAll (Ljava/lang/Object;Ljava/util/Collection;)Ljava/lang/Boolean; public abstract fun removeAt (Ljava/lang/Object;I)Ljava/lang/Object; public abstract fun removeElement (Ljava/lang/Object;Ljava/lang/Object;)Z public abstract fun retainAll (Ljava/lang/Object;Ljava/util/Collection;)Ljava/lang/Boolean; - public abstract fun toMultiMap ()Laws/smithy/kotlin/runtime/collections/MultiMap; -} - -public final class aws/smithy/kotlin/runtime/collections/MutableMultiMap$DefaultImpls { - public static fun addAll (Laws/smithy/kotlin/runtime/collections/MutableMultiMap;Ljava/util/Map;)V - public static fun contains (Laws/smithy/kotlin/runtime/collections/MutableMultiMap;Ljava/lang/Object;Ljava/lang/Object;)Z - public static fun put (Laws/smithy/kotlin/runtime/collections/MutableMultiMap;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List; - public static fun toMultiMap (Laws/smithy/kotlin/runtime/collections/MutableMultiMap;)Laws/smithy/kotlin/runtime/collections/MultiMap; + public fun toMultiMap ()Laws/smithy/kotlin/runtime/collections/MultiMap; } public final class aws/smithy/kotlin/runtime/collections/MutableMultiMapKt { @@ -260,22 +248,16 @@ public final class aws/smithy/kotlin/runtime/collections/StackKt { public abstract interface class aws/smithy/kotlin/runtime/collections/ValuesMap { public abstract fun contains (Ljava/lang/String;)Z - public abstract fun contains (Ljava/lang/String;Ljava/lang/Object;)Z + public fun contains (Ljava/lang/String;Ljava/lang/Object;)Z public abstract fun entries ()Ljava/util/Set; - public abstract fun forEach (Lkotlin/jvm/functions/Function2;)V - public abstract fun get (Ljava/lang/String;)Ljava/lang/Object; + public fun forEach (Lkotlin/jvm/functions/Function2;)V + public fun get (Ljava/lang/String;)Ljava/lang/Object; public abstract fun getAll (Ljava/lang/String;)Ljava/util/List; public abstract fun getCaseInsensitiveName ()Z public abstract fun isEmpty ()Z public abstract fun names ()Ljava/util/Set; } -public final class aws/smithy/kotlin/runtime/collections/ValuesMap$DefaultImpls { - public static fun contains (Laws/smithy/kotlin/runtime/collections/ValuesMap;Ljava/lang/String;Ljava/lang/Object;)Z - public static fun forEach (Laws/smithy/kotlin/runtime/collections/ValuesMap;Lkotlin/jvm/functions/Function2;)V - public static fun get (Laws/smithy/kotlin/runtime/collections/ValuesMap;Ljava/lang/String;)Ljava/lang/Object; -} - public class aws/smithy/kotlin/runtime/collections/ValuesMapBuilder { public fun ()V public fun (ZI)V @@ -311,8 +293,6 @@ public class aws/smithy/kotlin/runtime/collections/ValuesMapImpl : aws/smithy/ko public fun contains (Ljava/lang/String;Ljava/lang/Object;)Z public fun entries ()Ljava/util/Set; public fun equals (Ljava/lang/Object;)Z - public fun forEach (Lkotlin/jvm/functions/Function2;)V - public fun get (Ljava/lang/String;)Ljava/lang/Object; public fun getAll (Ljava/lang/String;)Ljava/util/List; public fun getCaseInsensitiveName ()Z protected final fun getValues ()Ljava/util/Map; @@ -713,9 +693,6 @@ public abstract interface class aws/smithy/kotlin/runtime/hashing/HashFunction { public abstract fun getDigestSizeBytes ()I public abstract fun reset ()V public abstract fun update ([BII)V -} - -public final class aws/smithy/kotlin/runtime/hashing/HashFunction$DefaultImpls { public static synthetic fun update$default (Laws/smithy/kotlin/runtime/hashing/HashFunction;[BIIILjava/lang/Object;)V } @@ -909,6 +886,7 @@ public abstract interface class aws/smithy/kotlin/runtime/io/SdkBufferedSink : a public abstract fun outputStream ()Ljava/io/OutputStream; public abstract fun write (Laws/smithy/kotlin/runtime/io/SdkSource;J)V public abstract fun write ([BII)V + public static synthetic fun write$default (Laws/smithy/kotlin/runtime/io/SdkBufferedSink;[BIIILjava/lang/Object;)V public abstract fun writeAll (Laws/smithy/kotlin/runtime/io/SdkSource;)J public abstract fun writeByte (B)V public abstract fun writeInt (I)V @@ -918,10 +896,6 @@ public abstract interface class aws/smithy/kotlin/runtime/io/SdkBufferedSink : a public abstract fun writeShort (S)V public abstract fun writeShortLe (S)V public abstract fun writeUtf8 (Ljava/lang/String;II)V -} - -public final class aws/smithy/kotlin/runtime/io/SdkBufferedSink$DefaultImpls { - public static synthetic fun write$default (Laws/smithy/kotlin/runtime/io/SdkBufferedSink;[BIIILjava/lang/Object;)V public static synthetic fun writeUtf8$default (Laws/smithy/kotlin/runtime/io/SdkBufferedSink;Ljava/lang/String;IIILjava/lang/Object;)V } @@ -931,6 +905,7 @@ public abstract interface class aws/smithy/kotlin/runtime/io/SdkBufferedSource : public abstract fun inputStream ()Ljava/io/InputStream; public abstract fun peek ()Laws/smithy/kotlin/runtime/io/SdkBufferedSource; public abstract fun read ([BII)I + public static synthetic fun read$default (Laws/smithy/kotlin/runtime/io/SdkBufferedSource;[BIIILjava/lang/Object;)I public abstract fun readAll (Laws/smithy/kotlin/runtime/io/SdkSink;)J public abstract fun readByte ()B public abstract fun readByteArray ()[B @@ -948,16 +923,8 @@ public abstract interface class aws/smithy/kotlin/runtime/io/SdkBufferedSource : public abstract fun skip (J)V } -public final class aws/smithy/kotlin/runtime/io/SdkBufferedSource$DefaultImpls { - public static synthetic fun read$default (Laws/smithy/kotlin/runtime/io/SdkBufferedSource;[BIIILjava/lang/Object;)I -} - public abstract interface class aws/smithy/kotlin/runtime/io/SdkByteChannel : aws/smithy/kotlin/runtime/io/SdkByteReadChannel, aws/smithy/kotlin/runtime/io/SdkByteWriteChannel { - public abstract fun close ()V -} - -public final class aws/smithy/kotlin/runtime/io/SdkByteChannel$DefaultImpls { - public static fun close (Laws/smithy/kotlin/runtime/io/SdkByteChannel;)V + public fun close ()V } public final class aws/smithy/kotlin/runtime/io/SdkByteChannelKt { @@ -1000,9 +967,6 @@ public abstract interface class aws/smithy/kotlin/runtime/io/SdkByteWriteChannel public abstract fun getTotalBytesWritten ()J public abstract fun isClosedForWrite ()Z public abstract fun write (Laws/smithy/kotlin/runtime/io/SdkBuffer;JLkotlin/coroutines/Continuation;)Ljava/lang/Object; -} - -public final class aws/smithy/kotlin/runtime/io/SdkByteWriteChannel$DefaultImpls { public static synthetic fun write$default (Laws/smithy/kotlin/runtime/io/SdkByteWriteChannel;Laws/smithy/kotlin/runtime/io/SdkBuffer;JLkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; } @@ -1223,6 +1187,7 @@ public final class aws/smithy/kotlin/runtime/net/HostKt { public abstract interface class aws/smithy/kotlin/runtime/net/HostResolver { public static final field Companion Laws/smithy/kotlin/runtime/net/HostResolver$Companion; public abstract fun purgeCache (Laws/smithy/kotlin/runtime/net/HostAddress;)V + public static synthetic fun purgeCache$default (Laws/smithy/kotlin/runtime/net/HostResolver;Laws/smithy/kotlin/runtime/net/HostAddress;ILjava/lang/Object;)V public abstract fun reportFailure (Laws/smithy/kotlin/runtime/net/HostAddress;)V public abstract fun resolve (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; } @@ -1231,10 +1196,6 @@ public final class aws/smithy/kotlin/runtime/net/HostResolver$Companion { public final fun getDefault ()Laws/smithy/kotlin/runtime/net/HostResolver; } -public final class aws/smithy/kotlin/runtime/net/HostResolver$DefaultImpls { - public static synthetic fun purgeCache$default (Laws/smithy/kotlin/runtime/net/HostResolver;Laws/smithy/kotlin/runtime/net/HostAddress;ILjava/lang/Object;)V -} - public abstract class aws/smithy/kotlin/runtime/net/IpAddr { public static final field Companion Laws/smithy/kotlin/runtime/net/IpAddr$Companion; public abstract fun getAddress ()Ljava/lang/String; @@ -2155,8 +2116,8 @@ public final class aws/smithy/kotlin/runtime/text/encoding/Encodable$Companion { public abstract interface class aws/smithy/kotlin/runtime/text/encoding/Encoding { public static final field Companion Laws/smithy/kotlin/runtime/text/encoding/Encoding$Companion; public abstract fun decode (Ljava/lang/String;)Ljava/lang/String; - public abstract fun encodableFromDecoded (Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; - public abstract fun encodableFromEncoded (Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; + public fun encodableFromDecoded (Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; + public fun encodableFromEncoded (Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; public abstract fun encode (Ljava/lang/String;)Ljava/lang/String; public abstract fun getName ()Ljava/lang/String; } @@ -2164,11 +2125,6 @@ public abstract interface class aws/smithy/kotlin/runtime/text/encoding/Encoding public final class aws/smithy/kotlin/runtime/text/encoding/Encoding$Companion { } -public final class aws/smithy/kotlin/runtime/text/encoding/Encoding$DefaultImpls { - public static fun encodableFromDecoded (Laws/smithy/kotlin/runtime/text/encoding/Encoding;Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; - public static fun encodableFromEncoded (Laws/smithy/kotlin/runtime/text/encoding/Encoding;Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; -} - public final class aws/smithy/kotlin/runtime/text/encoding/HexKt { public static final fun decodeHex (Ljava/lang/String;)[B public static final fun decodeHexBytes (Ljava/lang/String;)[B @@ -2181,8 +2137,6 @@ public final class aws/smithy/kotlin/runtime/text/encoding/PercentEncoding : aws public fun (Ljava/lang/String;Ljava/util/Set;Ljava/util/Map;)V public synthetic fun (Ljava/lang/String;Ljava/util/Set;Ljava/util/Map;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public fun decode (Ljava/lang/String;)Ljava/lang/String; - public fun encodableFromDecoded (Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; - public fun encodableFromEncoded (Ljava/lang/String;)Laws/smithy/kotlin/runtime/text/encoding/Encodable; public fun encode (Ljava/lang/String;)Ljava/lang/String; public fun getName ()Ljava/lang/String; public final fun getSpecialMapping ()Ljava/util/Map; diff --git a/runtime/serde/serde-xml/api/serde-xml.api b/runtime/serde/serde-xml/api/serde-xml.api index 47b951c24b..600adc35f9 100644 --- a/runtime/serde/serde-xml/api/serde-xml.api +++ b/runtime/serde/serde-xml/api/serde-xml.api @@ -145,12 +145,9 @@ public abstract interface class aws/smithy/kotlin/runtime/serde/xml/XmlStreamRea public abstract fun getLastToken ()Laws/smithy/kotlin/runtime/serde/xml/XmlToken; public abstract fun nextToken ()Laws/smithy/kotlin/runtime/serde/xml/XmlToken; public abstract fun peek (I)Laws/smithy/kotlin/runtime/serde/xml/XmlToken; + public static synthetic fun peek$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamReader;IILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlToken; public abstract fun skipNext ()V public abstract fun subTreeReader (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamReader$SubtreeStartDepth;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamReader; -} - -public final class aws/smithy/kotlin/runtime/serde/xml/XmlStreamReader$DefaultImpls { - public static synthetic fun peek$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamReader;IILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlToken; public static synthetic fun subTreeReader$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamReader;Laws/smithy/kotlin/runtime/serde/xml/XmlStreamReader$SubtreeStartDepth;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamReader; } @@ -168,21 +165,18 @@ public final class aws/smithy/kotlin/runtime/serde/xml/XmlStreamReaderKt { public abstract interface class aws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter { public abstract fun attribute (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; + public static synthetic fun attribute$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; public abstract fun endDocument ()V public abstract fun endTag (Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; + public static synthetic fun endTag$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; public abstract fun getBytes ()[B public abstract fun getText ()Ljava/lang/String; public abstract fun namespacePrefix (Ljava/lang/String;Ljava/lang/String;)V + public static synthetic fun namespacePrefix$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V public abstract fun startDocument ()V public abstract fun startTag (Ljava/lang/String;Ljava/lang/String;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; - public abstract fun text (Ljava/lang/String;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; -} - -public final class aws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter$DefaultImpls { - public static synthetic fun attribute$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; - public static synthetic fun endTag$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; - public static synthetic fun namespacePrefix$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)V public static synthetic fun startTag$default (Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter;Ljava/lang/String;Ljava/lang/String;ILjava/lang/Object;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; + public abstract fun text (Ljava/lang/String;)Laws/smithy/kotlin/runtime/serde/xml/XmlStreamWriter; } public final class aws/smithy/kotlin/runtime/serde/xml/XmlStreamWriterKt { diff --git a/runtime/smithy-client/api/smithy-client.api b/runtime/smithy-client/api/smithy-client.api index 87091c0927..5c6f8cdd00 100644 --- a/runtime/smithy-client/api/smithy-client.api +++ b/runtime/smithy-client/api/smithy-client.api @@ -30,47 +30,25 @@ public final class aws/smithy/kotlin/runtime/client/IdempotencyTokenProvider$Com } public abstract interface class aws/smithy/kotlin/runtime/client/Interceptor { - public abstract fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public abstract fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public abstract fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public abstract fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public abstract fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public abstract fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public abstract fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public abstract fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public abstract fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public abstract fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public abstract fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public abstract fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public abstract fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V -} - -public final class aws/smithy/kotlin/runtime/client/Interceptor$DefaultImpls { - public static fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; - public static fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public static fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public static fun readAfterExecution (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V - public static fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public static fun readAfterSigning (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public static fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public static fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public static fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V - public static fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public static fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V - public static fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V - public static fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/Interceptor;Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V + public fun modifyBeforeAttemptCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun modifyBeforeCompletion-gIAlu-s (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun modifyBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun modifyBeforeRetryLoop (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun modifyBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun modifyBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun modifyBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; + public fun readAfterAttempt (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V + public fun readAfterDeserialization (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V + public fun readAfterExecution (Laws/smithy/kotlin/runtime/client/ResponseInterceptorContext;)V + public fun readAfterSerialization (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V + public fun readAfterSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V + public fun readAfterTransmit (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V + public fun readBeforeAttempt (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V + public fun readBeforeDeserialization (Laws/smithy/kotlin/runtime/client/ProtocolResponseInterceptorContext;)V + public fun readBeforeExecution (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V + public fun readBeforeSerialization (Laws/smithy/kotlin/runtime/client/RequestInterceptorContext;)V + public fun readBeforeSigning (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V + public fun readBeforeTransmit (Laws/smithy/kotlin/runtime/client/ProtocolRequestInterceptorContext;)V } public abstract class aws/smithy/kotlin/runtime/client/LogMode { @@ -187,11 +165,7 @@ public abstract interface class aws/smithy/kotlin/runtime/client/SdkClientConfig public abstract interface class aws/smithy/kotlin/runtime/client/SdkClientFactory { public abstract fun builder ()Laws/smithy/kotlin/runtime/client/SdkClient$Builder; - public abstract fun invoke (Lkotlin/jvm/functions/Function1;)Laws/smithy/kotlin/runtime/client/SdkClient; -} - -public final class aws/smithy/kotlin/runtime/client/SdkClientFactory$DefaultImpls { - public static fun invoke (Laws/smithy/kotlin/runtime/client/SdkClientFactory;Lkotlin/jvm/functions/Function1;)Laws/smithy/kotlin/runtime/client/SdkClient; + public fun invoke (Lkotlin/jvm/functions/Function1;)Laws/smithy/kotlin/runtime/client/SdkClient; } public final class aws/smithy/kotlin/runtime/client/SdkClientOption { @@ -225,11 +199,7 @@ public abstract interface class aws/smithy/kotlin/runtime/client/config/Compress public abstract interface class aws/smithy/kotlin/runtime/client/config/CompressionClientConfig$Builder { public abstract fun getRequestCompression ()Laws/smithy/kotlin/runtime/client/config/RequestCompressionConfig$Builder; - public abstract fun requestCompression (Lkotlin/jvm/functions/Function1;)V -} - -public final class aws/smithy/kotlin/runtime/client/config/CompressionClientConfig$Builder$DefaultImpls { - public static fun requestCompression (Laws/smithy/kotlin/runtime/client/config/CompressionClientConfig$Builder;Lkotlin/jvm/functions/Function1;)V + public fun requestCompression (Lkotlin/jvm/functions/Function1;)V } public abstract interface annotation class aws/smithy/kotlin/runtime/client/config/CompressionClientConfigDsl : java/lang/annotation/Annotation { diff --git a/tests/codegen/waiter-tests/build.gradle.kts b/tests/codegen/waiter-tests/build.gradle.kts index 72b244a6c9..992a4d471e 100644 --- a/tests/codegen/waiter-tests/build.gradle.kts +++ b/tests/codegen/waiter-tests/build.gradle.kts @@ -38,7 +38,7 @@ kotlin.sourceSets.getByName("main") { tasks.withType { dependsOn(tasks.generateSmithyProjections) - kotlinOptions { + compilerOptions { // generated code has warnings unfortunately allWarningsAsErrors = false }