You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Translate::Types::StartTextTranslationJobRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing StartTextTranslationJobRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  job_name: "JobName",
  input_data_config: { # required
    s3_uri: "S3Uri", # required
    content_type: "ContentType", # required
  },
  output_data_config: { # required
    s3_uri: "S3Uri", # required
  },
  data_access_role_arn: "IamRoleArn", # required
  source_language_code: "LanguageCodeString", # required
  target_language_codes: ["LanguageCodeString"], # required
  terminology_names: ["ResourceName"],
  client_token: "ClientTokenString", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.

Returns:

  • (String)

    A unique identifier for the request.

#data_access_role_arnString

The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see identity-and-access-management.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data.

#input_data_configTypes::InputDataConfig

Specifies the format and S3 location of the input documents for the translation job.

Returns:

  • (Types::InputDataConfig)

    Specifies the format and S3 location of the input documents for the translation job.

#job_nameString

The name of the batch translation job to be performed.

Returns:

  • (String)

    The name of the batch translation job to be performed.

#output_data_configTypes::OutputDataConfig

Specifies the S3 folder to which your job output will be saved.

Returns:

#source_language_codeString

The language code of the input language. For a list of language codes, see what-is-languages.

Amazon Translate does not automatically detect a source language during batch translation jobs.

Returns:

  • (String)

    The language code of the input language.

#target_language_codesArray<String>

The language code of the output language.

Returns:

  • (Array<String>)

    The language code of the output language.

#terminology_namesArray<String>

The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.

Returns:

  • (Array<String>)

    The name of the terminology to use in the batch translation job.