Skip to content

Guardduty  >  Operations  >  update_publishing_destination

update_publishing_destination

Operation

update_publishing_destination async

update_publishing_destination(input: UpdatePublishingDestinationInput, plugins: list[Plugin] | None = None) -> UpdatePublishingDestinationOutput

Updates information about the publishing destination specified by the destinationId.

Parameters:

Name Type Description Default
input UpdatePublishingDestinationInput

An instance of UpdatePublishingDestinationInput.

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
UpdatePublishingDestinationOutput

An instance of UpdatePublishingDestinationOutput.

Input

UpdatePublishingDestinationInput dataclass

Dataclass for UpdatePublishingDestinationInput structure.

Attributes

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

The ID of the publishing destination to update.

destination_properties class-attribute instance-attribute
destination_properties: DestinationProperties | None = None

A DestinationProperties object that includes the DestinationArn and KmsKeyArn of the publishing destination.

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

The ID of the detector associated with the publishing destinations to update.

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

Output

UpdatePublishingDestinationOutput dataclass

Dataclass for UpdatePublishingDestinationOutput structure.