ExAws.Translate.start_text_translation_job

You're seeing just the function start_text_translation_job, go back to ExAws.Translate module for more information.
Link to this function

start_text_translation_job(client_token, data_access_role_arn, input_data_config, output_data_config, source_language_code, target_language_codes, opts \\ [])

View Source

Specs

start_text_translation_job(
  client_token :: String.t(),
  data_access_role_arn :: String.t(),
  input_data_config :: input_data_config(),
  output_data_config :: output_data_config(),
  source_language_code :: String.t(),
  target_language_codes :: list(),
  opts :: start_text_translation_job_opts()
) :: ExAws.Operation.JSON.t()

Starts an asynchronous batch translation job. Batch translation jobs can be used to translate large volumes of text across multiple documents at once. For more information, see Asynchronous Batch Processing.

Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation.

Examples

iex> ExAws.Translate.start_text_translation_job(
  "ba3e6b13-b79b-4c1c-97ca-7258d7545ec1",
  "arn:aws:iam::123456789123:role/service-role/AmazonTranslateServiceRole-translate",
  %{content_type: "text/plain", s3_uri: "s3://bucket/input"},
  %{s3_uri: "s3://bucket/output"},
  "en",
  ["es"]
)
|> ExAws.request()
{:ok,
  %{"JobId" => "cc4208305119d3fff9a5e8daa702c637", "JobStatus" => "SUBMITTED"}}

For more information visit the AWS Translate API Documentation for StartTextTranslationJob.