{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cloudera/main/json-schema/cloudera-configure-archiving-request-schema.json",
  "title": "ConfigureArchivingRequest",
  "description": "Request object for the ConfigureArchiving method.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudera-audit-api-openapi.yml#/components/schemas/ConfigureArchivingRequest",
  "type": "object",
  "required": [
    "storageLocation",
    "credentialName",
    "enabled"
  ],
  "properties": {
    "storageLocation": {
      "type": "string",
      "description": "The destination for the logs, e.g. S3 bucket name",
      "x-no-paramfile": true
    },
    "credentialName": {
      "type": "string",
      "description": "The credential name or CRN to use"
    },
    "enabled": {
      "type": "boolean",
      "description": "Flag to enable/disable the archiving process"
    },
    "storageRegion": {
      "type": "string",
      "description": "The region to work with when accessing the logs, e.g. S3 region"
    },
    "verifyOnly": {
      "type": "boolean",
      "description": "Whether to only verify the configuration, and not update it."
    }
  }
}