{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-describe-publishing-destination-response-schema.json",
  "title": "DescribePublishingDestinationResponse",
  "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/DescribePublishingDestinationResponse",
  "type": "object",
  "properties": {
    "DestinationId": {
      "type": "string",
      "description": "The ID of the publishing destination."
    },
    "DestinationType": {
      "type": "string",
      "enum": [
        "S3"
      ],
      "description": "The type of 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."
    },
    "PublishingFailureStartTimestamp": {
      "type": "integer",
      "description": "The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination."
    },
    "DestinationProperties": {
      "$ref": "#/$defs/DestinationProperties"
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags of the publishing destination resource."
    }
  },
  "required": [
    "DestinationId",
    "DestinationType",
    "Status",
    "PublishingFailureStartTimestamp",
    "DestinationProperties"
  ],
  "$defs": {
    "DestinationProperties": {
      "type": "object",
      "properties": {
        "DestinationArn": {
          "type": "string",
          "description": "The ARN of the resource to publish to. To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/"
        },
        "KmsKeyArn": {
          "type": "string",
          "description": "The ARN of the KMS key to use for encryption."
        },
        "ExpectedBucketOwner": {
          "type": "string",
          "description": "The 12-digit Amazon Web Services account ID of the account that owns the Amazon S3 bucket specified in the DestinationArn parameter. When you provide this value, GuardDuty verifies that the specified account owns the bucket before it exports findings. If the account ID doesn't match the actual owner of the bucket, GuardDuty doesn't export findings to that bucket. This helps prevent GuardDuty from exporting your findings to a bucket that a different Amazon Web Services account owns (for example, if the original bucket was deleted and its name was later claimed by another account). If you don't "
        }
      }
    }
  }
}