Skip to content

Commit cb39158

Browse files
committed
service client deprecation
1 parent 7c5e6e6 commit cb39158

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

sdk/src/main/java/software/amazon/awssdk/iot/iotidentity/IotIdentityClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,17 @@
3838
import java.util.function.Consumer;
3939

4040
/**
41+
* <p><b>Deprecated.</b> We strongly recommend using {@link software.amazon.awssdk.iot.iotidentity.IotIdentityV2Client }. </p>
42+
*
43+
* <p>There are no current plans to ully deprecate IotIdentityClient but it is highly recommended customers
44+
* migrate to IotIdentityV2Client. More details can be found in the GitHub Repo FAQ.</p>
45+
*
4146
* An AWS IoT service that assists with provisioning a device and installing unique client certificates on it
4247
*
4348
* AWS documentation: https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html
4449
*
4550
*/
51+
@Deprecated
4652
public class IotIdentityClient {
4753
private MqttClientConnection connection = null;
4854
private final Gson gson = getGson();

sdk/src/main/java/software/amazon/awssdk/iot/iotjobs/IotJobsClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,17 @@
5050
import java.util.function.Consumer;
5151

5252
/**
53+
* <p><b>Deprecated.</b> We strongly recommend using {@link software.amazon.awssdk.iot.iotjobs.IotJobsV2Client }. </p>
54+
*
55+
* <p>There are no current plans to ully deprecate IotJobsClient but it is highly recommended customers
56+
* migrate to IotJobsV2Client. More details can be found in the GitHub Repo FAQ.</p>
57+
*
5358
* The AWS IoT jobs service can be used to define a set of remote operations that are sent to and executed on one or more devices connected to AWS IoT.
5459
*
5560
* AWS documentation: https://docs.aws.amazon.com/iot/latest/developerguide/jobs-api.html#jobs-mqtt-api
5661
*
5762
*/
63+
@Deprecated
5864
public class IotJobsClient {
5965
private MqttClientConnection connection = null;
6066
private final Gson gson = getGson();

sdk/src/main/java/software/amazon/awssdk/iot/iotshadow/IotShadowClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,17 @@
5656
import java.util.function.Consumer;
5757

5858
/**
59+
* <p><b>Deprecated.</b> We strongly recommend using {@link software.amazon.awssdk.iot.iotshadow.IotShadowV2Client }. </p>
60+
*
61+
* <p>There are no current plans to ully deprecate IotShadowClient but it is highly recommended customers
62+
* migrate to IotShadowV2Client. More details can be found in the GitHub Repo FAQ.</p>
63+
*
5964
* The AWS IoT Device Shadow service adds shadows to AWS IoT thing objects. Shadows are a simple data store for device properties and state. Shadows can make a device’s state available to apps and other services whether the device is connected to AWS IoT or not.
6065
*
6166
* AWS documentation: https://docs.aws.amazon.com/iot/latest/developerguide/device-shadow-mqtt.html
6267
*
6368
*/
69+
@Deprecated
6470
public class IotShadowClient {
6571
private MqttClientConnection connection = null;
6672
private final Gson gson = getGson();

0 commit comments

Comments
 (0)