/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace LookoutMetrics { /** *

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.

*/ class AWS_LOOKOUTMETRICS_API LookoutMetricsClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { public: typedef Aws::Client::AWSJsonClient BASECLASS; static const char* SERVICE_NAME; static const char* ALLOCATION_TAG; typedef LookoutMetricsClientConfiguration ClientConfigurationType; typedef LookoutMetricsEndpointProvider EndpointProviderType; /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ LookoutMetricsClient(const Aws::LookoutMetrics::LookoutMetricsClientConfiguration& clientConfiguration = Aws::LookoutMetrics::LookoutMetricsClientConfiguration(), std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG)); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ LookoutMetricsClient(const Aws::Auth::AWSCredentials& credentials, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::LookoutMetrics::LookoutMetricsClientConfiguration& clientConfiguration = Aws::LookoutMetrics::LookoutMetricsClientConfiguration()); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ LookoutMetricsClient(const std::shared_ptr& credentialsProvider, std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG), const Aws::LookoutMetrics::LookoutMetricsClientConfiguration& clientConfiguration = Aws::LookoutMetrics::LookoutMetricsClientConfiguration()); /* Legacy constructors due deprecation */ /** * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ LookoutMetricsClient(const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config * is not specified, it will be initialized to default values. */ LookoutMetricsClient(const Aws::Auth::AWSCredentials& credentials, const Aws::Client::ClientConfiguration& clientConfiguration); /** * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, * the default http client factory will be used */ LookoutMetricsClient(const std::shared_ptr& credentialsProvider, const Aws::Client::ClientConfiguration& clientConfiguration); /* End of legacy constructors due deprecation */ virtual ~LookoutMetricsClient(); /** *

Activates an anomaly detector.

See Also:

AWS * API Reference

*/ virtual Model::ActivateAnomalyDetectorOutcome ActivateAnomalyDetector(const Model::ActivateAnomalyDetectorRequest& request) const; /** * A Callable wrapper for ActivateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ActivateAnomalyDetectorOutcomeCallable ActivateAnomalyDetectorCallable(const ActivateAnomalyDetectorRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ActivateAnomalyDetector, request); } /** * An Async wrapper for ActivateAnomalyDetector that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ActivateAnomalyDetectorAsync(const ActivateAnomalyDetectorRequestT& request, const ActivateAnomalyDetectorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ActivateAnomalyDetector, request, handler, context); } /** *

Runs a backtest for anomaly detection for the specified * resource.

See Also:

AWS * API Reference

*/ virtual Model::BackTestAnomalyDetectorOutcome BackTestAnomalyDetector(const Model::BackTestAnomalyDetectorRequest& request) const; /** * A Callable wrapper for BackTestAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::BackTestAnomalyDetectorOutcomeCallable BackTestAnomalyDetectorCallable(const BackTestAnomalyDetectorRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::BackTestAnomalyDetector, request); } /** * An Async wrapper for BackTestAnomalyDetector that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void BackTestAnomalyDetectorAsync(const BackTestAnomalyDetectorRequestT& request, const BackTestAnomalyDetectorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::BackTestAnomalyDetector, request, handler, context); } /** *

Creates an alert for an anomaly detector.

See Also:

AWS * API Reference

*/ virtual Model::CreateAlertOutcome CreateAlert(const Model::CreateAlertRequest& request) const; /** * A Callable wrapper for CreateAlert that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateAlertOutcomeCallable CreateAlertCallable(const CreateAlertRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::CreateAlert, request); } /** * An Async wrapper for CreateAlert that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateAlertAsync(const CreateAlertRequestT& request, const CreateAlertResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::CreateAlert, request, handler, context); } /** *

Creates an anomaly detector.

See Also:

AWS * API Reference

*/ virtual Model::CreateAnomalyDetectorOutcome CreateAnomalyDetector(const Model::CreateAnomalyDetectorRequest& request) const; /** * A Callable wrapper for CreateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateAnomalyDetectorOutcomeCallable CreateAnomalyDetectorCallable(const CreateAnomalyDetectorRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::CreateAnomalyDetector, request); } /** * An Async wrapper for CreateAnomalyDetector that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateAnomalyDetectorAsync(const CreateAnomalyDetectorRequestT& request, const CreateAnomalyDetectorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::CreateAnomalyDetector, request, handler, context); } /** *

Creates a dataset.

See Also:

AWS * API Reference

*/ virtual Model::CreateMetricSetOutcome CreateMetricSet(const Model::CreateMetricSetRequest& request) const; /** * A Callable wrapper for CreateMetricSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::CreateMetricSetOutcomeCallable CreateMetricSetCallable(const CreateMetricSetRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::CreateMetricSet, request); } /** * An Async wrapper for CreateMetricSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void CreateMetricSetAsync(const CreateMetricSetRequestT& request, const CreateMetricSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::CreateMetricSet, request, handler, context); } /** *

Deactivates an anomaly detector.

See Also:

AWS * API Reference

*/ virtual Model::DeactivateAnomalyDetectorOutcome DeactivateAnomalyDetector(const Model::DeactivateAnomalyDetectorRequest& request) const; /** * A Callable wrapper for DeactivateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeactivateAnomalyDetectorOutcomeCallable DeactivateAnomalyDetectorCallable(const DeactivateAnomalyDetectorRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DeactivateAnomalyDetector, request); } /** * An Async wrapper for DeactivateAnomalyDetector that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeactivateAnomalyDetectorAsync(const DeactivateAnomalyDetectorRequestT& request, const DeactivateAnomalyDetectorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DeactivateAnomalyDetector, request, handler, context); } /** *

Deletes an alert.

See Also:

AWS * API Reference

*/ virtual Model::DeleteAlertOutcome DeleteAlert(const Model::DeleteAlertRequest& request) const; /** * A Callable wrapper for DeleteAlert that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteAlertOutcomeCallable DeleteAlertCallable(const DeleteAlertRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DeleteAlert, request); } /** * An Async wrapper for DeleteAlert that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteAlertAsync(const DeleteAlertRequestT& request, const DeleteAlertResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DeleteAlert, request, handler, context); } /** *

Deletes a detector. Deleting an anomaly detector will delete all of its * corresponding resources including any configured datasets and * alerts.

See Also:

AWS * API Reference

*/ virtual Model::DeleteAnomalyDetectorOutcome DeleteAnomalyDetector(const Model::DeleteAnomalyDetectorRequest& request) const; /** * A Callable wrapper for DeleteAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DeleteAnomalyDetectorOutcomeCallable DeleteAnomalyDetectorCallable(const DeleteAnomalyDetectorRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DeleteAnomalyDetector, request); } /** * An Async wrapper for DeleteAnomalyDetector that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DeleteAnomalyDetectorAsync(const DeleteAnomalyDetectorRequestT& request, const DeleteAnomalyDetectorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DeleteAnomalyDetector, request, handler, context); } /** *

Describes an alert.

Amazon Lookout for Metrics API actions are * eventually consistent. If you do a read operation on a resource immediately * after creating or modifying it, use retries to allow time for the write * operation to complete.

See Also:

AWS * API Reference

*/ virtual Model::DescribeAlertOutcome DescribeAlert(const Model::DescribeAlertRequest& request) const; /** * A Callable wrapper for DescribeAlert that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeAlertOutcomeCallable DescribeAlertCallable(const DescribeAlertRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DescribeAlert, request); } /** * An Async wrapper for DescribeAlert that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeAlertAsync(const DescribeAlertRequestT& request, const DescribeAlertResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DescribeAlert, request, handler, context); } /** *

Returns information about the status of the specified anomaly detection * jobs.

See Also:

AWS * API Reference

*/ virtual Model::DescribeAnomalyDetectionExecutionsOutcome DescribeAnomalyDetectionExecutions(const Model::DescribeAnomalyDetectionExecutionsRequest& request) const; /** * A Callable wrapper for DescribeAnomalyDetectionExecutions that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeAnomalyDetectionExecutionsOutcomeCallable DescribeAnomalyDetectionExecutionsCallable(const DescribeAnomalyDetectionExecutionsRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DescribeAnomalyDetectionExecutions, request); } /** * An Async wrapper for DescribeAnomalyDetectionExecutions that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeAnomalyDetectionExecutionsAsync(const DescribeAnomalyDetectionExecutionsRequestT& request, const DescribeAnomalyDetectionExecutionsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DescribeAnomalyDetectionExecutions, request, handler, context); } /** *

Describes a detector.

Amazon Lookout for Metrics API actions are * eventually consistent. If you do a read operation on a resource immediately * after creating or modifying it, use retries to allow time for the write * operation to complete.

See Also:

AWS * API Reference

*/ virtual Model::DescribeAnomalyDetectorOutcome DescribeAnomalyDetector(const Model::DescribeAnomalyDetectorRequest& request) const; /** * A Callable wrapper for DescribeAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeAnomalyDetectorOutcomeCallable DescribeAnomalyDetectorCallable(const DescribeAnomalyDetectorRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DescribeAnomalyDetector, request); } /** * An Async wrapper for DescribeAnomalyDetector that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeAnomalyDetectorAsync(const DescribeAnomalyDetectorRequestT& request, const DescribeAnomalyDetectorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DescribeAnomalyDetector, request, handler, context); } /** *

Describes a dataset.

Amazon Lookout for Metrics API actions are * eventually consistent. If you do a read operation on a resource immediately * after creating or modifying it, use retries to allow time for the write * operation to complete.

See Also:

AWS * API Reference

*/ virtual Model::DescribeMetricSetOutcome DescribeMetricSet(const Model::DescribeMetricSetRequest& request) const; /** * A Callable wrapper for DescribeMetricSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DescribeMetricSetOutcomeCallable DescribeMetricSetCallable(const DescribeMetricSetRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DescribeMetricSet, request); } /** * An Async wrapper for DescribeMetricSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DescribeMetricSetAsync(const DescribeMetricSetRequestT& request, const DescribeMetricSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DescribeMetricSet, request, handler, context); } /** *

Detects an Amazon S3 dataset's file format, interval, and * offset.

See Also:

AWS * API Reference

*/ virtual Model::DetectMetricSetConfigOutcome DetectMetricSetConfig(const Model::DetectMetricSetConfigRequest& request) const; /** * A Callable wrapper for DetectMetricSetConfig that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::DetectMetricSetConfigOutcomeCallable DetectMetricSetConfigCallable(const DetectMetricSetConfigRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::DetectMetricSetConfig, request); } /** * An Async wrapper for DetectMetricSetConfig that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void DetectMetricSetConfigAsync(const DetectMetricSetConfigRequestT& request, const DetectMetricSetConfigResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::DetectMetricSetConfig, request, handler, context); } /** *

Returns details about a group of anomalous metrics.

See Also:

* AWS * API Reference

*/ virtual Model::GetAnomalyGroupOutcome GetAnomalyGroup(const Model::GetAnomalyGroupRequest& request) const; /** * A Callable wrapper for GetAnomalyGroup that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetAnomalyGroupOutcomeCallable GetAnomalyGroupCallable(const GetAnomalyGroupRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::GetAnomalyGroup, request); } /** * An Async wrapper for GetAnomalyGroup that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetAnomalyGroupAsync(const GetAnomalyGroupRequestT& request, const GetAnomalyGroupResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::GetAnomalyGroup, request, handler, context); } /** *

Returns details about the requested data quality metrics.

See * Also:

AWS * API Reference

*/ virtual Model::GetDataQualityMetricsOutcome GetDataQualityMetrics(const Model::GetDataQualityMetricsRequest& request) const; /** * A Callable wrapper for GetDataQualityMetrics that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetDataQualityMetricsOutcomeCallable GetDataQualityMetricsCallable(const GetDataQualityMetricsRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::GetDataQualityMetrics, request); } /** * An Async wrapper for GetDataQualityMetrics that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetDataQualityMetricsAsync(const GetDataQualityMetricsRequestT& request, const GetDataQualityMetricsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::GetDataQualityMetrics, request, handler, context); } /** *

Get feedback for an anomaly group.

See Also:

AWS * API Reference

*/ virtual Model::GetFeedbackOutcome GetFeedback(const Model::GetFeedbackRequest& request) const; /** * A Callable wrapper for GetFeedback that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetFeedbackOutcomeCallable GetFeedbackCallable(const GetFeedbackRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::GetFeedback, request); } /** * An Async wrapper for GetFeedback that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetFeedbackAsync(const GetFeedbackRequestT& request, const GetFeedbackResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::GetFeedback, request, handler, context); } /** *

Returns a selection of sample records from an Amazon S3 * datasource.

See Also:

AWS * API Reference

*/ virtual Model::GetSampleDataOutcome GetSampleData(const Model::GetSampleDataRequest& request) const; /** * A Callable wrapper for GetSampleData that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::GetSampleDataOutcomeCallable GetSampleDataCallable(const GetSampleDataRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::GetSampleData, request); } /** * An Async wrapper for GetSampleData that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void GetSampleDataAsync(const GetSampleDataRequestT& request, const GetSampleDataResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::GetSampleData, request, handler, context); } /** *

Lists the alerts attached to a detector.

Amazon Lookout for Metrics * API actions are eventually consistent. If you do a read operation on a resource * immediately after creating or modifying it, use retries to allow time for the * write operation to complete.

See Also:

AWS * API Reference

*/ virtual Model::ListAlertsOutcome ListAlerts(const Model::ListAlertsRequest& request) const; /** * A Callable wrapper for ListAlerts that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListAlertsOutcomeCallable ListAlertsCallable(const ListAlertsRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ListAlerts, request); } /** * An Async wrapper for ListAlerts that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListAlertsAsync(const ListAlertsRequestT& request, const ListAlertsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ListAlerts, request, handler, context); } /** *

Lists the detectors in the current AWS Region.

Amazon Lookout for * Metrics API actions are eventually consistent. If you do a read operation on a * resource immediately after creating or modifying it, use retries to allow time * for the write operation to complete.

See Also:

AWS * API Reference

*/ virtual Model::ListAnomalyDetectorsOutcome ListAnomalyDetectors(const Model::ListAnomalyDetectorsRequest& request) const; /** * A Callable wrapper for ListAnomalyDetectors that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListAnomalyDetectorsOutcomeCallable ListAnomalyDetectorsCallable(const ListAnomalyDetectorsRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ListAnomalyDetectors, request); } /** * An Async wrapper for ListAnomalyDetectors that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListAnomalyDetectorsAsync(const ListAnomalyDetectorsRequestT& request, const ListAnomalyDetectorsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ListAnomalyDetectors, request, handler, context); } /** *

Returns a list of measures that are potential causes or effects of an anomaly * group.

See Also:

AWS * API Reference

*/ virtual Model::ListAnomalyGroupRelatedMetricsOutcome ListAnomalyGroupRelatedMetrics(const Model::ListAnomalyGroupRelatedMetricsRequest& request) const; /** * A Callable wrapper for ListAnomalyGroupRelatedMetrics that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListAnomalyGroupRelatedMetricsOutcomeCallable ListAnomalyGroupRelatedMetricsCallable(const ListAnomalyGroupRelatedMetricsRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ListAnomalyGroupRelatedMetrics, request); } /** * An Async wrapper for ListAnomalyGroupRelatedMetrics that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListAnomalyGroupRelatedMetricsAsync(const ListAnomalyGroupRelatedMetricsRequestT& request, const ListAnomalyGroupRelatedMetricsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ListAnomalyGroupRelatedMetrics, request, handler, context); } /** *

Returns a list of anomaly groups.

See Also:

AWS * API Reference

*/ virtual Model::ListAnomalyGroupSummariesOutcome ListAnomalyGroupSummaries(const Model::ListAnomalyGroupSummariesRequest& request) const; /** * A Callable wrapper for ListAnomalyGroupSummaries that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListAnomalyGroupSummariesOutcomeCallable ListAnomalyGroupSummariesCallable(const ListAnomalyGroupSummariesRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ListAnomalyGroupSummaries, request); } /** * An Async wrapper for ListAnomalyGroupSummaries that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListAnomalyGroupSummariesAsync(const ListAnomalyGroupSummariesRequestT& request, const ListAnomalyGroupSummariesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ListAnomalyGroupSummaries, request, handler, context); } /** *

Gets a list of anomalous metrics for a measure in an anomaly * group.

See Also:

AWS * API Reference

*/ virtual Model::ListAnomalyGroupTimeSeriesOutcome ListAnomalyGroupTimeSeries(const Model::ListAnomalyGroupTimeSeriesRequest& request) const; /** * A Callable wrapper for ListAnomalyGroupTimeSeries that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListAnomalyGroupTimeSeriesOutcomeCallable ListAnomalyGroupTimeSeriesCallable(const ListAnomalyGroupTimeSeriesRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ListAnomalyGroupTimeSeries, request); } /** * An Async wrapper for ListAnomalyGroupTimeSeries that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListAnomalyGroupTimeSeriesAsync(const ListAnomalyGroupTimeSeriesRequestT& request, const ListAnomalyGroupTimeSeriesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ListAnomalyGroupTimeSeries, request, handler, context); } /** *

Lists the datasets in the current AWS Region.

Amazon Lookout for * Metrics API actions are eventually consistent. If you do a read operation on a * resource immediately after creating or modifying it, use retries to allow time * for the write operation to complete.

See Also:

AWS * API Reference

*/ virtual Model::ListMetricSetsOutcome ListMetricSets(const Model::ListMetricSetsRequest& request) const; /** * A Callable wrapper for ListMetricSets that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListMetricSetsOutcomeCallable ListMetricSetsCallable(const ListMetricSetsRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ListMetricSets, request); } /** * An Async wrapper for ListMetricSets that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListMetricSetsAsync(const ListMetricSetsRequestT& request, const ListMetricSetsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ListMetricSets, request, handler, context); } /** *

Gets a list of tags * for a detector, dataset, or alert.

See Also:

AWS * API Reference

*/ virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; /** * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::ListTagsForResource, request); } /** * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::ListTagsForResource, request, handler, context); } /** *

Add feedback for an anomalous metric.

See Also:

AWS * API Reference

*/ virtual Model::PutFeedbackOutcome PutFeedback(const Model::PutFeedbackRequest& request) const; /** * A Callable wrapper for PutFeedback that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::PutFeedbackOutcomeCallable PutFeedbackCallable(const PutFeedbackRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::PutFeedback, request); } /** * An Async wrapper for PutFeedback that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void PutFeedbackAsync(const PutFeedbackRequestT& request, const PutFeedbackResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::PutFeedback, request, handler, context); } /** *

Adds tags * to a detector, dataset, or alert.

See Also:

AWS * API Reference

*/ virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; /** * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::TagResource, request); } /** * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::TagResource, request, handler, context); } /** *

Removes tags * from a detector, dataset, or alert.

See Also:

AWS * API Reference

*/ virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; /** * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::UntagResource, request); } /** * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::UntagResource, request, handler, context); } /** *

Make changes to an existing alert.

See Also:

AWS * API Reference

*/ virtual Model::UpdateAlertOutcome UpdateAlert(const Model::UpdateAlertRequest& request) const; /** * A Callable wrapper for UpdateAlert that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateAlertOutcomeCallable UpdateAlertCallable(const UpdateAlertRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::UpdateAlert, request); } /** * An Async wrapper for UpdateAlert that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateAlertAsync(const UpdateAlertRequestT& request, const UpdateAlertResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::UpdateAlert, request, handler, context); } /** *

Updates a detector. After activation, you can only change a detector's * ingestion delay and description.

See Also:

AWS * API Reference

*/ virtual Model::UpdateAnomalyDetectorOutcome UpdateAnomalyDetector(const Model::UpdateAnomalyDetectorRequest& request) const; /** * A Callable wrapper for UpdateAnomalyDetector that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateAnomalyDetectorOutcomeCallable UpdateAnomalyDetectorCallable(const UpdateAnomalyDetectorRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::UpdateAnomalyDetector, request); } /** * An Async wrapper for UpdateAnomalyDetector that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateAnomalyDetectorAsync(const UpdateAnomalyDetectorRequestT& request, const UpdateAnomalyDetectorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::UpdateAnomalyDetector, request, handler, context); } /** *

Updates a dataset.

See Also:

AWS * API Reference

*/ virtual Model::UpdateMetricSetOutcome UpdateMetricSet(const Model::UpdateMetricSetRequest& request) const; /** * A Callable wrapper for UpdateMetricSet that returns a future to the operation so that it can be executed in parallel to other requests. */ template Model::UpdateMetricSetOutcomeCallable UpdateMetricSetCallable(const UpdateMetricSetRequestT& request) const { return SubmitCallable(&LookoutMetricsClient::UpdateMetricSet, request); } /** * An Async wrapper for UpdateMetricSet that queues the request into a thread executor and triggers associated callback when operation has finished. */ template void UpdateMetricSetAsync(const UpdateMetricSetRequestT& request, const UpdateMetricSetResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const { return SubmitAsync(&LookoutMetricsClient::UpdateMetricSet, request, handler, context); } void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); private: friend class Aws::Client::ClientWithAsyncTemplateMethods; void init(const LookoutMetricsClientConfiguration& clientConfiguration); LookoutMetricsClientConfiguration m_clientConfiguration; std::shared_ptr m_executor; std::shared_ptr m_endpointProvider; }; } // namespace LookoutMetrics } // namespace Aws