From 19a9ea9191cdec528f9f1f6d43ff54df8ea63676 Mon Sep 17 00:00:00 2001 From: Matas Lauzadis Date: Thu, 12 Oct 2023 14:19:52 -0400 Subject: [PATCH] Refactor to section writer --- .../kotlin/codegen/rendering/ServiceClientGenerator.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/ServiceClientGenerator.kt b/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/ServiceClientGenerator.kt index 6151cbacc..531090bd1 100644 --- a/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/ServiceClientGenerator.kt +++ b/codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/ServiceClientGenerator.kt @@ -57,6 +57,11 @@ class ServiceClientGenerator(private val ctx: RenderingContext) { */ val RenderingContext: SectionKey> = SectionKey("RenderingContext") } + + /** + * [SectionId] used when rendering the finalizeConfig block of a service client + */ + object FinalizeConfig : SectionId } init {