{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ses/json-schema/amazon-ses-list-traffic-policies-response-schema.json",
  "title": "ListTrafficPoliciesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ses-traffic-policy-api-openapi.yml#/components/schemas/ListTrafficPoliciesResponse",
  "type": "object",
  "properties": {
    "TrafficPolicies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TrafficPolicy"
      },
      "description": "The list of traffic policies."
    },
    "NextToken": {
      "type": "string",
      "description": "If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page."
    }
  },
  "$defs": {
    "TrafficPolicy": {
      "type": "object",
      "properties": {
        "TrafficPolicyName": {
          "type": "string",
          "description": "A user-friendly name of the traffic policy resource."
        },
        "TrafficPolicyId": {
          "type": "string",
          "description": "The identifier of the traffic policy resource."
        },
        "DefaultAction": {
          "type": "string",
          "enum": [
            "ALLOW",
            "DENY"
          ],
          "description": "Default action instructs the traﬃc policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements"
        }
      },
      "required": [
        "TrafficPolicyName",
        "TrafficPolicyId",
        "DefaultAction"
      ]
    }
  }
}