Skip to content

get_malware_scan_settings

Operation

get_malware_scan_settings

get_malware_scan_settings(request: GetMalwareScanSettingsInput | GetMalwareScanSettingsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetMalwareScanSettingsInputDict]) -> GetMalwareScanSettingsOutput

Returns the details of 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 GetMalwareScanSettingsInput | GetMalwareScanSettingsInputDict | 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[GetMalwareScanSettingsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetMalwareScanSettingsOutput

An instance of GetMalwareScanSettingsOutput.

get_malware_scan_settings async

get_malware_scan_settings(request: GetMalwareScanSettingsInput | GetMalwareScanSettingsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetMalwareScanSettingsInputDict]) -> GetMalwareScanSettingsOutput

Returns the details of 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 GetMalwareScanSettingsInput | GetMalwareScanSettingsInputDict | 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[GetMalwareScanSettingsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetMalwareScanSettingsOutput

An instance of GetMalwareScanSettingsOutput.

Input

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

GetMalwareScanSettingsInputDict

Bases: TypedDict

Dictionary form of GetMalwareScanSettingsInput.

Attributes

detector_id instance-attribute
detector_id: Required[str]

The unique ID of the detector that is associated with this scan.

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

GetMalwareScanSettingsInput dataclass

Bases: _SerdeShape

Dataclass for GetMalwareScanSettingsInput structure.

Attributes

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

The unique ID of the detector that is associated with this scan.

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

Output

GetMalwareScanSettingsOutput dataclass

Bases: _SerdeShape

Dataclass for GetMalwareScanSettingsOutput structure.

Attributes

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

An enum value representing possible snapshot preservation settings.

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.

scan_resource_criteria class-attribute instance-attribute
scan_resource_criteria: ScanResourceCriteria | None = ...

Represents the criteria to be used in the filter for scanning resources.