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 |
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 |
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
¶
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.
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.
Output¶
UpdateFindingsFeedbackOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateFindingsFeedbackOutput structure.