Skip to content
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

Totally different APIs and programming paradigm in AWS SDK at least between its Java and Golang versions #4643

Closed
michaelmnguyen opened this issue Nov 29, 2022 · 3 comments
Assignees
Labels
bug This issue is a bug. documentation This is a problem with documentation. p2 This is a standard priority issue

Comments

@michaelmnguyen
Copy link

Describe the bug

As a Best Practice, any SDK should provide the same APIs, regardless of the programming languages. The only difference should be the syntax among the programming languages. Could AWS do that for its SDK at least between Java and Golang ? As is, AWS APIs and their paradigms at least between Java and Golang are totally different.

Expected Behavior

The same APIs and programming paradigm in AWS SDK at least between its Java and Golang versions.

Current Behavior

Totally different APIs and programming paradigm in AWS SDK at least between its Java and Golang versions

Reproduction Steps

Compare differences between

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/credentials/ec2rolecreds
and

https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/InstanceProfileCredentialsProvider.html

It is as if they are for totally different SDKs. For instance, Golang version of AWS SDK does not have the equivalent code for InstanceProfileCredentialsProvider.

Possible Solution

The same APIs and programming paradigm in AWS SDK at least between its Java and Golang versions.

Additional Information/Context

No response

SDK version used

1.44.137

Environment details (Version of Go (go version)? OS name and version, etc.)

Golang v1.19 and the latest Java JDK

@michaelmnguyen michaelmnguyen added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 29, 2022
@RanVaknin
Copy link
Contributor

Hi Michael,

Since we already addressed this in your previous thread and there is an action item to fix the documentation on imds on Go I'm going to assign this a documentation label and keep this issue as tracking.

Thanks,
Ran

@RanVaknin RanVaknin added documentation This is a problem with documentation. and removed needs-triage This issue or PR still needs to be triaged. labels Nov 29, 2022
@RanVaknin RanVaknin self-assigned this Nov 29, 2022
@michaelmnguyen
Copy link
Author

That's fine Ran.

Thanks.

Michael,

@RanVaknin RanVaknin added the needs-review This issue or pull request needs review from a core team member. label Dec 15, 2022
@isaiahvita isaiahvita removed the needs-review This issue or pull request needs review from a core team member. label Feb 6, 2023
@RanVaknin RanVaknin added the p2 This is a standard priority issue label Mar 29, 2023
@lucix-aws lucix-aws closed this as not planned Won't fix, can't repro, duplicate, stale Apr 17, 2024
Copy link

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. documentation This is a problem with documentation. p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

4 participants