Module Values.StartTargetedSentimentDetectionJobRequestSource

Starts an asynchronous targeted sentiment detection job for a collection of documents. Use the DescribeTargetedSentimentDetectionJob operation to track the status of a job.

Sourcetype nonrec t = {
  1. inputDataConfig : InputDataConfig.t;
  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. For more information, see Role-based permissions.

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

    The identifier of the job.

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

    The language of the input documents. Currently, English is the only supported language.

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

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

    *)
  7. volumeKmsKeyId : KmsKeyId.t option;
    (*

    ID for the KMS key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats: KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

    *)
  8. vpcConfig : VpcConfig.t option;
  9. tags : TagList.t option;
    (*

    Tags to associate with the targeted sentiment 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:??? -> ?volumeKmsKeyId:??? -> ?vpcConfig:??? -> ?tags:??? -> inputDataConfig:InputDataConfig.t -> outputDataConfig:OutputDataConfig.t -> dataAccessRoleArn:IamRoleArn.t -> languageCode:LanguageCode.t -> unit -> t
Sourceval 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 [> `String of SecurityGroupId.t ] list | `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