{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-device-defender/json-schema/amazon-iot-device-defender-list-security-profiles-for-target-response-schema.json",
  "title": "ListSecurityProfilesForTargetResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-device-defender-security-profiles-for-target-api-openapi.yml#/components/schemas/ListSecurityProfilesForTargetResponse",
  "type": "object",
  "properties": {
    "securityProfileTargetMappings": {
      "allOf": [
        {
          "$ref": "#/$defs/SecurityProfileTargetMappings"
        },
        {
          "description": "A list of security profiles and their associated targets."
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/$defs/NextToken"
        },
        {
          "description": "A token that can be used to retrieve the next set of results, or <code>null</code> if there are no additional results."
        }
      ]
    }
  },
  "$defs": {
    "NextToken": {
      "type": "string"
    },
    "SecurityProfileArn": {
      "type": "string"
    },
    "SecurityProfileIdentifier": {
      "type": "object",
      "required": [
        "name",
        "arn"
      ],
      "properties": {
        "name": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityProfileName"
            },
            {
              "description": "The name you've given to the security profile."
            }
          ]
        },
        "arn": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityProfileArn"
            },
            {
              "description": "The ARN of the security profile."
            }
          ]
        }
      },
      "description": "Identifying information for a Device Defender security profile."
    },
    "SecurityProfileName": {
      "type": "string",
      "pattern": "[a-zA-Z0-9:_-]+",
      "minLength": 1,
      "maxLength": 128
    },
    "SecurityProfileTarget": {
      "type": "object",
      "required": [
        "arn"
      ],
      "properties": {
        "arn": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityProfileTargetArn"
            },
            {
              "description": "The ARN of the security profile."
            }
          ]
        }
      },
      "description": "A target to which an alert is sent when a security profile behavior is violated."
    },
    "SecurityProfileTargetArn": {
      "type": "string"
    },
    "SecurityProfileTargetMapping": {
      "type": "object",
      "properties": {
        "securityProfileIdentifier": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityProfileIdentifier"
            },
            {
              "description": "Information that identifies the security profile."
            }
          ]
        },
        "target": {
          "allOf": [
            {
              "$ref": "#/$defs/SecurityProfileTarget"
            },
            {
              "description": "Information about the target (thing group) associated with the security profile."
            }
          ]
        }
      },
      "description": "Information about a security profile and the target associated with it."
    },
    "SecurityProfileTargetMappings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SecurityProfileTargetMapping"
      }
    }
  }
}