@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonLookoutMetricsAsyncClient extends AmazonLookoutMetricsClient implements AmazonLookoutMetricsAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
This is the Amazon Lookout for Metrics API Reference. For an introduction to the service with tutorials for getting started, visit Amazon Lookout for Metrics Developer Guide.
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXactivateAnomalyDetector, backTestAnomalyDetector, builder, createAlert, createAnomalyDetector, createMetricSet, deleteAlert, deleteAnomalyDetector, describeAlert, describeAnomalyDetectionExecutions, describeAnomalyDetector, describeMetricSet, getAnomalyGroup, getCachedResponseMetadata, getFeedback, getSampleData, listAlerts, listAnomalyDetectors, listAnomalyGroupSummaries, listAnomalyGroupTimeSeries, listMetricSets, listTagsForResource, putFeedback, tagResource, untagResource, updateAnomalyDetector, updateMetricSetaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivateAnomalyDetector, backTestAnomalyDetector, createAlert, createAnomalyDetector, createMetricSet, deleteAlert, deleteAnomalyDetector, describeAlert, describeAnomalyDetectionExecutions, describeAnomalyDetector, describeMetricSet, getAnomalyGroup, getCachedResponseMetadata, getFeedback, getSampleData, listAlerts, listAnomalyDetectors, listAnomalyGroupSummaries, listAnomalyGroupTimeSeries, listMetricSets, listTagsForResource, putFeedback, tagResource, untagResource, updateAnomalyDetector, updateMetricSetpublic static AmazonLookoutMetricsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<ActivateAnomalyDetectorResult> activateAnomalyDetectorAsync(ActivateAnomalyDetectorRequest request)
AmazonLookoutMetricsAsyncActivates an anomaly detector.
activateAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncpublic Future<ActivateAnomalyDetectorResult> activateAnomalyDetectorAsync(ActivateAnomalyDetectorRequest request, AsyncHandler<ActivateAnomalyDetectorRequest,ActivateAnomalyDetectorResult> asyncHandler)
AmazonLookoutMetricsAsyncActivates an anomaly detector.
activateAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<BackTestAnomalyDetectorResult> backTestAnomalyDetectorAsync(BackTestAnomalyDetectorRequest request)
AmazonLookoutMetricsAsyncRuns a backtest for anomaly detection for the specified resource.
backTestAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncpublic Future<BackTestAnomalyDetectorResult> backTestAnomalyDetectorAsync(BackTestAnomalyDetectorRequest request, AsyncHandler<BackTestAnomalyDetectorRequest,BackTestAnomalyDetectorResult> asyncHandler)
AmazonLookoutMetricsAsyncRuns a backtest for anomaly detection for the specified resource.
backTestAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<CreateAlertResult> createAlertAsync(CreateAlertRequest request)
AmazonLookoutMetricsAsyncCreates an alert for an anomaly detector.
createAlertAsync in interface AmazonLookoutMetricsAsyncpublic Future<CreateAlertResult> createAlertAsync(CreateAlertRequest request, AsyncHandler<CreateAlertRequest,CreateAlertResult> asyncHandler)
AmazonLookoutMetricsAsyncCreates an alert for an anomaly detector.
createAlertAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<CreateAnomalyDetectorResult> createAnomalyDetectorAsync(CreateAnomalyDetectorRequest request)
AmazonLookoutMetricsAsyncCreates an anomaly detector.
createAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncpublic Future<CreateAnomalyDetectorResult> createAnomalyDetectorAsync(CreateAnomalyDetectorRequest request, AsyncHandler<CreateAnomalyDetectorRequest,CreateAnomalyDetectorResult> asyncHandler)
AmazonLookoutMetricsAsyncCreates an anomaly detector.
createAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<CreateMetricSetResult> createMetricSetAsync(CreateMetricSetRequest request)
AmazonLookoutMetricsAsyncCreates a dataset.
createMetricSetAsync in interface AmazonLookoutMetricsAsyncpublic Future<CreateMetricSetResult> createMetricSetAsync(CreateMetricSetRequest request, AsyncHandler<CreateMetricSetRequest,CreateMetricSetResult> asyncHandler)
AmazonLookoutMetricsAsyncCreates a dataset.
createMetricSetAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<DeleteAlertResult> deleteAlertAsync(DeleteAlertRequest request)
AmazonLookoutMetricsAsyncDeletes an alert.
deleteAlertAsync in interface AmazonLookoutMetricsAsyncpublic Future<DeleteAlertResult> deleteAlertAsync(DeleteAlertRequest request, AsyncHandler<DeleteAlertRequest,DeleteAlertResult> asyncHandler)
AmazonLookoutMetricsAsyncDeletes an alert.
deleteAlertAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<DeleteAnomalyDetectorResult> deleteAnomalyDetectorAsync(DeleteAnomalyDetectorRequest request)
AmazonLookoutMetricsAsyncDeletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
deleteAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncpublic Future<DeleteAnomalyDetectorResult> deleteAnomalyDetectorAsync(DeleteAnomalyDetectorRequest request, AsyncHandler<DeleteAnomalyDetectorRequest,DeleteAnomalyDetectorResult> asyncHandler)
AmazonLookoutMetricsAsyncDeletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
deleteAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<DescribeAlertResult> describeAlertAsync(DescribeAlertRequest request)
AmazonLookoutMetricsAsyncDescribes an alert.
describeAlertAsync in interface AmazonLookoutMetricsAsyncpublic Future<DescribeAlertResult> describeAlertAsync(DescribeAlertRequest request, AsyncHandler<DescribeAlertRequest,DescribeAlertResult> asyncHandler)
AmazonLookoutMetricsAsyncDescribes an alert.
describeAlertAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<DescribeAnomalyDetectionExecutionsResult> describeAnomalyDetectionExecutionsAsync(DescribeAnomalyDetectionExecutionsRequest request)
AmazonLookoutMetricsAsyncReturns information about the status of the specified anomaly detection jobs.
describeAnomalyDetectionExecutionsAsync in interface AmazonLookoutMetricsAsyncpublic Future<DescribeAnomalyDetectionExecutionsResult> describeAnomalyDetectionExecutionsAsync(DescribeAnomalyDetectionExecutionsRequest request, AsyncHandler<DescribeAnomalyDetectionExecutionsRequest,DescribeAnomalyDetectionExecutionsResult> asyncHandler)
AmazonLookoutMetricsAsyncReturns information about the status of the specified anomaly detection jobs.
describeAnomalyDetectionExecutionsAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<DescribeAnomalyDetectorResult> describeAnomalyDetectorAsync(DescribeAnomalyDetectorRequest request)
AmazonLookoutMetricsAsyncDescribes a detector.
describeAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncpublic Future<DescribeAnomalyDetectorResult> describeAnomalyDetectorAsync(DescribeAnomalyDetectorRequest request, AsyncHandler<DescribeAnomalyDetectorRequest,DescribeAnomalyDetectorResult> asyncHandler)
AmazonLookoutMetricsAsyncDescribes a detector.
describeAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<DescribeMetricSetResult> describeMetricSetAsync(DescribeMetricSetRequest request)
AmazonLookoutMetricsAsyncDescribes a dataset.
describeMetricSetAsync in interface AmazonLookoutMetricsAsyncpublic Future<DescribeMetricSetResult> describeMetricSetAsync(DescribeMetricSetRequest request, AsyncHandler<DescribeMetricSetRequest,DescribeMetricSetResult> asyncHandler)
AmazonLookoutMetricsAsyncDescribes a dataset.
describeMetricSetAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<GetAnomalyGroupResult> getAnomalyGroupAsync(GetAnomalyGroupRequest request)
AmazonLookoutMetricsAsyncReturns details about a group of anomalous metrics.
getAnomalyGroupAsync in interface AmazonLookoutMetricsAsyncpublic Future<GetAnomalyGroupResult> getAnomalyGroupAsync(GetAnomalyGroupRequest request, AsyncHandler<GetAnomalyGroupRequest,GetAnomalyGroupResult> asyncHandler)
AmazonLookoutMetricsAsyncReturns details about a group of anomalous metrics.
getAnomalyGroupAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<GetFeedbackResult> getFeedbackAsync(GetFeedbackRequest request)
AmazonLookoutMetricsAsyncGet feedback for an anomaly group.
getFeedbackAsync in interface AmazonLookoutMetricsAsyncpublic Future<GetFeedbackResult> getFeedbackAsync(GetFeedbackRequest request, AsyncHandler<GetFeedbackRequest,GetFeedbackResult> asyncHandler)
AmazonLookoutMetricsAsyncGet feedback for an anomaly group.
getFeedbackAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<GetSampleDataResult> getSampleDataAsync(GetSampleDataRequest request)
AmazonLookoutMetricsAsyncReturns a selection of sample records from an Amazon S3 datasource.
getSampleDataAsync in interface AmazonLookoutMetricsAsyncpublic Future<GetSampleDataResult> getSampleDataAsync(GetSampleDataRequest request, AsyncHandler<GetSampleDataRequest,GetSampleDataResult> asyncHandler)
AmazonLookoutMetricsAsyncReturns a selection of sample records from an Amazon S3 datasource.
getSampleDataAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<ListAlertsResult> listAlertsAsync(ListAlertsRequest request)
AmazonLookoutMetricsAsyncLists the alerts attached to a detector.
listAlertsAsync in interface AmazonLookoutMetricsAsyncpublic Future<ListAlertsResult> listAlertsAsync(ListAlertsRequest request, AsyncHandler<ListAlertsRequest,ListAlertsResult> asyncHandler)
AmazonLookoutMetricsAsyncLists the alerts attached to a detector.
listAlertsAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<ListAnomalyDetectorsResult> listAnomalyDetectorsAsync(ListAnomalyDetectorsRequest request)
AmazonLookoutMetricsAsyncLists the detectors in the current AWS Region.
listAnomalyDetectorsAsync in interface AmazonLookoutMetricsAsyncpublic Future<ListAnomalyDetectorsResult> listAnomalyDetectorsAsync(ListAnomalyDetectorsRequest request, AsyncHandler<ListAnomalyDetectorsRequest,ListAnomalyDetectorsResult> asyncHandler)
AmazonLookoutMetricsAsyncLists the detectors in the current AWS Region.
listAnomalyDetectorsAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<ListAnomalyGroupSummariesResult> listAnomalyGroupSummariesAsync(ListAnomalyGroupSummariesRequest request)
AmazonLookoutMetricsAsyncReturns a list of anomaly groups.
listAnomalyGroupSummariesAsync in interface AmazonLookoutMetricsAsyncpublic Future<ListAnomalyGroupSummariesResult> listAnomalyGroupSummariesAsync(ListAnomalyGroupSummariesRequest request, AsyncHandler<ListAnomalyGroupSummariesRequest,ListAnomalyGroupSummariesResult> asyncHandler)
AmazonLookoutMetricsAsyncReturns a list of anomaly groups.
listAnomalyGroupSummariesAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<ListAnomalyGroupTimeSeriesResult> listAnomalyGroupTimeSeriesAsync(ListAnomalyGroupTimeSeriesRequest request)
AmazonLookoutMetricsAsyncGets a list of anomalous metrics for a measure in an anomaly group.
listAnomalyGroupTimeSeriesAsync in interface AmazonLookoutMetricsAsyncpublic Future<ListAnomalyGroupTimeSeriesResult> listAnomalyGroupTimeSeriesAsync(ListAnomalyGroupTimeSeriesRequest request, AsyncHandler<ListAnomalyGroupTimeSeriesRequest,ListAnomalyGroupTimeSeriesResult> asyncHandler)
AmazonLookoutMetricsAsyncGets a list of anomalous metrics for a measure in an anomaly group.
listAnomalyGroupTimeSeriesAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<ListMetricSetsResult> listMetricSetsAsync(ListMetricSetsRequest request)
AmazonLookoutMetricsAsyncLists the datasets in the current AWS Region.
listMetricSetsAsync in interface AmazonLookoutMetricsAsyncpublic Future<ListMetricSetsResult> listMetricSetsAsync(ListMetricSetsRequest request, AsyncHandler<ListMetricSetsRequest,ListMetricSetsResult> asyncHandler)
AmazonLookoutMetricsAsyncLists the datasets in the current AWS Region.
listMetricSetsAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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)
AmazonLookoutMetricsAsyncGets a list of tags for a detector, dataset, or alert.
listTagsForResourceAsync in interface AmazonLookoutMetricsAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonLookoutMetricsAsyncGets a list of tags for a detector, dataset, or alert.
listTagsForResourceAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<PutFeedbackResult> putFeedbackAsync(PutFeedbackRequest request)
AmazonLookoutMetricsAsyncAdd feedback for an anomalous metric.
putFeedbackAsync in interface AmazonLookoutMetricsAsyncpublic Future<PutFeedbackResult> putFeedbackAsync(PutFeedbackRequest request, AsyncHandler<PutFeedbackRequest,PutFeedbackResult> asyncHandler)
AmazonLookoutMetricsAsyncAdd feedback for an anomalous metric.
putFeedbackAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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)
AmazonLookoutMetricsAsyncAdds tags to a detector, dataset, or alert.
tagResourceAsync in interface AmazonLookoutMetricsAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonLookoutMetricsAsyncAdds tags to a detector, dataset, or alert.
tagResourceAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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)
AmazonLookoutMetricsAsyncRemoves tags from a detector, dataset, or alert.
untagResourceAsync in interface AmazonLookoutMetricsAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonLookoutMetricsAsyncRemoves tags from a detector, dataset, or alert.
untagResourceAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<UpdateAnomalyDetectorResult> updateAnomalyDetectorAsync(UpdateAnomalyDetectorRequest request)
AmazonLookoutMetricsAsyncUpdates a detector. After activation, you can only change a detector's ingestion delay and description.
updateAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncpublic Future<UpdateAnomalyDetectorResult> updateAnomalyDetectorAsync(UpdateAnomalyDetectorRequest request, AsyncHandler<UpdateAnomalyDetectorRequest,UpdateAnomalyDetectorResult> asyncHandler)
AmazonLookoutMetricsAsyncUpdates a detector. After activation, you can only change a detector's ingestion delay and description.
updateAnomalyDetectorAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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<UpdateMetricSetResult> updateMetricSetAsync(UpdateMetricSetRequest request)
AmazonLookoutMetricsAsyncUpdates a dataset.
updateMetricSetAsync in interface AmazonLookoutMetricsAsyncpublic Future<UpdateMetricSetResult> updateMetricSetAsync(UpdateMetricSetRequest request, AsyncHandler<UpdateMetricSetRequest,UpdateMetricSetResult> asyncHandler)
AmazonLookoutMetricsAsyncUpdates a dataset.
updateMetricSetAsync in interface AmazonLookoutMetricsAsyncasyncHandler - 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 AmazonLookoutMetricsshutdown in class AmazonLookoutMetricsClientCopyright © 2021. All rights reserved.