@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSIotDataAsync extends AbstractAWSIotData implements AWSIotDataAsync
AWSIotDataAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIXdeleteThingShadow, getCachedResponseMetadata, getRetainedMessage, getThingShadow, listNamedShadowsForThing, listRetainedMessages, publish, setEndpoint, setRegion, shutdown, updateThingShadowequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeleteThingShadow, getCachedResponseMetadata, getRetainedMessage, getThingShadow, listNamedShadowsForThing, listRetainedMessages, publish, setEndpoint, setRegion, shutdown, updateThingShadowpublic Future<DeleteThingShadowResult> deleteThingShadowAsync(DeleteThingShadowRequest request)
AWSIotDataAsyncDeletes the shadow for the specified thing.
Requires permission to access the DeleteThingShadow action.
For more information, see DeleteThingShadow in the IoT Developer Guide.
deleteThingShadowAsync in interface AWSIotDataAsyncrequest - The input for the DeleteThingShadow operation.public Future<DeleteThingShadowResult> deleteThingShadowAsync(DeleteThingShadowRequest request, AsyncHandler<DeleteThingShadowRequest,DeleteThingShadowResult> asyncHandler)
AWSIotDataAsyncDeletes the shadow for the specified thing.
Requires permission to access the DeleteThingShadow action.
For more information, see DeleteThingShadow in the IoT Developer Guide.
deleteThingShadowAsync in interface AWSIotDataAsyncrequest - 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.public Future<GetRetainedMessageResult> getRetainedMessageAsync(GetRetainedMessageRequest request)
AWSIotDataAsyncGets the details of a single retained message for the specified topic.
This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call ListRetainedMessages.
Requires permission to access the GetRetainedMessage action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
getRetainedMessageAsync in interface AWSIotDataAsyncrequest - The input for the GetRetainedMessage operation.public Future<GetRetainedMessageResult> getRetainedMessageAsync(GetRetainedMessageRequest request, AsyncHandler<GetRetainedMessageRequest,GetRetainedMessageResult> asyncHandler)
AWSIotDataAsyncGets the details of a single retained message for the specified topic.
This action returns the message payload of the retained message, which can incur messaging costs. To list only the topic names of the retained messages, call ListRetainedMessages.
Requires permission to access the GetRetainedMessage action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
getRetainedMessageAsync in interface AWSIotDataAsyncrequest - The input for the GetRetainedMessage 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.public Future<GetThingShadowResult> getThingShadowAsync(GetThingShadowRequest request)
AWSIotDataAsyncGets the shadow for the specified thing.
Requires permission to access the GetThingShadow action.
For more information, see GetThingShadow in the IoT Developer Guide.
getThingShadowAsync in interface AWSIotDataAsyncrequest - The input for the GetThingShadow operation.public Future<GetThingShadowResult> getThingShadowAsync(GetThingShadowRequest request, AsyncHandler<GetThingShadowRequest,GetThingShadowResult> asyncHandler)
AWSIotDataAsyncGets the shadow for the specified thing.
Requires permission to access the GetThingShadow action.
For more information, see GetThingShadow in the IoT Developer Guide.
getThingShadowAsync in interface AWSIotDataAsyncrequest - 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.public Future<ListNamedShadowsForThingResult> listNamedShadowsForThingAsync(ListNamedShadowsForThingRequest request)
AWSIotDataAsyncLists the shadows for the specified thing.
Requires permission to access the ListNamedShadowsForThing action.
listNamedShadowsForThingAsync in interface AWSIotDataAsyncpublic Future<ListNamedShadowsForThingResult> listNamedShadowsForThingAsync(ListNamedShadowsForThingRequest request, AsyncHandler<ListNamedShadowsForThingRequest,ListNamedShadowsForThingResult> asyncHandler)
AWSIotDataAsyncLists the shadows for the specified thing.
Requires permission to access the ListNamedShadowsForThing action.
listNamedShadowsForThingAsync in interface AWSIotDataAsyncasyncHandler - 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.public Future<ListRetainedMessagesResult> listRetainedMessagesAsync(ListRetainedMessagesRequest request)
AWSIotDataAsyncLists summary information about the retained messages stored for the account.
This action returns only the topic names of the retained messages. It doesn't return any message payloads. Although this action doesn't return a message payload, it can still incur messaging costs.
To get the message payload of a retained message, call GetRetainedMessage with the topic name of the retained message.
Requires permission to access the ListRetainedMessages action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
listRetainedMessagesAsync in interface AWSIotDataAsyncpublic Future<ListRetainedMessagesResult> listRetainedMessagesAsync(ListRetainedMessagesRequest request, AsyncHandler<ListRetainedMessagesRequest,ListRetainedMessagesResult> asyncHandler)
AWSIotDataAsyncLists summary information about the retained messages stored for the account.
This action returns only the topic names of the retained messages. It doesn't return any message payloads. Although this action doesn't return a message payload, it can still incur messaging costs.
To get the message payload of a retained message, call GetRetainedMessage with the topic name of the retained message.
Requires permission to access the ListRetainedMessages action.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
listRetainedMessagesAsync in interface AWSIotDataAsyncasyncHandler - 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.public Future<PublishResult> publishAsync(PublishRequest request)
AWSIotDataAsyncPublishes an MQTT message.
Requires permission to access the Publish action.
For more information about MQTT messages, see MQTT Protocol in the IoT Developer Guide.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
publishAsync in interface AWSIotDataAsyncrequest - The input for the Publish operation.public Future<PublishResult> publishAsync(PublishRequest request, AsyncHandler<PublishRequest,PublishResult> asyncHandler)
AWSIotDataAsyncPublishes an MQTT message.
Requires permission to access the Publish action.
For more information about MQTT messages, see MQTT Protocol in the IoT Developer Guide.
For more information about messaging costs, see Amazon Web Services IoT Core pricing - Messaging.
publishAsync in interface AWSIotDataAsyncrequest - 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.public Future<UpdateThingShadowResult> updateThingShadowAsync(UpdateThingShadowRequest request)
AWSIotDataAsyncUpdates the shadow for the specified thing.
Requires permission to access the UpdateThingShadow action.
For more information, see UpdateThingShadow in the IoT Developer Guide.
updateThingShadowAsync in interface AWSIotDataAsyncrequest - The input for the UpdateThingShadow operation.public Future<UpdateThingShadowResult> updateThingShadowAsync(UpdateThingShadowRequest request, AsyncHandler<UpdateThingShadowRequest,UpdateThingShadowResult> asyncHandler)
AWSIotDataAsyncUpdates the shadow for the specified thing.
Requires permission to access the UpdateThingShadow action.
For more information, see UpdateThingShadow in the IoT Developer Guide.
updateThingShadowAsync in interface AWSIotDataAsyncrequest - 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.