Skip to content

List Publishing Destinations

guardduty_list_publishing_destinations R Documentation

Returns a list of publishing destinations associated with the specified detectorId

Description

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

Usage

guardduty_list_publishing_destinations(DetectorId, MaxResults,
  NextToken)

Arguments

DetectorId

[required] 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 list_detectors API.

MaxResults

The maximum number of results to return in the response.

NextToken

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.

Value

A list with the following syntax:

list(
  Destinations = list(
    list(
      DestinationId = "string",
      DestinationType = "S3",
      Status = "PENDING_VERIFICATION"|"PUBLISHING"|"UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY"|"STOPPED"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_publishing_destinations(
  DetectorId = "string",
  MaxResults = 123,
  NextToken = "string"
)