@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTAnalyticsAsyncClient extends AWSIoTAnalyticsClient implements AWSIoTAnalyticsAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
IoT Analytics allows you to collect large amounts of device data, process messages, and store them. You can then query the data and run sophisticated analytics on it. IoT Analytics enables advanced data exploration through integration with Jupyter Notebooks and data visualization through integration with Amazon QuickSight.
Traditional analytics and business intelligence tools are designed to process structured data. IoT data often comes from devices that record noisy processes (such as temperature, motion, or sound). As a result the data from these devices can have significant gaps, corrupted messages, and false readings that must be cleaned up before analysis can occur. Also, IoT data is often only meaningful in the context of other data from external sources.
IoT Analytics automates the steps required to analyze data from IoT devices. IoT Analytics filters, transforms, and enriches IoT data before storing it in a time-series data store for analysis. You can set up the service to collect only the data you need from your devices, apply mathematical transforms to process the data, and enrich the data with device-specific metadata such as device type and location before storing it. Then, you can analyze your data by running queries using the built-in SQL query engine, or perform more complex analytics and machine learning inference. IoT Analytics includes pre-built models for common IoT use cases so you can answer questions like which devices are about to fail or which customers are at risk of abandoning their wearable devices.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
batchPutMessage, builder, cancelPipelineReprocessing, createChannel, createDataset, createDatasetContent, createDatastore, createPipeline, deleteChannel, deleteDataset, deleteDatasetContent, deleteDatastore, deletePipeline, describeChannel, describeDataset, describeDatastore, describeLoggingOptions, describePipeline, getCachedResponseMetadata, getDatasetContent, listChannels, listDatasetContents, listDatasets, listDatastores, listPipelines, listTagsForResource, putLoggingOptions, runPipelineActivity, sampleChannelData, startPipelineReprocessing, tagResource, untagResource, updateChannel, updateDataset, updateDatastore, updatePipeline
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, cancelPipelineReprocessing, createChannel, createDataset, createDatasetContent, createDatastore, createPipeline, deleteChannel, deleteDataset, deleteDatasetContent, deleteDatastore, deletePipeline, describeChannel, describeDataset, describeDatastore, describeLoggingOptions, describePipeline, getCachedResponseMetadata, getDatasetContent, listChannels, listDatasetContents, listDatasets, listDatastores, listPipelines, listTagsForResource, putLoggingOptions, runPipelineActivity, sampleChannelData, startPipelineReprocessing, tagResource, untagResource, updateChannel, updateDataset, updateDatastore, updatePipeline
public static AWSIoTAnalyticsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchPutMessageResult> batchPutMessageAsync(BatchPutMessageRequest request)
AWSIoTAnalyticsAsync
Sends messages to a channel.
batchPutMessageAsync
in interface AWSIoTAnalyticsAsync
public Future<BatchPutMessageResult> batchPutMessageAsync(BatchPutMessageRequest request, AsyncHandler<BatchPutMessageRequest,BatchPutMessageResult> asyncHandler)
AWSIoTAnalyticsAsync
Sends messages to a channel.
batchPutMessageAsync
in interface AWSIoTAnalyticsAsync
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<CancelPipelineReprocessingResult> cancelPipelineReprocessingAsync(CancelPipelineReprocessingRequest request)
AWSIoTAnalyticsAsync
Cancels the reprocessing of data through the pipeline.
cancelPipelineReprocessingAsync
in interface AWSIoTAnalyticsAsync
public Future<CancelPipelineReprocessingResult> cancelPipelineReprocessingAsync(CancelPipelineReprocessingRequest request, AsyncHandler<CancelPipelineReprocessingRequest,CancelPipelineReprocessingResult> asyncHandler)
AWSIoTAnalyticsAsync
Cancels the reprocessing of data through the pipeline.
cancelPipelineReprocessingAsync
in interface AWSIoTAnalyticsAsync
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<CreateChannelResult> createChannelAsync(CreateChannelRequest request)
AWSIoTAnalyticsAsync
Used to create a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline.
createChannelAsync
in interface AWSIoTAnalyticsAsync
public Future<CreateChannelResult> createChannelAsync(CreateChannelRequest request, AsyncHandler<CreateChannelRequest,CreateChannelResult> asyncHandler)
AWSIoTAnalyticsAsync
Used to create a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline.
createChannelAsync
in interface AWSIoTAnalyticsAsync
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<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest request)
AWSIoTAnalyticsAsync
Used to create a dataset. A dataset stores data retrieved from a data store by applying a
queryAction
(a SQL query) or a containerAction
(executing a containerized application).
This operation creates the skeleton of a dataset. The dataset can be populated manually by calling
CreateDatasetContent
or automatically according to a trigger you specify.
createDatasetAsync
in interface AWSIoTAnalyticsAsync
public Future<CreateDatasetResult> createDatasetAsync(CreateDatasetRequest request, AsyncHandler<CreateDatasetRequest,CreateDatasetResult> asyncHandler)
AWSIoTAnalyticsAsync
Used to create a dataset. A dataset stores data retrieved from a data store by applying a
queryAction
(a SQL query) or a containerAction
(executing a containerized application).
This operation creates the skeleton of a dataset. The dataset can be populated manually by calling
CreateDatasetContent
or automatically according to a trigger you specify.
createDatasetAsync
in interface AWSIoTAnalyticsAsync
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<CreateDatasetContentResult> createDatasetContentAsync(CreateDatasetContentRequest request)
AWSIoTAnalyticsAsync
Creates the content of a dataset by applying a queryAction
(a SQL query) or a
containerAction
(executing a containerized application).
createDatasetContentAsync
in interface AWSIoTAnalyticsAsync
public Future<CreateDatasetContentResult> createDatasetContentAsync(CreateDatasetContentRequest request, AsyncHandler<CreateDatasetContentRequest,CreateDatasetContentResult> asyncHandler)
AWSIoTAnalyticsAsync
Creates the content of a dataset by applying a queryAction
(a SQL query) or a
containerAction
(executing a containerized application).
createDatasetContentAsync
in interface AWSIoTAnalyticsAsync
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<CreateDatastoreResult> createDatastoreAsync(CreateDatastoreRequest request)
AWSIoTAnalyticsAsync
Creates a data store, which is a repository for messages.
createDatastoreAsync
in interface AWSIoTAnalyticsAsync
public Future<CreateDatastoreResult> createDatastoreAsync(CreateDatastoreRequest request, AsyncHandler<CreateDatastoreRequest,CreateDatastoreResult> asyncHandler)
AWSIoTAnalyticsAsync
Creates a data store, which is a repository for messages.
createDatastoreAsync
in interface AWSIoTAnalyticsAsync
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<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest request)
AWSIoTAnalyticsAsync
Creates a pipeline. A pipeline consumes messages from a channel and allows you to process the messages before
storing them in a data store. You must specify both a channel
and a datastore
activity
and, optionally, as many as 23 additional activities in the pipelineActivities
array.
createPipelineAsync
in interface AWSIoTAnalyticsAsync
public Future<CreatePipelineResult> createPipelineAsync(CreatePipelineRequest request, AsyncHandler<CreatePipelineRequest,CreatePipelineResult> asyncHandler)
AWSIoTAnalyticsAsync
Creates a pipeline. A pipeline consumes messages from a channel and allows you to process the messages before
storing them in a data store. You must specify both a channel
and a datastore
activity
and, optionally, as many as 23 additional activities in the pipelineActivities
array.
createPipelineAsync
in interface AWSIoTAnalyticsAsync
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<DeleteChannelResult> deleteChannelAsync(DeleteChannelRequest request)
AWSIoTAnalyticsAsync
Deletes the specified channel.
deleteChannelAsync
in interface AWSIoTAnalyticsAsync
public Future<DeleteChannelResult> deleteChannelAsync(DeleteChannelRequest request, AsyncHandler<DeleteChannelRequest,DeleteChannelResult> asyncHandler)
AWSIoTAnalyticsAsync
Deletes the specified channel.
deleteChannelAsync
in interface AWSIoTAnalyticsAsync
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<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest request)
AWSIoTAnalyticsAsync
Deletes the specified dataset.
You do not have to delete the content of the dataset before you perform this operation.
deleteDatasetAsync
in interface AWSIoTAnalyticsAsync
public Future<DeleteDatasetResult> deleteDatasetAsync(DeleteDatasetRequest request, AsyncHandler<DeleteDatasetRequest,DeleteDatasetResult> asyncHandler)
AWSIoTAnalyticsAsync
Deletes the specified dataset.
You do not have to delete the content of the dataset before you perform this operation.
deleteDatasetAsync
in interface AWSIoTAnalyticsAsync
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<DeleteDatasetContentResult> deleteDatasetContentAsync(DeleteDatasetContentRequest request)
AWSIoTAnalyticsAsync
Deletes the content of the specified dataset.
deleteDatasetContentAsync
in interface AWSIoTAnalyticsAsync
public Future<DeleteDatasetContentResult> deleteDatasetContentAsync(DeleteDatasetContentRequest request, AsyncHandler<DeleteDatasetContentRequest,DeleteDatasetContentResult> asyncHandler)
AWSIoTAnalyticsAsync
Deletes the content of the specified dataset.
deleteDatasetContentAsync
in interface AWSIoTAnalyticsAsync
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<DeleteDatastoreResult> deleteDatastoreAsync(DeleteDatastoreRequest request)
AWSIoTAnalyticsAsync
Deletes the specified data store.
deleteDatastoreAsync
in interface AWSIoTAnalyticsAsync
public Future<DeleteDatastoreResult> deleteDatastoreAsync(DeleteDatastoreRequest request, AsyncHandler<DeleteDatastoreRequest,DeleteDatastoreResult> asyncHandler)
AWSIoTAnalyticsAsync
Deletes the specified data store.
deleteDatastoreAsync
in interface AWSIoTAnalyticsAsync
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<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest request)
AWSIoTAnalyticsAsync
Deletes the specified pipeline.
deletePipelineAsync
in interface AWSIoTAnalyticsAsync
public Future<DeletePipelineResult> deletePipelineAsync(DeletePipelineRequest request, AsyncHandler<DeletePipelineRequest,DeletePipelineResult> asyncHandler)
AWSIoTAnalyticsAsync
Deletes the specified pipeline.
deletePipelineAsync
in interface AWSIoTAnalyticsAsync
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<DescribeChannelResult> describeChannelAsync(DescribeChannelRequest request)
AWSIoTAnalyticsAsync
Retrieves information about a channel.
describeChannelAsync
in interface AWSIoTAnalyticsAsync
public Future<DescribeChannelResult> describeChannelAsync(DescribeChannelRequest request, AsyncHandler<DescribeChannelRequest,DescribeChannelResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves information about a channel.
describeChannelAsync
in interface AWSIoTAnalyticsAsync
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<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest request)
AWSIoTAnalyticsAsync
Retrieves information about a dataset.
describeDatasetAsync
in interface AWSIoTAnalyticsAsync
public Future<DescribeDatasetResult> describeDatasetAsync(DescribeDatasetRequest request, AsyncHandler<DescribeDatasetRequest,DescribeDatasetResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves information about a dataset.
describeDatasetAsync
in interface AWSIoTAnalyticsAsync
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<DescribeDatastoreResult> describeDatastoreAsync(DescribeDatastoreRequest request)
AWSIoTAnalyticsAsync
Retrieves information about a data store.
describeDatastoreAsync
in interface AWSIoTAnalyticsAsync
public Future<DescribeDatastoreResult> describeDatastoreAsync(DescribeDatastoreRequest request, AsyncHandler<DescribeDatastoreRequest,DescribeDatastoreResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves information about a data store.
describeDatastoreAsync
in interface AWSIoTAnalyticsAsync
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<DescribeLoggingOptionsResult> describeLoggingOptionsAsync(DescribeLoggingOptionsRequest request)
AWSIoTAnalyticsAsync
Retrieves the current settings of the IoT Analytics logging options.
describeLoggingOptionsAsync
in interface AWSIoTAnalyticsAsync
public Future<DescribeLoggingOptionsResult> describeLoggingOptionsAsync(DescribeLoggingOptionsRequest request, AsyncHandler<DescribeLoggingOptionsRequest,DescribeLoggingOptionsResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves the current settings of the IoT Analytics logging options.
describeLoggingOptionsAsync
in interface AWSIoTAnalyticsAsync
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<DescribePipelineResult> describePipelineAsync(DescribePipelineRequest request)
AWSIoTAnalyticsAsync
Retrieves information about a pipeline.
describePipelineAsync
in interface AWSIoTAnalyticsAsync
public Future<DescribePipelineResult> describePipelineAsync(DescribePipelineRequest request, AsyncHandler<DescribePipelineRequest,DescribePipelineResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves information about a pipeline.
describePipelineAsync
in interface AWSIoTAnalyticsAsync
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<GetDatasetContentResult> getDatasetContentAsync(GetDatasetContentRequest request)
AWSIoTAnalyticsAsync
Retrieves the contents of a dataset as presigned URIs.
getDatasetContentAsync
in interface AWSIoTAnalyticsAsync
public Future<GetDatasetContentResult> getDatasetContentAsync(GetDatasetContentRequest request, AsyncHandler<GetDatasetContentRequest,GetDatasetContentResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves the contents of a dataset as presigned URIs.
getDatasetContentAsync
in interface AWSIoTAnalyticsAsync
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<ListChannelsResult> listChannelsAsync(ListChannelsRequest request)
AWSIoTAnalyticsAsync
Retrieves a list of channels.
listChannelsAsync
in interface AWSIoTAnalyticsAsync
public Future<ListChannelsResult> listChannelsAsync(ListChannelsRequest request, AsyncHandler<ListChannelsRequest,ListChannelsResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves a list of channels.
listChannelsAsync
in interface AWSIoTAnalyticsAsync
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<ListDatasetContentsResult> listDatasetContentsAsync(ListDatasetContentsRequest request)
AWSIoTAnalyticsAsync
Lists information about dataset contents that have been created.
listDatasetContentsAsync
in interface AWSIoTAnalyticsAsync
public Future<ListDatasetContentsResult> listDatasetContentsAsync(ListDatasetContentsRequest request, AsyncHandler<ListDatasetContentsRequest,ListDatasetContentsResult> asyncHandler)
AWSIoTAnalyticsAsync
Lists information about dataset contents that have been created.
listDatasetContentsAsync
in interface AWSIoTAnalyticsAsync
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<ListDatasetsResult> listDatasetsAsync(ListDatasetsRequest request)
AWSIoTAnalyticsAsync
Retrieves information about datasets.
listDatasetsAsync
in interface AWSIoTAnalyticsAsync
public Future<ListDatasetsResult> listDatasetsAsync(ListDatasetsRequest request, AsyncHandler<ListDatasetsRequest,ListDatasetsResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves information about datasets.
listDatasetsAsync
in interface AWSIoTAnalyticsAsync
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<ListDatastoresResult> listDatastoresAsync(ListDatastoresRequest request)
AWSIoTAnalyticsAsync
Retrieves a list of data stores.
listDatastoresAsync
in interface AWSIoTAnalyticsAsync
public Future<ListDatastoresResult> listDatastoresAsync(ListDatastoresRequest request, AsyncHandler<ListDatastoresRequest,ListDatastoresResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves a list of data stores.
listDatastoresAsync
in interface AWSIoTAnalyticsAsync
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<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest request)
AWSIoTAnalyticsAsync
Retrieves a list of pipelines.
listPipelinesAsync
in interface AWSIoTAnalyticsAsync
public Future<ListPipelinesResult> listPipelinesAsync(ListPipelinesRequest request, AsyncHandler<ListPipelinesRequest,ListPipelinesResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves a list of pipelines.
listPipelinesAsync
in interface AWSIoTAnalyticsAsync
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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSIoTAnalyticsAsync
Lists the tags (metadata) that you have assigned to the resource.
listTagsForResourceAsync
in interface AWSIoTAnalyticsAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSIoTAnalyticsAsync
Lists the tags (metadata) that you have assigned to the resource.
listTagsForResourceAsync
in interface AWSIoTAnalyticsAsync
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<PutLoggingOptionsResult> putLoggingOptionsAsync(PutLoggingOptionsRequest request)
AWSIoTAnalyticsAsync
Sets or updates the IoT Analytics 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.
putLoggingOptionsAsync
in interface AWSIoTAnalyticsAsync
public Future<PutLoggingOptionsResult> putLoggingOptionsAsync(PutLoggingOptionsRequest request, AsyncHandler<PutLoggingOptionsRequest,PutLoggingOptionsResult> asyncHandler)
AWSIoTAnalyticsAsync
Sets or updates the IoT Analytics 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.
putLoggingOptionsAsync
in interface AWSIoTAnalyticsAsync
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<RunPipelineActivityResult> runPipelineActivityAsync(RunPipelineActivityRequest request)
AWSIoTAnalyticsAsync
Simulates the results of running a pipeline activity on a message payload.
runPipelineActivityAsync
in interface AWSIoTAnalyticsAsync
public Future<RunPipelineActivityResult> runPipelineActivityAsync(RunPipelineActivityRequest request, AsyncHandler<RunPipelineActivityRequest,RunPipelineActivityResult> asyncHandler)
AWSIoTAnalyticsAsync
Simulates the results of running a pipeline activity on a message payload.
runPipelineActivityAsync
in interface AWSIoTAnalyticsAsync
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<SampleChannelDataResult> sampleChannelDataAsync(SampleChannelDataRequest request)
AWSIoTAnalyticsAsync
Retrieves a sample of messages from the specified channel ingested during the specified timeframe. Up to 10 messages can be retrieved.
sampleChannelDataAsync
in interface AWSIoTAnalyticsAsync
public Future<SampleChannelDataResult> sampleChannelDataAsync(SampleChannelDataRequest request, AsyncHandler<SampleChannelDataRequest,SampleChannelDataResult> asyncHandler)
AWSIoTAnalyticsAsync
Retrieves a sample of messages from the specified channel ingested during the specified timeframe. Up to 10 messages can be retrieved.
sampleChannelDataAsync
in interface AWSIoTAnalyticsAsync
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<StartPipelineReprocessingResult> startPipelineReprocessingAsync(StartPipelineReprocessingRequest request)
AWSIoTAnalyticsAsync
Starts the reprocessing of raw message data through the pipeline.
startPipelineReprocessingAsync
in interface AWSIoTAnalyticsAsync
public Future<StartPipelineReprocessingResult> startPipelineReprocessingAsync(StartPipelineReprocessingRequest request, AsyncHandler<StartPipelineReprocessingRequest,StartPipelineReprocessingResult> asyncHandler)
AWSIoTAnalyticsAsync
Starts the reprocessing of raw message data through the pipeline.
startPipelineReprocessingAsync
in interface AWSIoTAnalyticsAsync
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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSIoTAnalyticsAsync
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceAsync
in interface AWSIoTAnalyticsAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSIoTAnalyticsAsync
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceAsync
in interface AWSIoTAnalyticsAsync
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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSIoTAnalyticsAsync
Removes the given tags (metadata) from the resource.
untagResourceAsync
in interface AWSIoTAnalyticsAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSIoTAnalyticsAsync
Removes the given tags (metadata) from the resource.
untagResourceAsync
in interface AWSIoTAnalyticsAsync
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<UpdateChannelResult> updateChannelAsync(UpdateChannelRequest request)
AWSIoTAnalyticsAsync
Used to update the settings of a channel.
updateChannelAsync
in interface AWSIoTAnalyticsAsync
public Future<UpdateChannelResult> updateChannelAsync(UpdateChannelRequest request, AsyncHandler<UpdateChannelRequest,UpdateChannelResult> asyncHandler)
AWSIoTAnalyticsAsync
Used to update the settings of a channel.
updateChannelAsync
in interface AWSIoTAnalyticsAsync
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<UpdateDatasetResult> updateDatasetAsync(UpdateDatasetRequest request)
AWSIoTAnalyticsAsync
Updates the settings of a dataset.
updateDatasetAsync
in interface AWSIoTAnalyticsAsync
public Future<UpdateDatasetResult> updateDatasetAsync(UpdateDatasetRequest request, AsyncHandler<UpdateDatasetRequest,UpdateDatasetResult> asyncHandler)
AWSIoTAnalyticsAsync
Updates the settings of a dataset.
updateDatasetAsync
in interface AWSIoTAnalyticsAsync
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<UpdateDatastoreResult> updateDatastoreAsync(UpdateDatastoreRequest request)
AWSIoTAnalyticsAsync
Used to update the settings of a data store.
updateDatastoreAsync
in interface AWSIoTAnalyticsAsync
public Future<UpdateDatastoreResult> updateDatastoreAsync(UpdateDatastoreRequest request, AsyncHandler<UpdateDatastoreRequest,UpdateDatastoreResult> asyncHandler)
AWSIoTAnalyticsAsync
Used to update the settings of a data store.
updateDatastoreAsync
in interface AWSIoTAnalyticsAsync
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<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest request)
AWSIoTAnalyticsAsync
Updates the settings of a pipeline. You must specify both a channel
and a datastore
activity and, optionally, as many as 23 additional activities in the pipelineActivities
array.
updatePipelineAsync
in interface AWSIoTAnalyticsAsync
public Future<UpdatePipelineResult> updatePipelineAsync(UpdatePipelineRequest request, AsyncHandler<UpdatePipelineRequest,UpdatePipelineResult> asyncHandler)
AWSIoTAnalyticsAsync
Updates the settings of a pipeline. You must specify both a channel
and a datastore
activity and, optionally, as many as 23 additional activities in the pipelineActivities
array.
updatePipelineAsync
in interface AWSIoTAnalyticsAsync
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 AWSIoTAnalytics
shutdown
in class AWSIoTAnalyticsClient