Skip to content

Commit

Permalink
add support for s3 GetObject presigned url
Browse files Browse the repository at this point in the history
  • Loading branch information
skotambkar committed Nov 19, 2020
1 parent d607ff1 commit 72520ca
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ public class AwsHttpPresignURLClientGenerator implements GoIntegration {

// constant map with service to list of operation for which presignedURL client and operation must be generated.
private static final Map<ShapeId, Set<ShapeId>> presignedClientMap = MapUtils.of(
ShapeId.from("com.amazonaws.s3#AmazonS3"), SetUtils.of(ShapeId.from("com.amazonaws.s3#PutObject"))
ShapeId.from("com.amazonaws.s3#AmazonS3"), SetUtils.of(
ShapeId.from("com.amazonaws.s3#GetObject"),
ShapeId.from("com.amazonaws.s3#PutObject")
)
);

private static final String addAsUnsignedPayloadName(String operationName) {
Expand Down
33 changes: 33 additions & 0 deletions service/s3/api_op_GetObject.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72520ca

Please sign in to comment.