Module Values.GetTerminologyResponseSource

Retrieves a custom terminology.

Sourcetype nonrec t = {
  1. terminologyProperties : TerminologyProperties.t option;
    (*

    The properties of the custom terminology being retrieved.

    *)
  2. terminologyDataLocation : TerminologyDataLocation.t option;
    (*

    The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration. Amazon Translate doesn't scan all input files for the risk of CSV injection attacks. CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it. Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.

    *)
  3. auxiliaryDataLocation : TerminologyDataLocation.t option;
    (*

    The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidParameterValueException of InvalidParameterValueException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?terminologyProperties:??? -> ?terminologyDataLocation:??? -> ?auxiliaryDataLocation:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `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 ]) 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