@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_METRIC
ENDPOINT_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, listDetectors
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
batchPutMessage, batchUpdateDetector, describeDetector, getCachedResponseMetadata, listDetectors
public 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 AWSIoTEventsDataAsync
public 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 AWSIoTEventsDataAsync
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<BatchUpdateDetectorResult> batchUpdateDetectorAsync(BatchUpdateDetectorRequest request)
AWSIoTEventsDataAsync
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
batchUpdateDetectorAsync
in interface AWSIoTEventsDataAsync
public Future<BatchUpdateDetectorResult> batchUpdateDetectorAsync(BatchUpdateDetectorRequest request, AsyncHandler<BatchUpdateDetectorRequest,BatchUpdateDetectorResult> asyncHandler)
AWSIoTEventsDataAsync
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
batchUpdateDetectorAsync
in interface AWSIoTEventsDataAsync
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<DescribeDetectorResult> describeDetectorAsync(DescribeDetectorRequest request)
AWSIoTEventsDataAsync
Returns information about the specified detector (instance).
describeDetectorAsync
in interface AWSIoTEventsDataAsync
public Future<DescribeDetectorResult> describeDetectorAsync(DescribeDetectorRequest request, AsyncHandler<DescribeDetectorRequest,DescribeDetectorResult> asyncHandler)
AWSIoTEventsDataAsync
Returns information about the specified detector (instance).
describeDetectorAsync
in interface AWSIoTEventsDataAsync
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<ListDetectorsResult> listDetectorsAsync(ListDetectorsRequest request)
AWSIoTEventsDataAsync
Lists detectors (the instances of a detector model).
listDetectorsAsync
in interface AWSIoTEventsDataAsync
public Future<ListDetectorsResult> listDetectorsAsync(ListDetectorsRequest request, AsyncHandler<ListDetectorsRequest,ListDetectorsResult> asyncHandler)
AWSIoTEventsDataAsync
Lists detectors (the instances of a detector model).
listDetectorsAsync
in interface AWSIoTEventsDataAsync
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 void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSIoTEventsData
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.