Module Values.ContainsPiiEntitiesResponseSource

Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number.

Sourcetype nonrec t = {
  1. labels : ListOfEntityLabels.t option;
    (*

    The labels used in the document being analyzed. Individual labels represent personally identifiable information (PII) entity types.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `TextSizeLimitExceededException of TextSizeLimitExceededException.t
  4. | `UnsupportedLanguageException of UnsupportedLanguageException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?labels:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `InvalidRequestException of InvalidRequestException.t | `TextSizeLimitExceededException of TextSizeLimitExceededException.t | `Unknown_operation_error of string * string option | `UnsupportedLanguageException of UnsupportedLanguageException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `InvalidRequestException of InvalidRequestException.t | `TextSizeLimitExceededException of TextSizeLimitExceededException.t | `Unknown_operation_error of string * string option | `UnsupportedLanguageException of UnsupportedLanguageException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Float of Float_.t ]) list ] list ]) 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