Skip to content

Commit fc4159e

Browse files
committed
[issues-1787] add AssumeRole op to presign generate list
This resolves customer issue 1787 by adding the AssumeRole operation to the presign autogeneration list for codegen on the aws sdk side
1 parent a3c693e commit fc4159e

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsHttpPresignURLClientGenerator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ public class AwsHttpPresignURLClientGenerator implements GoIntegration {
100100
ShapeId.from("com.amazonaws.s3#DeleteBucket")
101101
),
102102
ShapeId.from("com.amazonaws.sts#AWSSecurityTokenServiceV20110615"), SetUtils.of(
103-
ShapeId.from("com.amazonaws.sts#GetCallerIdentity"))
103+
ShapeId.from("com.amazonaws.sts#GetCallerIdentity"),
104+
ShapeId.from("com.amazonaws.sts#AssumeRole")
105+
)
104106
);
105107

106108
// map of service to list of operations for which presignedURL client and operation should

service/sts/api_op_AssumeRole.go

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)