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