submit_feedback
¶
submit_feedback(
profiling_group_name: ProfilingGroupName,
anomaly_instance_id: AnomalyInstanceId,
type: FeedbackType,
*,
config_overrides: Optional[CodeGuruProfilerClientConfig] = None,
comment: Optional[str] = None,
) -> SubmitFeedbackResponse
Sends feedback to CodeGuru Profiler about whether the anomaly detected by the analysis is useful or not.
Parameters:
-
profiling_group_name(ProfilingGroupName) –The name of the profiling group that is associated with the analysis data.
-
anomaly_instance_id(AnomalyInstanceId) –The universally unique identifier (UUID) of the
AnomalyInstanceobject that is included in the analysis data. -
type(FeedbackType) –The feedback tpye. Thee are two valid values,
PositiveandNegative. -
comment(Optional[str], default:None) –Optional feedback about this anomaly.
Raises:
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request does not exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.