Values.StartPiiEntitiesDetectionJobRequestSourceStarts an asynchronous PII entity detection job for a collection of documents.
type nonrec t = {inputDataConfig : InputDataConfig.t;The input properties for a PII entities detection job.
*)outputDataConfig : OutputDataConfig.t;Provides configuration parameters for the output of PII entity detection jobs.
*)mode : PiiEntitiesDetectionMode.t;Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
*)redactionConfig : RedactionConfig.t option;Provides configuration parameters for PII entity redaction. This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.
*)dataAccessRoleArn : IamRoleArn.t;The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.
*)jobName : JobName.t option;The identifier of the job.
*)languageCode : LanguageCode.t;The language of the input documents. Enter the language code for English (en) or Spanish (es).
*)clientRequestToken : ClientRequestTokenString.t option;A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
*)}val make :
?redactionConfig:??? ->
?jobName:??? ->
?clientRequestToken:??? ->
?tags:??? ->
inputDataConfig:InputDataConfig.t ->
outputDataConfig:OutputDataConfig.t ->
mode:PiiEntitiesDetectionMode.t ->
dataAccessRoleArn:IamRoleArn.t ->
languageCode:LanguageCode.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of TagKey.t ]) list ] list
| `String of IamRoleArn.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `Enum of string ] list
| `String of S3Uri.t
| `Structure of
(string
* [> `Enum of string | `List of [> `Enum of string ] list ])
list ])
list ])
list ]