Skip to content

Commit c5b9d4d

Browse files
authoredJan 29, 2024
chore: codegen, limit service for s3Expires middleware (#5734)
1 parent 0b29652 commit c5b9d4d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed
 

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ && containsInputMembers(m, o, BUCKET_ENDPOINT_INPUT_KEYS))
272272
RuntimeClientPlugin.builder()
273273
.withConventions(AwsDependency.S3_MIDDLEWARE.dependency, "S3ExpiresMiddleware",
274274
HAS_MIDDLEWARE)
275-
.operationPredicate((m, s, o) -> containsExpiresOutput(m, o))
275+
.operationPredicate((m, s, o) -> isS3(s) && containsExpiresOutput(m, o))
276276
.build(),
277277
RuntimeClientPlugin.builder()
278278
.withConventions(AwsDependency.S3_MIDDLEWARE.dependency, "S3Express",

0 commit comments

Comments
 (0)
Please sign in to comment.