{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-shield/json-schema/amazon-shield-list-attacks-response-schema.json",
  "title": "ListAttacksResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-shield-operations-api-openapi.yml#/components/schemas/ListAttacksResponse",
  "type": "object",
  "properties": {
    "AttackSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AttackSummary"
      },
      "description": "The attack information for the specified time range."
    },
    "NextToken": {
      "type": "string",
      "description": "When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request. You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available. W"
    }
  },
  "$defs": {
    "AttackSummary": {
      "type": "object",
      "properties": {
        "AttackId": {
          "type": "string",
          "description": "The unique identifier (ID) of the attack."
        },
        "ResourceArn": {
          "type": "string",
          "description": "The ARN (Amazon Resource Name) of the resource that was attacked."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The start time of the attack, in Unix time in seconds."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The end time of the attack, in Unix time in seconds."
        },
        "AttackVectors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AttackVectorDescription"
          },
          "description": "The list of attacks for a specified time period."
        }
      }
    },
    "AttackVectorDescription": {
      "type": "object",
      "properties": {
        "VectorType": {
          "type": "string",
          "description": "The attack type. Valid values: UDP_TRAFFIC UDP_FRAGMENT GENERIC_UDP_REFLECTION DNS_REFLECTION NTP_REFLECTION CHARGEN_REFLECTION SSDP_REFLECTION PORT_MAPPER RIP_REFLECTION SNMP_REFLECTION MSSQL_REFLECTION NET_BIOS_REFLECTION SYN_FLOOD ACK_FLOOD REQUEST_FLOOD HTTP_REFLECTION UDS_REFLECTION MEMCACHED_REFLECTION"
        }
      },
      "required": [
        "VectorType"
      ]
    }
  }
}