@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTEventsAsyncClient extends AWSIoTEventsClient implements AWSIoTEventsAsync
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. You can use AWS IoT Events API operations to create, read, update, and delete inputs and detector models, and to list their versions.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbuilder, createAlarmModel, createDetectorModel, createInput, deleteAlarmModel, deleteDetectorModel, deleteInput, describeAlarmModel, describeDetectorModel, describeDetectorModelAnalysis, describeInput, describeLoggingOptions, getCachedResponseMetadata, getDetectorModelAnalysisResults, listAlarmModels, listAlarmModelVersions, listDetectorModels, listDetectorModelVersions, listInputRoutings, listInputs, listTagsForResource, putLoggingOptions, startDetectorModelAnalysis, tagResource, untagResource, updateAlarmModel, updateDetectorModel, updateInputaddRequestHandler, 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, waitcreateAlarmModel, createDetectorModel, createInput, deleteAlarmModel, deleteDetectorModel, deleteInput, describeAlarmModel, describeDetectorModel, describeDetectorModelAnalysis, describeInput, describeLoggingOptions, getCachedResponseMetadata, getDetectorModelAnalysisResults, listAlarmModels, listAlarmModelVersions, listDetectorModels, listDetectorModelVersions, listInputRoutings, listInputs, listTagsForResource, putLoggingOptions, startDetectorModelAnalysis, tagResource, untagResource, updateAlarmModel, updateDetectorModel, updateInputpublic static AWSIoTEventsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateAlarmModelResult> createAlarmModelAsync(CreateAlarmModelRequest request)
AWSIoTEventsAsyncCreates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.
createAlarmModelAsync in interface AWSIoTEventsAsyncpublic Future<CreateAlarmModelResult> createAlarmModelAsync(CreateAlarmModelRequest request, AsyncHandler<CreateAlarmModelRequest,CreateAlarmModelResult> asyncHandler)
AWSIoTEventsAsyncCreates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.
createAlarmModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<CreateDetectorModelResult> createDetectorModelAsync(CreateDetectorModelRequest request)
AWSIoTEventsAsyncCreates a detector model.
createDetectorModelAsync in interface AWSIoTEventsAsyncpublic Future<CreateDetectorModelResult> createDetectorModelAsync(CreateDetectorModelRequest request, AsyncHandler<CreateDetectorModelRequest,CreateDetectorModelResult> asyncHandler)
AWSIoTEventsAsyncCreates a detector model.
createDetectorModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<CreateInputResult> createInputAsync(CreateInputRequest request)
AWSIoTEventsAsyncCreates an input.
createInputAsync in interface AWSIoTEventsAsyncpublic Future<CreateInputResult> createInputAsync(CreateInputRequest request, AsyncHandler<CreateInputRequest,CreateInputResult> asyncHandler)
AWSIoTEventsAsyncCreates an input.
createInputAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DeleteAlarmModelResult> deleteAlarmModelAsync(DeleteAlarmModelRequest request)
AWSIoTEventsAsyncDeletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
deleteAlarmModelAsync in interface AWSIoTEventsAsyncpublic Future<DeleteAlarmModelResult> deleteAlarmModelAsync(DeleteAlarmModelRequest request, AsyncHandler<DeleteAlarmModelRequest,DeleteAlarmModelResult> asyncHandler)
AWSIoTEventsAsyncDeletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
deleteAlarmModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DeleteDetectorModelResult> deleteDetectorModelAsync(DeleteDetectorModelRequest request)
AWSIoTEventsAsyncDeletes a detector model. Any active instances of the detector model are also deleted.
deleteDetectorModelAsync in interface AWSIoTEventsAsyncpublic Future<DeleteDetectorModelResult> deleteDetectorModelAsync(DeleteDetectorModelRequest request, AsyncHandler<DeleteDetectorModelRequest,DeleteDetectorModelResult> asyncHandler)
AWSIoTEventsAsyncDeletes a detector model. Any active instances of the detector model are also deleted.
deleteDetectorModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DeleteInputResult> deleteInputAsync(DeleteInputRequest request)
AWSIoTEventsAsyncDeletes an input.
deleteInputAsync in interface AWSIoTEventsAsyncpublic Future<DeleteInputResult> deleteInputAsync(DeleteInputRequest request, AsyncHandler<DeleteInputRequest,DeleteInputResult> asyncHandler)
AWSIoTEventsAsyncDeletes an input.
deleteInputAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DescribeAlarmModelResult> describeAlarmModelAsync(DescribeAlarmModelRequest request)
AWSIoTEventsAsync
Retrieves information about an alarm model. If you don't specify a value for the alarmModelVersion
parameter, the latest version is returned.
describeAlarmModelAsync in interface AWSIoTEventsAsyncpublic Future<DescribeAlarmModelResult> describeAlarmModelAsync(DescribeAlarmModelRequest request, AsyncHandler<DescribeAlarmModelRequest,DescribeAlarmModelResult> asyncHandler)
AWSIoTEventsAsync
Retrieves information about an alarm model. If you don't specify a value for the alarmModelVersion
parameter, the latest version is returned.
describeAlarmModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DescribeDetectorModelResult> describeDetectorModelAsync(DescribeDetectorModelRequest request)
AWSIoTEventsAsync
Describes a detector model. If the version parameter is not specified, information about the latest
version is returned.
describeDetectorModelAsync in interface AWSIoTEventsAsyncpublic Future<DescribeDetectorModelResult> describeDetectorModelAsync(DescribeDetectorModelRequest request, AsyncHandler<DescribeDetectorModelRequest,DescribeDetectorModelResult> asyncHandler)
AWSIoTEventsAsync
Describes a detector model. If the version parameter is not specified, information about the latest
version is returned.
describeDetectorModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DescribeDetectorModelAnalysisResult> describeDetectorModelAnalysisAsync(DescribeDetectorModelAnalysisRequest request)
AWSIoTEventsAsyncRetrieves runtime information about a detector model analysis.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
describeDetectorModelAnalysisAsync in interface AWSIoTEventsAsyncpublic Future<DescribeDetectorModelAnalysisResult> describeDetectorModelAnalysisAsync(DescribeDetectorModelAnalysisRequest request, AsyncHandler<DescribeDetectorModelAnalysisRequest,DescribeDetectorModelAnalysisResult> asyncHandler)
AWSIoTEventsAsyncRetrieves runtime information about a detector model analysis.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
describeDetectorModelAnalysisAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DescribeInputResult> describeInputAsync(DescribeInputRequest request)
AWSIoTEventsAsyncDescribes an input.
describeInputAsync in interface AWSIoTEventsAsyncpublic Future<DescribeInputResult> describeInputAsync(DescribeInputRequest request, AsyncHandler<DescribeInputRequest,DescribeInputResult> asyncHandler)
AWSIoTEventsAsyncDescribes an input.
describeInputAsync in interface AWSIoTEventsAsyncasyncHandler - 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<DescribeLoggingOptionsResult> describeLoggingOptionsAsync(DescribeLoggingOptionsRequest request)
AWSIoTEventsAsyncRetrieves the current settings of the AWS IoT Events logging options.
describeLoggingOptionsAsync in interface AWSIoTEventsAsyncpublic Future<DescribeLoggingOptionsResult> describeLoggingOptionsAsync(DescribeLoggingOptionsRequest request, AsyncHandler<DescribeLoggingOptionsRequest,DescribeLoggingOptionsResult> asyncHandler)
AWSIoTEventsAsyncRetrieves the current settings of the AWS IoT Events logging options.
describeLoggingOptionsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<GetDetectorModelAnalysisResultsResult> getDetectorModelAnalysisResultsAsync(GetDetectorModelAnalysisResultsRequest request)
AWSIoTEventsAsyncRetrieves one or more analysis results of the detector model.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
getDetectorModelAnalysisResultsAsync in interface AWSIoTEventsAsyncpublic Future<GetDetectorModelAnalysisResultsResult> getDetectorModelAnalysisResultsAsync(GetDetectorModelAnalysisResultsRequest request, AsyncHandler<GetDetectorModelAnalysisResultsRequest,GetDetectorModelAnalysisResultsResult> asyncHandler)
AWSIoTEventsAsyncRetrieves one or more analysis results of the detector model.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
getDetectorModelAnalysisResultsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<ListAlarmModelVersionsResult> listAlarmModelVersionsAsync(ListAlarmModelVersionsRequest request)
AWSIoTEventsAsyncLists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.
listAlarmModelVersionsAsync in interface AWSIoTEventsAsyncpublic Future<ListAlarmModelVersionsResult> listAlarmModelVersionsAsync(ListAlarmModelVersionsRequest request, AsyncHandler<ListAlarmModelVersionsRequest,ListAlarmModelVersionsResult> asyncHandler)
AWSIoTEventsAsyncLists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.
listAlarmModelVersionsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<ListAlarmModelsResult> listAlarmModelsAsync(ListAlarmModelsRequest request)
AWSIoTEventsAsyncLists the alarm models that you created. The operation returns only the metadata associated with each alarm model.
listAlarmModelsAsync in interface AWSIoTEventsAsyncpublic Future<ListAlarmModelsResult> listAlarmModelsAsync(ListAlarmModelsRequest request, AsyncHandler<ListAlarmModelsRequest,ListAlarmModelsResult> asyncHandler)
AWSIoTEventsAsyncLists the alarm models that you created. The operation returns only the metadata associated with each alarm model.
listAlarmModelsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<ListDetectorModelVersionsResult> listDetectorModelVersionsAsync(ListDetectorModelVersionsRequest request)
AWSIoTEventsAsyncLists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
listDetectorModelVersionsAsync in interface AWSIoTEventsAsyncpublic Future<ListDetectorModelVersionsResult> listDetectorModelVersionsAsync(ListDetectorModelVersionsRequest request, AsyncHandler<ListDetectorModelVersionsRequest,ListDetectorModelVersionsResult> asyncHandler)
AWSIoTEventsAsyncLists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
listDetectorModelVersionsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<ListDetectorModelsResult> listDetectorModelsAsync(ListDetectorModelsRequest request)
AWSIoTEventsAsyncLists the detector models you have created. Only the metadata associated with each detector model is returned.
listDetectorModelsAsync in interface AWSIoTEventsAsyncpublic Future<ListDetectorModelsResult> listDetectorModelsAsync(ListDetectorModelsRequest request, AsyncHandler<ListDetectorModelsRequest,ListDetectorModelsResult> asyncHandler)
AWSIoTEventsAsyncLists the detector models you have created. Only the metadata associated with each detector model is returned.
listDetectorModelsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<ListInputRoutingsResult> listInputRoutingsAsync(ListInputRoutingsRequest request)
AWSIoTEventsAsyncLists one or more input routings.
listInputRoutingsAsync in interface AWSIoTEventsAsyncpublic Future<ListInputRoutingsResult> listInputRoutingsAsync(ListInputRoutingsRequest request, AsyncHandler<ListInputRoutingsRequest,ListInputRoutingsResult> asyncHandler)
AWSIoTEventsAsyncLists one or more input routings.
listInputRoutingsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<ListInputsResult> listInputsAsync(ListInputsRequest request)
AWSIoTEventsAsyncLists the inputs you have created.
listInputsAsync in interface AWSIoTEventsAsyncpublic Future<ListInputsResult> listInputsAsync(ListInputsRequest request, AsyncHandler<ListInputsRequest,ListInputsResult> asyncHandler)
AWSIoTEventsAsyncLists the inputs you have created.
listInputsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSIoTEventsAsyncLists the tags (metadata) you have assigned to the resource.
listTagsForResourceAsync in interface AWSIoTEventsAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIoTEventsAsyncLists the tags (metadata) you have assigned to the resource.
listTagsForResourceAsync in interface AWSIoTEventsAsyncasyncHandler - 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<PutLoggingOptionsResult> putLoggingOptionsAsync(PutLoggingOptionsRequest request)
AWSIoTEventsAsyncSets or updates the AWS IoT Events logging options.
If you update the value of any loggingOptions field, it takes up to one minute for the change to
take effect. If you change the policy attached to the role you specified in the roleArn field (for
example, to correct an invalid policy), it takes up to five minutes for that change to take effect.
putLoggingOptionsAsync in interface AWSIoTEventsAsyncpublic Future<PutLoggingOptionsResult> putLoggingOptionsAsync(PutLoggingOptionsRequest request, AsyncHandler<PutLoggingOptionsRequest,PutLoggingOptionsResult> asyncHandler)
AWSIoTEventsAsyncSets or updates the AWS IoT Events logging options.
If you update the value of any loggingOptions field, it takes up to one minute for the change to
take effect. If you change the policy attached to the role you specified in the roleArn field (for
example, to correct an invalid policy), it takes up to five minutes for that change to take effect.
putLoggingOptionsAsync in interface AWSIoTEventsAsyncasyncHandler - 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<StartDetectorModelAnalysisResult> startDetectorModelAnalysisAsync(StartDetectorModelAnalysisRequest request)
AWSIoTEventsAsyncPerforms an analysis of your detector model. For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.
startDetectorModelAnalysisAsync in interface AWSIoTEventsAsyncpublic Future<StartDetectorModelAnalysisResult> startDetectorModelAnalysisAsync(StartDetectorModelAnalysisRequest request, AsyncHandler<StartDetectorModelAnalysisRequest,StartDetectorModelAnalysisResult> asyncHandler)
AWSIoTEventsAsyncPerforms an analysis of your detector model. For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.
startDetectorModelAnalysisAsync in interface AWSIoTEventsAsyncasyncHandler - 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSIoTEventsAsyncAdds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceAsync in interface AWSIoTEventsAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIoTEventsAsyncAdds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceAsync in interface AWSIoTEventsAsyncasyncHandler - 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSIoTEventsAsyncRemoves the given tags (metadata) from the resource.
untagResourceAsync in interface AWSIoTEventsAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIoTEventsAsyncRemoves the given tags (metadata) from the resource.
untagResourceAsync in interface AWSIoTEventsAsyncasyncHandler - 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<UpdateAlarmModelResult> updateAlarmModelAsync(UpdateAlarmModelRequest request)
AWSIoTEventsAsyncUpdates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
updateAlarmModelAsync in interface AWSIoTEventsAsyncpublic Future<UpdateAlarmModelResult> updateAlarmModelAsync(UpdateAlarmModelRequest request, AsyncHandler<UpdateAlarmModelRequest,UpdateAlarmModelResult> asyncHandler)
AWSIoTEventsAsyncUpdates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
updateAlarmModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<UpdateDetectorModelResult> updateDetectorModelAsync(UpdateDetectorModelRequest request)
AWSIoTEventsAsyncUpdates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
updateDetectorModelAsync in interface AWSIoTEventsAsyncpublic Future<UpdateDetectorModelResult> updateDetectorModelAsync(UpdateDetectorModelRequest request, AsyncHandler<UpdateDetectorModelRequest,UpdateDetectorModelResult> asyncHandler)
AWSIoTEventsAsyncUpdates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
updateDetectorModelAsync in interface AWSIoTEventsAsyncasyncHandler - 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<UpdateInputResult> updateInputAsync(UpdateInputRequest request)
AWSIoTEventsAsyncUpdates an input.
updateInputAsync in interface AWSIoTEventsAsyncpublic Future<UpdateInputResult> updateInputAsync(UpdateInputRequest request, AsyncHandler<UpdateInputRequest,UpdateInputResult> asyncHandler)
AWSIoTEventsAsyncUpdates an input.
updateInputAsync in interface AWSIoTEventsAsyncasyncHandler - 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 AWSIoTEventsshutdown in class AWSIoTEventsClient