Skip to content

Commit

Permalink
codegen: add support for addition Amazon S3 presigned URL operations (#…
Browse files Browse the repository at this point in the history
…1747)

Adds support for additional presigned URLs for S3 operations.
* HeadBucket
* DeleteObject
* DeleteBucket
  • Loading branch information
jasdel authored Jul 1, 2022
1 parent e2f406b commit e614a23
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .changelog/b9b99ba465154cc3a7e8e04101e46672.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "b9b99ba4-6515-4cc3-a7e8-e04101e46672",
"type": "feature",
"description": "Add presign support for HeadBucket, DeleteObject, and DeleteBucket. Fixes [#1076](https://github.com/aws/aws-sdk-go-v2/issues/1076).",
"modules": [
"service/s3"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,13 @@ public class AwsHttpPresignURLClientGenerator implements GoIntegration {
ShapeId.from("com.amazonaws.s3#AmazonS3"), SetUtils.of(
ShapeId.from("com.amazonaws.s3#GetObject"),
ShapeId.from("com.amazonaws.s3#PutObject"),

ShapeId.from("com.amazonaws.s3#UploadPart"),
ShapeId.from("com.amazonaws.s3#HeadObject")

ShapeId.from("com.amazonaws.s3#HeadObject"),
ShapeId.from("com.amazonaws.s3#HeadBucket"),
ShapeId.from("com.amazonaws.s3#DeleteObject"),
ShapeId.from("com.amazonaws.s3#DeleteBucket")
),
ShapeId.from("com.amazonaws.sts#AWSSecurityTokenServiceV20110615"), SetUtils.of(
ShapeId.from("com.amazonaws.sts#GetCallerIdentity"))
Expand Down
31 changes: 31 additions & 0 deletions service/s3/api_op_DeleteBucket.go

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

31 changes: 31 additions & 0 deletions service/s3/api_op_DeleteObject.go

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

31 changes: 31 additions & 0 deletions service/s3/api_op_HeadBucket.go

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

0 comments on commit e614a23

Please sign in to comment.