Amazon Comprehend · JSON Structure

Openapi.Yml Redaction Config Structure

Provides configuration parameters for PII entity redaction.

Type: object Properties: 3
Machine LearningNatural Language ProcessingNLPText Analysis

RedactionConfig is a JSON Structure definition published by Amazon Comprehend, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

PiiEntityTypes MaskMode MaskCharacter

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-comprehend/refs/heads/main/json-structure/openapi.yml-redaction-config-structure.json",
  "name": "RedactionConfig",
  "description": "Provides configuration parameters for PII entity redaction.",
  "type": "object",
  "properties": {
    "PiiEntityTypes": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ListOfPiiEntityTypes"
        },
        {
          "description": "An array of the types of PII entities that Amazon Comprehend detects in the input text for your request."
        }
      ]
    },
    "MaskMode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PiiEntitiesDetectionMaskMode"
        },
        {
          "description": "Specifies whether the PII entity is redacted with the mask character or the entity type."
        }
      ]
    },
    "MaskCharacter": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MaskCharacter"
        },
        {
          "description": "A character that replaces each character in the redacted PII entity."
        }
      ]
    }
  }
}