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; }; }