Module Values.TerminologyPropertiesSource

The properties of the custom terminology.

Sourcetype nonrec t = {
  1. name : ResourceName.t option;
    (*

    The name of the custom terminology.

    *)
  2. description : Description.t option;
    (*

    The description of the custom terminology properties.

    *)
  3. arn : TerminologyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the custom terminology.

    *)
  4. sourceLanguageCode : LanguageCodeString.t option;
    (*

    The language code for the source text of the translation request for which the custom terminology is being used.

    *)
  5. targetLanguageCodes : LanguageCodeStringList.t option;
    (*

    The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.

    *)
  6. encryptionKey : EncryptionKey.t option;
    (*

    The encryption key for the custom terminology.

    *)
  7. sizeBytes : Integer.t option;
    (*

    The size of the file used when importing a custom terminology.

    *)
  8. termCount : Integer.t option;
    (*

    The number of terms included in the custom terminology.

    *)
  9. createdAt : Timestamp.t option;
    (*

    The time at which the custom terminology was created, based on the timestamp.

    *)
  10. lastUpdatedAt : Timestamp.t option;
    (*

    The time at which the custom terminology was last update, based on the timestamp.

    *)
  11. directionality : Directionality.t option;
    (*

    The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional). UNI The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages. MULTI Any language in the terminology resource can be the source language.

    *)
  12. message : UnboundedLengthString.t option;
    (*

    Additional information from Amazon Translate about the terminology resource.

    *)
  13. skippedTermCount : Integer.t option;
    (*

    The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.

    *)
  14. format : TerminologyDataFormat.t option;
    (*

    The format of the custom terminology input file.

    *)
}
Sourceval make : ?name:??? -> ?description:??? -> ?arn:??? -> ?sourceLanguageCode:??? -> ?targetLanguageCodes:??? -> ?encryptionKey:??? -> ?sizeBytes:??? -> ?termCount:??? -> ?createdAt:??? -> ?lastUpdatedAt:??? -> ?directionality:??? -> ?message:??? -> ?skippedTermCount:??? -> ?format:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `List of [> `String of LanguageCodeString.t ] list | `String of ResourceName.t | `Structure of (string * [> `Enum of string | `String of EncryptionKeyID.t ]) list | `Timestamp of Timestamp.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