update_malware_scan_settings¶
Operation¶
update_malware_scan_settings
¶
update_malware_scan_settings(request: UpdateMalwareScanSettingsInput | UpdateMalwareScanSettingsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateMalwareScanSettingsInputDict]) -> UpdateMalwareScanSettingsOutput
Updates the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateMalwareScanSettingsInput | UpdateMalwareScanSettingsInputDict | 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[UpdateMalwareScanSettingsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateMalwareScanSettingsOutput
|
An instance of |
update_malware_scan_settings
async
¶
update_malware_scan_settings(request: UpdateMalwareScanSettingsInput | UpdateMalwareScanSettingsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateMalwareScanSettingsInputDict]) -> UpdateMalwareScanSettingsOutput
Updates the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateMalwareScanSettingsInput | UpdateMalwareScanSettingsInputDict | 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[UpdateMalwareScanSettingsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateMalwareScanSettingsOutput
|
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.
UpdateMalwareScanSettingsInputDict
¶
Bases: TypedDict
Dictionary form of UpdateMalwareScanSettingsInput.
Attributes¶
detector_id
instance-attribute
¶
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
To find the detectorId in the current Region, see the Settings page in
the GuardDuty console, or run the
ListDetectors
API.
ebs_snapshot_preservation
instance-attribute
¶
ebs_snapshot_preservation: str | None
An enum value representing possible snapshot preservation settings.
scan_resource_criteria
instance-attribute
¶
scan_resource_criteria: ScanResourceCriteria | ScanResourceCriteriaDict | None
Represents the criteria to be used in the filter for selecting resources to scan.
UpdateMalwareScanSettingsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateMalwareScanSettingsInput structure.
Attributes¶
detector_id
class-attribute
instance-attribute
¶
detector_id: str | None = ...
The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
To find the detectorId in the current Region, see the Settings page in
the GuardDuty console, or run the
ListDetectors
API.
ebs_snapshot_preservation
class-attribute
instance-attribute
¶
ebs_snapshot_preservation: str | None = ...
An enum value representing possible snapshot preservation settings.
scan_resource_criteria
class-attribute
instance-attribute
¶
scan_resource_criteria: ScanResourceCriteria | None = ...
Represents the criteria to be used in the filter for selecting resources to scan.
Output¶
UpdateMalwareScanSettingsOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateMalwareScanSettingsOutput structure.