@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.
IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to detectors, list detectors, and view or update a detector's status.
For more information, see What is IoT Events? in the IoT Events Developer Guide.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbatchAcknowledgeAlarm, batchDeleteDetector, batchDisableAlarm, batchEnableAlarm, batchPutMessage, batchResetAlarm, batchSnoozeAlarm, batchUpdateDetector, builder, describeAlarm, describeDetector, getCachedResponseMetadata, listAlarms, 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, waitbatchAcknowledgeAlarm, batchDeleteDetector, batchDisableAlarm, batchEnableAlarm, batchPutMessage, batchResetAlarm, batchSnoozeAlarm, batchUpdateDetector, describeAlarm, describeDetector, getCachedResponseMetadata, listAlarms, listDetectorspublic static AWSIoTEventsDataAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchAcknowledgeAlarmResult> batchAcknowledgeAlarmAsync(BatchAcknowledgeAlarmRequest request)
AWSIoTEventsDataAsync
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge
them.
batchAcknowledgeAlarmAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchAcknowledgeAlarmResult> batchAcknowledgeAlarmAsync(BatchAcknowledgeAlarmRequest request, AsyncHandler<BatchAcknowledgeAlarmRequest,BatchAcknowledgeAlarmResult> asyncHandler)
AWSIoTEventsDataAsync
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge
them.
batchAcknowledgeAlarmAsync 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<BatchDeleteDetectorResult> batchDeleteDetectorAsync(BatchDeleteDetectorRequest request)
AWSIoTEventsDataAsyncDeletes one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the ListDetectors API call.
batchDeleteDetectorAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchDeleteDetectorResult> batchDeleteDetectorAsync(BatchDeleteDetectorRequest request, AsyncHandler<BatchDeleteDetectorRequest,BatchDeleteDetectorResult> asyncHandler)
AWSIoTEventsDataAsyncDeletes one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the ListDetectors API call.
batchDeleteDetectorAsync 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<BatchDisableAlarmResult> batchDisableAlarmAsync(BatchDisableAlarmRequest request)
AWSIoTEventsDataAsync
Disables one or more alarms. The alarms change to the DISABLED state after you disable them.
batchDisableAlarmAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchDisableAlarmResult> batchDisableAlarmAsync(BatchDisableAlarmRequest request, AsyncHandler<BatchDisableAlarmRequest,BatchDisableAlarmResult> asyncHandler)
AWSIoTEventsDataAsync
Disables one or more alarms. The alarms change to the DISABLED state after you disable them.
batchDisableAlarmAsync 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<BatchEnableAlarmResult> batchEnableAlarmAsync(BatchEnableAlarmRequest request)
AWSIoTEventsDataAsync
Enables one or more alarms. The alarms change to the NORMAL state after you enable them.
batchEnableAlarmAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchEnableAlarmResult> batchEnableAlarmAsync(BatchEnableAlarmRequest request, AsyncHandler<BatchEnableAlarmRequest,BatchEnableAlarmResult> asyncHandler)
AWSIoTEventsDataAsync
Enables one or more alarms. The alarms change to the NORMAL state after you enable them.
batchEnableAlarmAsync 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<BatchPutMessageResult> batchPutMessageAsync(BatchPutMessageRequest request)
AWSIoTEventsDataAsync
Sends a set of messages to the 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 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<BatchResetAlarmResult> batchResetAlarmAsync(BatchResetAlarmRequest request)
AWSIoTEventsDataAsync
Resets one or more alarms. The alarms return to the NORMAL state after you reset them.
batchResetAlarmAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchResetAlarmResult> batchResetAlarmAsync(BatchResetAlarmRequest request, AsyncHandler<BatchResetAlarmRequest,BatchResetAlarmResult> asyncHandler)
AWSIoTEventsDataAsync
Resets one or more alarms. The alarms return to the NORMAL state after you reset them.
batchResetAlarmAsync 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<BatchSnoozeAlarmResult> batchSnoozeAlarmAsync(BatchSnoozeAlarmRequest request)
AWSIoTEventsDataAsync
Changes one or more alarms to the snooze mode. The alarms change to the SNOOZE_DISABLED state after
you set them to the snooze mode.
batchSnoozeAlarmAsync in interface AWSIoTEventsDataAsyncpublic Future<BatchSnoozeAlarmResult> batchSnoozeAlarmAsync(BatchSnoozeAlarmRequest request, AsyncHandler<BatchSnoozeAlarmRequest,BatchSnoozeAlarmResult> asyncHandler)
AWSIoTEventsDataAsync
Changes one or more alarms to the snooze mode. The alarms change to the SNOOZE_DISABLED state after
you set them to the snooze mode.
batchSnoozeAlarmAsync 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<DescribeAlarmResult> describeAlarmAsync(DescribeAlarmRequest request)
AWSIoTEventsDataAsyncRetrieves information about an alarm.
describeAlarmAsync in interface AWSIoTEventsDataAsyncpublic Future<DescribeAlarmResult> describeAlarmAsync(DescribeAlarmRequest request, AsyncHandler<DescribeAlarmRequest,DescribeAlarmResult> asyncHandler)
AWSIoTEventsDataAsyncRetrieves information about an alarm.
describeAlarmAsync 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<ListAlarmsResult> listAlarmsAsync(ListAlarmsRequest request)
AWSIoTEventsDataAsyncLists one or more alarms. The operation returns only the metadata associated with each alarm.
listAlarmsAsync in interface AWSIoTEventsDataAsyncpublic Future<ListAlarmsResult> listAlarmsAsync(ListAlarmsRequest request, AsyncHandler<ListAlarmsRequest,ListAlarmsResult> asyncHandler)
AWSIoTEventsDataAsyncLists one or more alarms. The operation returns only the metadata associated with each alarm.
listAlarmsAsync 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