Skip to content

update_findings_feedback

Operation

update_findings_feedback

update_findings_feedback(request: UpdateFindingsFeedbackInput | UpdateFindingsFeedbackInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateFindingsFeedbackInputDict]) -> UpdateFindingsFeedbackOutput

Marks the specified GuardDuty findings as useful or not useful.

Parameters:

Name Type Description Default
request UpdateFindingsFeedbackInput | UpdateFindingsFeedbackInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateFindingsFeedbackInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateFindingsFeedbackOutput

An instance of UpdateFindingsFeedbackOutput.

update_findings_feedback async

update_findings_feedback(request: UpdateFindingsFeedbackInput | UpdateFindingsFeedbackInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateFindingsFeedbackInputDict]) -> UpdateFindingsFeedbackOutput

Marks the specified GuardDuty findings as useful or not useful.

Parameters:

Name Type Description Default
request UpdateFindingsFeedbackInput | UpdateFindingsFeedbackInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[UpdateFindingsFeedbackInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
UpdateFindingsFeedbackOutput

An instance of UpdateFindingsFeedbackOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

UpdateFindingsFeedbackInputDict

Bases: TypedDict

Dictionary form of UpdateFindingsFeedbackInput.

Attributes

comments instance-attribute
comments: str | None

Additional feedback about the GuardDuty findings.

detector_id instance-attribute
detector_id: Required[str]

The ID of the detector that is associated with the findings for which you want to update the feedback.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

feedback instance-attribute
feedback: Required[str]

The feedback for the finding.

finding_ids instance-attribute
finding_ids: Required[Sequence[str]]

The IDs of the findings that you want to mark as useful or not useful.

UpdateFindingsFeedbackInput dataclass

Bases: _SerdeShape

Dataclass for UpdateFindingsFeedbackInput structure.

Attributes

comments class-attribute instance-attribute
comments: str | None = ...

Additional feedback about the GuardDuty findings.

detector_id class-attribute instance-attribute
detector_id: str | None = ...

The ID of the detector that is associated with the findings for which you want to update the feedback.

To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

feedback class-attribute instance-attribute
feedback: str | None = ...

The feedback for the finding.

finding_ids class-attribute instance-attribute
finding_ids: list[str] | None = ...

The IDs of the findings that you want to mark as useful or not useful.

Output

UpdateFindingsFeedbackOutput dataclass

Bases: _SerdeShape

Dataclass for UpdateFindingsFeedbackOutput structure.

Attributes

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.