update_findings_feedback
async
¶
update_findings_feedback(
detector_id: DetectorId,
*,
config_overrides: Optional[AsyncGuardDutyClientConfig] = None,
finding_ids: Optional[FindingIds] = None,
feedback: Optional[Feedback] = None,
comments: Optional[SensitiveString] = None,
) -> UpdateFindingsFeedbackResponse
Marks the specified GuardDuty findings as useful or not useful.
Parameters:
-
detector_id(DetectorId) –The ID of the detector that is associated with the findings for which you want to update the feedback.
To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. -
finding_ids(Optional[FindingIds], default:None) –The IDs of the findings that you want to mark as useful or not useful.
-
feedback(Optional[Feedback], default:None) –The feedback for the finding.
-
comments(Optional[SensitiveString], default:None) –Additional feedback about the GuardDuty findings.
Raises:
-
BadRequestException–A bad request exception object.
-
InternalServerErrorException–An internal server error exception object.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_guardduty/_services/async_guard_duty.py
6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 | |