{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-list-publishing-destinations-response-schema.json",
  "title": "ListPublishingDestinationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-publishingdestination-api-openapi.yml#/components/schemas/ListPublishingDestinationsResponse",
  "type": "object",
  "properties": {
    "Destinations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Destination"
      },
      "description": "A Destinations object that includes information about each publishing destination returned."
    },
    "NextToken": {
      "type": "string",
      "description": "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."
    }
  },
  "required": [
    "Destinations"
  ],
  "$defs": {
    "Destination": {
      "type": "object",
      "properties": {
        "DestinationId": {
          "type": "string",
          "description": "The unique ID of the publishing destination."
        },
        "DestinationType": {
          "type": "string",
          "enum": [
            "S3"
          ],
          "description": "The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported."
        },
        "Status": {
          "type": "string",
          "enum": [
            "PENDING_VERIFICATION",
            "PUBLISHING",
            "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY",
            "STOPPED"
          ],
          "description": "The status of the publishing destination."
        }
      },
      "required": [
        "DestinationId",
        "DestinationType",
        "Status"
      ]
    }
  }
}