{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-core/json-schema/amazon-iot-core-list-attached-policies-request-schema.json",
  "title": "ListAttachedPoliciesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-core-attached-policies-api-openapi.yml#/components/schemas/ListAttachedPoliciesRequest",
  "type": "object",
  "properties": {
    "target": {
      "type": "string",
      "description": "The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id)."
    },
    "recursive": {
      "type": "boolean",
      "description": "When true, recursively list attached policies."
    },
    "marker": {
      "type": "string",
      "description": "The token to retrieve the next set of results."
    },
    "pageSize": {
      "type": "integer",
      "description": "The maximum number of results to be returned per request."
    }
  },
  "required": [
    "target"
  ]
}