From 19479febdef9aa662e80868678fe2d9839ec9f36 Mon Sep 17 00:00:00 2001 From: 0marperez Date: Wed, 17 Dec 2025 16:43:15 -0500 Subject: [PATCH 1/3] track upstream HttpBindingProtocolGenerator refactor --- .../codegen/customization/s3/S3OperationErrorHandler.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/customization/s3/S3OperationErrorHandler.kt b/codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/customization/s3/S3OperationErrorHandler.kt index 2870ede1d9f..a98689ff74e 100644 --- a/codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/customization/s3/S3OperationErrorHandler.kt +++ b/codegen/aws-sdk-codegen/src/main/kotlin/aws/sdk/kotlin/codegen/customization/s3/S3OperationErrorHandler.kt @@ -6,7 +6,6 @@ package aws.sdk.kotlin.codegen.customization.s3 import software.amazon.smithy.kotlin.codegen.KotlinSettings -import software.amazon.smithy.kotlin.codegen.aws.protocols.core.AwsHttpBindingProtocolGenerator import software.amazon.smithy.kotlin.codegen.core.* import software.amazon.smithy.kotlin.codegen.integration.KotlinIntegration import software.amazon.smithy.kotlin.codegen.integration.SectionWriter @@ -14,6 +13,7 @@ import software.amazon.smithy.kotlin.codegen.integration.SectionWriterBinding import software.amazon.smithy.kotlin.codegen.model.buildSymbol import software.amazon.smithy.kotlin.codegen.model.expectShape import software.amazon.smithy.kotlin.codegen.rendering.ExceptionBaseClassGenerator +import software.amazon.smithy.kotlin.codegen.rendering.protocol.HttpBindingProtocolGenerator import software.amazon.smithy.kotlin.codegen.rendering.protocol.ProtocolGenerator import software.amazon.smithy.model.Model import software.amazon.smithy.model.shapes.OperationShape @@ -30,11 +30,11 @@ class S3OperationErrorHandler : KotlinIntegration { } override val sectionWriters: List - get() = listOf(SectionWriterBinding(AwsHttpBindingProtocolGenerator.Sections.RenderThrowOperationError, overrideThrowOperationErrors)) + get() = listOf(SectionWriterBinding(HttpBindingProtocolGenerator.Sections.RenderThrowOperationError, overrideThrowOperationErrors)) private val overrideThrowOperationErrors = SectionWriter { writer, _ -> - val ctx = writer.getContextValue(AwsHttpBindingProtocolGenerator.Sections.RenderThrowOperationError.Context) - val op = writer.getContextValue(AwsHttpBindingProtocolGenerator.Sections.RenderThrowOperationError.Operation) + val ctx = writer.getContextValue(HttpBindingProtocolGenerator.Sections.RenderThrowOperationError.Context) + val op = writer.getContextValue(HttpBindingProtocolGenerator.Sections.RenderThrowOperationError.Operation) renderThrowOperationError(ctx, op, writer) } From 54b3130dcaaa18e3c0d34a0a4d8e8111164e4abf Mon Sep 17 00:00:00 2001 From: 0marperez Date: Wed, 17 Dec 2025 16:51:29 -0500 Subject: [PATCH 2/3] rerun CI From 7ff6ba8d09062fd2d9f83d140d69dec421662c9c Mon Sep 17 00:00:00 2001 From: 0marperez Date: Wed, 17 Dec 2025 17:41:25 -0500 Subject: [PATCH 3/3] rerun CI