AWS SDK for Java Version 1: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
* Maven Repository Location https://repo1.maven.org/maven2/com/amazonaws/
* Developer Guide https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/welcome.html
* API Reference https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/
=Internal=
=Internal=
* [[AWS_SDK_for_Java#Subjects|AWS SDK for Java]]
* [[AWS_SDK_for_Java#Subjects|AWS SDK for Java]]
=Dependency=
=Concepts=
<syntaxhighlight lang='groovy'>
{{Internal|AWS SDK for Java Concepts|AWS SDK for Java Concepts}}
 
repositories {
   
    mavenCentral()
}


dependencies {
=Gradle Project Setup=
{{External|https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-project-gradle.html}}
Add the AWS SDK 1 BOM to the <code>dependencies</code> section of the file, and then declare individual SDK dependencies without a version:


    // SDK 1
    implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>'
}
</syntaxhighlight>
Example:
<syntaxhighlight lang='groovy'>
<syntaxhighlight lang='groovy'>
repositories {
repositories {
   
mavenCentral()
    mavenCentral()
}
}


dependencies {
dependencies {
 
implementation platform('com.amazonaws:aws-java-sdk-bom:1.12.79')
    implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471'
// Declare individual SDK dependencies without version
implementation 'com.amazonaws:aws-java-sdk-s3'
}
}
</syntaxhighlight>
</syntaxhighlight>


{{External|http://repo1.maven.org/maven2/com/amazonaws/}}
=Component APIs that Use SDK for Java Version 1=
* [[AWS S3 Java API|AWS S3 Java API]]
* [[Amazon Kinesis Stream with AWS SDK for Java#Overview|Amazon Kinesis Stream with AWS SDK for Java]]
* [[AWS_Java_Lambda_Development#Dependencies|Lambda]]
* [[Amazon Encryption SDK]]

Latest revision as of 05:52, 3 October 2021

External

Internal

Concepts

AWS SDK for Java Concepts

Gradle Project Setup

https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-project-gradle.html

Add the AWS SDK 1 BOM to the dependencies section of the file, and then declare individual SDK dependencies without a version:

repositories {
 mavenCentral()
}

dependencies {
 implementation platform('com.amazonaws:aws-java-sdk-bom:1.12.79')
 // Declare individual SDK dependencies without version
 implementation 'com.amazonaws:aws-java-sdk-s3'
}

Component APIs that Use SDK for Java Version 1