AWS Java SDK :: Services :: AWS IoT Data

The AWS Java SDK for AWS Iot Data Plane Service module holds the client classes that are used for communicating with AWS IoT Data Plane Service

License

License

Categories

Categories

AWS Container PaaS Providers Data
GroupId

GroupId

software.amazon.awssdk
ArtifactId

ArtifactId

iotdata
Last Version

Last Version

2.0.0-preview-11
Release Date

Release Date

Type

Type

jar
Description

Description

AWS Java SDK :: Services :: AWS IoT Data
The AWS Java SDK for AWS Iot Data Plane Service module holds the client classes that are used for communicating with AWS IoT Data Plane Service
Project URL

Project URL

https://aws.amazon.com/sdkforjava

Download iotdata

How to add to project

<!-- https://jarcasting.com/artifacts/software.amazon.awssdk/iotdata/ -->
<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>iotdata</artifactId>
    <version>2.0.0-preview-11</version>
</dependency>
// https://jarcasting.com/artifacts/software.amazon.awssdk/iotdata/
implementation 'software.amazon.awssdk:iotdata:2.0.0-preview-11'
// https://jarcasting.com/artifacts/software.amazon.awssdk/iotdata/
implementation ("software.amazon.awssdk:iotdata:2.0.0-preview-11")
'software.amazon.awssdk:iotdata:jar:2.0.0-preview-11'
<dependency org="software.amazon.awssdk" name="iotdata" rev="2.0.0-preview-11">
  <artifact name="iotdata" type="jar" />
</dependency>
@Grapes(
@Grab(group='software.amazon.awssdk', module='iotdata', version='2.0.0-preview-11')
)
libraryDependencies += "software.amazon.awssdk" % "iotdata" % "2.0.0-preview-11"
[software.amazon.awssdk/iotdata "2.0.0-preview-11"]

Dependencies

compile (7)

Group / Artifact Type Version
software.amazon.awssdk : sdk-core jar 2.0.0-preview-11
software.amazon.awssdk : auth jar 2.0.0-preview-11
software.amazon.awssdk : http-client-spi jar 2.0.0-preview-11
software.amazon.awssdk : regions jar 2.0.0-preview-11
software.amazon.awssdk : annotations jar 2.0.0-preview-11
software.amazon.awssdk : utils jar 2.0.0-preview-11
software.amazon.awssdk : aws-core jar 2.0.0-preview-11

runtime (2)

Group / Artifact Type Version
software.amazon.awssdk : apache-client jar 2.0.0-preview-11
software.amazon.awssdk : netty-nio-client jar 2.0.0-preview-11

test (9)

Group / Artifact Type Version
software.amazon.awssdk : service-test-utils jar 2.0.0-preview-11
log4j : log4j jar 1.2.17
org.slf4j : slf4j-log4j12 jar 1.7.25
io.reactivex.rxjava2 : rxjava jar 2.1.9
org.assertj : assertj-core jar 3.8.0
software.amazon.awssdk : test-utils jar 2.0.0-preview-11
org.hamcrest : hamcrest-all jar 1.3
com.github.tomakehurst : wiremock jar 2.18.0
org.mockito : mockito-core jar 1.10.19

Project Modules

There are no modules declared in this project.

AWS SDK for Java 2.0

Build Status Build Status Maven Gitter codecov

The AWS SDK for Java 2.0 is a rewrite of 1.0 with some great new features. As with version 1.0, it enables you to easily work with Amazon Web Services but also includes features like non-blocking IO and pluggable HTTP implementation to further customize your applications. You can get started in minutes using Maven or any build system that supports MavenCentral as an artifact source.

Getting Started

Sign up for AWS

Before you begin, you need an AWS account. Please see the Sign Up for AWS section of the developer guide for information about how to create an AWS account and retrieve your AWS credentials.

Minimum requirements

To run the SDK you will need Java 1.8+. For more information about the requirements and optimum settings for the SDK, please see the Installing a Java Development Environment section of the developer guide.

Using the SDK

The recommended way to use the AWS SDK for Java in your project is to consume it from Maven Central.

Importing the BOM

To automatically manage module versions (currently all modules have the same version, but this may not always be the case) we recommend you use the Bill of Materials import as follows:

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>software.amazon.awssdk</groupId>
      <artifactId>bom</artifactId>
      <version>2.15.53</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

Then individual models may omit the version from their dependency statement:

<dependencies>
  <dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>ec2</artifactId>
  </dependency>
  <dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>s3</artifactId>
  </dependency>
  <dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>dynamodb</artifactId>
  </dependency>
</dependencies>

Individual Services

Alternatively you can add dependencies for the specific services you use only:

<dependency>
  <groupId>software.amazon.awssdk</groupId>
  <artifactId>ec2</artifactId>
  <version>2.15.53</version>
</dependency>
<dependency>
  <groupId>software.amazon.awssdk</groupId>
  <artifactId>s3</artifactId>
  <version>2.15.53</version>
</dependency>

Whole SDK

You can import the whole SDK into your project (includes ALL services). Please note that it is recommended to only import the modules you need.

<dependency>
  <groupId>software.amazon.awssdk</groupId>
  <artifactId>aws-sdk-java</artifactId>
  <version>2.15.53</version>
</dependency>

See the Set up the AWS SDK for Java section of the developer guide for more usage information.

New Features for 2.0

  • Provides a way to plug in your own HTTP implementation.

  • Provides first class support for non-blocking IO in Async clients.

Building From Source

Once you check out the code from GitHub, you can build it using Maven.

mvn clean install

# Skip tests, checkstyles, findbugs, etc for quick build
mvn clean install -P quick

# Build a specific service module
mvn clean install -pl :s3 -P quick --am

Sample Code

You can find sample code for v2 in the following places:

Maintenance and Support for SDK Major Versions

For information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the AWS SDKs and Tools Shared Configuration and Credentials Reference Guide:

Giving Feedback

We need your help in making this SDK great. Please participate in the community and contribute to this effort by submitting issues, participating in discussion forums and submitting pull requests through the following channels:

  • Submit issues - this is the preferred channel to interact with our team
  • Come join the AWS Java community chat on Gitter
  • Articulate your feature request or upvote existing ones on our Issues page
  • Send feedback directly to the team at [email protected]
software.amazon.awssdk

Amazon Web Services

Versions

Version
2.0.0-preview-11