Skip to content

Commit

Permalink
feat: fix namespace for AttributeValue (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajewellamz authored Oct 2, 2023
1 parent 6083aee commit 308bb5a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,12 @@ public String baseTypeForShape(final ShapeId shapeId) {
// therefore it MAY have specific naming requirements.
// These requirements SHOULD be handled in the `AwsSdkDotNetNameResolver`.
final ServiceShape awsSdkService = AwsSdkNameResolverHelpers.getAwsServiceShape(model, shapeId);
return new AwsSdkDotNetNameResolver(model, awsSdkService).baseTypeSwitch(shape);
String value = new AwsSdkDotNetNameResolver(model, awsSdkService).baseTypeSwitch(shape);
if (value.equals("Com.Amazonaws.Dynamodb.AttributeValue")) {
return "Amazon.DynamoDBv2.Model.AttributeValue";
} else {
return value;
}
}
}

Expand Down

0 comments on commit 308bb5a

Please sign in to comment.