Skip to content

Commit 51017df

Browse files
committed
Suffix ServiceName with Client
1 parent 4b90aec commit 51017df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/aws/core/src/main/java/software/amazon/smithy/python/aws/codegen/AwsServiceIdIntegration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public Symbol toSymbol(Shape shape) {
3333
Symbol symbol = this.delegate.toSymbol(shape);
3434
if (shape.isServiceShape() && shape.hasTrait(ServiceTrait.class)) {
3535
var serviceTrait = shape.expectTrait(ServiceTrait.class);
36-
var serviceName = StringUtils.capitalize(serviceTrait.getSdkId()).replace(" ", "");
36+
var serviceName = StringUtils.capitalize(serviceTrait.getSdkId() + "Client").replace(" ", "");
3737
symbol = symbol.toBuilder().name(serviceName).build();
3838
}
3939
return symbol;

0 commit comments

Comments
 (0)