{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-management/json-schema/amazon-iot-device-management-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-device-management-destinations-api-openapi.yml#/components/schemas/ListTopicRuleDestinationsResponse",
  "type": "object",
  "properties": {
    "destinationSummaries": {
      "allOf": [
        {
          "$ref": "#/$defs/TopicRuleDestinationSummaries"
        },
        {
          "description": "Information about a topic rule destination."
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": "The token to use to get the next set of results, or <b>null</b> if there are no additional results."
        }
      ]
    }
  },
  "$defs": {
    "AwsArn": {
      "type": "string"
    },
    "CreatedAtDate": {
      "type": "string",
      "format": "date-time"
    },
    "HttpUrlDestinationSummary": {
      "type": "object",
      "properties": {
        "confirmationUrl": {
          "allOf": [
            {
              "$ref": "#/$defs/Url"
            },
            {
              "description": "The URL used to confirm ownership of or access to the HTTP topic rule destination URL."
            }
          ]
        }
      },
      "description": "Information about an HTTP URL destination."
    },
    "LastUpdatedAtDate": {
      "type": "string",
      "format": "date-time"
    },
    "NextToken": {
      "type": "string"
    },
    "SecurityGroupId": {
      "type": "string"
    },
    "SecurityGroupList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SecurityGroupId"
      }
    },
    "String": {
      "type": "string"
    },
    "SubnetId": {
      "type": "string"
    },
    "SubnetIdList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubnetId"
      }
    },
    "TopicRuleDestinationStatus": {
      "type": "string",
      "enum": [
        "ENABLED",
        "IN_PROGRESS",
        "DISABLED",
        "ERROR",
        "DELETING"
      ]
    },
    "TopicRuleDestinationSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TopicRuleDestinationSummary"
      }
    },
    "TopicRuleDestinationSummary": {
      "type": "object",
      "properties": {
        "arn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The topic rule destination ARN."
            }
          ]
        },
        "status": {
          "allOf": [
            {
              "$ref": "#/$defs/TopicRuleDestinationStatus"
            },
            {
              "description": "<p>The status of the topic rule destination. Valid values are:</p> <dl> <dt>IN_PROGRESS</dt> <dd> <p>A topic rule destination was created but has not been confirmed. You can set <code>status</code> to <code>IN_PROGRESS</code> by calling <code>UpdateTopicRuleDestination</code>. Calling <code>UpdateTopicRuleDestination</code> causes a new confirmation challenge to be sent to your confirmation endpoint.</p> </dd> <dt>ENABLED</dt> <dd> <p>Confirmation was completed, and traffic to this destination is allowed. You can set <code>status</code> to <code>DISABLED</code> by calling <code>UpdateTopicRuleDestination</code>.</p> </dd> <dt>DISABLED</dt> <dd> <p>Confirmation was completed, and traffic to this destination is not allowed. You can set <code>status</code> to <code>ENABLED</code> by calling <code>UpdateTopicRuleDestination</code>.</p> </dd> <dt>ERROR</dt> <dd> <p>Confirmation could not be completed, for example if the confirmation timed out. You can call <code>GetTopicRuleDestination</code> for details about the error. You can set <code>status</code> to <code>IN_PROGRESS</code> by calling <code>UpdateTopicRuleDestination</code>. Calling <code>UpdateTopicRuleDestination</code> causes a new confirmation challenge to be sent to your confirmation endpoint.</p> </dd> </dl>"
            }
          ]
        },
        "createdAt": {
          "allOf": [
            {
              "$ref": "#/$defs/CreatedAtDate"
            },
            {
              "description": "The date and time when the topic rule destination was created."
            }
          ]
        },
        "lastUpdatedAt": {
          "allOf": [
            {
              "$ref": "#/$defs/LastUpdatedAtDate"
            },
            {
              "description": "The date and time when the topic rule destination was last updated."
            }
          ]
        },
        "statusReason": {
          "allOf": [
            {
              "$ref": "#/$defs/String"
            },
            {
              "description": "The reason the topic rule destination is in the current status."
            }
          ]
        },
        "httpUrlSummary": {
          "allOf": [
            {
              "$ref": "#/$defs/HttpUrlDestinationSummary"
            },
            {
              "description": "Information about the HTTP URL."
            }
          ]
        },
        "vpcDestinationSummary": {
          "allOf": [
            {
              "$ref": "#/$defs/VpcDestinationSummary"
            },
            {
              "description": "Information about the virtual private cloud (VPC) connection."
            }
          ]
        }
      },
      "description": "Information about the topic rule destination."
    },
    "Url": {
      "type": "string",
      "maxLength": 2000
    },
    "VpcDestinationSummary": {
      "type": "object",
      "properties": {
        "subnetIds": {
          "allOf": [
            {
              "$ref": "#/$defs/SubnetIdList"
            },
            {
              "description": "The subnet IDs of the VPC destination."
            }
          ]
        },
        "securityGroups": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityGroupList"
            },
            {
              "description": "The security groups of the VPC destination."
            }
          ]
        },
        "vpcId": {
          "allOf": [
            {
              "$ref": "#/$defs/VpcId"
            },
            {
              "description": "The ID of the VPC."
            }
          ]
        },
        "roleArn": {
          "allOf": [
            {
              "$ref": "#/$defs/AwsArn"
            },
            {
              "description": "The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs)."
            }
          ]
        }
      },
      "description": "The summary of a virtual private cloud (VPC) destination."
    },
    "VpcId": {
      "type": "string"
    }
  }
}