AWS SDK for Java Version 1: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
=External=
=External=
* Maven Repository Location http://repo1.maven.org/maven2/com/amazonaws/
* 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
* 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/
* API Reference https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/
Line 6: Line 6:
=Internal=
=Internal=
* [[AWS_SDK_for_Java#Subjects|AWS SDK for Java]]
* [[AWS_SDK_for_Java#Subjects|AWS SDK for Java]]
=Concepts=
{{Internal|AWS SDK for Java Concepts|AWS SDK for Java Concepts}}
=Gradle Project Setup=
=Gradle Project Setup=
{{External|https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-project-gradle.html}}
{{External|https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-project-gradle.html}}
Line 16: Line 19:


dependencies {
dependencies {
  implementation platform('com.amazonaws:aws-java-sdk-bom:1.11.1000')
  implementation platform('com.amazonaws:aws-java-sdk-bom:1.12.79')
  // Declare individual SDK dependencies without version
  // Declare individual SDK dependencies without version
  implementation 'com.amazonaws:aws-java-sdk-s3'
  implementation 'com.amazonaws:aws-java-sdk-s3'
Line 22: Line 25:
</syntaxhighlight>
</syntaxhighlight>


=Dependency=
=Component APIs that Use SDK for Java Version 1=
<syntaxhighlight lang='groovy'>
* [[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]]
repositories {
* [[AWS_Java_Lambda_Development#Dependencies|Lambda]]
   
* [[Amazon Encryption SDK]]
    mavenCentral()
}
 
dependencies {
 
    // SDK 1
    implementation 'com.amazonaws:<component-name>:1.<minor>.<patch>'
}
</syntaxhighlight>
 
Example:
<syntaxhighlight lang='groovy'>
repositories {
   
    mavenCentral()
}
 
dependencies {
 
    implementation 'com.amazonaws:aws-java-sdk-kinesis:1.11.471'
}
</syntaxhighlight>

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