@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIoTEventsAsync extends AWSIoTEvents
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIoTEventsAsync
instead.
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 API commands enable you to create, read, update and delete inputs and detector models, and to list their versions.
ENDPOINT_PREFIX
createDetectorModel, createInput, deleteDetectorModel, deleteInput, describeDetectorModel, describeInput, describeLoggingOptions, getCachedResponseMetadata, listDetectorModels, listDetectorModelVersions, listInputs, listTagsForResource, putLoggingOptions, shutdown, tagResource, untagResource, updateDetectorModel, updateInput
Future<CreateDetectorModelResult> createDetectorModelAsync(CreateDetectorModelRequest createDetectorModelRequest)
Creates a detector model.
createDetectorModelRequest
- Future<CreateDetectorModelResult> createDetectorModelAsync(CreateDetectorModelRequest createDetectorModelRequest, AsyncHandler<CreateDetectorModelRequest,CreateDetectorModelResult> asyncHandler)
Creates a detector model.
createDetectorModelRequest
- 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.Future<CreateInputResult> createInputAsync(CreateInputRequest createInputRequest)
Creates an input.
createInputRequest
- Future<CreateInputResult> createInputAsync(CreateInputRequest createInputRequest, AsyncHandler<CreateInputRequest,CreateInputResult> asyncHandler)
Creates an input.
createInputRequest
- 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.Future<DeleteDetectorModelResult> deleteDetectorModelAsync(DeleteDetectorModelRequest deleteDetectorModelRequest)
Deletes a detector model. Any active instances of the detector model are also deleted.
deleteDetectorModelRequest
- Future<DeleteDetectorModelResult> deleteDetectorModelAsync(DeleteDetectorModelRequest deleteDetectorModelRequest, AsyncHandler<DeleteDetectorModelRequest,DeleteDetectorModelResult> asyncHandler)
Deletes a detector model. Any active instances of the detector model are also deleted.
deleteDetectorModelRequest
- 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.Future<DeleteInputResult> deleteInputAsync(DeleteInputRequest deleteInputRequest)
Deletes an input.
deleteInputRequest
- Future<DeleteInputResult> deleteInputAsync(DeleteInputRequest deleteInputRequest, AsyncHandler<DeleteInputRequest,DeleteInputResult> asyncHandler)
Deletes an input.
deleteInputRequest
- 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.Future<DescribeDetectorModelResult> describeDetectorModelAsync(DescribeDetectorModelRequest describeDetectorModelRequest)
Describes a detector model. If the "version"
parameter is not specified, information about the
latest version is returned.
describeDetectorModelRequest
- Future<DescribeDetectorModelResult> describeDetectorModelAsync(DescribeDetectorModelRequest describeDetectorModelRequest, AsyncHandler<DescribeDetectorModelRequest,DescribeDetectorModelResult> asyncHandler)
Describes a detector model. If the "version"
parameter is not specified, information about the
latest version is returned.
describeDetectorModelRequest
- 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.Future<DescribeInputResult> describeInputAsync(DescribeInputRequest describeInputRequest)
Describes an input.
describeInputRequest
- Future<DescribeInputResult> describeInputAsync(DescribeInputRequest describeInputRequest, AsyncHandler<DescribeInputRequest,DescribeInputResult> asyncHandler)
Describes an input.
describeInputRequest
- 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.Future<DescribeLoggingOptionsResult> describeLoggingOptionsAsync(DescribeLoggingOptionsRequest describeLoggingOptionsRequest)
Retrieves the current settings of the AWS IoT Events logging options.
describeLoggingOptionsRequest
- Future<DescribeLoggingOptionsResult> describeLoggingOptionsAsync(DescribeLoggingOptionsRequest describeLoggingOptionsRequest, AsyncHandler<DescribeLoggingOptionsRequest,DescribeLoggingOptionsResult> asyncHandler)
Retrieves the current settings of the AWS IoT Events logging options.
describeLoggingOptionsRequest
- 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.Future<ListDetectorModelVersionsResult> listDetectorModelVersionsAsync(ListDetectorModelVersionsRequest listDetectorModelVersionsRequest)
Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
listDetectorModelVersionsRequest
- Future<ListDetectorModelVersionsResult> listDetectorModelVersionsAsync(ListDetectorModelVersionsRequest listDetectorModelVersionsRequest, AsyncHandler<ListDetectorModelVersionsRequest,ListDetectorModelVersionsResult> asyncHandler)
Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
listDetectorModelVersionsRequest
- 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.Future<ListDetectorModelsResult> listDetectorModelsAsync(ListDetectorModelsRequest listDetectorModelsRequest)
Lists the detector models you have created. Only the metadata associated with each detector model is returned.
listDetectorModelsRequest
- Future<ListDetectorModelsResult> listDetectorModelsAsync(ListDetectorModelsRequest listDetectorModelsRequest, AsyncHandler<ListDetectorModelsRequest,ListDetectorModelsResult> asyncHandler)
Lists the detector models you have created. Only the metadata associated with each detector model is returned.
listDetectorModelsRequest
- 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.Future<ListInputsResult> listInputsAsync(ListInputsRequest listInputsRequest)
Lists the inputs you have created.
listInputsRequest
- Future<ListInputsResult> listInputsAsync(ListInputsRequest listInputsRequest, AsyncHandler<ListInputsRequest,ListInputsResult> asyncHandler)
Lists the inputs you have created.
listInputsRequest
- 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.Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags (metadata) you have assigned to the resource.
listTagsForResourceRequest
- 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.Future<PutLoggingOptionsResult> putLoggingOptionsAsync(PutLoggingOptionsRequest putLoggingOptionsRequest)
Sets 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. Also, 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.
putLoggingOptionsRequest
- Future<PutLoggingOptionsResult> putLoggingOptionsAsync(PutLoggingOptionsRequest putLoggingOptionsRequest, AsyncHandler<PutLoggingOptionsRequest,PutLoggingOptionsResult> asyncHandler)
Sets 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. Also, 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.
putLoggingOptionsRequest
- 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceRequest
- 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.Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Removes the given tags (metadata) from the resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes the given tags (metadata) from the resource.
untagResourceRequest
- 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.Future<UpdateDetectorModelResult> updateDetectorModelAsync(UpdateDetectorModelRequest updateDetectorModelRequest)
Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
updateDetectorModelRequest
- Future<UpdateDetectorModelResult> updateDetectorModelAsync(UpdateDetectorModelRequest updateDetectorModelRequest, AsyncHandler<UpdateDetectorModelRequest,UpdateDetectorModelResult> asyncHandler)
Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
updateDetectorModelRequest
- 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.Future<UpdateInputResult> updateInputAsync(UpdateInputRequest updateInputRequest)
Updates an input.
updateInputRequest
- Future<UpdateInputResult> updateInputAsync(UpdateInputRequest updateInputRequest, AsyncHandler<UpdateInputRequest,UpdateInputResult> asyncHandler)
Updates an input.
updateInputRequest
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.