@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTEventsDataAsyncClient extends AWSIoTEventsDataClient implements AWSIoTEventsDataAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. AWS IoT Events Data API commands enable you to send inputs to detectors, list detectors, and view or update a detector's status.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSIoTEventsDataAsyncClientBuilder |
asyncBuilder() |
Future<BatchPutMessageResult> |
batchPutMessageAsync(BatchPutMessageRequest request)
Sends a set of messages to the AWS IoT Events system.
|
Future<BatchPutMessageResult> |
batchPutMessageAsync(BatchPutMessageRequest request,
AsyncHandler<BatchPutMessageRequest,BatchPutMessageResult> asyncHandler)
Sends a set of messages to the AWS IoT Events system.
|
Future<BatchUpdateDetectorResult> |
batchUpdateDetectorAsync(BatchUpdateDetectorRequest request)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified
detector model.
|
Future<BatchUpdateDetectorResult> |
batchUpdateDetectorAsync(BatchUpdateDetectorRequest request,
AsyncHandler<BatchUpdateDetectorRequest,BatchUpdateDetectorResult> asyncHandler)
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified
detector model.
|
Future<DescribeDetectorResult> |
describeDetectorAsync(DescribeDetectorRequest request)
Returns information about the specified detector (instance).
|
Future<DescribeDetectorResult> |
describeDetectorAsync(DescribeDetectorRequest request,
AsyncHandler<DescribeDetectorRequest,DescribeDetectorResult> asyncHandler)
Returns information about the specified detector (instance).
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<ListDetectorsResult> |
listDetectorsAsync(ListDetectorsRequest request)
Lists detectors (the instances of a detector model).
|
Future<ListDetectorsResult> |
listDetectorsAsync(ListDetectorsRequest request,
AsyncHandler<ListDetectorsRequest,ListDetectorsResult> asyncHandler)
Lists detectors (the instances of a detector model).
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
batchPutMessage, batchUpdateDetector, builder, describeDetector, getCachedResponseMetadata, listDetectorsaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchPutMessage, batchUpdateDetector, describeDetector, getCachedResponseMetadata, listDetectorspublic static AWSIoTEventsDataAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchPutMessageResult> batchPutMessageAsync(BatchPutMessageRequest request)
AWSIoTEventsDataAsync
Sends a set of messages to the AWS IoT Events system. Each message payload is transformed into the input you
specify ("inputName") and ingested into any detectors that monitor that input. If multiple messages
are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send
messages one at a time and wait for a successful response.
batchPutMessageAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchPutMessageResult> batchPutMessageAsync(BatchPutMessageRequest request, AsyncHandler<BatchPutMessageRequest,BatchPutMessageResult> asyncHandler)
AWSIoTEventsDataAsync
Sends a set of messages to the AWS IoT Events system. Each message payload is transformed into the input you
specify ("inputName") and ingested into any detectors that monitor that input. If multiple messages
are sent, the order in which the messages are processed isn't guaranteed. To guarantee ordering, you must send
messages one at a time and wait for a successful response.
batchPutMessageAsync in interface AWSIoTEventsDataAsyncasyncHandler - 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<BatchUpdateDetectorResult> batchUpdateDetectorAsync(BatchUpdateDetectorRequest request)
AWSIoTEventsDataAsyncUpdates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
batchUpdateDetectorAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchUpdateDetectorResult> batchUpdateDetectorAsync(BatchUpdateDetectorRequest request, AsyncHandler<BatchUpdateDetectorRequest,BatchUpdateDetectorResult> asyncHandler)
AWSIoTEventsDataAsyncUpdates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
batchUpdateDetectorAsync in interface AWSIoTEventsDataAsyncasyncHandler - 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<DescribeDetectorResult> describeDetectorAsync(DescribeDetectorRequest request)
AWSIoTEventsDataAsyncReturns information about the specified detector (instance).
describeDetectorAsync in interface AWSIoTEventsDataAsyncpublic Future<DescribeDetectorResult> describeDetectorAsync(DescribeDetectorRequest request, AsyncHandler<DescribeDetectorRequest,DescribeDetectorResult> asyncHandler)
AWSIoTEventsDataAsyncReturns information about the specified detector (instance).
describeDetectorAsync in interface AWSIoTEventsDataAsyncasyncHandler - 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<ListDetectorsResult> listDetectorsAsync(ListDetectorsRequest request)
AWSIoTEventsDataAsyncLists detectors (the instances of a detector model).
listDetectorsAsync in interface AWSIoTEventsDataAsyncpublic Future<ListDetectorsResult> listDetectorsAsync(ListDetectorsRequest request, AsyncHandler<ListDetectorsRequest,ListDetectorsResult> asyncHandler)
AWSIoTEventsDataAsyncLists detectors (the instances of a detector model).
listDetectorsAsync in interface AWSIoTEventsDataAsyncasyncHandler - 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSIoTEventsDatashutdown in class AWSIoTEventsDataClient