submit_feedback

submit_feedback(**kwargs)

Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.

See also: AWS API Documentation

Request Syntax

response = client.submit_feedback(
    anomalyInstanceId='string',
    comment='string',
    profilingGroupName='string',
    type='Positive'|'Negative'
)
Parameters
  • anomalyInstanceId (string) --

    [REQUIRED]

    The universally unique identifier (UUID) of the AnomalyInstance object that is included in the analysis data.

  • comment (string) -- Optional feedback about this anomaly.
  • profilingGroupName (string) --

    [REQUIRED]

    The name of the profiling group that is associated with the analysis data.

  • type (string) --

    [REQUIRED]

    The feedback tpye. Thee are two valid values, Positive and Negative .

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

    The structure representing the SubmitFeedbackResponse.

Exceptions

  • CodeGuruProfiler.Client.exceptions.InternalServerException
  • CodeGuruProfiler.Client.exceptions.ValidationException
  • CodeGuruProfiler.Client.exceptions.ThrottlingException
  • CodeGuruProfiler.Client.exceptions.ResourceNotFoundException