Class: AWS.LookoutMetrics
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.LookoutMetrics
- Identifier:
- lookoutmetrics
- API Version:
- 2017-07-25
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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.
Sending a Request Using LookoutMetrics
var lookoutmetrics = new AWS.LookoutMetrics();
lookoutmetrics.activateAnomalyDetector(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the LookoutMetrics object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var lookoutmetrics = new AWS.LookoutMetrics({apiVersion: '2017-07-25'});
You can also set the API version globally in AWS.config.apiVersions using
the lookoutmetrics service identifier:
AWS.config.apiVersions = {
lookoutmetrics: '2017-07-25',
// other service API versions
};
var lookoutmetrics = new AWS.LookoutMetrics();
Constructor Summary collapse
-
new AWS.LookoutMetrics(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
activateAnomalyDetector(params = {}, callback) ⇒ AWS.Request
Activates an anomaly detector.
.
-
backTestAnomalyDetector(params = {}, callback) ⇒ AWS.Request
Runs a backtest for anomaly detection for the specified resource.
.
-
createAlert(params = {}, callback) ⇒ AWS.Request
Creates an alert for an anomaly detector.
.
-
createAnomalyDetector(params = {}, callback) ⇒ AWS.Request
Creates an anomaly detector.
.
-
createMetricSet(params = {}, callback) ⇒ AWS.Request
Creates a dataset.
.
-
deactivateAnomalyDetector(params = {}, callback) ⇒ AWS.Request
Deactivates an anomaly detector.
.
-
deleteAlert(params = {}, callback) ⇒ AWS.Request
Deletes an alert.
.
-
deleteAnomalyDetector(params = {}, callback) ⇒ AWS.Request
Deletes a detector.
-
describeAlert(params = {}, callback) ⇒ AWS.Request
Describes an alert.
Amazon Lookout for Metrics API actions are eventually consistent.
-
describeAnomalyDetectionExecutions(params = {}, callback) ⇒ AWS.Request
Returns information about the status of the specified anomaly detection jobs.
.
-
describeAnomalyDetector(params = {}, callback) ⇒ AWS.Request
Describes a detector.
Amazon Lookout for Metrics API actions are eventually consistent.
-
describeMetricSet(params = {}, callback) ⇒ AWS.Request
Describes a dataset.
Amazon Lookout for Metrics API actions are eventually consistent.
-
detectMetricSetConfig(params = {}, callback) ⇒ AWS.Request
Detects an Amazon S3 dataset's file format, interval, and offset.
.
-
getAnomalyGroup(params = {}, callback) ⇒ AWS.Request
Returns details about a group of anomalous metrics.
.
-
getDataQualityMetrics(params = {}, callback) ⇒ AWS.Request
Returns details about the requested data quality metrics.
.
-
getFeedback(params = {}, callback) ⇒ AWS.Request
Get feedback for an anomaly group.
.
-
getSampleData(params = {}, callback) ⇒ AWS.Request
Returns a selection of sample records from an Amazon S3 datasource.
.
-
listAlerts(params = {}, callback) ⇒ AWS.Request
Lists the alerts attached to a detector.
Amazon Lookout for Metrics API actions are eventually consistent.
-
listAnomalyDetectors(params = {}, callback) ⇒ AWS.Request
Lists the detectors in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent.
-
listAnomalyGroupRelatedMetrics(params = {}, callback) ⇒ AWS.Request
Returns a list of measures that are potential causes or effects of an anomaly group.
.
-
listAnomalyGroupSummaries(params = {}, callback) ⇒ AWS.Request
Returns a list of anomaly groups.
.
-
listAnomalyGroupTimeSeries(params = {}, callback) ⇒ AWS.Request
Gets a list of anomalous metrics for a measure in an anomaly group.
.
-
listMetricSets(params = {}, callback) ⇒ AWS.Request
Lists the datasets in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Gets a list of tags for a detector, dataset, or alert.
.
-
putFeedback(params = {}, callback) ⇒ AWS.Request
Add feedback for an anomalous metric.
.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Adds tags to a detector, dataset, or alert.
.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes tags from a detector, dataset, or alert.
.
-
updateAlert(params = {}, callback) ⇒ AWS.Request
Make changes to an existing alert.
.
-
updateAnomalyDetector(params = {}, callback) ⇒ AWS.Request
Updates a detector.
-
updateMetricSet(params = {}, callback) ⇒ AWS.Request
Updates a dataset.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.LookoutMetrics(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.