Module Values.ImportTerminologyRequestSource

Creates or updates a custom terminology, depending on whether one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. The only supported merge strategy is OVERWRITE, where the imported terminology overwrites the existing terminology of the same name. If you import a terminology that overwrites an existing one, the new terminology takes up to 10 minutes to fully propagate. After that, translations have access to the new terminology.

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

    The name of the custom terminology being imported.

    *)
  2. mergeStrategy : MergeStrategy.t;
    (*

    The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.

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

    The description of the custom terminology being imported.

    *)
  4. terminologyData : TerminologyData.t;
    (*

    The terminology data for the custom terminology being imported.

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

    The encryption key for the custom terminology being imported.

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

    Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?encryptionKey:??? -> ?tags:??? -> name:ResourceName.t -> mergeStrategy:MergeStrategy.t -> terminologyData:TerminologyData.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 ResourceName.t | `Structure of (string * [> `Blob of TerminologyFile.t | `Enum of string | `String of EncryptionKeyID.t ]) 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