{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-get-encryption-config-result-schema.json",
  "title": "GetEncryptionConfigResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-encryptionconfig-api-openapi.yml#/components/schemas/GetEncryptionConfigResult",
  "type": "object",
  "properties": {
    "EncryptionConfig": {
      "$ref": "#/$defs/EncryptionConfig"
    }
  },
  "$defs": {
    "EncryptionConfig": {
      "type": "object",
      "properties": {
        "KeyId": {
          "type": "string",
          "description": "The ID of the KMS key used for encryption, if applicable."
        },
        "Status": {
          "type": "string",
          "enum": [
            "UPDATING",
            "ACTIVE"
          ],
          "description": "The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of the new and old settings."
        },
        "Type": {
          "type": "string",
          "enum": [
            "NONE",
            "KMS"
          ],
          "description": "The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for default encryption."
        }
      }
    }
  }
}