Class AbstractAWSIotDataAsync
- java.lang.Object
-
- com.amazonaws.services.iotdata.AbstractAWSIotData
-
- com.amazonaws.services.iotdata.AbstractAWSIotDataAsync
-
- All Implemented Interfaces:
AWSIotData
,AWSIotDataAsync
public class AbstractAWSIotDataAsync extends AbstractAWSIotData implements AWSIotDataAsync
Abstract implementation ofAWSIotDataAsync
. Convenient method forms pass through to the corresponding overload that takes a request object and anAsyncHandler
, which throws anUnsupportedOperationException
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAWSIotDataAsync()
-
Method Summary
-
Methods inherited from class com.amazonaws.services.iotdata.AbstractAWSIotData
deleteThingShadow, getCachedResponseMetadata, getThingShadow, publish, setEndpoint, setRegion, shutdown, updateThingShadow
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.iotdata.AWSIotData
deleteThingShadow, getCachedResponseMetadata, getThingShadow, publish, setEndpoint, setRegion, shutdown, updateThingShadow
-
-
-
-
Method Detail
-
deleteThingShadowAsync
public Future<DeleteThingShadowResult> deleteThingShadowAsync(DeleteThingShadowRequest request)
Description copied from interface:AWSIotDataAsync
Deletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
- Specified by:
deleteThingShadowAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the DeleteThingShadow operation.- Returns:
- A Java Future containing the result of the DeleteThingShadow operation returned by the service.
-
deleteThingShadowAsync
public Future<DeleteThingShadowResult> deleteThingShadowAsync(DeleteThingShadowRequest request, AsyncHandler<DeleteThingShadowRequest,DeleteThingShadowResult> asyncHandler)
Description copied from interface:AWSIotDataAsync
Deletes the thing shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
- Specified by:
deleteThingShadowAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the DeleteThingShadow operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteThingShadow operation returned by the service.
-
getThingShadowAsync
public Future<GetThingShadowResult> getThingShadowAsync(GetThingShadowRequest request)
Description copied from interface:AWSIotDataAsync
Gets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
- Specified by:
getThingShadowAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the GetThingShadow operation.- Returns:
- A Java Future containing the result of the GetThingShadow operation returned by the service.
-
getThingShadowAsync
public Future<GetThingShadowResult> getThingShadowAsync(GetThingShadowRequest request, AsyncHandler<GetThingShadowRequest,GetThingShadowResult> asyncHandler)
Description copied from interface:AWSIotDataAsync
Gets the thing shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
- Specified by:
getThingShadowAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the GetThingShadow operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetThingShadow operation returned by the service.
-
publishAsync
public Future<PublishResult> publishAsync(PublishRequest request)
Description copied from interface:AWSIotDataAsync
Publishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
- Specified by:
publishAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the Publish operation.- Returns:
- A Java Future containing the result of the Publish operation returned by the service.
-
publishAsync
public Future<PublishResult> publishAsync(PublishRequest request, AsyncHandler<PublishRequest,PublishResult> asyncHandler)
Description copied from interface:AWSIotDataAsync
Publishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
- Specified by:
publishAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the Publish operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the Publish operation returned by the service.
-
updateThingShadowAsync
public Future<UpdateThingShadowResult> updateThingShadowAsync(UpdateThingShadowRequest request)
Description copied from interface:AWSIotDataAsync
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
- Specified by:
updateThingShadowAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the UpdateThingShadow operation.- Returns:
- A Java Future containing the result of the UpdateThingShadow operation returned by the service.
-
updateThingShadowAsync
public Future<UpdateThingShadowResult> updateThingShadowAsync(UpdateThingShadowRequest request, AsyncHandler<UpdateThingShadowRequest,UpdateThingShadowResult> asyncHandler)
Description copied from interface:AWSIotDataAsync
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
- Specified by:
updateThingShadowAsync
in interfaceAWSIotDataAsync
- Parameters:
request
- The input for the UpdateThingShadow operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateThingShadow operation returned by the service.
-
-