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

Request for Improved Documentation for finding implementation strings #1144

Closed
wickenico opened this issue Dec 7, 2023 · 3 comments
Closed
Assignees
Labels
documentation This is a problem with documentation. response-requested Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days.

Comments

@wickenico
Copy link

wickenico commented Dec 7, 2023

Describe the issue

The documentation and code examples in the AWS SDK for Kotlin repository are currently challenging to navigate, making it difficult for developers to find the necessary information and implementation strings quickly.
Also the search on mvnrepostiroy really do not lead to the wished implementation.

e.g. implementation("aws.sdk.kotlin:aws-core-jvm:1.0.10")

An overview page for all the different implementations would be very helpful at this point to find the right implementation which I want to use for e.g. Lambda, SQS and so on.

Links

https://docs.aws.amazon.com/sdk-for-kotlin/latest/developer-guide/get-started.html

@wickenico wickenico added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Dec 7, 2023
@ianbotsf ianbotsf removed the needs-triage This issue or PR still needs to be triaged. label Dec 11, 2023
@ianbotsf ianbotsf self-assigned this Dec 11, 2023
@ianbotsf
Copy link
Contributor

Hi @wickenico, I understand you're looking for a better way to discover Maven artifact names for the AWS SDK for Kotlin.

You can find a comprehensive list in our API reference docs. Each of the modules listed on that page (e.g., athena, bedrock, cloudwatch, etc.) are the names of Maven artifacts which can be combined with our Maven group (aws.sdk.kotlin) and the latest version number to form a Gradle dependency:

implementation("aws.sdk.kotlin:cloudwatch:1.0.13")

Additionally, we publish a Gradle version catalog for our libraries, which allows IDE autocompletion of dependency groups and artifact names, as well as unifying versions across a bundle of dependencies (e.g., keeping the athena, bedrock, and cloudwatch versions all in sync).

To use our version catalog, add the following to your settings.gradle.kts:

dependencyResolutionManagement {
    repositories {
        mavenCentral()
    }

    versionCatalogs {
        create("awssdk") {
            from("aws.sdk.kotlin:version-catalog:1.0.13")
        }
    }
}

Then, to select dependencies, add the following to your build.gradle.kts:

dependencies {
    implementation(awssdk.services.athena)
    implementation(awssdk.services.bedrock)
    implementation(awssdk.services.cloudwatch)
}

In the above example, note that awssdk, services, athena, bedrock, etc. are all symbols, not strings, and should be available in autocompletion in your IDE.

Does that answer your question?

@ianbotsf ianbotsf added the response-requested Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days. label Dec 11, 2023
@wickenico
Copy link
Author

Yes thanks the sdk api page is very useful! :)

Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

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
documentation This is a problem with documentation. response-requested Waiting on additional info and feedback. Will move to 'closing-soon' in 5 days.
Projects
None yet
Development

No branches or pull requests

2 participants