Skip to content

[Hackathon] Adds wrappers providing shortcuts to S3 getUrl and S3Presigner #3073

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

cenedhryn
Copy link
Contributor

No description provided.

@cenedhryn cenedhryn requested a review from a team as a code owner March 2, 2022 21:58
@cenedhryn cenedhryn requested a review from Bennett-Lynch March 2, 2022 21:58
* @return The presigner
*/
@SdkExtensionMethod
default S3Presigner presigner() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also expose individual methods here, like presignGetObject, presignPutObject, etc. But it would be a lot of duplication of interfaces. At the same time, it's more in-line with the methods being discovered as a first-class citizen on the native API. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I debated back and forth on this question and decided to not do it for the hackathon, since it is a lot of boilerplate. For "real" it's up for discussion but should be easy enough to add.

@cenedhryn cenedhryn merged commit 759c7d3 into hackathon-2022-extension-methods Mar 2, 2022
@cenedhryn cenedhryn deleted the salande/hack22-shortcuts branch March 2, 2022 22:41
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 2, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

aws-sdk-java-automation added a commit that referenced this pull request Jun 17, 2024
…47c80612f

Pull request: release <- staging/d60723c4-7f8c-4fa2-ae1f-57f47c80612f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants