From 8f434ff94981f45d38d86d4b2461d7e468ece607 Mon Sep 17 00:00:00 2001 From: Luc Talatinian Date: Wed, 15 Nov 2023 15:14:31 -0500 Subject: [PATCH] pass through unrecognized signer names as-is --- .../go/codegen/endpoints/AuthSchemePropertyGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/AuthSchemePropertyGenerator.java b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/AuthSchemePropertyGenerator.java index 8e1f9e46b..e080a1e53 100644 --- a/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/AuthSchemePropertyGenerator.java +++ b/codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/endpoints/AuthSchemePropertyGenerator.java @@ -39,7 +39,7 @@ public static String mapEndpointPropertyAuthSchemeName(String name) { return switch (name) { case "sigv4" -> "aws.auth#sigv4"; case "sigv4a" -> "aws.auth#sigv4a"; - default -> throw new IllegalStateException("Unexpected value: " + name); + default -> name; }; }