Skip to content

Commit 0fab39a

Browse files
authored
Merge pull request #1888 from aws/isvita/issues-1787
[issues-1787] add AssumeRole op to presign generate list
2 parents cde8cbc + 56eb993 commit 0fab39a

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "3d0e99b3-2823-4ac8-84bc-58cfed344b21",
3+
"type": "feature",
4+
"description": "Add presign functionality for sts:AssumeRole operation",
5+
"modules": [
6+
"service/sts"
7+
]
8+
}

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

+3-1
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

+24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)