Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

put_feedback

put_feedback(**kwargs)

Add feedback for an anomalous metric.

See also: AWS API Documentation

Request Syntax

response = client.put_feedback(
    AnomalyDetectorArn='string',
    AnomalyGroupTimeSeriesFeedback={
        'AnomalyGroupId': 'string',
        'TimeSeriesId': 'string',
        'IsAnomaly': True|False
    }
)
Parameters
  • AnomalyDetectorArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the anomaly detector.

  • AnomalyGroupTimeSeriesFeedback (dict) --

    [REQUIRED]

    Feedback for an anomalous metric.

    • AnomalyGroupId (string) -- [REQUIRED]

      The ID of the anomaly group.

    • TimeSeriesId (string) -- [REQUIRED]

      The ID of the metric.

    • IsAnomaly (boolean) -- [REQUIRED]

      Feedback on whether the metric is a legitimate anomaly.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • LookoutMetrics.Client.exceptions.ResourceNotFoundException
  • LookoutMetrics.Client.exceptions.ValidationException
  • LookoutMetrics.Client.exceptions.AccessDeniedException
  • LookoutMetrics.Client.exceptions.InternalServerException
  • LookoutMetrics.Client.exceptions.TooManyRequestsException