Skip to content

Guardduty  >  Operations  >  list_publishing_destinations

list_publishing_destinations

Operation

list_publishing_destinations async

list_publishing_destinations(input: ListPublishingDestinationsInput, plugins: list[Plugin] | None = None) -> ListPublishingDestinationsOutput

Returns a list of publishing destinations associated with the specified detectorId.

Parameters:

Name Type Description Default
input ListPublishingDestinationsInput

An instance of ListPublishingDestinationsInput.

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
ListPublishingDestinationsOutput

An instance of ListPublishingDestinationsOutput.

Input

ListPublishingDestinationsInput dataclass

Dataclass for ListPublishingDestinationsInput structure.

Attributes

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

The detector ID for which you want to retrieve the publishing destination.

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

max_results class-attribute instance-attribute
max_results: int | None = None

The maximum number of results to return in the response.

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

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

Output

ListPublishingDestinationsOutput dataclass

Dataclass for ListPublishingDestinationsOutput structure.

Attributes

destinations class-attribute instance-attribute
destinations: list[Destination] | None = None

A Destinations object that includes information about each publishing destination returned.

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

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.