Skip to content

Guardduty  >  Operations  >  delete_detector

delete_detector

Operation

delete_detector async

delete_detector(input: DeleteDetectorInput, plugins: list[Plugin] | None = None) -> DeleteDetectorOutput

Deletes an Amazon GuardDuty detector that is specified by the detector ID.

Parameters:

Name Type Description Default
input DeleteDetectorInput

An instance of DeleteDetectorInput.

required
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

Returns:

Type Description
DeleteDetectorOutput

An instance of DeleteDetectorOutput.

Input

DeleteDetectorInput dataclass

Dataclass for DeleteDetectorInput structure.

Attributes

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

The unique ID of the detector that you want to delete.

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

Output

DeleteDetectorOutput dataclass

Dataclass for DeleteDetectorOutput structure.