Skip to content

Commit bf37fc2

Browse files
author
Chase Coalwell
committed
fix: use testInputContainsMember and formatting
1 parent 2005cef commit bf37fc2

File tree

1 file changed

+4
-4
lines changed
  • codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen

1 file changed

+4
-4
lines changed

codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddBuiltinPlugins.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,16 @@ public List<RuntimeClientPlugin> getClientPlugins() {
119119
.operationPredicate((m, s, o) -> S3_MD5_OPERATIONS.contains(o.getId().getName()))
120120
.build(),
121121
RuntimeClientPlugin.builder()
122-
.withConventions(AwsDependency.ROUTE53_MIDDLEWARE.dependency, "ChangeBatchAliasTargetIdNormalizer",
123-
HAS_MIDDLEWARE)
122+
.withConventions(AwsDependency.ROUTE53_MIDDLEWARE.dependency,
123+
"ChangeBatchAliasTargetIdNormalizer", HAS_MIDDLEWARE)
124124
.servicePredicate((m, s) -> testServiceId(s, "Route 53"))
125125
.operationPredicate((m, s, o) -> o.getId().getName().equals("ChangeResourceRecordSets"))
126126
.build(),
127127
RuntimeClientPlugin.builder()
128128
.withConventions(AwsDependency.ROUTE53_MIDDLEWARE.dependency, "IdNormalizer",
129-
HAS_MIDDLEWARE)
129+
HAS_MIDDLEWARE)
130130
.servicePredicate((m, s) -> testServiceId(s, "Route 53"))
131-
.operationPredicate((m, s, o) -> testContainsMember(m, o, ROUTE_53_ID_MEMBERS))
131+
.operationPredicate((m, s, o) -> testInputContainsMember(m, o, ROUTE_53_ID_MEMBERS))
132132
.build()
133133
);
134134
}

0 commit comments

Comments
 (0)