Module Values.RedactionConfigSource

Provides configuration parameters for PII entity redaction.

Sourcetype nonrec t = {
  1. piiEntityTypes : ListOfPiiEntityTypes.t option;
    (*

    An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.

    *)
  2. maskMode : PiiEntitiesDetectionMaskMode.t option;
    (*

    Specifies whether the PII entity is redacted with the mask character or the entity type.

    *)
  3. maskCharacter : MaskCharacter.t option;
    (*

    A character that replaces each character in the redacted PII entity.

    *)
}
Sourceval make : ?piiEntityTypes:??? -> ?maskMode:??? -> ?maskCharacter:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of MaskCharacter.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t