StartTextTranslationJobRequest
public struct StartTextTranslationJobRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The client token of the EC2 instance calling the request. This token is auto-generated when using the Amazon Translate SDK. Otherwise, use the DescribeInstances EC2 operation to retreive an instance’s client token. For more information, see Client Tokens in the EC2 User Guide.
Declaration
Swift
public let clientToken: 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. For more nformation, see identity-and-access-management.
Declaration
Swift
public let dataAccessRoleArn: String
-
Specifies the format and S3 location of the input documents for the translation job.
Declaration
Swift
public let inputDataConfig: InputDataConfig
-
The name of the batch translation job to be performed.
Declaration
Swift
public let jobName: String?
-
Specifies the S3 folder to which your job output will be saved.
Declaration
Swift
public let outputDataConfig: OutputDataConfig
-
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.
Declaration
Swift
public let sourceLanguageCode: String
-
The language code of the output language.
Declaration
Swift
public let targetLanguageCodes: [String]
-
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
Declaration
Swift
public let terminologyNames: [String]?
-
init(clientToken:dataAccessRoleArn:inputDataConfig:jobName:outputDataConfig:sourceLanguageCode:targetLanguageCodes:terminologyNames:)
Undocumented
Declaration
Swift
public init(clientToken: String = StartTextTranslationJobRequest.idempotencyToken(), dataAccessRoleArn: String, inputDataConfig: InputDataConfig, jobName: String? = nil, outputDataConfig: OutputDataConfig, sourceLanguageCode: String, targetLanguageCodes: [String], terminologyNames: [String]? = nil)
-
Declaration
Swift
public func validate(name: String) throws