{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-list-topic-rule-destinations-response-schema.json",
  "title": "ListTopicRuleDestinationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-destinations-api-openapi.yml#/components/schemas/ListTopicRuleDestinationsResponse",
  "type": "object",
  "properties": {
    "destinationSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TopicRuleDestinationSummary"
      },
      "description": "Information about a topic rule destination."
    },
    "nextToken": {
      "type": "string",
      "description": "The token to use to get the next set of results, or null if there are no additional results."
    }
  },
  "$defs": {
    "HttpUrlDestinationSummary": {
      "type": "object",
      "properties": {
        "confirmationUrl": {
          "type": "string",
          "description": "The URL used to confirm ownership of or access to the HTTP topic rule destination URL."
        }
      }
    },
    "InfluxDBDestinationSummary": {
      "type": "object",
      "properties": {
        "endpoint": {
          "type": "string",
          "description": "The URL of the InfluxDB instance that the destination writes to."
        },
        "influxDBVersion": {
          "type": "string",
          "enum": [
            "V2",
            "V3"
          ],
          "description": "The major version of the InfluxDB instance. Valid values are V2 and V3."
        },
        "secretId": {
          "type": "string",
          "description": "The ARN or name of the Amazon Web Services Secrets Manager secret that contains the InfluxDB API token."
        },
        "secretType": {
          "type": "string",
          "enum": [
            "SecretString",
            "SecretBinary"
          ],
          "description": "The type of the secret that contains the InfluxDB API token. Valid values are SecretString and SecretBinary."
        },
        "secretKey": {
          "type": "string",
          "description": "The key that is read from the secret value when the secret contains a JSON object."
        }
      }
    },
    "TopicRuleDestinationSummary": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The topic rule destination ARN."
        },
        "status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "IN_PROGRESS",
            "DISABLED",
            "ERROR",
            "DELETING"
          ],
          "description": "The status of the topic rule destination. Valid values are: IN_PROGRESS A topic rule destination was created but has not been confirmed. You can set status to IN_PROGRESS by calling UpdateTopicRuleDestination. Calling UpdateTopicRuleDestination causes a new confirmation challenge to be sent to your confirmation endpoint. ENABLED Confirmation was completed, and traffic to this destination is allowed. You can set status to DISABLED by calling UpdateTopicRuleDestination. DISABLED Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling U"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the topic rule destination was created."
        },
        "lastUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time when the topic rule destination was last updated."
        },
        "statusReason": {
          "type": "string",
          "description": "The reason the topic rule destination is in the current status."
        },
        "httpUrlSummary": {
          "$ref": "#/$defs/HttpUrlDestinationSummary"
        },
        "vpcDestinationSummary": {
          "$ref": "#/$defs/VpcDestinationSummary"
        },
        "influxDBSummary": {
          "$ref": "#/$defs/InfluxDBDestinationSummary"
        }
      }
    },
    "VpcDestinationSummary": {
      "type": "object",
      "properties": {
        "subnetIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The subnet IDs of the VPC destination."
        },
        "securityGroups": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The security groups of the VPC destination."
        },
        "vpcId": {
          "type": "string",
          "description": "The ID of the VPC."
        },
        "roleArn": {
          "type": "string",
          "description": "The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs)."
        }
      }
    }
  }
}