{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-put-index-policy-response-schema.json",
  "title": "PutIndexPolicyResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-index-policy-api-openapi.yml#/components/schemas/PutIndexPolicyResponse",
  "type": "object",
  "properties": {
    "indexPolicy": {
      "$ref": "#/$defs/IndexPolicy"
    }
  },
  "$defs": {
    "IndexPolicy": {
      "type": "object",
      "properties": {
        "logGroupIdentifier": {
          "type": "string",
          "description": "The ARN of the log group that this index policy applies to."
        },
        "lastUpdateTime": {
          "type": "integer",
          "description": "The date and time that this index policy was most recently updated."
        },
        "policyDocument": {
          "type": "string",
          "description": "The policy document for this index policy, in JSON format."
        },
        "policyName": {
          "type": "string",
          "description": "The name of this policy. Responses about log group-level field index policies don't have this field, because those policies don't have names."
        },
        "source": {
          "type": "string",
          "enum": [
            "ACCOUNT",
            "LOG_GROUP"
          ],
          "description": "This field indicates whether this is an account-level index policy or an index policy that applies only to a single log group."
        }
      }
    }
  }
}