Skip to content

Guardduty  >  Operations  >  delete_publishing_destination

delete_publishing_destination

Operation

delete_publishing_destination async

delete_publishing_destination(input: DeletePublishingDestinationInput, plugins: list[Plugin] | None = None) -> DeletePublishingDestinationOutput

Deletes the publishing definition with the specified destinationId.

Parameters:

Name Type Description Default
input DeletePublishingDestinationInput

An instance of DeletePublishingDestinationInput.

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
DeletePublishingDestinationOutput

An instance of DeletePublishingDestinationOutput.

Input

DeletePublishingDestinationInput dataclass

Dataclass for DeletePublishingDestinationInput structure.

Attributes

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

The ID of the publishing destination to delete.

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

The unique ID of the detector associated with the publishing destination to delete.

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

Output

DeletePublishingDestinationOutput dataclass

Dataclass for DeletePublishingDestinationOutput structure.