Skip to content

Commit 2a0b036

Browse files
authored
Suffix ServiceName with Client (#478)
1 parent 3a6fe0e commit 2a0b036

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)