{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3/json-schema/amazon-s3-get-table-encryption-response-schema.json",
  "title": "GetTableEncryptionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-encryption-api-openapi.yml#/components/schemas/GetTableEncryptionResponse",
  "type": "object",
  "properties": {
    "encryptionConfiguration": {
      "$ref": "#/$defs/S3TablesEncryptionConfiguration"
    }
  },
  "required": [
    "encryptionConfiguration"
  ],
  "$defs": {
    "S3TablesEncryptionConfiguration": {
      "type": "object",
      "properties": {
        "sseAlgorithm": {
          "type": "string",
          "enum": [
            "AES256",
            "aws:kms"
          ],
          "description": "The server-side encryption algorithm to use. Valid values are AES256 for S3-managed encryption keys, or aws:kms for Amazon Web Services KMS-managed encryption keys. If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption."
        },
        "kmsKeyArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key to use for encryption. This field is required only when sseAlgorithm is set to aws:kms."
        }
      },
      "required": [
        "sseAlgorithm"
      ]
    }
  }
}