AWS SDK for Java: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:


<syntaxhighlight lang='groovy'>
<syntaxhighlight lang='groovy'>
repositories {
   
    mavenCentral()
}


dependencies {
dependencies {
     // SDK 1
     // SDK 1
     implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>'
     implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>'
Line 26: Line 32:
Example:
Example:
<syntaxhighlight lang='groovy'>
<syntaxhighlight lang='groovy'>
repositories {
   
    mavenCentral()
}
dependencies {
dependencies {
     implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471'
     implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471'
}
}

Revision as of 22:41, 7 March 2019

External

Internal

Overview

Dependency

SDK 1

repositories {
    
    mavenCentral()
}

dependencies {

    // SDK 1
    implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>'
}

Example:

repositories {
    
    mavenCentral()
}

dependencies {

    implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471'
}
http://repo1.maven.org/maven2/com/amazonaws/

SDK 2

dependencies {
    implementation 'software.amazon.awssdk:aws-sdk-java:2.1.1'
}

Maven Repository location:

http://repo1.maven.org/maven2/software/amazon/awssdk/aws-sdk-java/

Concepts

AWS SDK for Java Concepts

Component APIs