Module Values.StartEventsDetectionJobRequestSource

Starts an asynchronous event detection job for a collection of documents.

Sourcetype nonrec t = {
  1. inputDataConfig : InputDataConfig.t;
    (*

    Specifies the format and location of the input data for the job.

    *)
  2. outputDataConfig : OutputDataConfig.t;
    (*

    Specifies where to send the output files.

    *)
  3. dataAccessRoleArn : IamRoleArn.t;
    (*

    The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to your input data.

    *)
  4. jobName : JobName.t option;
    (*

    The identifier of the events detection job.

    *)
  5. languageCode : LanguageCode.t;
    (*

    The language code of the input documents.

    *)
  6. clientRequestToken : ClientRequestTokenString.t option;
    (*

    An unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.

    *)
  7. targetEventTypes : TargetEventTypes.t;
    (*

    The types of events to detect in the input documents.

    *)
  8. tags : TagList.t option;
    (*

    Tags to associate with the events detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

    *)
}
Sourceval context_ : string
Sourceval make : ?jobName:??? -> ?clientRequestToken:??? -> ?tags:??? -> inputDataConfig:InputDataConfig.t -> outputDataConfig:OutputDataConfig.t -> dataAccessRoleArn:IamRoleArn.t -> languageCode:LanguageCode.t -> targetEventTypes:TargetEventTypes.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of EventTypeString.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of IamRoleArn.t | `Structure of (string * [> `Enum of string | `String of S3Uri.t | `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list ]) 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