Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TextTranslationJobProperties = TextTranslationJobProperties' {
- jobId :: Maybe Text
- targetLanguageCodes :: Maybe (NonEmpty Text)
- jobName :: Maybe Text
- submittedTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- parallelDataNames :: Maybe [Text]
- terminologyNames :: Maybe [Text]
- sourceLanguageCode :: Maybe Text
- endTime :: Maybe POSIX
- outputDataConfig :: Maybe OutputDataConfig
- jobDetails :: Maybe JobDetails
- dataAccessRoleArn :: Maybe Text
- jobStatus :: Maybe JobStatus
- message :: Maybe Text
- newTextTranslationJobProperties :: TextTranslationJobProperties
- textTranslationJobProperties_jobId :: Lens' TextTranslationJobProperties (Maybe Text)
- textTranslationJobProperties_targetLanguageCodes :: Lens' TextTranslationJobProperties (Maybe (NonEmpty Text))
- textTranslationJobProperties_jobName :: Lens' TextTranslationJobProperties (Maybe Text)
- textTranslationJobProperties_submittedTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
- textTranslationJobProperties_inputDataConfig :: Lens' TextTranslationJobProperties (Maybe InputDataConfig)
- textTranslationJobProperties_parallelDataNames :: Lens' TextTranslationJobProperties (Maybe [Text])
- textTranslationJobProperties_terminologyNames :: Lens' TextTranslationJobProperties (Maybe [Text])
- textTranslationJobProperties_sourceLanguageCode :: Lens' TextTranslationJobProperties (Maybe Text)
- textTranslationJobProperties_endTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
- textTranslationJobProperties_outputDataConfig :: Lens' TextTranslationJobProperties (Maybe OutputDataConfig)
- textTranslationJobProperties_jobDetails :: Lens' TextTranslationJobProperties (Maybe JobDetails)
- textTranslationJobProperties_dataAccessRoleArn :: Lens' TextTranslationJobProperties (Maybe Text)
- textTranslationJobProperties_jobStatus :: Lens' TextTranslationJobProperties (Maybe JobStatus)
- textTranslationJobProperties_message :: Lens' TextTranslationJobProperties (Maybe Text)
Documentation
data TextTranslationJobProperties Source #
Provides information about a translation job.
See: newTextTranslationJobProperties
smart constructor.
TextTranslationJobProperties' | |
|
Instances
newTextTranslationJobProperties :: TextTranslationJobProperties Source #
Create a value of TextTranslationJobProperties
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:jobId:TextTranslationJobProperties'
, textTranslationJobProperties_jobId
- The ID of the translation job.
$sel:targetLanguageCodes:TextTranslationJobProperties'
, textTranslationJobProperties_targetLanguageCodes
- The language code of the language of the target text. The language must
be a language supported by Amazon Translate.
$sel:jobName:TextTranslationJobProperties'
, textTranslationJobProperties_jobName
- The user-defined name of the translation job.
$sel:submittedTime:TextTranslationJobProperties'
, textTranslationJobProperties_submittedTime
- The time at which the translation job was submitted.
$sel:inputDataConfig:TextTranslationJobProperties'
, textTranslationJobProperties_inputDataConfig
- The input configuration properties that were specified when the job was
requested.
$sel:parallelDataNames:TextTranslationJobProperties'
, textTranslationJobProperties_parallelDataNames
- A list containing the names of the parallel data resources applied to
the translation job.
$sel:terminologyNames:TextTranslationJobProperties'
, textTranslationJobProperties_terminologyNames
- A list containing the names of the terminologies applied to a
translation job. Only one terminology can be applied per
StartTextTranslationJob request at this time.
$sel:sourceLanguageCode:TextTranslationJobProperties'
, textTranslationJobProperties_sourceLanguageCode
- The language code of the language of the source text. The language must
be a language supported by Amazon Translate.
$sel:endTime:TextTranslationJobProperties'
, textTranslationJobProperties_endTime
- The time at which the translation job ended.
$sel:outputDataConfig:TextTranslationJobProperties'
, textTranslationJobProperties_outputDataConfig
- The output configuration properties that were specified when the job was
requested.
$sel:jobDetails:TextTranslationJobProperties'
, textTranslationJobProperties_jobDetails
- The number of documents successfully and unsuccessfully processed during
the translation job.
$sel:dataAccessRoleArn:TextTranslationJobProperties'
, textTranslationJobProperties_dataAccessRoleArn
- The Amazon Resource Name (ARN) of an AWS Identity Access and Management
(IAM) role that granted Amazon Translate read access to the job's input
data.
$sel:jobStatus:TextTranslationJobProperties'
, textTranslationJobProperties_jobStatus
- The status of the translation job.
$sel:message:TextTranslationJobProperties'
, textTranslationJobProperties_message
- An explanation of any errors that may have occured during the
translation job.
textTranslationJobProperties_jobId :: Lens' TextTranslationJobProperties (Maybe Text) Source #
The ID of the translation job.
textTranslationJobProperties_targetLanguageCodes :: Lens' TextTranslationJobProperties (Maybe (NonEmpty Text)) Source #
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
textTranslationJobProperties_jobName :: Lens' TextTranslationJobProperties (Maybe Text) Source #
The user-defined name of the translation job.
textTranslationJobProperties_submittedTime :: Lens' TextTranslationJobProperties (Maybe UTCTime) Source #
The time at which the translation job was submitted.
textTranslationJobProperties_inputDataConfig :: Lens' TextTranslationJobProperties (Maybe InputDataConfig) Source #
The input configuration properties that were specified when the job was requested.
textTranslationJobProperties_parallelDataNames :: Lens' TextTranslationJobProperties (Maybe [Text]) Source #
A list containing the names of the parallel data resources applied to the translation job.
textTranslationJobProperties_terminologyNames :: Lens' TextTranslationJobProperties (Maybe [Text]) Source #
A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.
textTranslationJobProperties_sourceLanguageCode :: Lens' TextTranslationJobProperties (Maybe Text) Source #
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
textTranslationJobProperties_endTime :: Lens' TextTranslationJobProperties (Maybe UTCTime) Source #
The time at which the translation job ended.
textTranslationJobProperties_outputDataConfig :: Lens' TextTranslationJobProperties (Maybe OutputDataConfig) Source #
The output configuration properties that were specified when the job was requested.
textTranslationJobProperties_jobDetails :: Lens' TextTranslationJobProperties (Maybe JobDetails) Source #
The number of documents successfully and unsuccessfully processed during the translation job.
textTranslationJobProperties_dataAccessRoleArn :: Lens' TextTranslationJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.
textTranslationJobProperties_jobStatus :: Lens' TextTranslationJobProperties (Maybe JobStatus) Source #
The status of the translation job.
textTranslationJobProperties_message :: Lens' TextTranslationJobProperties (Maybe Text) Source #
An explanation of any errors that may have occured during the translation job.