Module Values.GetParallelDataResponseSource

Provides information about a parallel data resource.

Sourcetype nonrec t = {
  1. parallelDataProperties : ParallelDataProperties.t option;
    (*

    The properties of the parallel data resource that is being retrieved.

    *)
  2. dataLocation : ParallelDataDataLocation.t option;
    (*

    The Amazon S3 location of the most recent parallel data 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 : ParallelDataDataLocation.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 parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.

    *)
  4. latestUpdateAttemptAuxiliaryDataLocation : ParallelDataDataLocation.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 update a parallel data 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 : ?parallelDataProperties:??? -> ?dataLocation:??? -> ?auxiliaryDataLocation:??? -> ?latestUpdateAttemptAuxiliaryDataLocation:??? -> 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 | `List of [> `String of LanguageCodeString.t ] list | `Long of Long.t | `String of ResourceName.t | `Structure of (string * [> `Enum of string | `String of S3Uri.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