packages feed

amazonka-translate 1.6.1 → 2.0

raw patch · 99 files changed

+9662/−656 lines, 99 filesdep +case-insensitivedep ~amazonka-coredep ~amazonka-testdep ~basesetup-changedPVP ok

version bump matches the API change (PVP)

Dependencies added: case-insensitive

Dependency ranges changed: amazonka-core, amazonka-test, base

API changes (from Hackage documentation)

- Network.AWS.Translate: _DetectedLanguageLowConfidenceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate: _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate: _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate: _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate: _TextSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate: _UnsupportedLanguagePairException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate: translate :: Service
- Network.AWS.Translate.TranslateText: data TranslateText
- Network.AWS.Translate.TranslateText: data TranslateTextResponse
- Network.AWS.Translate.TranslateText: instance Control.DeepSeq.NFData Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance Control.DeepSeq.NFData Network.AWS.Translate.TranslateText.TranslateTextResponse
- Network.AWS.Translate.TranslateText: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance Data.Data.Data Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance Data.Data.Data Network.AWS.Translate.TranslateText.TranslateTextResponse
- Network.AWS.Translate.TranslateText: instance Data.Hashable.Class.Hashable Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance GHC.Classes.Eq Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance GHC.Classes.Eq Network.AWS.Translate.TranslateText.TranslateTextResponse
- Network.AWS.Translate.TranslateText: instance GHC.Generics.Generic Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance GHC.Generics.Generic Network.AWS.Translate.TranslateText.TranslateTextResponse
- Network.AWS.Translate.TranslateText: instance GHC.Read.Read Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance GHC.Read.Read Network.AWS.Translate.TranslateText.TranslateTextResponse
- Network.AWS.Translate.TranslateText: instance GHC.Show.Show Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance GHC.Show.Show Network.AWS.Translate.TranslateText.TranslateTextResponse
- Network.AWS.Translate.TranslateText: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance Network.AWS.Data.Path.ToPath Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance Network.AWS.Data.Query.ToQuery Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: instance Network.AWS.Types.AWSRequest Network.AWS.Translate.TranslateText.TranslateText
- Network.AWS.Translate.TranslateText: translateText :: Text -> Text -> Text -> TranslateText
- Network.AWS.Translate.TranslateText: translateTextResponse :: Int -> Text -> Text -> Text -> TranslateTextResponse
- Network.AWS.Translate.TranslateText: ttSourceLanguageCode :: Lens' TranslateText Text
- Network.AWS.Translate.TranslateText: ttTargetLanguageCode :: Lens' TranslateText Text
- Network.AWS.Translate.TranslateText: ttText :: Lens' TranslateText Text
- Network.AWS.Translate.TranslateText: ttrsResponseStatus :: Lens' TranslateTextResponse Int
- Network.AWS.Translate.TranslateText: ttrsSourceLanguageCode :: Lens' TranslateTextResponse Text
- Network.AWS.Translate.TranslateText: ttrsTargetLanguageCode :: Lens' TranslateTextResponse Text
- Network.AWS.Translate.TranslateText: ttrsTranslatedText :: Lens' TranslateTextResponse Text
- Network.AWS.Translate.Types: _DetectedLanguageLowConfidenceException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate.Types: _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate.Types: _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate.Types: _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate.Types: _TextSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate.Types: _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate.Types: _UnsupportedLanguagePairException :: AsError a => Getting (First ServiceError) a ServiceError
- Network.AWS.Translate.Types: translate :: Service
+ Amazonka.Translate: AppliedTerminology' :: Maybe Text -> Maybe [Term] -> AppliedTerminology
+ Amazonka.Translate: CreateParallelData' :: Maybe Text -> Maybe EncryptionKey -> Maybe [Tag] -> Text -> ParallelDataConfig -> Text -> CreateParallelData
+ Amazonka.Translate: CreateParallelDataResponse' :: Maybe Text -> Maybe ParallelDataStatus -> Int -> CreateParallelDataResponse
+ Amazonka.Translate: DeleteParallelData' :: Text -> DeleteParallelData
+ Amazonka.Translate: DeleteParallelDataResponse' :: Maybe Text -> Maybe ParallelDataStatus -> Int -> DeleteParallelDataResponse
+ Amazonka.Translate: DeleteTerminology' :: Text -> DeleteTerminology
+ Amazonka.Translate: DeleteTerminologyResponse' :: DeleteTerminologyResponse
+ Amazonka.Translate: DescribeTextTranslationJob' :: Text -> DescribeTextTranslationJob
+ Amazonka.Translate: DescribeTextTranslationJobResponse' :: Maybe TextTranslationJobProperties -> Int -> DescribeTextTranslationJobResponse
+ Amazonka.Translate: Directionality' :: Text -> Directionality
+ Amazonka.Translate: DisplayLanguageCode' :: Text -> DisplayLanguageCode
+ Amazonka.Translate: EncryptionKey' :: EncryptionKeyType -> Text -> EncryptionKey
+ Amazonka.Translate: EncryptionKeyType' :: Text -> EncryptionKeyType
+ Amazonka.Translate: Formality' :: Text -> Formality
+ Amazonka.Translate: GetParallelData' :: Text -> GetParallelData
+ Amazonka.Translate: GetParallelDataResponse' :: Maybe ParallelDataDataLocation -> Maybe ParallelDataDataLocation -> Maybe ParallelDataDataLocation -> Maybe ParallelDataProperties -> Int -> GetParallelDataResponse
+ Amazonka.Translate: GetTerminology' :: Maybe TerminologyDataFormat -> Text -> GetTerminology
+ Amazonka.Translate: GetTerminologyResponse' :: Maybe TerminologyDataLocation -> Maybe TerminologyDataLocation -> Maybe TerminologyProperties -> Int -> GetTerminologyResponse
+ Amazonka.Translate: ImportTerminology' :: Maybe Text -> Maybe EncryptionKey -> Maybe [Tag] -> Text -> MergeStrategy -> TerminologyData -> ImportTerminology
+ Amazonka.Translate: ImportTerminologyResponse' :: Maybe TerminologyDataLocation -> Maybe TerminologyProperties -> Int -> ImportTerminologyResponse
+ Amazonka.Translate: InputDataConfig' :: Text -> Text -> InputDataConfig
+ Amazonka.Translate: JobDetails' :: Maybe Int -> Maybe Int -> Maybe Int -> JobDetails
+ Amazonka.Translate: JobStatus' :: Text -> JobStatus
+ Amazonka.Translate: Language' :: Text -> Text -> Language
+ Amazonka.Translate: ListLanguages' :: Maybe DisplayLanguageCode -> Maybe Natural -> Maybe Text -> ListLanguages
+ Amazonka.Translate: ListLanguagesResponse' :: Maybe DisplayLanguageCode -> Maybe [Language] -> Maybe Text -> Int -> ListLanguagesResponse
+ Amazonka.Translate: ListParallelData' :: Maybe Natural -> Maybe Text -> ListParallelData
+ Amazonka.Translate: ListParallelDataResponse' :: Maybe Text -> Maybe [ParallelDataProperties] -> Int -> ListParallelDataResponse
+ Amazonka.Translate: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.Translate: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.Translate: ListTerminologies' :: Maybe Natural -> Maybe Text -> ListTerminologies
+ Amazonka.Translate: ListTerminologiesResponse' :: Maybe Text -> Maybe [TerminologyProperties] -> Int -> ListTerminologiesResponse
+ Amazonka.Translate: ListTextTranslationJobs' :: Maybe TextTranslationJobFilter -> Maybe Natural -> Maybe Text -> ListTextTranslationJobs
+ Amazonka.Translate: ListTextTranslationJobsResponse' :: Maybe Text -> Maybe [TextTranslationJobProperties] -> Int -> ListTextTranslationJobsResponse
+ Amazonka.Translate: MergeStrategy' :: Text -> MergeStrategy
+ Amazonka.Translate: OutputDataConfig' :: Maybe EncryptionKey -> Text -> OutputDataConfig
+ Amazonka.Translate: ParallelDataConfig' :: Text -> ParallelDataFormat -> ParallelDataConfig
+ Amazonka.Translate: ParallelDataDataLocation' :: Text -> Text -> ParallelDataDataLocation
+ Amazonka.Translate: ParallelDataFormat' :: Text -> ParallelDataFormat
+ Amazonka.Translate: ParallelDataProperties' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe EncryptionKey -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe POSIX -> Maybe POSIX -> Maybe ParallelDataStatus -> Maybe Text -> Maybe Text -> Maybe ParallelDataConfig -> Maybe Integer -> Maybe Text -> Maybe ParallelDataStatus -> Maybe [Text] -> ParallelDataProperties
+ Amazonka.Translate: ParallelDataStatus' :: Text -> ParallelDataStatus
+ Amazonka.Translate: Profanity' :: Text -> Profanity
+ Amazonka.Translate: StartTextTranslationJob' :: Maybe Text -> Maybe [Text] -> Maybe TranslationSettings -> Maybe [Text] -> InputDataConfig -> OutputDataConfig -> Text -> Text -> NonEmpty Text -> Text -> StartTextTranslationJob
+ Amazonka.Translate: StartTextTranslationJobResponse' :: Maybe Text -> Maybe JobStatus -> Int -> StartTextTranslationJobResponse
+ Amazonka.Translate: StopTextTranslationJob' :: Text -> StopTextTranslationJob
+ Amazonka.Translate: StopTextTranslationJobResponse' :: Maybe Text -> Maybe JobStatus -> Int -> StopTextTranslationJobResponse
+ Amazonka.Translate: Tag' :: Text -> Text -> Tag
+ Amazonka.Translate: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.Translate: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.Translate: Term' :: Maybe Text -> Maybe Text -> Term
+ Amazonka.Translate: TerminologyData' :: Maybe Directionality -> Sensitive Base64 -> TerminologyDataFormat -> TerminologyData
+ Amazonka.Translate: TerminologyDataFormat' :: Text -> TerminologyDataFormat
+ Amazonka.Translate: TerminologyDataLocation' :: Text -> Text -> TerminologyDataLocation
+ Amazonka.Translate: TerminologyProperties' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Directionality -> Maybe EncryptionKey -> Maybe TerminologyDataFormat -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Int -> TerminologyProperties
+ Amazonka.Translate: TextTranslationJobFilter' :: Maybe Text -> Maybe JobStatus -> Maybe POSIX -> Maybe POSIX -> TextTranslationJobFilter
+ Amazonka.Translate: TextTranslationJobProperties' :: Maybe Text -> Maybe POSIX -> Maybe InputDataConfig -> Maybe JobDetails -> Maybe Text -> Maybe Text -> Maybe JobStatus -> Maybe Text -> Maybe OutputDataConfig -> Maybe [Text] -> Maybe TranslationSettings -> Maybe Text -> Maybe POSIX -> Maybe (NonEmpty Text) -> Maybe [Text] -> TextTranslationJobProperties
+ Amazonka.Translate: TranslateText' :: Maybe TranslationSettings -> Maybe [Text] -> Text -> Text -> Text -> TranslateText
+ Amazonka.Translate: TranslateTextResponse' :: Maybe TranslationSettings -> Maybe [AppliedTerminology] -> Int -> Text -> Text -> Text -> TranslateTextResponse
+ Amazonka.Translate: TranslationSettings' :: Maybe Formality -> Maybe Profanity -> TranslationSettings
+ Amazonka.Translate: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.Translate: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.Translate: UpdateParallelData' :: Maybe Text -> Text -> ParallelDataConfig -> Text -> UpdateParallelData
+ Amazonka.Translate: UpdateParallelDataResponse' :: Maybe POSIX -> Maybe ParallelDataStatus -> Maybe Text -> Maybe ParallelDataStatus -> Int -> UpdateParallelDataResponse
+ Amazonka.Translate: [fromDirectionality] :: Directionality -> Text
+ Amazonka.Translate: [fromDisplayLanguageCode] :: DisplayLanguageCode -> Text
+ Amazonka.Translate: [fromEncryptionKeyType] :: EncryptionKeyType -> Text
+ Amazonka.Translate: [fromFormality] :: Formality -> Text
+ Amazonka.Translate: [fromJobStatus] :: JobStatus -> Text
+ Amazonka.Translate: [fromMergeStrategy] :: MergeStrategy -> Text
+ Amazonka.Translate: [fromParallelDataFormat] :: ParallelDataFormat -> Text
+ Amazonka.Translate: [fromParallelDataStatus] :: ParallelDataStatus -> Text
+ Amazonka.Translate: [fromProfanity] :: Profanity -> Text
+ Amazonka.Translate: [fromTerminologyDataFormat] :: TerminologyDataFormat -> Text
+ Amazonka.Translate: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _ConflictException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _DetectedLanguageLowConfidenceException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _InternalServerException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _InvalidFilterException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _InvalidParameterValueException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _InvalidRequestException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _ServiceUnavailableException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _TextSizeLimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _TooManyTagsException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _UnsupportedDisplayLanguageCodeException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: _UnsupportedLanguagePairException :: AsError a => Fold a ServiceError
+ Amazonka.Translate: data AppliedTerminology
+ Amazonka.Translate: data CreateParallelData
+ Amazonka.Translate: data CreateParallelDataResponse
+ Amazonka.Translate: data DeleteParallelData
+ Amazonka.Translate: data DeleteParallelDataResponse
+ Amazonka.Translate: data DeleteTerminology
+ Amazonka.Translate: data DeleteTerminologyResponse
+ Amazonka.Translate: data DescribeTextTranslationJob
+ Amazonka.Translate: data DescribeTextTranslationJobResponse
+ Amazonka.Translate: data EncryptionKey
+ Amazonka.Translate: data GetParallelData
+ Amazonka.Translate: data GetParallelDataResponse
+ Amazonka.Translate: data GetTerminology
+ Amazonka.Translate: data GetTerminologyResponse
+ Amazonka.Translate: data ImportTerminology
+ Amazonka.Translate: data ImportTerminologyResponse
+ Amazonka.Translate: data InputDataConfig
+ Amazonka.Translate: data JobDetails
+ Amazonka.Translate: data Language
+ Amazonka.Translate: data ListLanguages
+ Amazonka.Translate: data ListLanguagesResponse
+ Amazonka.Translate: data ListParallelData
+ Amazonka.Translate: data ListParallelDataResponse
+ Amazonka.Translate: data ListTagsForResource
+ Amazonka.Translate: data ListTagsForResourceResponse
+ Amazonka.Translate: data ListTerminologies
+ Amazonka.Translate: data ListTerminologiesResponse
+ Amazonka.Translate: data ListTextTranslationJobs
+ Amazonka.Translate: data ListTextTranslationJobsResponse
+ Amazonka.Translate: data OutputDataConfig
+ Amazonka.Translate: data ParallelDataConfig
+ Amazonka.Translate: data ParallelDataDataLocation
+ Amazonka.Translate: data ParallelDataProperties
+ Amazonka.Translate: data StartTextTranslationJob
+ Amazonka.Translate: data StartTextTranslationJobResponse
+ Amazonka.Translate: data StopTextTranslationJob
+ Amazonka.Translate: data StopTextTranslationJobResponse
+ Amazonka.Translate: data Tag
+ Amazonka.Translate: data TagResource
+ Amazonka.Translate: data TagResourceResponse
+ Amazonka.Translate: data Term
+ Amazonka.Translate: data TerminologyData
+ Amazonka.Translate: data TerminologyDataLocation
+ Amazonka.Translate: data TerminologyProperties
+ Amazonka.Translate: data TextTranslationJobFilter
+ Amazonka.Translate: data TextTranslationJobProperties
+ Amazonka.Translate: data TranslateText
+ Amazonka.Translate: data TranslateTextResponse
+ Amazonka.Translate: data TranslationSettings
+ Amazonka.Translate: data UntagResource
+ Amazonka.Translate: data UntagResourceResponse
+ Amazonka.Translate: data UpdateParallelData
+ Amazonka.Translate: data UpdateParallelDataResponse
+ Amazonka.Translate: defaultService :: Service
+ Amazonka.Translate: newAppliedTerminology :: AppliedTerminology
+ Amazonka.Translate: newCreateParallelData :: Text -> ParallelDataConfig -> Text -> CreateParallelData
+ Amazonka.Translate: newCreateParallelDataResponse :: Int -> CreateParallelDataResponse
+ Amazonka.Translate: newDeleteParallelData :: Text -> DeleteParallelData
+ Amazonka.Translate: newDeleteParallelDataResponse :: Int -> DeleteParallelDataResponse
+ Amazonka.Translate: newDeleteTerminology :: Text -> DeleteTerminology
+ Amazonka.Translate: newDeleteTerminologyResponse :: DeleteTerminologyResponse
+ Amazonka.Translate: newDescribeTextTranslationJob :: Text -> DescribeTextTranslationJob
+ Amazonka.Translate: newDescribeTextTranslationJobResponse :: Int -> DescribeTextTranslationJobResponse
+ Amazonka.Translate: newEncryptionKey :: EncryptionKeyType -> Text -> EncryptionKey
+ Amazonka.Translate: newGetParallelData :: Text -> GetParallelData
+ Amazonka.Translate: newGetParallelDataResponse :: Int -> GetParallelDataResponse
+ Amazonka.Translate: newGetTerminology :: Text -> GetTerminology
+ Amazonka.Translate: newGetTerminologyResponse :: Int -> GetTerminologyResponse
+ Amazonka.Translate: newImportTerminology :: Text -> MergeStrategy -> TerminologyData -> ImportTerminology
+ Amazonka.Translate: newImportTerminologyResponse :: Int -> ImportTerminologyResponse
+ Amazonka.Translate: newInputDataConfig :: Text -> Text -> InputDataConfig
+ Amazonka.Translate: newJobDetails :: JobDetails
+ Amazonka.Translate: newLanguage :: Text -> Text -> Language
+ Amazonka.Translate: newListLanguages :: ListLanguages
+ Amazonka.Translate: newListLanguagesResponse :: Int -> ListLanguagesResponse
+ Amazonka.Translate: newListParallelData :: ListParallelData
+ Amazonka.Translate: newListParallelDataResponse :: Int -> ListParallelDataResponse
+ Amazonka.Translate: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Translate: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Translate: newListTerminologies :: ListTerminologies
+ Amazonka.Translate: newListTerminologiesResponse :: Int -> ListTerminologiesResponse
+ Amazonka.Translate: newListTextTranslationJobs :: ListTextTranslationJobs
+ Amazonka.Translate: newListTextTranslationJobsResponse :: Int -> ListTextTranslationJobsResponse
+ Amazonka.Translate: newOutputDataConfig :: Text -> OutputDataConfig
+ Amazonka.Translate: newParallelDataConfig :: Text -> ParallelDataFormat -> ParallelDataConfig
+ Amazonka.Translate: newParallelDataDataLocation :: Text -> Text -> ParallelDataDataLocation
+ Amazonka.Translate: newParallelDataProperties :: ParallelDataProperties
+ Amazonka.Translate: newStartTextTranslationJob :: InputDataConfig -> OutputDataConfig -> Text -> Text -> NonEmpty Text -> Text -> StartTextTranslationJob
+ Amazonka.Translate: newStartTextTranslationJobResponse :: Int -> StartTextTranslationJobResponse
+ Amazonka.Translate: newStopTextTranslationJob :: Text -> StopTextTranslationJob
+ Amazonka.Translate: newStopTextTranslationJobResponse :: Int -> StopTextTranslationJobResponse
+ Amazonka.Translate: newTag :: Text -> Text -> Tag
+ Amazonka.Translate: newTagResource :: Text -> TagResource
+ Amazonka.Translate: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.Translate: newTerm :: Term
+ Amazonka.Translate: newTerminologyData :: ByteString -> TerminologyDataFormat -> TerminologyData
+ Amazonka.Translate: newTerminologyDataLocation :: Text -> Text -> TerminologyDataLocation
+ Amazonka.Translate: newTerminologyProperties :: TerminologyProperties
+ Amazonka.Translate: newTextTranslationJobFilter :: TextTranslationJobFilter
+ Amazonka.Translate: newTextTranslationJobProperties :: TextTranslationJobProperties
+ Amazonka.Translate: newTranslateText :: Text -> Text -> Text -> TranslateText
+ Amazonka.Translate: newTranslateTextResponse :: Int -> Text -> Text -> Text -> TranslateTextResponse
+ Amazonka.Translate: newTranslationSettings :: TranslationSettings
+ Amazonka.Translate: newUntagResource :: Text -> UntagResource
+ Amazonka.Translate: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.Translate: newUpdateParallelData :: Text -> ParallelDataConfig -> Text -> UpdateParallelData
+ Amazonka.Translate: newUpdateParallelDataResponse :: Int -> UpdateParallelDataResponse
+ Amazonka.Translate: newtype Directionality
+ Amazonka.Translate: newtype DisplayLanguageCode
+ Amazonka.Translate: newtype EncryptionKeyType
+ Amazonka.Translate: newtype Formality
+ Amazonka.Translate: newtype JobStatus
+ Amazonka.Translate: newtype MergeStrategy
+ Amazonka.Translate: newtype ParallelDataFormat
+ Amazonka.Translate: newtype ParallelDataStatus
+ Amazonka.Translate: newtype Profanity
+ Amazonka.Translate: newtype TerminologyDataFormat
+ Amazonka.Translate: pattern Directionality_MULTI :: Directionality
+ Amazonka.Translate: pattern Directionality_UNI :: Directionality
+ Amazonka.Translate: pattern DisplayLanguageCode_De :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_En :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_Es :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_Fr :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_It :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_Ja :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_Ko :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_Pt :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_Zh :: DisplayLanguageCode
+ Amazonka.Translate: pattern DisplayLanguageCode_Zh_TW :: DisplayLanguageCode
+ Amazonka.Translate: pattern EncryptionKeyType_KMS :: EncryptionKeyType
+ Amazonka.Translate: pattern Formality_FORMAL :: Formality
+ Amazonka.Translate: pattern Formality_INFORMAL :: Formality
+ Amazonka.Translate: pattern JobStatus_COMPLETED :: JobStatus
+ Amazonka.Translate: pattern JobStatus_COMPLETED_WITH_ERROR :: JobStatus
+ Amazonka.Translate: pattern JobStatus_FAILED :: JobStatus
+ Amazonka.Translate: pattern JobStatus_IN_PROGRESS :: JobStatus
+ Amazonka.Translate: pattern JobStatus_STOPPED :: JobStatus
+ Amazonka.Translate: pattern JobStatus_STOP_REQUESTED :: JobStatus
+ Amazonka.Translate: pattern JobStatus_SUBMITTED :: JobStatus
+ Amazonka.Translate: pattern MergeStrategy_OVERWRITE :: MergeStrategy
+ Amazonka.Translate: pattern ParallelDataFormat_CSV :: ParallelDataFormat
+ Amazonka.Translate: pattern ParallelDataFormat_TMX :: ParallelDataFormat
+ Amazonka.Translate: pattern ParallelDataFormat_TSV :: ParallelDataFormat
+ Amazonka.Translate: pattern ParallelDataStatus_ACTIVE :: ParallelDataStatus
+ Amazonka.Translate: pattern ParallelDataStatus_CREATING :: ParallelDataStatus
+ Amazonka.Translate: pattern ParallelDataStatus_DELETING :: ParallelDataStatus
+ Amazonka.Translate: pattern ParallelDataStatus_FAILED :: ParallelDataStatus
+ Amazonka.Translate: pattern ParallelDataStatus_UPDATING :: ParallelDataStatus
+ Amazonka.Translate: pattern Profanity_MASK :: Profanity
+ Amazonka.Translate: pattern TerminologyDataFormat_CSV :: TerminologyDataFormat
+ Amazonka.Translate: pattern TerminologyDataFormat_TMX :: TerminologyDataFormat
+ Amazonka.Translate: pattern TerminologyDataFormat_TSV :: TerminologyDataFormat
+ Amazonka.Translate.CreateParallelData: CreateParallelData' :: Maybe Text -> Maybe EncryptionKey -> Maybe [Tag] -> Text -> ParallelDataConfig -> Text -> CreateParallelData
+ Amazonka.Translate.CreateParallelData: CreateParallelDataResponse' :: Maybe Text -> Maybe ParallelDataStatus -> Int -> CreateParallelDataResponse
+ Amazonka.Translate.CreateParallelData: [$sel:clientToken:CreateParallelData'] :: CreateParallelData -> Text
+ Amazonka.Translate.CreateParallelData: [$sel:description:CreateParallelData'] :: CreateParallelData -> Maybe Text
+ Amazonka.Translate.CreateParallelData: [$sel:encryptionKey:CreateParallelData'] :: CreateParallelData -> Maybe EncryptionKey
+ Amazonka.Translate.CreateParallelData: [$sel:httpStatus:CreateParallelDataResponse'] :: CreateParallelDataResponse -> Int
+ Amazonka.Translate.CreateParallelData: [$sel:name:CreateParallelData'] :: CreateParallelData -> Text
+ Amazonka.Translate.CreateParallelData: [$sel:name:CreateParallelDataResponse'] :: CreateParallelDataResponse -> Maybe Text
+ Amazonka.Translate.CreateParallelData: [$sel:parallelDataConfig:CreateParallelData'] :: CreateParallelData -> ParallelDataConfig
+ Amazonka.Translate.CreateParallelData: [$sel:status:CreateParallelDataResponse'] :: CreateParallelDataResponse -> Maybe ParallelDataStatus
+ Amazonka.Translate.CreateParallelData: [$sel:tags:CreateParallelData'] :: CreateParallelData -> Maybe [Tag]
+ Amazonka.Translate.CreateParallelData: createParallelDataResponse_httpStatus :: Lens' CreateParallelDataResponse Int
+ Amazonka.Translate.CreateParallelData: createParallelDataResponse_name :: Lens' CreateParallelDataResponse (Maybe Text)
+ Amazonka.Translate.CreateParallelData: createParallelDataResponse_status :: Lens' CreateParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.CreateParallelData: createParallelData_clientToken :: Lens' CreateParallelData Text
+ Amazonka.Translate.CreateParallelData: createParallelData_description :: Lens' CreateParallelData (Maybe Text)
+ Amazonka.Translate.CreateParallelData: createParallelData_encryptionKey :: Lens' CreateParallelData (Maybe EncryptionKey)
+ Amazonka.Translate.CreateParallelData: createParallelData_name :: Lens' CreateParallelData Text
+ Amazonka.Translate.CreateParallelData: createParallelData_parallelDataConfig :: Lens' CreateParallelData ParallelDataConfig
+ Amazonka.Translate.CreateParallelData: createParallelData_tags :: Lens' CreateParallelData (Maybe [Tag])
+ Amazonka.Translate.CreateParallelData: data CreateParallelData
+ Amazonka.Translate.CreateParallelData: data CreateParallelDataResponse
+ Amazonka.Translate.CreateParallelData: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance Amazonka.Data.Path.ToPath Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance Amazonka.Types.AWSRequest Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.CreateParallelData.CreateParallelDataResponse
+ Amazonka.Translate.CreateParallelData: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance Data.Hashable.Class.Hashable Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance GHC.Classes.Eq Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance GHC.Classes.Eq Amazonka.Translate.CreateParallelData.CreateParallelDataResponse
+ Amazonka.Translate.CreateParallelData: instance GHC.Generics.Generic Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance GHC.Generics.Generic Amazonka.Translate.CreateParallelData.CreateParallelDataResponse
+ Amazonka.Translate.CreateParallelData: instance GHC.Read.Read Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance GHC.Read.Read Amazonka.Translate.CreateParallelData.CreateParallelDataResponse
+ Amazonka.Translate.CreateParallelData: instance GHC.Show.Show Amazonka.Translate.CreateParallelData.CreateParallelData
+ Amazonka.Translate.CreateParallelData: instance GHC.Show.Show Amazonka.Translate.CreateParallelData.CreateParallelDataResponse
+ Amazonka.Translate.CreateParallelData: newCreateParallelData :: Text -> ParallelDataConfig -> Text -> CreateParallelData
+ Amazonka.Translate.CreateParallelData: newCreateParallelDataResponse :: Int -> CreateParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: DeleteParallelData' :: Text -> DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: DeleteParallelDataResponse' :: Maybe Text -> Maybe ParallelDataStatus -> Int -> DeleteParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: [$sel:httpStatus:DeleteParallelDataResponse'] :: DeleteParallelDataResponse -> Int
+ Amazonka.Translate.DeleteParallelData: [$sel:name:DeleteParallelData'] :: DeleteParallelData -> Text
+ Amazonka.Translate.DeleteParallelData: [$sel:name:DeleteParallelDataResponse'] :: DeleteParallelDataResponse -> Maybe Text
+ Amazonka.Translate.DeleteParallelData: [$sel:status:DeleteParallelDataResponse'] :: DeleteParallelDataResponse -> Maybe ParallelDataStatus
+ Amazonka.Translate.DeleteParallelData: data DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: data DeleteParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: deleteParallelDataResponse_httpStatus :: Lens' DeleteParallelDataResponse Int
+ Amazonka.Translate.DeleteParallelData: deleteParallelDataResponse_name :: Lens' DeleteParallelDataResponse (Maybe Text)
+ Amazonka.Translate.DeleteParallelData: deleteParallelDataResponse_status :: Lens' DeleteParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.DeleteParallelData: deleteParallelData_name :: Lens' DeleteParallelData Text
+ Amazonka.Translate.DeleteParallelData: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance Amazonka.Data.Path.ToPath Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance Amazonka.Types.AWSRequest Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.DeleteParallelData.DeleteParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance Data.Hashable.Class.Hashable Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance GHC.Classes.Eq Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance GHC.Classes.Eq Amazonka.Translate.DeleteParallelData.DeleteParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: instance GHC.Generics.Generic Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance GHC.Generics.Generic Amazonka.Translate.DeleteParallelData.DeleteParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: instance GHC.Read.Read Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance GHC.Read.Read Amazonka.Translate.DeleteParallelData.DeleteParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: instance GHC.Show.Show Amazonka.Translate.DeleteParallelData.DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: instance GHC.Show.Show Amazonka.Translate.DeleteParallelData.DeleteParallelDataResponse
+ Amazonka.Translate.DeleteParallelData: newDeleteParallelData :: Text -> DeleteParallelData
+ Amazonka.Translate.DeleteParallelData: newDeleteParallelDataResponse :: Int -> DeleteParallelDataResponse
+ Amazonka.Translate.DeleteTerminology: DeleteTerminology' :: Text -> DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: DeleteTerminologyResponse' :: DeleteTerminologyResponse
+ Amazonka.Translate.DeleteTerminology: [$sel:name:DeleteTerminology'] :: DeleteTerminology -> Text
+ Amazonka.Translate.DeleteTerminology: data DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: data DeleteTerminologyResponse
+ Amazonka.Translate.DeleteTerminology: deleteTerminology_name :: Lens' DeleteTerminology Text
+ Amazonka.Translate.DeleteTerminology: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance Amazonka.Data.Path.ToPath Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance Amazonka.Types.AWSRequest Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance Control.DeepSeq.NFData Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance Control.DeepSeq.NFData Amazonka.Translate.DeleteTerminology.DeleteTerminologyResponse
+ Amazonka.Translate.DeleteTerminology: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance Data.Hashable.Class.Hashable Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance GHC.Classes.Eq Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance GHC.Classes.Eq Amazonka.Translate.DeleteTerminology.DeleteTerminologyResponse
+ Amazonka.Translate.DeleteTerminology: instance GHC.Generics.Generic Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance GHC.Generics.Generic Amazonka.Translate.DeleteTerminology.DeleteTerminologyResponse
+ Amazonka.Translate.DeleteTerminology: instance GHC.Read.Read Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance GHC.Read.Read Amazonka.Translate.DeleteTerminology.DeleteTerminologyResponse
+ Amazonka.Translate.DeleteTerminology: instance GHC.Show.Show Amazonka.Translate.DeleteTerminology.DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: instance GHC.Show.Show Amazonka.Translate.DeleteTerminology.DeleteTerminologyResponse
+ Amazonka.Translate.DeleteTerminology: newDeleteTerminology :: Text -> DeleteTerminology
+ Amazonka.Translate.DeleteTerminology: newDeleteTerminologyResponse :: DeleteTerminologyResponse
+ Amazonka.Translate.DescribeTextTranslationJob: DescribeTextTranslationJob' :: Text -> DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: DescribeTextTranslationJobResponse' :: Maybe TextTranslationJobProperties -> Int -> DescribeTextTranslationJobResponse
+ Amazonka.Translate.DescribeTextTranslationJob: [$sel:httpStatus:DescribeTextTranslationJobResponse'] :: DescribeTextTranslationJobResponse -> Int
+ Amazonka.Translate.DescribeTextTranslationJob: [$sel:jobId:DescribeTextTranslationJob'] :: DescribeTextTranslationJob -> Text
+ Amazonka.Translate.DescribeTextTranslationJob: [$sel:textTranslationJobProperties:DescribeTextTranslationJobResponse'] :: DescribeTextTranslationJobResponse -> Maybe TextTranslationJobProperties
+ Amazonka.Translate.DescribeTextTranslationJob: data DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: data DescribeTextTranslationJobResponse
+ Amazonka.Translate.DescribeTextTranslationJob: describeTextTranslationJobResponse_httpStatus :: Lens' DescribeTextTranslationJobResponse Int
+ Amazonka.Translate.DescribeTextTranslationJob: describeTextTranslationJobResponse_textTranslationJobProperties :: Lens' DescribeTextTranslationJobResponse (Maybe TextTranslationJobProperties)
+ Amazonka.Translate.DescribeTextTranslationJob: describeTextTranslationJob_jobId :: Lens' DescribeTextTranslationJob Text
+ Amazonka.Translate.DescribeTextTranslationJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance Amazonka.Data.Path.ToPath Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance Amazonka.Types.AWSRequest Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance Control.DeepSeq.NFData Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance Control.DeepSeq.NFData Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJobResponse
+ Amazonka.Translate.DescribeTextTranslationJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance Data.Hashable.Class.Hashable Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Classes.Eq Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Classes.Eq Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJobResponse
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Generics.Generic Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Generics.Generic Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJobResponse
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Read.Read Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Read.Read Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJobResponse
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Show.Show Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: instance GHC.Show.Show Amazonka.Translate.DescribeTextTranslationJob.DescribeTextTranslationJobResponse
+ Amazonka.Translate.DescribeTextTranslationJob: newDescribeTextTranslationJob :: Text -> DescribeTextTranslationJob
+ Amazonka.Translate.DescribeTextTranslationJob: newDescribeTextTranslationJobResponse :: Int -> DescribeTextTranslationJobResponse
+ Amazonka.Translate.GetParallelData: GetParallelData' :: Text -> GetParallelData
+ Amazonka.Translate.GetParallelData: GetParallelDataResponse' :: Maybe ParallelDataDataLocation -> Maybe ParallelDataDataLocation -> Maybe ParallelDataDataLocation -> Maybe ParallelDataProperties -> Int -> GetParallelDataResponse
+ Amazonka.Translate.GetParallelData: [$sel:auxiliaryDataLocation:GetParallelDataResponse'] :: GetParallelDataResponse -> Maybe ParallelDataDataLocation
+ Amazonka.Translate.GetParallelData: [$sel:dataLocation:GetParallelDataResponse'] :: GetParallelDataResponse -> Maybe ParallelDataDataLocation
+ Amazonka.Translate.GetParallelData: [$sel:httpStatus:GetParallelDataResponse'] :: GetParallelDataResponse -> Int
+ Amazonka.Translate.GetParallelData: [$sel:latestUpdateAttemptAuxiliaryDataLocation:GetParallelDataResponse'] :: GetParallelDataResponse -> Maybe ParallelDataDataLocation
+ Amazonka.Translate.GetParallelData: [$sel:name:GetParallelData'] :: GetParallelData -> Text
+ Amazonka.Translate.GetParallelData: [$sel:parallelDataProperties:GetParallelDataResponse'] :: GetParallelDataResponse -> Maybe ParallelDataProperties
+ Amazonka.Translate.GetParallelData: data GetParallelData
+ Amazonka.Translate.GetParallelData: data GetParallelDataResponse
+ Amazonka.Translate.GetParallelData: getParallelDataResponse_auxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
+ Amazonka.Translate.GetParallelData: getParallelDataResponse_dataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
+ Amazonka.Translate.GetParallelData: getParallelDataResponse_httpStatus :: Lens' GetParallelDataResponse Int
+ Amazonka.Translate.GetParallelData: getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
+ Amazonka.Translate.GetParallelData: getParallelDataResponse_parallelDataProperties :: Lens' GetParallelDataResponse (Maybe ParallelDataProperties)
+ Amazonka.Translate.GetParallelData: getParallelData_name :: Lens' GetParallelData Text
+ Amazonka.Translate.GetParallelData: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance Amazonka.Data.Path.ToPath Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance Amazonka.Types.AWSRequest Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.GetParallelData.GetParallelDataResponse
+ Amazonka.Translate.GetParallelData: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance Data.Hashable.Class.Hashable Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance GHC.Classes.Eq Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance GHC.Classes.Eq Amazonka.Translate.GetParallelData.GetParallelDataResponse
+ Amazonka.Translate.GetParallelData: instance GHC.Generics.Generic Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance GHC.Generics.Generic Amazonka.Translate.GetParallelData.GetParallelDataResponse
+ Amazonka.Translate.GetParallelData: instance GHC.Read.Read Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance GHC.Read.Read Amazonka.Translate.GetParallelData.GetParallelDataResponse
+ Amazonka.Translate.GetParallelData: instance GHC.Show.Show Amazonka.Translate.GetParallelData.GetParallelData
+ Amazonka.Translate.GetParallelData: instance GHC.Show.Show Amazonka.Translate.GetParallelData.GetParallelDataResponse
+ Amazonka.Translate.GetParallelData: newGetParallelData :: Text -> GetParallelData
+ Amazonka.Translate.GetParallelData: newGetParallelDataResponse :: Int -> GetParallelDataResponse
+ Amazonka.Translate.GetTerminology: GetTerminology' :: Maybe TerminologyDataFormat -> Text -> GetTerminology
+ Amazonka.Translate.GetTerminology: GetTerminologyResponse' :: Maybe TerminologyDataLocation -> Maybe TerminologyDataLocation -> Maybe TerminologyProperties -> Int -> GetTerminologyResponse
+ Amazonka.Translate.GetTerminology: [$sel:auxiliaryDataLocation:GetTerminologyResponse'] :: GetTerminologyResponse -> Maybe TerminologyDataLocation
+ Amazonka.Translate.GetTerminology: [$sel:httpStatus:GetTerminologyResponse'] :: GetTerminologyResponse -> Int
+ Amazonka.Translate.GetTerminology: [$sel:name:GetTerminology'] :: GetTerminology -> Text
+ Amazonka.Translate.GetTerminology: [$sel:terminologyDataFormat:GetTerminology'] :: GetTerminology -> Maybe TerminologyDataFormat
+ Amazonka.Translate.GetTerminology: [$sel:terminologyDataLocation:GetTerminologyResponse'] :: GetTerminologyResponse -> Maybe TerminologyDataLocation
+ Amazonka.Translate.GetTerminology: [$sel:terminologyProperties:GetTerminologyResponse'] :: GetTerminologyResponse -> Maybe TerminologyProperties
+ Amazonka.Translate.GetTerminology: data GetTerminology
+ Amazonka.Translate.GetTerminology: data GetTerminologyResponse
+ Amazonka.Translate.GetTerminology: getTerminologyResponse_auxiliaryDataLocation :: Lens' GetTerminologyResponse (Maybe TerminologyDataLocation)
+ Amazonka.Translate.GetTerminology: getTerminologyResponse_httpStatus :: Lens' GetTerminologyResponse Int
+ Amazonka.Translate.GetTerminology: getTerminologyResponse_terminologyDataLocation :: Lens' GetTerminologyResponse (Maybe TerminologyDataLocation)
+ Amazonka.Translate.GetTerminology: getTerminologyResponse_terminologyProperties :: Lens' GetTerminologyResponse (Maybe TerminologyProperties)
+ Amazonka.Translate.GetTerminology: getTerminology_name :: Lens' GetTerminology Text
+ Amazonka.Translate.GetTerminology: getTerminology_terminologyDataFormat :: Lens' GetTerminology (Maybe TerminologyDataFormat)
+ Amazonka.Translate.GetTerminology: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance Amazonka.Data.Path.ToPath Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance Amazonka.Types.AWSRequest Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance Control.DeepSeq.NFData Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance Control.DeepSeq.NFData Amazonka.Translate.GetTerminology.GetTerminologyResponse
+ Amazonka.Translate.GetTerminology: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance Data.Hashable.Class.Hashable Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance GHC.Classes.Eq Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance GHC.Classes.Eq Amazonka.Translate.GetTerminology.GetTerminologyResponse
+ Amazonka.Translate.GetTerminology: instance GHC.Generics.Generic Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance GHC.Generics.Generic Amazonka.Translate.GetTerminology.GetTerminologyResponse
+ Amazonka.Translate.GetTerminology: instance GHC.Read.Read Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance GHC.Read.Read Amazonka.Translate.GetTerminology.GetTerminologyResponse
+ Amazonka.Translate.GetTerminology: instance GHC.Show.Show Amazonka.Translate.GetTerminology.GetTerminology
+ Amazonka.Translate.GetTerminology: instance GHC.Show.Show Amazonka.Translate.GetTerminology.GetTerminologyResponse
+ Amazonka.Translate.GetTerminology: newGetTerminology :: Text -> GetTerminology
+ Amazonka.Translate.GetTerminology: newGetTerminologyResponse :: Int -> GetTerminologyResponse
+ Amazonka.Translate.ImportTerminology: ImportTerminology' :: Maybe Text -> Maybe EncryptionKey -> Maybe [Tag] -> Text -> MergeStrategy -> TerminologyData -> ImportTerminology
+ Amazonka.Translate.ImportTerminology: ImportTerminologyResponse' :: Maybe TerminologyDataLocation -> Maybe TerminologyProperties -> Int -> ImportTerminologyResponse
+ Amazonka.Translate.ImportTerminology: [$sel:auxiliaryDataLocation:ImportTerminologyResponse'] :: ImportTerminologyResponse -> Maybe TerminologyDataLocation
+ Amazonka.Translate.ImportTerminology: [$sel:description:ImportTerminology'] :: ImportTerminology -> Maybe Text
+ Amazonka.Translate.ImportTerminology: [$sel:encryptionKey:ImportTerminology'] :: ImportTerminology -> Maybe EncryptionKey
+ Amazonka.Translate.ImportTerminology: [$sel:httpStatus:ImportTerminologyResponse'] :: ImportTerminologyResponse -> Int
+ Amazonka.Translate.ImportTerminology: [$sel:mergeStrategy:ImportTerminology'] :: ImportTerminology -> MergeStrategy
+ Amazonka.Translate.ImportTerminology: [$sel:name:ImportTerminology'] :: ImportTerminology -> Text
+ Amazonka.Translate.ImportTerminology: [$sel:tags:ImportTerminology'] :: ImportTerminology -> Maybe [Tag]
+ Amazonka.Translate.ImportTerminology: [$sel:terminologyData:ImportTerminology'] :: ImportTerminology -> TerminologyData
+ Amazonka.Translate.ImportTerminology: [$sel:terminologyProperties:ImportTerminologyResponse'] :: ImportTerminologyResponse -> Maybe TerminologyProperties
+ Amazonka.Translate.ImportTerminology: data ImportTerminology
+ Amazonka.Translate.ImportTerminology: data ImportTerminologyResponse
+ Amazonka.Translate.ImportTerminology: importTerminologyResponse_auxiliaryDataLocation :: Lens' ImportTerminologyResponse (Maybe TerminologyDataLocation)
+ Amazonka.Translate.ImportTerminology: importTerminologyResponse_httpStatus :: Lens' ImportTerminologyResponse Int
+ Amazonka.Translate.ImportTerminology: importTerminologyResponse_terminologyProperties :: Lens' ImportTerminologyResponse (Maybe TerminologyProperties)
+ Amazonka.Translate.ImportTerminology: importTerminology_description :: Lens' ImportTerminology (Maybe Text)
+ Amazonka.Translate.ImportTerminology: importTerminology_encryptionKey :: Lens' ImportTerminology (Maybe EncryptionKey)
+ Amazonka.Translate.ImportTerminology: importTerminology_mergeStrategy :: Lens' ImportTerminology MergeStrategy
+ Amazonka.Translate.ImportTerminology: importTerminology_name :: Lens' ImportTerminology Text
+ Amazonka.Translate.ImportTerminology: importTerminology_tags :: Lens' ImportTerminology (Maybe [Tag])
+ Amazonka.Translate.ImportTerminology: importTerminology_terminologyData :: Lens' ImportTerminology TerminologyData
+ Amazonka.Translate.ImportTerminology: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance Amazonka.Data.Path.ToPath Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance Amazonka.Types.AWSRequest Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance Control.DeepSeq.NFData Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance Control.DeepSeq.NFData Amazonka.Translate.ImportTerminology.ImportTerminologyResponse
+ Amazonka.Translate.ImportTerminology: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance Data.Hashable.Class.Hashable Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance GHC.Classes.Eq Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance GHC.Classes.Eq Amazonka.Translate.ImportTerminology.ImportTerminologyResponse
+ Amazonka.Translate.ImportTerminology: instance GHC.Generics.Generic Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance GHC.Generics.Generic Amazonka.Translate.ImportTerminology.ImportTerminologyResponse
+ Amazonka.Translate.ImportTerminology: instance GHC.Read.Read Amazonka.Translate.ImportTerminology.ImportTerminologyResponse
+ Amazonka.Translate.ImportTerminology: instance GHC.Show.Show Amazonka.Translate.ImportTerminology.ImportTerminology
+ Amazonka.Translate.ImportTerminology: instance GHC.Show.Show Amazonka.Translate.ImportTerminology.ImportTerminologyResponse
+ Amazonka.Translate.ImportTerminology: newImportTerminology :: Text -> MergeStrategy -> TerminologyData -> ImportTerminology
+ Amazonka.Translate.ImportTerminology: newImportTerminologyResponse :: Int -> ImportTerminologyResponse
+ Amazonka.Translate.Lens: appliedTerminology_name :: Lens' AppliedTerminology (Maybe Text)
+ Amazonka.Translate.Lens: appliedTerminology_terms :: Lens' AppliedTerminology (Maybe [Term])
+ Amazonka.Translate.Lens: createParallelDataResponse_httpStatus :: Lens' CreateParallelDataResponse Int
+ Amazonka.Translate.Lens: createParallelDataResponse_name :: Lens' CreateParallelDataResponse (Maybe Text)
+ Amazonka.Translate.Lens: createParallelDataResponse_status :: Lens' CreateParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.Lens: createParallelData_clientToken :: Lens' CreateParallelData Text
+ Amazonka.Translate.Lens: createParallelData_description :: Lens' CreateParallelData (Maybe Text)
+ Amazonka.Translate.Lens: createParallelData_encryptionKey :: Lens' CreateParallelData (Maybe EncryptionKey)
+ Amazonka.Translate.Lens: createParallelData_name :: Lens' CreateParallelData Text
+ Amazonka.Translate.Lens: createParallelData_parallelDataConfig :: Lens' CreateParallelData ParallelDataConfig
+ Amazonka.Translate.Lens: createParallelData_tags :: Lens' CreateParallelData (Maybe [Tag])
+ Amazonka.Translate.Lens: deleteParallelDataResponse_httpStatus :: Lens' DeleteParallelDataResponse Int
+ Amazonka.Translate.Lens: deleteParallelDataResponse_name :: Lens' DeleteParallelDataResponse (Maybe Text)
+ Amazonka.Translate.Lens: deleteParallelDataResponse_status :: Lens' DeleteParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.Lens: deleteParallelData_name :: Lens' DeleteParallelData Text
+ Amazonka.Translate.Lens: deleteTerminology_name :: Lens' DeleteTerminology Text
+ Amazonka.Translate.Lens: describeTextTranslationJobResponse_httpStatus :: Lens' DescribeTextTranslationJobResponse Int
+ Amazonka.Translate.Lens: describeTextTranslationJobResponse_textTranslationJobProperties :: Lens' DescribeTextTranslationJobResponse (Maybe TextTranslationJobProperties)
+ Amazonka.Translate.Lens: describeTextTranslationJob_jobId :: Lens' DescribeTextTranslationJob Text
+ Amazonka.Translate.Lens: encryptionKey_id :: Lens' EncryptionKey Text
+ Amazonka.Translate.Lens: encryptionKey_type :: Lens' EncryptionKey EncryptionKeyType
+ Amazonka.Translate.Lens: getParallelDataResponse_auxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
+ Amazonka.Translate.Lens: getParallelDataResponse_dataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
+ Amazonka.Translate.Lens: getParallelDataResponse_httpStatus :: Lens' GetParallelDataResponse Int
+ Amazonka.Translate.Lens: getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation :: Lens' GetParallelDataResponse (Maybe ParallelDataDataLocation)
+ Amazonka.Translate.Lens: getParallelDataResponse_parallelDataProperties :: Lens' GetParallelDataResponse (Maybe ParallelDataProperties)
+ Amazonka.Translate.Lens: getParallelData_name :: Lens' GetParallelData Text
+ Amazonka.Translate.Lens: getTerminologyResponse_auxiliaryDataLocation :: Lens' GetTerminologyResponse (Maybe TerminologyDataLocation)
+ Amazonka.Translate.Lens: getTerminologyResponse_httpStatus :: Lens' GetTerminologyResponse Int
+ Amazonka.Translate.Lens: getTerminologyResponse_terminologyDataLocation :: Lens' GetTerminologyResponse (Maybe TerminologyDataLocation)
+ Amazonka.Translate.Lens: getTerminologyResponse_terminologyProperties :: Lens' GetTerminologyResponse (Maybe TerminologyProperties)
+ Amazonka.Translate.Lens: getTerminology_name :: Lens' GetTerminology Text
+ Amazonka.Translate.Lens: getTerminology_terminologyDataFormat :: Lens' GetTerminology (Maybe TerminologyDataFormat)
+ Amazonka.Translate.Lens: importTerminologyResponse_auxiliaryDataLocation :: Lens' ImportTerminologyResponse (Maybe TerminologyDataLocation)
+ Amazonka.Translate.Lens: importTerminologyResponse_httpStatus :: Lens' ImportTerminologyResponse Int
+ Amazonka.Translate.Lens: importTerminologyResponse_terminologyProperties :: Lens' ImportTerminologyResponse (Maybe TerminologyProperties)
+ Amazonka.Translate.Lens: importTerminology_description :: Lens' ImportTerminology (Maybe Text)
+ Amazonka.Translate.Lens: importTerminology_encryptionKey :: Lens' ImportTerminology (Maybe EncryptionKey)
+ Amazonka.Translate.Lens: importTerminology_mergeStrategy :: Lens' ImportTerminology MergeStrategy
+ Amazonka.Translate.Lens: importTerminology_name :: Lens' ImportTerminology Text
+ Amazonka.Translate.Lens: importTerminology_tags :: Lens' ImportTerminology (Maybe [Tag])
+ Amazonka.Translate.Lens: importTerminology_terminologyData :: Lens' ImportTerminology TerminologyData
+ Amazonka.Translate.Lens: inputDataConfig_contentType :: Lens' InputDataConfig Text
+ Amazonka.Translate.Lens: inputDataConfig_s3Uri :: Lens' InputDataConfig Text
+ Amazonka.Translate.Lens: jobDetails_documentsWithErrorsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Lens: jobDetails_inputDocumentsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Lens: jobDetails_translatedDocumentsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Lens: language_languageCode :: Lens' Language Text
+ Amazonka.Translate.Lens: language_languageName :: Lens' Language Text
+ Amazonka.Translate.Lens: listLanguagesResponse_displayLanguageCode :: Lens' ListLanguagesResponse (Maybe DisplayLanguageCode)
+ Amazonka.Translate.Lens: listLanguagesResponse_httpStatus :: Lens' ListLanguagesResponse Int
+ Amazonka.Translate.Lens: listLanguagesResponse_languages :: Lens' ListLanguagesResponse (Maybe [Language])
+ Amazonka.Translate.Lens: listLanguagesResponse_nextToken :: Lens' ListLanguagesResponse (Maybe Text)
+ Amazonka.Translate.Lens: listLanguages_displayLanguageCode :: Lens' ListLanguages (Maybe DisplayLanguageCode)
+ Amazonka.Translate.Lens: listLanguages_maxResults :: Lens' ListLanguages (Maybe Natural)
+ Amazonka.Translate.Lens: listLanguages_nextToken :: Lens' ListLanguages (Maybe Text)
+ Amazonka.Translate.Lens: listParallelDataResponse_httpStatus :: Lens' ListParallelDataResponse Int
+ Amazonka.Translate.Lens: listParallelDataResponse_nextToken :: Lens' ListParallelDataResponse (Maybe Text)
+ Amazonka.Translate.Lens: listParallelDataResponse_parallelDataPropertiesList :: Lens' ListParallelDataResponse (Maybe [ParallelDataProperties])
+ Amazonka.Translate.Lens: listParallelData_maxResults :: Lens' ListParallelData (Maybe Natural)
+ Amazonka.Translate.Lens: listParallelData_nextToken :: Lens' ListParallelData (Maybe Text)
+ Amazonka.Translate.Lens: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Translate.Lens: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.Translate.Lens: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.Translate.Lens: listTerminologiesResponse_httpStatus :: Lens' ListTerminologiesResponse Int
+ Amazonka.Translate.Lens: listTerminologiesResponse_nextToken :: Lens' ListTerminologiesResponse (Maybe Text)
+ Amazonka.Translate.Lens: listTerminologiesResponse_terminologyPropertiesList :: Lens' ListTerminologiesResponse (Maybe [TerminologyProperties])
+ Amazonka.Translate.Lens: listTerminologies_maxResults :: Lens' ListTerminologies (Maybe Natural)
+ Amazonka.Translate.Lens: listTerminologies_nextToken :: Lens' ListTerminologies (Maybe Text)
+ Amazonka.Translate.Lens: listTextTranslationJobsResponse_httpStatus :: Lens' ListTextTranslationJobsResponse Int
+ Amazonka.Translate.Lens: listTextTranslationJobsResponse_nextToken :: Lens' ListTextTranslationJobsResponse (Maybe Text)
+ Amazonka.Translate.Lens: listTextTranslationJobsResponse_textTranslationJobPropertiesList :: Lens' ListTextTranslationJobsResponse (Maybe [TextTranslationJobProperties])
+ Amazonka.Translate.Lens: listTextTranslationJobs_filter :: Lens' ListTextTranslationJobs (Maybe TextTranslationJobFilter)
+ Amazonka.Translate.Lens: listTextTranslationJobs_maxResults :: Lens' ListTextTranslationJobs (Maybe Natural)
+ Amazonka.Translate.Lens: listTextTranslationJobs_nextToken :: Lens' ListTextTranslationJobs (Maybe Text)
+ Amazonka.Translate.Lens: outputDataConfig_encryptionKey :: Lens' OutputDataConfig (Maybe EncryptionKey)
+ Amazonka.Translate.Lens: outputDataConfig_s3Uri :: Lens' OutputDataConfig Text
+ Amazonka.Translate.Lens: parallelDataConfig_format :: Lens' ParallelDataConfig ParallelDataFormat
+ Amazonka.Translate.Lens: parallelDataConfig_s3Uri :: Lens' ParallelDataConfig Text
+ Amazonka.Translate.Lens: parallelDataDataLocation_location :: Lens' ParallelDataDataLocation Text
+ Amazonka.Translate.Lens: parallelDataDataLocation_repositoryType :: Lens' ParallelDataDataLocation Text
+ Amazonka.Translate.Lens: parallelDataProperties_arn :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Lens: parallelDataProperties_createdAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Lens: parallelDataProperties_description :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Lens: parallelDataProperties_encryptionKey :: Lens' ParallelDataProperties (Maybe EncryptionKey)
+ Amazonka.Translate.Lens: parallelDataProperties_failedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Lens: parallelDataProperties_importedDataSize :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Lens: parallelDataProperties_importedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Lens: parallelDataProperties_lastUpdatedAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Lens: parallelDataProperties_latestUpdateAttemptAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Lens: parallelDataProperties_latestUpdateAttemptStatus :: Lens' ParallelDataProperties (Maybe ParallelDataStatus)
+ Amazonka.Translate.Lens: parallelDataProperties_message :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Lens: parallelDataProperties_name :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Lens: parallelDataProperties_parallelDataConfig :: Lens' ParallelDataProperties (Maybe ParallelDataConfig)
+ Amazonka.Translate.Lens: parallelDataProperties_skippedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Lens: parallelDataProperties_sourceLanguageCode :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Lens: parallelDataProperties_status :: Lens' ParallelDataProperties (Maybe ParallelDataStatus)
+ Amazonka.Translate.Lens: parallelDataProperties_targetLanguageCodes :: Lens' ParallelDataProperties (Maybe [Text])
+ Amazonka.Translate.Lens: startTextTranslationJobResponse_httpStatus :: Lens' StartTextTranslationJobResponse Int
+ Amazonka.Translate.Lens: startTextTranslationJobResponse_jobId :: Lens' StartTextTranslationJobResponse (Maybe Text)
+ Amazonka.Translate.Lens: startTextTranslationJobResponse_jobStatus :: Lens' StartTextTranslationJobResponse (Maybe JobStatus)
+ Amazonka.Translate.Lens: startTextTranslationJob_clientToken :: Lens' StartTextTranslationJob Text
+ Amazonka.Translate.Lens: startTextTranslationJob_dataAccessRoleArn :: Lens' StartTextTranslationJob Text
+ Amazonka.Translate.Lens: startTextTranslationJob_inputDataConfig :: Lens' StartTextTranslationJob InputDataConfig
+ Amazonka.Translate.Lens: startTextTranslationJob_jobName :: Lens' StartTextTranslationJob (Maybe Text)
+ Amazonka.Translate.Lens: startTextTranslationJob_outputDataConfig :: Lens' StartTextTranslationJob OutputDataConfig
+ Amazonka.Translate.Lens: startTextTranslationJob_parallelDataNames :: Lens' StartTextTranslationJob (Maybe [Text])
+ Amazonka.Translate.Lens: startTextTranslationJob_settings :: Lens' StartTextTranslationJob (Maybe TranslationSettings)
+ Amazonka.Translate.Lens: startTextTranslationJob_sourceLanguageCode :: Lens' StartTextTranslationJob Text
+ Amazonka.Translate.Lens: startTextTranslationJob_targetLanguageCodes :: Lens' StartTextTranslationJob (NonEmpty Text)
+ Amazonka.Translate.Lens: startTextTranslationJob_terminologyNames :: Lens' StartTextTranslationJob (Maybe [Text])
+ Amazonka.Translate.Lens: stopTextTranslationJobResponse_httpStatus :: Lens' StopTextTranslationJobResponse Int
+ Amazonka.Translate.Lens: stopTextTranslationJobResponse_jobId :: Lens' StopTextTranslationJobResponse (Maybe Text)
+ Amazonka.Translate.Lens: stopTextTranslationJobResponse_jobStatus :: Lens' StopTextTranslationJobResponse (Maybe JobStatus)
+ Amazonka.Translate.Lens: stopTextTranslationJob_jobId :: Lens' StopTextTranslationJob Text
+ Amazonka.Translate.Lens: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.Translate.Lens: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.Translate.Lens: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.Translate.Lens: tag_key :: Lens' Tag Text
+ Amazonka.Translate.Lens: tag_value :: Lens' Tag Text
+ Amazonka.Translate.Lens: term_sourceText :: Lens' Term (Maybe Text)
+ Amazonka.Translate.Lens: term_targetText :: Lens' Term (Maybe Text)
+ Amazonka.Translate.Lens: terminologyDataLocation_location :: Lens' TerminologyDataLocation Text
+ Amazonka.Translate.Lens: terminologyDataLocation_repositoryType :: Lens' TerminologyDataLocation Text
+ Amazonka.Translate.Lens: terminologyData_directionality :: Lens' TerminologyData (Maybe Directionality)
+ Amazonka.Translate.Lens: terminologyData_file :: Lens' TerminologyData ByteString
+ Amazonka.Translate.Lens: terminologyData_format :: Lens' TerminologyData TerminologyDataFormat
+ Amazonka.Translate.Lens: terminologyProperties_arn :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Lens: terminologyProperties_createdAt :: Lens' TerminologyProperties (Maybe UTCTime)
+ Amazonka.Translate.Lens: terminologyProperties_description :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Lens: terminologyProperties_directionality :: Lens' TerminologyProperties (Maybe Directionality)
+ Amazonka.Translate.Lens: terminologyProperties_encryptionKey :: Lens' TerminologyProperties (Maybe EncryptionKey)
+ Amazonka.Translate.Lens: terminologyProperties_format :: Lens' TerminologyProperties (Maybe TerminologyDataFormat)
+ Amazonka.Translate.Lens: terminologyProperties_lastUpdatedAt :: Lens' TerminologyProperties (Maybe UTCTime)
+ Amazonka.Translate.Lens: terminologyProperties_message :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Lens: terminologyProperties_name :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Lens: terminologyProperties_sizeBytes :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Lens: terminologyProperties_skippedTermCount :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Lens: terminologyProperties_sourceLanguageCode :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Lens: terminologyProperties_targetLanguageCodes :: Lens' TerminologyProperties (Maybe [Text])
+ Amazonka.Translate.Lens: terminologyProperties_termCount :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Lens: textTranslationJobFilter_jobName :: Lens' TextTranslationJobFilter (Maybe Text)
+ Amazonka.Translate.Lens: textTranslationJobFilter_jobStatus :: Lens' TextTranslationJobFilter (Maybe JobStatus)
+ Amazonka.Translate.Lens: textTranslationJobFilter_submittedAfterTime :: Lens' TextTranslationJobFilter (Maybe UTCTime)
+ Amazonka.Translate.Lens: textTranslationJobFilter_submittedBeforeTime :: Lens' TextTranslationJobFilter (Maybe UTCTime)
+ Amazonka.Translate.Lens: textTranslationJobProperties_dataAccessRoleArn :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Lens: textTranslationJobProperties_endTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
+ Amazonka.Translate.Lens: textTranslationJobProperties_inputDataConfig :: Lens' TextTranslationJobProperties (Maybe InputDataConfig)
+ Amazonka.Translate.Lens: textTranslationJobProperties_jobDetails :: Lens' TextTranslationJobProperties (Maybe JobDetails)
+ Amazonka.Translate.Lens: textTranslationJobProperties_jobId :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Lens: textTranslationJobProperties_jobName :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Lens: textTranslationJobProperties_jobStatus :: Lens' TextTranslationJobProperties (Maybe JobStatus)
+ Amazonka.Translate.Lens: textTranslationJobProperties_message :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Lens: textTranslationJobProperties_outputDataConfig :: Lens' TextTranslationJobProperties (Maybe OutputDataConfig)
+ Amazonka.Translate.Lens: textTranslationJobProperties_parallelDataNames :: Lens' TextTranslationJobProperties (Maybe [Text])
+ Amazonka.Translate.Lens: textTranslationJobProperties_settings :: Lens' TextTranslationJobProperties (Maybe TranslationSettings)
+ Amazonka.Translate.Lens: textTranslationJobProperties_sourceLanguageCode :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Lens: textTranslationJobProperties_submittedTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
+ Amazonka.Translate.Lens: textTranslationJobProperties_targetLanguageCodes :: Lens' TextTranslationJobProperties (Maybe (NonEmpty Text))
+ Amazonka.Translate.Lens: textTranslationJobProperties_terminologyNames :: Lens' TextTranslationJobProperties (Maybe [Text])
+ Amazonka.Translate.Lens: translateTextResponse_appliedSettings :: Lens' TranslateTextResponse (Maybe TranslationSettings)
+ Amazonka.Translate.Lens: translateTextResponse_appliedTerminologies :: Lens' TranslateTextResponse (Maybe [AppliedTerminology])
+ Amazonka.Translate.Lens: translateTextResponse_httpStatus :: Lens' TranslateTextResponse Int
+ Amazonka.Translate.Lens: translateTextResponse_sourceLanguageCode :: Lens' TranslateTextResponse Text
+ Amazonka.Translate.Lens: translateTextResponse_targetLanguageCode :: Lens' TranslateTextResponse Text
+ Amazonka.Translate.Lens: translateTextResponse_translatedText :: Lens' TranslateTextResponse Text
+ Amazonka.Translate.Lens: translateText_settings :: Lens' TranslateText (Maybe TranslationSettings)
+ Amazonka.Translate.Lens: translateText_sourceLanguageCode :: Lens' TranslateText Text
+ Amazonka.Translate.Lens: translateText_targetLanguageCode :: Lens' TranslateText Text
+ Amazonka.Translate.Lens: translateText_terminologyNames :: Lens' TranslateText (Maybe [Text])
+ Amazonka.Translate.Lens: translateText_text :: Lens' TranslateText Text
+ Amazonka.Translate.Lens: translationSettings_formality :: Lens' TranslationSettings (Maybe Formality)
+ Amazonka.Translate.Lens: translationSettings_profanity :: Lens' TranslationSettings (Maybe Profanity)
+ Amazonka.Translate.Lens: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.Translate.Lens: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.Translate.Lens: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.Translate.Lens: updateParallelDataResponse_httpStatus :: Lens' UpdateParallelDataResponse Int
+ Amazonka.Translate.Lens: updateParallelDataResponse_latestUpdateAttemptAt :: Lens' UpdateParallelDataResponse (Maybe UTCTime)
+ Amazonka.Translate.Lens: updateParallelDataResponse_latestUpdateAttemptStatus :: Lens' UpdateParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.Lens: updateParallelDataResponse_name :: Lens' UpdateParallelDataResponse (Maybe Text)
+ Amazonka.Translate.Lens: updateParallelDataResponse_status :: Lens' UpdateParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.Lens: updateParallelData_clientToken :: Lens' UpdateParallelData Text
+ Amazonka.Translate.Lens: updateParallelData_description :: Lens' UpdateParallelData (Maybe Text)
+ Amazonka.Translate.Lens: updateParallelData_name :: Lens' UpdateParallelData Text
+ Amazonka.Translate.Lens: updateParallelData_parallelDataConfig :: Lens' UpdateParallelData ParallelDataConfig
+ Amazonka.Translate.ListLanguages: ListLanguages' :: Maybe DisplayLanguageCode -> Maybe Natural -> Maybe Text -> ListLanguages
+ Amazonka.Translate.ListLanguages: ListLanguagesResponse' :: Maybe DisplayLanguageCode -> Maybe [Language] -> Maybe Text -> Int -> ListLanguagesResponse
+ Amazonka.Translate.ListLanguages: [$sel:displayLanguageCode:ListLanguages'] :: ListLanguages -> Maybe DisplayLanguageCode
+ Amazonka.Translate.ListLanguages: [$sel:displayLanguageCode:ListLanguagesResponse'] :: ListLanguagesResponse -> Maybe DisplayLanguageCode
+ Amazonka.Translate.ListLanguages: [$sel:httpStatus:ListLanguagesResponse'] :: ListLanguagesResponse -> Int
+ Amazonka.Translate.ListLanguages: [$sel:languages:ListLanguagesResponse'] :: ListLanguagesResponse -> Maybe [Language]
+ Amazonka.Translate.ListLanguages: [$sel:maxResults:ListLanguages'] :: ListLanguages -> Maybe Natural
+ Amazonka.Translate.ListLanguages: [$sel:nextToken:ListLanguages'] :: ListLanguages -> Maybe Text
+ Amazonka.Translate.ListLanguages: [$sel:nextToken:ListLanguagesResponse'] :: ListLanguagesResponse -> Maybe Text
+ Amazonka.Translate.ListLanguages: data ListLanguages
+ Amazonka.Translate.ListLanguages: data ListLanguagesResponse
+ Amazonka.Translate.ListLanguages: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance Amazonka.Data.Path.ToPath Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance Amazonka.Types.AWSRequest Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance Control.DeepSeq.NFData Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance Control.DeepSeq.NFData Amazonka.Translate.ListLanguages.ListLanguagesResponse
+ Amazonka.Translate.ListLanguages: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance Data.Hashable.Class.Hashable Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance GHC.Classes.Eq Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance GHC.Classes.Eq Amazonka.Translate.ListLanguages.ListLanguagesResponse
+ Amazonka.Translate.ListLanguages: instance GHC.Generics.Generic Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance GHC.Generics.Generic Amazonka.Translate.ListLanguages.ListLanguagesResponse
+ Amazonka.Translate.ListLanguages: instance GHC.Read.Read Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance GHC.Read.Read Amazonka.Translate.ListLanguages.ListLanguagesResponse
+ Amazonka.Translate.ListLanguages: instance GHC.Show.Show Amazonka.Translate.ListLanguages.ListLanguages
+ Amazonka.Translate.ListLanguages: instance GHC.Show.Show Amazonka.Translate.ListLanguages.ListLanguagesResponse
+ Amazonka.Translate.ListLanguages: listLanguagesResponse_displayLanguageCode :: Lens' ListLanguagesResponse (Maybe DisplayLanguageCode)
+ Amazonka.Translate.ListLanguages: listLanguagesResponse_httpStatus :: Lens' ListLanguagesResponse Int
+ Amazonka.Translate.ListLanguages: listLanguagesResponse_languages :: Lens' ListLanguagesResponse (Maybe [Language])
+ Amazonka.Translate.ListLanguages: listLanguagesResponse_nextToken :: Lens' ListLanguagesResponse (Maybe Text)
+ Amazonka.Translate.ListLanguages: listLanguages_displayLanguageCode :: Lens' ListLanguages (Maybe DisplayLanguageCode)
+ Amazonka.Translate.ListLanguages: listLanguages_maxResults :: Lens' ListLanguages (Maybe Natural)
+ Amazonka.Translate.ListLanguages: listLanguages_nextToken :: Lens' ListLanguages (Maybe Text)
+ Amazonka.Translate.ListLanguages: newListLanguages :: ListLanguages
+ Amazonka.Translate.ListLanguages: newListLanguagesResponse :: Int -> ListLanguagesResponse
+ Amazonka.Translate.ListParallelData: ListParallelData' :: Maybe Natural -> Maybe Text -> ListParallelData
+ Amazonka.Translate.ListParallelData: ListParallelDataResponse' :: Maybe Text -> Maybe [ParallelDataProperties] -> Int -> ListParallelDataResponse
+ Amazonka.Translate.ListParallelData: [$sel:httpStatus:ListParallelDataResponse'] :: ListParallelDataResponse -> Int
+ Amazonka.Translate.ListParallelData: [$sel:maxResults:ListParallelData'] :: ListParallelData -> Maybe Natural
+ Amazonka.Translate.ListParallelData: [$sel:nextToken:ListParallelData'] :: ListParallelData -> Maybe Text
+ Amazonka.Translate.ListParallelData: [$sel:nextToken:ListParallelDataResponse'] :: ListParallelDataResponse -> Maybe Text
+ Amazonka.Translate.ListParallelData: [$sel:parallelDataPropertiesList:ListParallelDataResponse'] :: ListParallelDataResponse -> Maybe [ParallelDataProperties]
+ Amazonka.Translate.ListParallelData: data ListParallelData
+ Amazonka.Translate.ListParallelData: data ListParallelDataResponse
+ Amazonka.Translate.ListParallelData: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance Amazonka.Data.Path.ToPath Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance Amazonka.Types.AWSRequest Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.ListParallelData.ListParallelDataResponse
+ Amazonka.Translate.ListParallelData: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance Data.Hashable.Class.Hashable Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance GHC.Classes.Eq Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance GHC.Classes.Eq Amazonka.Translate.ListParallelData.ListParallelDataResponse
+ Amazonka.Translate.ListParallelData: instance GHC.Generics.Generic Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance GHC.Generics.Generic Amazonka.Translate.ListParallelData.ListParallelDataResponse
+ Amazonka.Translate.ListParallelData: instance GHC.Read.Read Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance GHC.Read.Read Amazonka.Translate.ListParallelData.ListParallelDataResponse
+ Amazonka.Translate.ListParallelData: instance GHC.Show.Show Amazonka.Translate.ListParallelData.ListParallelData
+ Amazonka.Translate.ListParallelData: instance GHC.Show.Show Amazonka.Translate.ListParallelData.ListParallelDataResponse
+ Amazonka.Translate.ListParallelData: listParallelDataResponse_httpStatus :: Lens' ListParallelDataResponse Int
+ Amazonka.Translate.ListParallelData: listParallelDataResponse_nextToken :: Lens' ListParallelDataResponse (Maybe Text)
+ Amazonka.Translate.ListParallelData: listParallelDataResponse_parallelDataPropertiesList :: Lens' ListParallelDataResponse (Maybe [ParallelDataProperties])
+ Amazonka.Translate.ListParallelData: listParallelData_maxResults :: Lens' ListParallelData (Maybe Natural)
+ Amazonka.Translate.ListParallelData: listParallelData_nextToken :: Lens' ListParallelData (Maybe Text)
+ Amazonka.Translate.ListParallelData: newListParallelData :: ListParallelData
+ Amazonka.Translate.ListParallelData: newListParallelDataResponse :: Int -> ListParallelDataResponse
+ Amazonka.Translate.ListTagsForResource: ListTagsForResource' :: Text -> ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
+ Amazonka.Translate.ListTagsForResource: [$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
+ Amazonka.Translate.ListTagsForResource: [$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
+ Amazonka.Translate.ListTagsForResource: [$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
+ Amazonka.Translate.ListTagsForResource: data ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: data ListTagsForResourceResponse
+ Amazonka.Translate.ListTagsForResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance Amazonka.Data.Path.ToPath Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance Amazonka.Types.AWSRequest Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance Control.DeepSeq.NFData Amazonka.Translate.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Translate.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance Data.Hashable.Class.Hashable Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance GHC.Classes.Eq Amazonka.Translate.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Translate.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance GHC.Generics.Generic Amazonka.Translate.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Translate.ListTagsForResource: instance GHC.Read.Read Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance GHC.Read.Read Amazonka.Translate.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Translate.ListTagsForResource: instance GHC.Show.Show Amazonka.Translate.ListTagsForResource.ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: instance GHC.Show.Show Amazonka.Translate.ListTagsForResource.ListTagsForResourceResponse
+ Amazonka.Translate.ListTagsForResource: listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
+ Amazonka.Translate.ListTagsForResource: listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
+ Amazonka.Translate.ListTagsForResource: listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
+ Amazonka.Translate.ListTagsForResource: newListTagsForResource :: Text -> ListTagsForResource
+ Amazonka.Translate.ListTagsForResource: newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
+ Amazonka.Translate.ListTerminologies: ListTerminologies' :: Maybe Natural -> Maybe Text -> ListTerminologies
+ Amazonka.Translate.ListTerminologies: ListTerminologiesResponse' :: Maybe Text -> Maybe [TerminologyProperties] -> Int -> ListTerminologiesResponse
+ Amazonka.Translate.ListTerminologies: [$sel:httpStatus:ListTerminologiesResponse'] :: ListTerminologiesResponse -> Int
+ Amazonka.Translate.ListTerminologies: [$sel:maxResults:ListTerminologies'] :: ListTerminologies -> Maybe Natural
+ Amazonka.Translate.ListTerminologies: [$sel:nextToken:ListTerminologies'] :: ListTerminologies -> Maybe Text
+ Amazonka.Translate.ListTerminologies: [$sel:nextToken:ListTerminologiesResponse'] :: ListTerminologiesResponse -> Maybe Text
+ Amazonka.Translate.ListTerminologies: [$sel:terminologyPropertiesList:ListTerminologiesResponse'] :: ListTerminologiesResponse -> Maybe [TerminologyProperties]
+ Amazonka.Translate.ListTerminologies: data ListTerminologies
+ Amazonka.Translate.ListTerminologies: data ListTerminologiesResponse
+ Amazonka.Translate.ListTerminologies: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance Amazonka.Data.Path.ToPath Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance Amazonka.Pager.AWSPager Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance Amazonka.Types.AWSRequest Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance Control.DeepSeq.NFData Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance Control.DeepSeq.NFData Amazonka.Translate.ListTerminologies.ListTerminologiesResponse
+ Amazonka.Translate.ListTerminologies: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance Data.Hashable.Class.Hashable Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance GHC.Classes.Eq Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance GHC.Classes.Eq Amazonka.Translate.ListTerminologies.ListTerminologiesResponse
+ Amazonka.Translate.ListTerminologies: instance GHC.Generics.Generic Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance GHC.Generics.Generic Amazonka.Translate.ListTerminologies.ListTerminologiesResponse
+ Amazonka.Translate.ListTerminologies: instance GHC.Read.Read Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance GHC.Read.Read Amazonka.Translate.ListTerminologies.ListTerminologiesResponse
+ Amazonka.Translate.ListTerminologies: instance GHC.Show.Show Amazonka.Translate.ListTerminologies.ListTerminologies
+ Amazonka.Translate.ListTerminologies: instance GHC.Show.Show Amazonka.Translate.ListTerminologies.ListTerminologiesResponse
+ Amazonka.Translate.ListTerminologies: listTerminologiesResponse_httpStatus :: Lens' ListTerminologiesResponse Int
+ Amazonka.Translate.ListTerminologies: listTerminologiesResponse_nextToken :: Lens' ListTerminologiesResponse (Maybe Text)
+ Amazonka.Translate.ListTerminologies: listTerminologiesResponse_terminologyPropertiesList :: Lens' ListTerminologiesResponse (Maybe [TerminologyProperties])
+ Amazonka.Translate.ListTerminologies: listTerminologies_maxResults :: Lens' ListTerminologies (Maybe Natural)
+ Amazonka.Translate.ListTerminologies: listTerminologies_nextToken :: Lens' ListTerminologies (Maybe Text)
+ Amazonka.Translate.ListTerminologies: newListTerminologies :: ListTerminologies
+ Amazonka.Translate.ListTerminologies: newListTerminologiesResponse :: Int -> ListTerminologiesResponse
+ Amazonka.Translate.ListTextTranslationJobs: ListTextTranslationJobs' :: Maybe TextTranslationJobFilter -> Maybe Natural -> Maybe Text -> ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: ListTextTranslationJobsResponse' :: Maybe Text -> Maybe [TextTranslationJobProperties] -> Int -> ListTextTranslationJobsResponse
+ Amazonka.Translate.ListTextTranslationJobs: [$sel:filter':ListTextTranslationJobs'] :: ListTextTranslationJobs -> Maybe TextTranslationJobFilter
+ Amazonka.Translate.ListTextTranslationJobs: [$sel:httpStatus:ListTextTranslationJobsResponse'] :: ListTextTranslationJobsResponse -> Int
+ Amazonka.Translate.ListTextTranslationJobs: [$sel:maxResults:ListTextTranslationJobs'] :: ListTextTranslationJobs -> Maybe Natural
+ Amazonka.Translate.ListTextTranslationJobs: [$sel:nextToken:ListTextTranslationJobs'] :: ListTextTranslationJobs -> Maybe Text
+ Amazonka.Translate.ListTextTranslationJobs: [$sel:nextToken:ListTextTranslationJobsResponse'] :: ListTextTranslationJobsResponse -> Maybe Text
+ Amazonka.Translate.ListTextTranslationJobs: [$sel:textTranslationJobPropertiesList:ListTextTranslationJobsResponse'] :: ListTextTranslationJobsResponse -> Maybe [TextTranslationJobProperties]
+ Amazonka.Translate.ListTextTranslationJobs: data ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: data ListTextTranslationJobsResponse
+ Amazonka.Translate.ListTextTranslationJobs: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance Amazonka.Data.Path.ToPath Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance Amazonka.Types.AWSRequest Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance Control.DeepSeq.NFData Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance Control.DeepSeq.NFData Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobsResponse
+ Amazonka.Translate.ListTextTranslationJobs: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance Data.Hashable.Class.Hashable Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Classes.Eq Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Classes.Eq Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobsResponse
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Generics.Generic Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Generics.Generic Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobsResponse
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Read.Read Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Read.Read Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobsResponse
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Show.Show Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: instance GHC.Show.Show Amazonka.Translate.ListTextTranslationJobs.ListTextTranslationJobsResponse
+ Amazonka.Translate.ListTextTranslationJobs: listTextTranslationJobsResponse_httpStatus :: Lens' ListTextTranslationJobsResponse Int
+ Amazonka.Translate.ListTextTranslationJobs: listTextTranslationJobsResponse_nextToken :: Lens' ListTextTranslationJobsResponse (Maybe Text)
+ Amazonka.Translate.ListTextTranslationJobs: listTextTranslationJobsResponse_textTranslationJobPropertiesList :: Lens' ListTextTranslationJobsResponse (Maybe [TextTranslationJobProperties])
+ Amazonka.Translate.ListTextTranslationJobs: listTextTranslationJobs_filter :: Lens' ListTextTranslationJobs (Maybe TextTranslationJobFilter)
+ Amazonka.Translate.ListTextTranslationJobs: listTextTranslationJobs_maxResults :: Lens' ListTextTranslationJobs (Maybe Natural)
+ Amazonka.Translate.ListTextTranslationJobs: listTextTranslationJobs_nextToken :: Lens' ListTextTranslationJobs (Maybe Text)
+ Amazonka.Translate.ListTextTranslationJobs: newListTextTranslationJobs :: ListTextTranslationJobs
+ Amazonka.Translate.ListTextTranslationJobs: newListTextTranslationJobsResponse :: Int -> ListTextTranslationJobsResponse
+ Amazonka.Translate.StartTextTranslationJob: StartTextTranslationJob' :: Maybe Text -> Maybe [Text] -> Maybe TranslationSettings -> Maybe [Text] -> InputDataConfig -> OutputDataConfig -> Text -> Text -> NonEmpty Text -> Text -> StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: StartTextTranslationJobResponse' :: Maybe Text -> Maybe JobStatus -> Int -> StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: [$sel:clientToken:StartTextTranslationJob'] :: StartTextTranslationJob -> Text
+ Amazonka.Translate.StartTextTranslationJob: [$sel:dataAccessRoleArn:StartTextTranslationJob'] :: StartTextTranslationJob -> Text
+ Amazonka.Translate.StartTextTranslationJob: [$sel:httpStatus:StartTextTranslationJobResponse'] :: StartTextTranslationJobResponse -> Int
+ Amazonka.Translate.StartTextTranslationJob: [$sel:inputDataConfig:StartTextTranslationJob'] :: StartTextTranslationJob -> InputDataConfig
+ Amazonka.Translate.StartTextTranslationJob: [$sel:jobId:StartTextTranslationJobResponse'] :: StartTextTranslationJobResponse -> Maybe Text
+ Amazonka.Translate.StartTextTranslationJob: [$sel:jobName:StartTextTranslationJob'] :: StartTextTranslationJob -> Maybe Text
+ Amazonka.Translate.StartTextTranslationJob: [$sel:jobStatus:StartTextTranslationJobResponse'] :: StartTextTranslationJobResponse -> Maybe JobStatus
+ Amazonka.Translate.StartTextTranslationJob: [$sel:outputDataConfig:StartTextTranslationJob'] :: StartTextTranslationJob -> OutputDataConfig
+ Amazonka.Translate.StartTextTranslationJob: [$sel:parallelDataNames:StartTextTranslationJob'] :: StartTextTranslationJob -> Maybe [Text]
+ Amazonka.Translate.StartTextTranslationJob: [$sel:settings:StartTextTranslationJob'] :: StartTextTranslationJob -> Maybe TranslationSettings
+ Amazonka.Translate.StartTextTranslationJob: [$sel:sourceLanguageCode:StartTextTranslationJob'] :: StartTextTranslationJob -> Text
+ Amazonka.Translate.StartTextTranslationJob: [$sel:targetLanguageCodes:StartTextTranslationJob'] :: StartTextTranslationJob -> NonEmpty Text
+ Amazonka.Translate.StartTextTranslationJob: [$sel:terminologyNames:StartTextTranslationJob'] :: StartTextTranslationJob -> Maybe [Text]
+ Amazonka.Translate.StartTextTranslationJob: data StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: data StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance Amazonka.Data.Path.ToPath Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance Amazonka.Types.AWSRequest Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance Control.DeepSeq.NFData Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance Control.DeepSeq.NFData Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance Data.Hashable.Class.Hashable Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Classes.Eq Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Classes.Eq Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Generics.Generic Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Generics.Generic Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Read.Read Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Read.Read Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Show.Show Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: instance GHC.Show.Show Amazonka.Translate.StartTextTranslationJob.StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: newStartTextTranslationJob :: InputDataConfig -> OutputDataConfig -> Text -> Text -> NonEmpty Text -> Text -> StartTextTranslationJob
+ Amazonka.Translate.StartTextTranslationJob: newStartTextTranslationJobResponse :: Int -> StartTextTranslationJobResponse
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJobResponse_httpStatus :: Lens' StartTextTranslationJobResponse Int
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJobResponse_jobId :: Lens' StartTextTranslationJobResponse (Maybe Text)
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJobResponse_jobStatus :: Lens' StartTextTranslationJobResponse (Maybe JobStatus)
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_clientToken :: Lens' StartTextTranslationJob Text
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_dataAccessRoleArn :: Lens' StartTextTranslationJob Text
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_inputDataConfig :: Lens' StartTextTranslationJob InputDataConfig
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_jobName :: Lens' StartTextTranslationJob (Maybe Text)
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_outputDataConfig :: Lens' StartTextTranslationJob OutputDataConfig
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_parallelDataNames :: Lens' StartTextTranslationJob (Maybe [Text])
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_settings :: Lens' StartTextTranslationJob (Maybe TranslationSettings)
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_sourceLanguageCode :: Lens' StartTextTranslationJob Text
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_targetLanguageCodes :: Lens' StartTextTranslationJob (NonEmpty Text)
+ Amazonka.Translate.StartTextTranslationJob: startTextTranslationJob_terminologyNames :: Lens' StartTextTranslationJob (Maybe [Text])
+ Amazonka.Translate.StopTextTranslationJob: StopTextTranslationJob' :: Text -> StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: StopTextTranslationJobResponse' :: Maybe Text -> Maybe JobStatus -> Int -> StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: [$sel:httpStatus:StopTextTranslationJobResponse'] :: StopTextTranslationJobResponse -> Int
+ Amazonka.Translate.StopTextTranslationJob: [$sel:jobId:StopTextTranslationJob'] :: StopTextTranslationJob -> Text
+ Amazonka.Translate.StopTextTranslationJob: [$sel:jobId:StopTextTranslationJobResponse'] :: StopTextTranslationJobResponse -> Maybe Text
+ Amazonka.Translate.StopTextTranslationJob: [$sel:jobStatus:StopTextTranslationJobResponse'] :: StopTextTranslationJobResponse -> Maybe JobStatus
+ Amazonka.Translate.StopTextTranslationJob: data StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: data StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance Amazonka.Data.Path.ToPath Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance Amazonka.Types.AWSRequest Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance Control.DeepSeq.NFData Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance Control.DeepSeq.NFData Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance Data.Hashable.Class.Hashable Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Classes.Eq Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Classes.Eq Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Generics.Generic Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Generics.Generic Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Read.Read Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Read.Read Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Show.Show Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: instance GHC.Show.Show Amazonka.Translate.StopTextTranslationJob.StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: newStopTextTranslationJob :: Text -> StopTextTranslationJob
+ Amazonka.Translate.StopTextTranslationJob: newStopTextTranslationJobResponse :: Int -> StopTextTranslationJobResponse
+ Amazonka.Translate.StopTextTranslationJob: stopTextTranslationJobResponse_httpStatus :: Lens' StopTextTranslationJobResponse Int
+ Amazonka.Translate.StopTextTranslationJob: stopTextTranslationJobResponse_jobId :: Lens' StopTextTranslationJobResponse (Maybe Text)
+ Amazonka.Translate.StopTextTranslationJob: stopTextTranslationJobResponse_jobStatus :: Lens' StopTextTranslationJobResponse (Maybe JobStatus)
+ Amazonka.Translate.StopTextTranslationJob: stopTextTranslationJob_jobId :: Lens' StopTextTranslationJob Text
+ Amazonka.Translate.TagResource: TagResource' :: Text -> [Tag] -> TagResource
+ Amazonka.Translate.TagResource: TagResourceResponse' :: Int -> TagResourceResponse
+ Amazonka.Translate.TagResource: [$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
+ Amazonka.Translate.TagResource: [$sel:resourceArn:TagResource'] :: TagResource -> Text
+ Amazonka.Translate.TagResource: [$sel:tags:TagResource'] :: TagResource -> [Tag]
+ Amazonka.Translate.TagResource: data TagResource
+ Amazonka.Translate.TagResource: data TagResourceResponse
+ Amazonka.Translate.TagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance Amazonka.Data.Path.ToPath Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance Amazonka.Types.AWSRequest Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance Control.DeepSeq.NFData Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance Control.DeepSeq.NFData Amazonka.Translate.TagResource.TagResourceResponse
+ Amazonka.Translate.TagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance Data.Hashable.Class.Hashable Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance GHC.Classes.Eq Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance GHC.Classes.Eq Amazonka.Translate.TagResource.TagResourceResponse
+ Amazonka.Translate.TagResource: instance GHC.Generics.Generic Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance GHC.Generics.Generic Amazonka.Translate.TagResource.TagResourceResponse
+ Amazonka.Translate.TagResource: instance GHC.Read.Read Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance GHC.Read.Read Amazonka.Translate.TagResource.TagResourceResponse
+ Amazonka.Translate.TagResource: instance GHC.Show.Show Amazonka.Translate.TagResource.TagResource
+ Amazonka.Translate.TagResource: instance GHC.Show.Show Amazonka.Translate.TagResource.TagResourceResponse
+ Amazonka.Translate.TagResource: newTagResource :: Text -> TagResource
+ Amazonka.Translate.TagResource: newTagResourceResponse :: Int -> TagResourceResponse
+ Amazonka.Translate.TagResource: tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
+ Amazonka.Translate.TagResource: tagResource_resourceArn :: Lens' TagResource Text
+ Amazonka.Translate.TagResource: tagResource_tags :: Lens' TagResource [Tag]
+ Amazonka.Translate.TranslateText: TranslateText' :: Maybe TranslationSettings -> Maybe [Text] -> Text -> Text -> Text -> TranslateText
+ Amazonka.Translate.TranslateText: TranslateTextResponse' :: Maybe TranslationSettings -> Maybe [AppliedTerminology] -> Int -> Text -> Text -> Text -> TranslateTextResponse
+ Amazonka.Translate.TranslateText: [$sel:appliedSettings:TranslateTextResponse'] :: TranslateTextResponse -> Maybe TranslationSettings
+ Amazonka.Translate.TranslateText: [$sel:appliedTerminologies:TranslateTextResponse'] :: TranslateTextResponse -> Maybe [AppliedTerminology]
+ Amazonka.Translate.TranslateText: [$sel:httpStatus:TranslateTextResponse'] :: TranslateTextResponse -> Int
+ Amazonka.Translate.TranslateText: [$sel:settings:TranslateText'] :: TranslateText -> Maybe TranslationSettings
+ Amazonka.Translate.TranslateText: [$sel:sourceLanguageCode:TranslateText'] :: TranslateText -> Text
+ Amazonka.Translate.TranslateText: [$sel:sourceLanguageCode:TranslateTextResponse'] :: TranslateTextResponse -> Text
+ Amazonka.Translate.TranslateText: [$sel:targetLanguageCode:TranslateText'] :: TranslateText -> Text
+ Amazonka.Translate.TranslateText: [$sel:targetLanguageCode:TranslateTextResponse'] :: TranslateTextResponse -> Text
+ Amazonka.Translate.TranslateText: [$sel:terminologyNames:TranslateText'] :: TranslateText -> Maybe [Text]
+ Amazonka.Translate.TranslateText: [$sel:text:TranslateText'] :: TranslateText -> Text
+ Amazonka.Translate.TranslateText: [$sel:translatedText:TranslateTextResponse'] :: TranslateTextResponse -> Text
+ Amazonka.Translate.TranslateText: data TranslateText
+ Amazonka.Translate.TranslateText: data TranslateTextResponse
+ Amazonka.Translate.TranslateText: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance Amazonka.Data.Path.ToPath Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance Amazonka.Types.AWSRequest Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance Control.DeepSeq.NFData Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance Control.DeepSeq.NFData Amazonka.Translate.TranslateText.TranslateTextResponse
+ Amazonka.Translate.TranslateText: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance Data.Hashable.Class.Hashable Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance GHC.Classes.Eq Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance GHC.Classes.Eq Amazonka.Translate.TranslateText.TranslateTextResponse
+ Amazonka.Translate.TranslateText: instance GHC.Generics.Generic Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance GHC.Generics.Generic Amazonka.Translate.TranslateText.TranslateTextResponse
+ Amazonka.Translate.TranslateText: instance GHC.Read.Read Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance GHC.Read.Read Amazonka.Translate.TranslateText.TranslateTextResponse
+ Amazonka.Translate.TranslateText: instance GHC.Show.Show Amazonka.Translate.TranslateText.TranslateText
+ Amazonka.Translate.TranslateText: instance GHC.Show.Show Amazonka.Translate.TranslateText.TranslateTextResponse
+ Amazonka.Translate.TranslateText: newTranslateText :: Text -> Text -> Text -> TranslateText
+ Amazonka.Translate.TranslateText: newTranslateTextResponse :: Int -> Text -> Text -> Text -> TranslateTextResponse
+ Amazonka.Translate.TranslateText: translateTextResponse_appliedSettings :: Lens' TranslateTextResponse (Maybe TranslationSettings)
+ Amazonka.Translate.TranslateText: translateTextResponse_appliedTerminologies :: Lens' TranslateTextResponse (Maybe [AppliedTerminology])
+ Amazonka.Translate.TranslateText: translateTextResponse_httpStatus :: Lens' TranslateTextResponse Int
+ Amazonka.Translate.TranslateText: translateTextResponse_sourceLanguageCode :: Lens' TranslateTextResponse Text
+ Amazonka.Translate.TranslateText: translateTextResponse_targetLanguageCode :: Lens' TranslateTextResponse Text
+ Amazonka.Translate.TranslateText: translateTextResponse_translatedText :: Lens' TranslateTextResponse Text
+ Amazonka.Translate.TranslateText: translateText_settings :: Lens' TranslateText (Maybe TranslationSettings)
+ Amazonka.Translate.TranslateText: translateText_sourceLanguageCode :: Lens' TranslateText Text
+ Amazonka.Translate.TranslateText: translateText_targetLanguageCode :: Lens' TranslateText Text
+ Amazonka.Translate.TranslateText: translateText_terminologyNames :: Lens' TranslateText (Maybe [Text])
+ Amazonka.Translate.TranslateText: translateText_text :: Lens' TranslateText Text
+ Amazonka.Translate.Types: AppliedTerminology' :: Maybe Text -> Maybe [Term] -> AppliedTerminology
+ Amazonka.Translate.Types: Directionality' :: Text -> Directionality
+ Amazonka.Translate.Types: DisplayLanguageCode' :: Text -> DisplayLanguageCode
+ Amazonka.Translate.Types: EncryptionKey' :: EncryptionKeyType -> Text -> EncryptionKey
+ Amazonka.Translate.Types: EncryptionKeyType' :: Text -> EncryptionKeyType
+ Amazonka.Translate.Types: Formality' :: Text -> Formality
+ Amazonka.Translate.Types: InputDataConfig' :: Text -> Text -> InputDataConfig
+ Amazonka.Translate.Types: JobDetails' :: Maybe Int -> Maybe Int -> Maybe Int -> JobDetails
+ Amazonka.Translate.Types: JobStatus' :: Text -> JobStatus
+ Amazonka.Translate.Types: Language' :: Text -> Text -> Language
+ Amazonka.Translate.Types: MergeStrategy' :: Text -> MergeStrategy
+ Amazonka.Translate.Types: OutputDataConfig' :: Maybe EncryptionKey -> Text -> OutputDataConfig
+ Amazonka.Translate.Types: ParallelDataConfig' :: Text -> ParallelDataFormat -> ParallelDataConfig
+ Amazonka.Translate.Types: ParallelDataDataLocation' :: Text -> Text -> ParallelDataDataLocation
+ Amazonka.Translate.Types: ParallelDataFormat' :: Text -> ParallelDataFormat
+ Amazonka.Translate.Types: ParallelDataProperties' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe EncryptionKey -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe POSIX -> Maybe POSIX -> Maybe ParallelDataStatus -> Maybe Text -> Maybe Text -> Maybe ParallelDataConfig -> Maybe Integer -> Maybe Text -> Maybe ParallelDataStatus -> Maybe [Text] -> ParallelDataProperties
+ Amazonka.Translate.Types: ParallelDataStatus' :: Text -> ParallelDataStatus
+ Amazonka.Translate.Types: Profanity' :: Text -> Profanity
+ Amazonka.Translate.Types: Tag' :: Text -> Text -> Tag
+ Amazonka.Translate.Types: Term' :: Maybe Text -> Maybe Text -> Term
+ Amazonka.Translate.Types: TerminologyData' :: Maybe Directionality -> Sensitive Base64 -> TerminologyDataFormat -> TerminologyData
+ Amazonka.Translate.Types: TerminologyDataFormat' :: Text -> TerminologyDataFormat
+ Amazonka.Translate.Types: TerminologyDataLocation' :: Text -> Text -> TerminologyDataLocation
+ Amazonka.Translate.Types: TerminologyProperties' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Directionality -> Maybe EncryptionKey -> Maybe TerminologyDataFormat -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Int -> TerminologyProperties
+ Amazonka.Translate.Types: TextTranslationJobFilter' :: Maybe Text -> Maybe JobStatus -> Maybe POSIX -> Maybe POSIX -> TextTranslationJobFilter
+ Amazonka.Translate.Types: TextTranslationJobProperties' :: Maybe Text -> Maybe POSIX -> Maybe InputDataConfig -> Maybe JobDetails -> Maybe Text -> Maybe Text -> Maybe JobStatus -> Maybe Text -> Maybe OutputDataConfig -> Maybe [Text] -> Maybe TranslationSettings -> Maybe Text -> Maybe POSIX -> Maybe (NonEmpty Text) -> Maybe [Text] -> TextTranslationJobProperties
+ Amazonka.Translate.Types: TranslationSettings' :: Maybe Formality -> Maybe Profanity -> TranslationSettings
+ Amazonka.Translate.Types: [$sel:arn:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:arn:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:contentType:InputDataConfig'] :: InputDataConfig -> Text
+ Amazonka.Translate.Types: [$sel:createdAt:ParallelDataProperties'] :: ParallelDataProperties -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:createdAt:TerminologyProperties'] :: TerminologyProperties -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:dataAccessRoleArn:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:description:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:description:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:directionality:TerminologyData'] :: TerminologyData -> Maybe Directionality
+ Amazonka.Translate.Types: [$sel:directionality:TerminologyProperties'] :: TerminologyProperties -> Maybe Directionality
+ Amazonka.Translate.Types: [$sel:documentsWithErrorsCount:JobDetails'] :: JobDetails -> Maybe Int
+ Amazonka.Translate.Types: [$sel:encryptionKey:OutputDataConfig'] :: OutputDataConfig -> Maybe EncryptionKey
+ Amazonka.Translate.Types: [$sel:encryptionKey:ParallelDataProperties'] :: ParallelDataProperties -> Maybe EncryptionKey
+ Amazonka.Translate.Types: [$sel:encryptionKey:TerminologyProperties'] :: TerminologyProperties -> Maybe EncryptionKey
+ Amazonka.Translate.Types: [$sel:endTime:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:failedRecordCount:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types: [$sel:file:TerminologyData'] :: TerminologyData -> Sensitive Base64
+ Amazonka.Translate.Types: [$sel:formality:TranslationSettings'] :: TranslationSettings -> Maybe Formality
+ Amazonka.Translate.Types: [$sel:format:ParallelDataConfig'] :: ParallelDataConfig -> ParallelDataFormat
+ Amazonka.Translate.Types: [$sel:format:TerminologyData'] :: TerminologyData -> TerminologyDataFormat
+ Amazonka.Translate.Types: [$sel:format:TerminologyProperties'] :: TerminologyProperties -> Maybe TerminologyDataFormat
+ Amazonka.Translate.Types: [$sel:id:EncryptionKey'] :: EncryptionKey -> Text
+ Amazonka.Translate.Types: [$sel:importedDataSize:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types: [$sel:importedRecordCount:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types: [$sel:inputDataConfig:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe InputDataConfig
+ Amazonka.Translate.Types: [$sel:inputDocumentsCount:JobDetails'] :: JobDetails -> Maybe Int
+ Amazonka.Translate.Types: [$sel:jobDetails:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe JobDetails
+ Amazonka.Translate.Types: [$sel:jobId:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:jobName:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe Text
+ Amazonka.Translate.Types: [$sel:jobName:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:jobStatus:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe JobStatus
+ Amazonka.Translate.Types: [$sel:jobStatus:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe JobStatus
+ Amazonka.Translate.Types: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.Translate.Types: [$sel:languageCode:Language'] :: Language -> Text
+ Amazonka.Translate.Types: [$sel:languageName:Language'] :: Language -> Text
+ Amazonka.Translate.Types: [$sel:lastUpdatedAt:ParallelDataProperties'] :: ParallelDataProperties -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:lastUpdatedAt:TerminologyProperties'] :: TerminologyProperties -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:latestUpdateAttemptAt:ParallelDataProperties'] :: ParallelDataProperties -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:latestUpdateAttemptStatus:ParallelDataProperties'] :: ParallelDataProperties -> Maybe ParallelDataStatus
+ Amazonka.Translate.Types: [$sel:location:ParallelDataDataLocation'] :: ParallelDataDataLocation -> Text
+ Amazonka.Translate.Types: [$sel:location:TerminologyDataLocation'] :: TerminologyDataLocation -> Text
+ Amazonka.Translate.Types: [$sel:message:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:message:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:message:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:name:AppliedTerminology'] :: AppliedTerminology -> Maybe Text
+ Amazonka.Translate.Types: [$sel:name:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:name:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:outputDataConfig:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe OutputDataConfig
+ Amazonka.Translate.Types: [$sel:parallelDataConfig:ParallelDataProperties'] :: ParallelDataProperties -> Maybe ParallelDataConfig
+ Amazonka.Translate.Types: [$sel:parallelDataNames:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe [Text]
+ Amazonka.Translate.Types: [$sel:profanity:TranslationSettings'] :: TranslationSettings -> Maybe Profanity
+ Amazonka.Translate.Types: [$sel:repositoryType:ParallelDataDataLocation'] :: ParallelDataDataLocation -> Text
+ Amazonka.Translate.Types: [$sel:repositoryType:TerminologyDataLocation'] :: TerminologyDataLocation -> Text
+ Amazonka.Translate.Types: [$sel:s3Uri:InputDataConfig'] :: InputDataConfig -> Text
+ Amazonka.Translate.Types: [$sel:s3Uri:OutputDataConfig'] :: OutputDataConfig -> Text
+ Amazonka.Translate.Types: [$sel:s3Uri:ParallelDataConfig'] :: ParallelDataConfig -> Text
+ Amazonka.Translate.Types: [$sel:settings:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe TranslationSettings
+ Amazonka.Translate.Types: [$sel:sizeBytes:TerminologyProperties'] :: TerminologyProperties -> Maybe Int
+ Amazonka.Translate.Types: [$sel:skippedRecordCount:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types: [$sel:skippedTermCount:TerminologyProperties'] :: TerminologyProperties -> Maybe Int
+ Amazonka.Translate.Types: [$sel:sourceLanguageCode:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:sourceLanguageCode:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:sourceLanguageCode:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types: [$sel:sourceText:Term'] :: Term -> Maybe Text
+ Amazonka.Translate.Types: [$sel:status:ParallelDataProperties'] :: ParallelDataProperties -> Maybe ParallelDataStatus
+ Amazonka.Translate.Types: [$sel:submittedAfterTime:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:submittedBeforeTime:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:submittedTime:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe POSIX
+ Amazonka.Translate.Types: [$sel:targetLanguageCodes:ParallelDataProperties'] :: ParallelDataProperties -> Maybe [Text]
+ Amazonka.Translate.Types: [$sel:targetLanguageCodes:TerminologyProperties'] :: TerminologyProperties -> Maybe [Text]
+ Amazonka.Translate.Types: [$sel:targetLanguageCodes:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe (NonEmpty Text)
+ Amazonka.Translate.Types: [$sel:targetText:Term'] :: Term -> Maybe Text
+ Amazonka.Translate.Types: [$sel:termCount:TerminologyProperties'] :: TerminologyProperties -> Maybe Int
+ Amazonka.Translate.Types: [$sel:terminologyNames:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe [Text]
+ Amazonka.Translate.Types: [$sel:terms:AppliedTerminology'] :: AppliedTerminology -> Maybe [Term]
+ Amazonka.Translate.Types: [$sel:translatedDocumentsCount:JobDetails'] :: JobDetails -> Maybe Int
+ Amazonka.Translate.Types: [$sel:type':EncryptionKey'] :: EncryptionKey -> EncryptionKeyType
+ Amazonka.Translate.Types: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.Translate.Types: [fromDirectionality] :: Directionality -> Text
+ Amazonka.Translate.Types: [fromDisplayLanguageCode] :: DisplayLanguageCode -> Text
+ Amazonka.Translate.Types: [fromEncryptionKeyType] :: EncryptionKeyType -> Text
+ Amazonka.Translate.Types: [fromFormality] :: Formality -> Text
+ Amazonka.Translate.Types: [fromJobStatus] :: JobStatus -> Text
+ Amazonka.Translate.Types: [fromMergeStrategy] :: MergeStrategy -> Text
+ Amazonka.Translate.Types: [fromParallelDataFormat] :: ParallelDataFormat -> Text
+ Amazonka.Translate.Types: [fromParallelDataStatus] :: ParallelDataStatus -> Text
+ Amazonka.Translate.Types: [fromProfanity] :: Profanity -> Text
+ Amazonka.Translate.Types: [fromTerminologyDataFormat] :: TerminologyDataFormat -> Text
+ Amazonka.Translate.Types: _ConcurrentModificationException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _ConflictException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _DetectedLanguageLowConfidenceException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _InternalServerException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _InvalidFilterException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _InvalidParameterValueException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _InvalidRequestException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _LimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _ResourceNotFoundException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _ServiceUnavailableException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _TextSizeLimitExceededException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _TooManyRequestsException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _TooManyTagsException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _UnsupportedDisplayLanguageCodeException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: _UnsupportedLanguagePairException :: AsError a => Fold a ServiceError
+ Amazonka.Translate.Types: appliedTerminology_name :: Lens' AppliedTerminology (Maybe Text)
+ Amazonka.Translate.Types: appliedTerminology_terms :: Lens' AppliedTerminology (Maybe [Term])
+ Amazonka.Translate.Types: data AppliedTerminology
+ Amazonka.Translate.Types: data EncryptionKey
+ Amazonka.Translate.Types: data InputDataConfig
+ Amazonka.Translate.Types: data JobDetails
+ Amazonka.Translate.Types: data Language
+ Amazonka.Translate.Types: data OutputDataConfig
+ Amazonka.Translate.Types: data ParallelDataConfig
+ Amazonka.Translate.Types: data ParallelDataDataLocation
+ Amazonka.Translate.Types: data ParallelDataProperties
+ Amazonka.Translate.Types: data Tag
+ Amazonka.Translate.Types: data Term
+ Amazonka.Translate.Types: data TerminologyData
+ Amazonka.Translate.Types: data TerminologyDataLocation
+ Amazonka.Translate.Types: data TerminologyProperties
+ Amazonka.Translate.Types: data TextTranslationJobFilter
+ Amazonka.Translate.Types: data TextTranslationJobProperties
+ Amazonka.Translate.Types: data TranslationSettings
+ Amazonka.Translate.Types: defaultService :: Service
+ Amazonka.Translate.Types: encryptionKey_id :: Lens' EncryptionKey Text
+ Amazonka.Translate.Types: encryptionKey_type :: Lens' EncryptionKey EncryptionKeyType
+ Amazonka.Translate.Types: inputDataConfig_contentType :: Lens' InputDataConfig Text
+ Amazonka.Translate.Types: inputDataConfig_s3Uri :: Lens' InputDataConfig Text
+ Amazonka.Translate.Types: jobDetails_documentsWithErrorsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Types: jobDetails_inputDocumentsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Types: jobDetails_translatedDocumentsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Types: language_languageCode :: Lens' Language Text
+ Amazonka.Translate.Types: language_languageName :: Lens' Language Text
+ Amazonka.Translate.Types: newAppliedTerminology :: AppliedTerminology
+ Amazonka.Translate.Types: newEncryptionKey :: EncryptionKeyType -> Text -> EncryptionKey
+ Amazonka.Translate.Types: newInputDataConfig :: Text -> Text -> InputDataConfig
+ Amazonka.Translate.Types: newJobDetails :: JobDetails
+ Amazonka.Translate.Types: newLanguage :: Text -> Text -> Language
+ Amazonka.Translate.Types: newOutputDataConfig :: Text -> OutputDataConfig
+ Amazonka.Translate.Types: newParallelDataConfig :: Text -> ParallelDataFormat -> ParallelDataConfig
+ Amazonka.Translate.Types: newParallelDataDataLocation :: Text -> Text -> ParallelDataDataLocation
+ Amazonka.Translate.Types: newParallelDataProperties :: ParallelDataProperties
+ Amazonka.Translate.Types: newTag :: Text -> Text -> Tag
+ Amazonka.Translate.Types: newTerm :: Term
+ Amazonka.Translate.Types: newTerminologyData :: ByteString -> TerminologyDataFormat -> TerminologyData
+ Amazonka.Translate.Types: newTerminologyDataLocation :: Text -> Text -> TerminologyDataLocation
+ Amazonka.Translate.Types: newTerminologyProperties :: TerminologyProperties
+ Amazonka.Translate.Types: newTextTranslationJobFilter :: TextTranslationJobFilter
+ Amazonka.Translate.Types: newTextTranslationJobProperties :: TextTranslationJobProperties
+ Amazonka.Translate.Types: newTranslationSettings :: TranslationSettings
+ Amazonka.Translate.Types: newtype Directionality
+ Amazonka.Translate.Types: newtype DisplayLanguageCode
+ Amazonka.Translate.Types: newtype EncryptionKeyType
+ Amazonka.Translate.Types: newtype Formality
+ Amazonka.Translate.Types: newtype JobStatus
+ Amazonka.Translate.Types: newtype MergeStrategy
+ Amazonka.Translate.Types: newtype ParallelDataFormat
+ Amazonka.Translate.Types: newtype ParallelDataStatus
+ Amazonka.Translate.Types: newtype Profanity
+ Amazonka.Translate.Types: newtype TerminologyDataFormat
+ Amazonka.Translate.Types: outputDataConfig_encryptionKey :: Lens' OutputDataConfig (Maybe EncryptionKey)
+ Amazonka.Translate.Types: outputDataConfig_s3Uri :: Lens' OutputDataConfig Text
+ Amazonka.Translate.Types: parallelDataConfig_format :: Lens' ParallelDataConfig ParallelDataFormat
+ Amazonka.Translate.Types: parallelDataConfig_s3Uri :: Lens' ParallelDataConfig Text
+ Amazonka.Translate.Types: parallelDataDataLocation_location :: Lens' ParallelDataDataLocation Text
+ Amazonka.Translate.Types: parallelDataDataLocation_repositoryType :: Lens' ParallelDataDataLocation Text
+ Amazonka.Translate.Types: parallelDataProperties_arn :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types: parallelDataProperties_createdAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Types: parallelDataProperties_description :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types: parallelDataProperties_encryptionKey :: Lens' ParallelDataProperties (Maybe EncryptionKey)
+ Amazonka.Translate.Types: parallelDataProperties_failedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types: parallelDataProperties_importedDataSize :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types: parallelDataProperties_importedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types: parallelDataProperties_lastUpdatedAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Types: parallelDataProperties_latestUpdateAttemptAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Types: parallelDataProperties_latestUpdateAttemptStatus :: Lens' ParallelDataProperties (Maybe ParallelDataStatus)
+ Amazonka.Translate.Types: parallelDataProperties_message :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types: parallelDataProperties_name :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types: parallelDataProperties_parallelDataConfig :: Lens' ParallelDataProperties (Maybe ParallelDataConfig)
+ Amazonka.Translate.Types: parallelDataProperties_skippedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types: parallelDataProperties_sourceLanguageCode :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types: parallelDataProperties_status :: Lens' ParallelDataProperties (Maybe ParallelDataStatus)
+ Amazonka.Translate.Types: parallelDataProperties_targetLanguageCodes :: Lens' ParallelDataProperties (Maybe [Text])
+ Amazonka.Translate.Types: pattern Directionality_MULTI :: Directionality
+ Amazonka.Translate.Types: pattern Directionality_UNI :: Directionality
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_De :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_En :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_Es :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_Fr :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_It :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_Ja :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_Ko :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_Pt :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_Zh :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern DisplayLanguageCode_Zh_TW :: DisplayLanguageCode
+ Amazonka.Translate.Types: pattern EncryptionKeyType_KMS :: EncryptionKeyType
+ Amazonka.Translate.Types: pattern Formality_FORMAL :: Formality
+ Amazonka.Translate.Types: pattern Formality_INFORMAL :: Formality
+ Amazonka.Translate.Types: pattern JobStatus_COMPLETED :: JobStatus
+ Amazonka.Translate.Types: pattern JobStatus_COMPLETED_WITH_ERROR :: JobStatus
+ Amazonka.Translate.Types: pattern JobStatus_FAILED :: JobStatus
+ Amazonka.Translate.Types: pattern JobStatus_IN_PROGRESS :: JobStatus
+ Amazonka.Translate.Types: pattern JobStatus_STOPPED :: JobStatus
+ Amazonka.Translate.Types: pattern JobStatus_STOP_REQUESTED :: JobStatus
+ Amazonka.Translate.Types: pattern JobStatus_SUBMITTED :: JobStatus
+ Amazonka.Translate.Types: pattern MergeStrategy_OVERWRITE :: MergeStrategy
+ Amazonka.Translate.Types: pattern ParallelDataFormat_CSV :: ParallelDataFormat
+ Amazonka.Translate.Types: pattern ParallelDataFormat_TMX :: ParallelDataFormat
+ Amazonka.Translate.Types: pattern ParallelDataFormat_TSV :: ParallelDataFormat
+ Amazonka.Translate.Types: pattern ParallelDataStatus_ACTIVE :: ParallelDataStatus
+ Amazonka.Translate.Types: pattern ParallelDataStatus_CREATING :: ParallelDataStatus
+ Amazonka.Translate.Types: pattern ParallelDataStatus_DELETING :: ParallelDataStatus
+ Amazonka.Translate.Types: pattern ParallelDataStatus_FAILED :: ParallelDataStatus
+ Amazonka.Translate.Types: pattern ParallelDataStatus_UPDATING :: ParallelDataStatus
+ Amazonka.Translate.Types: pattern Profanity_MASK :: Profanity
+ Amazonka.Translate.Types: pattern TerminologyDataFormat_CSV :: TerminologyDataFormat
+ Amazonka.Translate.Types: pattern TerminologyDataFormat_TMX :: TerminologyDataFormat
+ Amazonka.Translate.Types: pattern TerminologyDataFormat_TSV :: TerminologyDataFormat
+ Amazonka.Translate.Types: tag_key :: Lens' Tag Text
+ Amazonka.Translate.Types: tag_value :: Lens' Tag Text
+ Amazonka.Translate.Types: term_sourceText :: Lens' Term (Maybe Text)
+ Amazonka.Translate.Types: term_targetText :: Lens' Term (Maybe Text)
+ Amazonka.Translate.Types: terminologyDataLocation_location :: Lens' TerminologyDataLocation Text
+ Amazonka.Translate.Types: terminologyDataLocation_repositoryType :: Lens' TerminologyDataLocation Text
+ Amazonka.Translate.Types: terminologyData_directionality :: Lens' TerminologyData (Maybe Directionality)
+ Amazonka.Translate.Types: terminologyData_file :: Lens' TerminologyData ByteString
+ Amazonka.Translate.Types: terminologyData_format :: Lens' TerminologyData TerminologyDataFormat
+ Amazonka.Translate.Types: terminologyProperties_arn :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types: terminologyProperties_createdAt :: Lens' TerminologyProperties (Maybe UTCTime)
+ Amazonka.Translate.Types: terminologyProperties_description :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types: terminologyProperties_directionality :: Lens' TerminologyProperties (Maybe Directionality)
+ Amazonka.Translate.Types: terminologyProperties_encryptionKey :: Lens' TerminologyProperties (Maybe EncryptionKey)
+ Amazonka.Translate.Types: terminologyProperties_format :: Lens' TerminologyProperties (Maybe TerminologyDataFormat)
+ Amazonka.Translate.Types: terminologyProperties_lastUpdatedAt :: Lens' TerminologyProperties (Maybe UTCTime)
+ Amazonka.Translate.Types: terminologyProperties_message :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types: terminologyProperties_name :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types: terminologyProperties_sizeBytes :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Types: terminologyProperties_skippedTermCount :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Types: terminologyProperties_sourceLanguageCode :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types: terminologyProperties_targetLanguageCodes :: Lens' TerminologyProperties (Maybe [Text])
+ Amazonka.Translate.Types: terminologyProperties_termCount :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Types: textTranslationJobFilter_jobName :: Lens' TextTranslationJobFilter (Maybe Text)
+ Amazonka.Translate.Types: textTranslationJobFilter_jobStatus :: Lens' TextTranslationJobFilter (Maybe JobStatus)
+ Amazonka.Translate.Types: textTranslationJobFilter_submittedAfterTime :: Lens' TextTranslationJobFilter (Maybe UTCTime)
+ Amazonka.Translate.Types: textTranslationJobFilter_submittedBeforeTime :: Lens' TextTranslationJobFilter (Maybe UTCTime)
+ Amazonka.Translate.Types: textTranslationJobProperties_dataAccessRoleArn :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types: textTranslationJobProperties_endTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
+ Amazonka.Translate.Types: textTranslationJobProperties_inputDataConfig :: Lens' TextTranslationJobProperties (Maybe InputDataConfig)
+ Amazonka.Translate.Types: textTranslationJobProperties_jobDetails :: Lens' TextTranslationJobProperties (Maybe JobDetails)
+ Amazonka.Translate.Types: textTranslationJobProperties_jobId :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types: textTranslationJobProperties_jobName :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types: textTranslationJobProperties_jobStatus :: Lens' TextTranslationJobProperties (Maybe JobStatus)
+ Amazonka.Translate.Types: textTranslationJobProperties_message :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types: textTranslationJobProperties_outputDataConfig :: Lens' TextTranslationJobProperties (Maybe OutputDataConfig)
+ Amazonka.Translate.Types: textTranslationJobProperties_parallelDataNames :: Lens' TextTranslationJobProperties (Maybe [Text])
+ Amazonka.Translate.Types: textTranslationJobProperties_settings :: Lens' TextTranslationJobProperties (Maybe TranslationSettings)
+ Amazonka.Translate.Types: textTranslationJobProperties_sourceLanguageCode :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types: textTranslationJobProperties_submittedTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
+ Amazonka.Translate.Types: textTranslationJobProperties_targetLanguageCodes :: Lens' TextTranslationJobProperties (Maybe (NonEmpty Text))
+ Amazonka.Translate.Types: textTranslationJobProperties_terminologyNames :: Lens' TextTranslationJobProperties (Maybe [Text])
+ Amazonka.Translate.Types: translationSettings_formality :: Lens' TranslationSettings (Maybe Formality)
+ Amazonka.Translate.Types: translationSettings_profanity :: Lens' TranslationSettings (Maybe Profanity)
+ Amazonka.Translate.Types.AppliedTerminology: AppliedTerminology' :: Maybe Text -> Maybe [Term] -> AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: [$sel:name:AppliedTerminology'] :: AppliedTerminology -> Maybe Text
+ Amazonka.Translate.Types.AppliedTerminology: [$sel:terms:AppliedTerminology'] :: AppliedTerminology -> Maybe [Term]
+ Amazonka.Translate.Types.AppliedTerminology: appliedTerminology_name :: Lens' AppliedTerminology (Maybe Text)
+ Amazonka.Translate.Types.AppliedTerminology: appliedTerminology_terms :: Lens' AppliedTerminology (Maybe [Term])
+ Amazonka.Translate.Types.AppliedTerminology: data AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: instance Control.DeepSeq.NFData Amazonka.Translate.Types.AppliedTerminology.AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.AppliedTerminology.AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.AppliedTerminology.AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: instance GHC.Classes.Eq Amazonka.Translate.Types.AppliedTerminology.AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: instance GHC.Generics.Generic Amazonka.Translate.Types.AppliedTerminology.AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: instance GHC.Read.Read Amazonka.Translate.Types.AppliedTerminology.AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: instance GHC.Show.Show Amazonka.Translate.Types.AppliedTerminology.AppliedTerminology
+ Amazonka.Translate.Types.AppliedTerminology: newAppliedTerminology :: AppliedTerminology
+ Amazonka.Translate.Types.Directionality: Directionality' :: Text -> Directionality
+ Amazonka.Translate.Types.Directionality: [fromDirectionality] :: Directionality -> Text
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Control.DeepSeq.NFData Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance GHC.Classes.Eq Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance GHC.Classes.Ord Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance GHC.Generics.Generic Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance GHC.Read.Read Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: instance GHC.Show.Show Amazonka.Translate.Types.Directionality.Directionality
+ Amazonka.Translate.Types.Directionality: newtype Directionality
+ Amazonka.Translate.Types.Directionality: pattern Directionality_MULTI :: Directionality
+ Amazonka.Translate.Types.Directionality: pattern Directionality_UNI :: Directionality
+ Amazonka.Translate.Types.DisplayLanguageCode: DisplayLanguageCode' :: Text -> DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: [fromDisplayLanguageCode] :: DisplayLanguageCode -> Text
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Control.DeepSeq.NFData Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance GHC.Classes.Eq Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance GHC.Classes.Ord Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance GHC.Generics.Generic Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance GHC.Read.Read Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: instance GHC.Show.Show Amazonka.Translate.Types.DisplayLanguageCode.DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: newtype DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_De :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_En :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_Es :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_Fr :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_It :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_Ja :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_Ko :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_Pt :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_Zh :: DisplayLanguageCode
+ Amazonka.Translate.Types.DisplayLanguageCode: pattern DisplayLanguageCode_Zh_TW :: DisplayLanguageCode
+ Amazonka.Translate.Types.EncryptionKey: EncryptionKey' :: EncryptionKeyType -> Text -> EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: [$sel:id:EncryptionKey'] :: EncryptionKey -> Text
+ Amazonka.Translate.Types.EncryptionKey: [$sel:type':EncryptionKey'] :: EncryptionKey -> EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKey: data EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: encryptionKey_id :: Lens' EncryptionKey Text
+ Amazonka.Translate.Types.EncryptionKey: encryptionKey_type :: Lens' EncryptionKey EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKey: instance Control.DeepSeq.NFData Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: instance GHC.Classes.Eq Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: instance GHC.Generics.Generic Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: instance GHC.Read.Read Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: instance GHC.Show.Show Amazonka.Translate.Types.EncryptionKey.EncryptionKey
+ Amazonka.Translate.Types.EncryptionKey: newEncryptionKey :: EncryptionKeyType -> Text -> EncryptionKey
+ Amazonka.Translate.Types.EncryptionKeyType: EncryptionKeyType' :: Text -> EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: [fromEncryptionKeyType] :: EncryptionKeyType -> Text
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Control.DeepSeq.NFData Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance GHC.Classes.Eq Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance GHC.Classes.Ord Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance GHC.Generics.Generic Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance GHC.Read.Read Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: instance GHC.Show.Show Amazonka.Translate.Types.EncryptionKeyType.EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: newtype EncryptionKeyType
+ Amazonka.Translate.Types.EncryptionKeyType: pattern EncryptionKeyType_KMS :: EncryptionKeyType
+ Amazonka.Translate.Types.Formality: Formality' :: Text -> Formality
+ Amazonka.Translate.Types.Formality: [fromFormality] :: Formality -> Text
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Control.DeepSeq.NFData Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance GHC.Classes.Eq Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance GHC.Classes.Ord Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance GHC.Generics.Generic Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance GHC.Read.Read Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: instance GHC.Show.Show Amazonka.Translate.Types.Formality.Formality
+ Amazonka.Translate.Types.Formality: newtype Formality
+ Amazonka.Translate.Types.Formality: pattern Formality_FORMAL :: Formality
+ Amazonka.Translate.Types.Formality: pattern Formality_INFORMAL :: Formality
+ Amazonka.Translate.Types.InputDataConfig: InputDataConfig' :: Text -> Text -> InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: [$sel:contentType:InputDataConfig'] :: InputDataConfig -> Text
+ Amazonka.Translate.Types.InputDataConfig: [$sel:s3Uri:InputDataConfig'] :: InputDataConfig -> Text
+ Amazonka.Translate.Types.InputDataConfig: data InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: inputDataConfig_contentType :: Lens' InputDataConfig Text
+ Amazonka.Translate.Types.InputDataConfig: inputDataConfig_s3Uri :: Lens' InputDataConfig Text
+ Amazonka.Translate.Types.InputDataConfig: instance Control.DeepSeq.NFData Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: instance GHC.Classes.Eq Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: instance GHC.Generics.Generic Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: instance GHC.Read.Read Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: instance GHC.Show.Show Amazonka.Translate.Types.InputDataConfig.InputDataConfig
+ Amazonka.Translate.Types.InputDataConfig: newInputDataConfig :: Text -> Text -> InputDataConfig
+ Amazonka.Translate.Types.JobDetails: JobDetails' :: Maybe Int -> Maybe Int -> Maybe Int -> JobDetails
+ Amazonka.Translate.Types.JobDetails: [$sel:documentsWithErrorsCount:JobDetails'] :: JobDetails -> Maybe Int
+ Amazonka.Translate.Types.JobDetails: [$sel:inputDocumentsCount:JobDetails'] :: JobDetails -> Maybe Int
+ Amazonka.Translate.Types.JobDetails: [$sel:translatedDocumentsCount:JobDetails'] :: JobDetails -> Maybe Int
+ Amazonka.Translate.Types.JobDetails: data JobDetails
+ Amazonka.Translate.Types.JobDetails: instance Control.DeepSeq.NFData Amazonka.Translate.Types.JobDetails.JobDetails
+ Amazonka.Translate.Types.JobDetails: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.JobDetails.JobDetails
+ Amazonka.Translate.Types.JobDetails: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.JobDetails.JobDetails
+ Amazonka.Translate.Types.JobDetails: instance GHC.Classes.Eq Amazonka.Translate.Types.JobDetails.JobDetails
+ Amazonka.Translate.Types.JobDetails: instance GHC.Generics.Generic Amazonka.Translate.Types.JobDetails.JobDetails
+ Amazonka.Translate.Types.JobDetails: instance GHC.Read.Read Amazonka.Translate.Types.JobDetails.JobDetails
+ Amazonka.Translate.Types.JobDetails: instance GHC.Show.Show Amazonka.Translate.Types.JobDetails.JobDetails
+ Amazonka.Translate.Types.JobDetails: jobDetails_documentsWithErrorsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Types.JobDetails: jobDetails_inputDocumentsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Types.JobDetails: jobDetails_translatedDocumentsCount :: Lens' JobDetails (Maybe Int)
+ Amazonka.Translate.Types.JobDetails: newJobDetails :: JobDetails
+ Amazonka.Translate.Types.JobStatus: JobStatus' :: Text -> JobStatus
+ Amazonka.Translate.Types.JobStatus: [fromJobStatus] :: JobStatus -> Text
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Control.DeepSeq.NFData Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance GHC.Classes.Eq Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance GHC.Classes.Ord Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance GHC.Generics.Generic Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance GHC.Read.Read Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: instance GHC.Show.Show Amazonka.Translate.Types.JobStatus.JobStatus
+ Amazonka.Translate.Types.JobStatus: newtype JobStatus
+ Amazonka.Translate.Types.JobStatus: pattern JobStatus_COMPLETED :: JobStatus
+ Amazonka.Translate.Types.JobStatus: pattern JobStatus_COMPLETED_WITH_ERROR :: JobStatus
+ Amazonka.Translate.Types.JobStatus: pattern JobStatus_FAILED :: JobStatus
+ Amazonka.Translate.Types.JobStatus: pattern JobStatus_IN_PROGRESS :: JobStatus
+ Amazonka.Translate.Types.JobStatus: pattern JobStatus_STOPPED :: JobStatus
+ Amazonka.Translate.Types.JobStatus: pattern JobStatus_STOP_REQUESTED :: JobStatus
+ Amazonka.Translate.Types.JobStatus: pattern JobStatus_SUBMITTED :: JobStatus
+ Amazonka.Translate.Types.Language: Language' :: Text -> Text -> Language
+ Amazonka.Translate.Types.Language: [$sel:languageCode:Language'] :: Language -> Text
+ Amazonka.Translate.Types.Language: [$sel:languageName:Language'] :: Language -> Text
+ Amazonka.Translate.Types.Language: data Language
+ Amazonka.Translate.Types.Language: instance Control.DeepSeq.NFData Amazonka.Translate.Types.Language.Language
+ Amazonka.Translate.Types.Language: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.Language.Language
+ Amazonka.Translate.Types.Language: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.Language.Language
+ Amazonka.Translate.Types.Language: instance GHC.Classes.Eq Amazonka.Translate.Types.Language.Language
+ Amazonka.Translate.Types.Language: instance GHC.Generics.Generic Amazonka.Translate.Types.Language.Language
+ Amazonka.Translate.Types.Language: instance GHC.Read.Read Amazonka.Translate.Types.Language.Language
+ Amazonka.Translate.Types.Language: instance GHC.Show.Show Amazonka.Translate.Types.Language.Language
+ Amazonka.Translate.Types.Language: language_languageCode :: Lens' Language Text
+ Amazonka.Translate.Types.Language: language_languageName :: Lens' Language Text
+ Amazonka.Translate.Types.Language: newLanguage :: Text -> Text -> Language
+ Amazonka.Translate.Types.MergeStrategy: MergeStrategy' :: Text -> MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: [fromMergeStrategy] :: MergeStrategy -> Text
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Control.DeepSeq.NFData Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance GHC.Classes.Eq Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance GHC.Classes.Ord Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance GHC.Generics.Generic Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance GHC.Read.Read Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: instance GHC.Show.Show Amazonka.Translate.Types.MergeStrategy.MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: newtype MergeStrategy
+ Amazonka.Translate.Types.MergeStrategy: pattern MergeStrategy_OVERWRITE :: MergeStrategy
+ Amazonka.Translate.Types.OutputDataConfig: OutputDataConfig' :: Maybe EncryptionKey -> Text -> OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: [$sel:encryptionKey:OutputDataConfig'] :: OutputDataConfig -> Maybe EncryptionKey
+ Amazonka.Translate.Types.OutputDataConfig: [$sel:s3Uri:OutputDataConfig'] :: OutputDataConfig -> Text
+ Amazonka.Translate.Types.OutputDataConfig: data OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance Control.DeepSeq.NFData Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance GHC.Classes.Eq Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance GHC.Generics.Generic Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance GHC.Read.Read Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: instance GHC.Show.Show Amazonka.Translate.Types.OutputDataConfig.OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: newOutputDataConfig :: Text -> OutputDataConfig
+ Amazonka.Translate.Types.OutputDataConfig: outputDataConfig_encryptionKey :: Lens' OutputDataConfig (Maybe EncryptionKey)
+ Amazonka.Translate.Types.OutputDataConfig: outputDataConfig_s3Uri :: Lens' OutputDataConfig Text
+ Amazonka.Translate.Types.ParallelDataConfig: ParallelDataConfig' :: Text -> ParallelDataFormat -> ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: [$sel:format:ParallelDataConfig'] :: ParallelDataConfig -> ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataConfig: [$sel:s3Uri:ParallelDataConfig'] :: ParallelDataConfig -> Text
+ Amazonka.Translate.Types.ParallelDataConfig: data ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance Control.DeepSeq.NFData Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance GHC.Classes.Eq Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance GHC.Generics.Generic Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance GHC.Read.Read Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: instance GHC.Show.Show Amazonka.Translate.Types.ParallelDataConfig.ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: newParallelDataConfig :: Text -> ParallelDataFormat -> ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataConfig: parallelDataConfig_format :: Lens' ParallelDataConfig ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataConfig: parallelDataConfig_s3Uri :: Lens' ParallelDataConfig Text
+ Amazonka.Translate.Types.ParallelDataDataLocation: ParallelDataDataLocation' :: Text -> Text -> ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: [$sel:location:ParallelDataDataLocation'] :: ParallelDataDataLocation -> Text
+ Amazonka.Translate.Types.ParallelDataDataLocation: [$sel:repositoryType:ParallelDataDataLocation'] :: ParallelDataDataLocation -> Text
+ Amazonka.Translate.Types.ParallelDataDataLocation: data ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: instance Control.DeepSeq.NFData Amazonka.Translate.Types.ParallelDataDataLocation.ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.ParallelDataDataLocation.ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.ParallelDataDataLocation.ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: instance GHC.Classes.Eq Amazonka.Translate.Types.ParallelDataDataLocation.ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: instance GHC.Generics.Generic Amazonka.Translate.Types.ParallelDataDataLocation.ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: instance GHC.Read.Read Amazonka.Translate.Types.ParallelDataDataLocation.ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: instance GHC.Show.Show Amazonka.Translate.Types.ParallelDataDataLocation.ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: newParallelDataDataLocation :: Text -> Text -> ParallelDataDataLocation
+ Amazonka.Translate.Types.ParallelDataDataLocation: parallelDataDataLocation_location :: Lens' ParallelDataDataLocation Text
+ Amazonka.Translate.Types.ParallelDataDataLocation: parallelDataDataLocation_repositoryType :: Lens' ParallelDataDataLocation Text
+ Amazonka.Translate.Types.ParallelDataFormat: ParallelDataFormat' :: Text -> ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: [fromParallelDataFormat] :: ParallelDataFormat -> Text
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Control.DeepSeq.NFData Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance GHC.Classes.Eq Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance GHC.Classes.Ord Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance GHC.Generics.Generic Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance GHC.Read.Read Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: instance GHC.Show.Show Amazonka.Translate.Types.ParallelDataFormat.ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: newtype ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: pattern ParallelDataFormat_CSV :: ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: pattern ParallelDataFormat_TMX :: ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataFormat: pattern ParallelDataFormat_TSV :: ParallelDataFormat
+ Amazonka.Translate.Types.ParallelDataProperties: ParallelDataProperties' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe EncryptionKey -> Maybe Integer -> Maybe Integer -> Maybe Integer -> Maybe POSIX -> Maybe POSIX -> Maybe ParallelDataStatus -> Maybe Text -> Maybe Text -> Maybe ParallelDataConfig -> Maybe Integer -> Maybe Text -> Maybe ParallelDataStatus -> Maybe [Text] -> ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:arn:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:createdAt:ParallelDataProperties'] :: ParallelDataProperties -> Maybe POSIX
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:description:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:encryptionKey:ParallelDataProperties'] :: ParallelDataProperties -> Maybe EncryptionKey
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:failedRecordCount:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:importedDataSize:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:importedRecordCount:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:lastUpdatedAt:ParallelDataProperties'] :: ParallelDataProperties -> Maybe POSIX
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:latestUpdateAttemptAt:ParallelDataProperties'] :: ParallelDataProperties -> Maybe POSIX
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:latestUpdateAttemptStatus:ParallelDataProperties'] :: ParallelDataProperties -> Maybe ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:message:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:name:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:parallelDataConfig:ParallelDataProperties'] :: ParallelDataProperties -> Maybe ParallelDataConfig
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:skippedRecordCount:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Integer
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:sourceLanguageCode:ParallelDataProperties'] :: ParallelDataProperties -> Maybe Text
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:status:ParallelDataProperties'] :: ParallelDataProperties -> Maybe ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataProperties: [$sel:targetLanguageCodes:ParallelDataProperties'] :: ParallelDataProperties -> Maybe [Text]
+ Amazonka.Translate.Types.ParallelDataProperties: data ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: instance Control.DeepSeq.NFData Amazonka.Translate.Types.ParallelDataProperties.ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.ParallelDataProperties.ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.ParallelDataProperties.ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: instance GHC.Classes.Eq Amazonka.Translate.Types.ParallelDataProperties.ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: instance GHC.Generics.Generic Amazonka.Translate.Types.ParallelDataProperties.ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: instance GHC.Read.Read Amazonka.Translate.Types.ParallelDataProperties.ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: instance GHC.Show.Show Amazonka.Translate.Types.ParallelDataProperties.ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: newParallelDataProperties :: ParallelDataProperties
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_arn :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_createdAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_description :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_encryptionKey :: Lens' ParallelDataProperties (Maybe EncryptionKey)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_failedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_importedDataSize :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_importedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_lastUpdatedAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_latestUpdateAttemptAt :: Lens' ParallelDataProperties (Maybe UTCTime)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_latestUpdateAttemptStatus :: Lens' ParallelDataProperties (Maybe ParallelDataStatus)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_message :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_name :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_parallelDataConfig :: Lens' ParallelDataProperties (Maybe ParallelDataConfig)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_skippedRecordCount :: Lens' ParallelDataProperties (Maybe Integer)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_sourceLanguageCode :: Lens' ParallelDataProperties (Maybe Text)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_status :: Lens' ParallelDataProperties (Maybe ParallelDataStatus)
+ Amazonka.Translate.Types.ParallelDataProperties: parallelDataProperties_targetLanguageCodes :: Lens' ParallelDataProperties (Maybe [Text])
+ Amazonka.Translate.Types.ParallelDataStatus: ParallelDataStatus' :: Text -> ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: [fromParallelDataStatus] :: ParallelDataStatus -> Text
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Control.DeepSeq.NFData Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance GHC.Classes.Eq Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance GHC.Classes.Ord Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance GHC.Generics.Generic Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance GHC.Read.Read Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: instance GHC.Show.Show Amazonka.Translate.Types.ParallelDataStatus.ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: newtype ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: pattern ParallelDataStatus_ACTIVE :: ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: pattern ParallelDataStatus_CREATING :: ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: pattern ParallelDataStatus_DELETING :: ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: pattern ParallelDataStatus_FAILED :: ParallelDataStatus
+ Amazonka.Translate.Types.ParallelDataStatus: pattern ParallelDataStatus_UPDATING :: ParallelDataStatus
+ Amazonka.Translate.Types.Profanity: Profanity' :: Text -> Profanity
+ Amazonka.Translate.Types.Profanity: [fromProfanity] :: Profanity -> Text
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Control.DeepSeq.NFData Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance GHC.Classes.Eq Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance GHC.Classes.Ord Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance GHC.Generics.Generic Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance GHC.Read.Read Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: instance GHC.Show.Show Amazonka.Translate.Types.Profanity.Profanity
+ Amazonka.Translate.Types.Profanity: newtype Profanity
+ Amazonka.Translate.Types.Profanity: pattern Profanity_MASK :: Profanity
+ Amazonka.Translate.Types.Tag: Tag' :: Text -> Text -> Tag
+ Amazonka.Translate.Types.Tag: [$sel:key:Tag'] :: Tag -> Text
+ Amazonka.Translate.Types.Tag: [$sel:value:Tag'] :: Tag -> Text
+ Amazonka.Translate.Types.Tag: data Tag
+ Amazonka.Translate.Types.Tag: instance Control.DeepSeq.NFData Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: instance GHC.Classes.Eq Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: instance GHC.Generics.Generic Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: instance GHC.Read.Read Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: instance GHC.Show.Show Amazonka.Translate.Types.Tag.Tag
+ Amazonka.Translate.Types.Tag: newTag :: Text -> Text -> Tag
+ Amazonka.Translate.Types.Tag: tag_key :: Lens' Tag Text
+ Amazonka.Translate.Types.Tag: tag_value :: Lens' Tag Text
+ Amazonka.Translate.Types.Term: Term' :: Maybe Text -> Maybe Text -> Term
+ Amazonka.Translate.Types.Term: [$sel:sourceText:Term'] :: Term -> Maybe Text
+ Amazonka.Translate.Types.Term: [$sel:targetText:Term'] :: Term -> Maybe Text
+ Amazonka.Translate.Types.Term: data Term
+ Amazonka.Translate.Types.Term: instance Control.DeepSeq.NFData Amazonka.Translate.Types.Term.Term
+ Amazonka.Translate.Types.Term: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.Term.Term
+ Amazonka.Translate.Types.Term: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.Term.Term
+ Amazonka.Translate.Types.Term: instance GHC.Classes.Eq Amazonka.Translate.Types.Term.Term
+ Amazonka.Translate.Types.Term: instance GHC.Generics.Generic Amazonka.Translate.Types.Term.Term
+ Amazonka.Translate.Types.Term: instance GHC.Read.Read Amazonka.Translate.Types.Term.Term
+ Amazonka.Translate.Types.Term: instance GHC.Show.Show Amazonka.Translate.Types.Term.Term
+ Amazonka.Translate.Types.Term: newTerm :: Term
+ Amazonka.Translate.Types.Term: term_sourceText :: Lens' Term (Maybe Text)
+ Amazonka.Translate.Types.Term: term_targetText :: Lens' Term (Maybe Text)
+ Amazonka.Translate.Types.TerminologyData: TerminologyData' :: Maybe Directionality -> Sensitive Base64 -> TerminologyDataFormat -> TerminologyData
+ Amazonka.Translate.Types.TerminologyData: [$sel:directionality:TerminologyData'] :: TerminologyData -> Maybe Directionality
+ Amazonka.Translate.Types.TerminologyData: [$sel:file:TerminologyData'] :: TerminologyData -> Sensitive Base64
+ Amazonka.Translate.Types.TerminologyData: [$sel:format:TerminologyData'] :: TerminologyData -> TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyData: data TerminologyData
+ Amazonka.Translate.Types.TerminologyData: instance Control.DeepSeq.NFData Amazonka.Translate.Types.TerminologyData.TerminologyData
+ Amazonka.Translate.Types.TerminologyData: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.TerminologyData.TerminologyData
+ Amazonka.Translate.Types.TerminologyData: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.TerminologyData.TerminologyData
+ Amazonka.Translate.Types.TerminologyData: instance GHC.Classes.Eq Amazonka.Translate.Types.TerminologyData.TerminologyData
+ Amazonka.Translate.Types.TerminologyData: instance GHC.Generics.Generic Amazonka.Translate.Types.TerminologyData.TerminologyData
+ Amazonka.Translate.Types.TerminologyData: instance GHC.Show.Show Amazonka.Translate.Types.TerminologyData.TerminologyData
+ Amazonka.Translate.Types.TerminologyData: newTerminologyData :: ByteString -> TerminologyDataFormat -> TerminologyData
+ Amazonka.Translate.Types.TerminologyData: terminologyData_directionality :: Lens' TerminologyData (Maybe Directionality)
+ Amazonka.Translate.Types.TerminologyData: terminologyData_file :: Lens' TerminologyData ByteString
+ Amazonka.Translate.Types.TerminologyData: terminologyData_format :: Lens' TerminologyData TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: TerminologyDataFormat' :: Text -> TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: [fromTerminologyDataFormat] :: TerminologyDataFormat -> Text
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.ByteString.ToByteString Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.Headers.ToHeader Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.Log.ToLog Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.Text.FromText Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.Text.ToText Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.XML.FromXML Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Amazonka.Data.XML.ToXML Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Control.DeepSeq.NFData Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance GHC.Classes.Eq Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance GHC.Classes.Ord Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance GHC.Generics.Generic Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance GHC.Read.Read Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: instance GHC.Show.Show Amazonka.Translate.Types.TerminologyDataFormat.TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: newtype TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: pattern TerminologyDataFormat_CSV :: TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: pattern TerminologyDataFormat_TMX :: TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataFormat: pattern TerminologyDataFormat_TSV :: TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyDataLocation: TerminologyDataLocation' :: Text -> Text -> TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: [$sel:location:TerminologyDataLocation'] :: TerminologyDataLocation -> Text
+ Amazonka.Translate.Types.TerminologyDataLocation: [$sel:repositoryType:TerminologyDataLocation'] :: TerminologyDataLocation -> Text
+ Amazonka.Translate.Types.TerminologyDataLocation: data TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: instance Control.DeepSeq.NFData Amazonka.Translate.Types.TerminologyDataLocation.TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.TerminologyDataLocation.TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.TerminologyDataLocation.TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: instance GHC.Classes.Eq Amazonka.Translate.Types.TerminologyDataLocation.TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: instance GHC.Generics.Generic Amazonka.Translate.Types.TerminologyDataLocation.TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: instance GHC.Read.Read Amazonka.Translate.Types.TerminologyDataLocation.TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: instance GHC.Show.Show Amazonka.Translate.Types.TerminologyDataLocation.TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: newTerminologyDataLocation :: Text -> Text -> TerminologyDataLocation
+ Amazonka.Translate.Types.TerminologyDataLocation: terminologyDataLocation_location :: Lens' TerminologyDataLocation Text
+ Amazonka.Translate.Types.TerminologyDataLocation: terminologyDataLocation_repositoryType :: Lens' TerminologyDataLocation Text
+ Amazonka.Translate.Types.TerminologyProperties: TerminologyProperties' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Directionality -> Maybe EncryptionKey -> Maybe TerminologyDataFormat -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe [Text] -> Maybe Int -> TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:arn:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:createdAt:TerminologyProperties'] :: TerminologyProperties -> Maybe POSIX
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:description:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:directionality:TerminologyProperties'] :: TerminologyProperties -> Maybe Directionality
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:encryptionKey:TerminologyProperties'] :: TerminologyProperties -> Maybe EncryptionKey
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:format:TerminologyProperties'] :: TerminologyProperties -> Maybe TerminologyDataFormat
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:lastUpdatedAt:TerminologyProperties'] :: TerminologyProperties -> Maybe POSIX
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:message:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:name:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:sizeBytes:TerminologyProperties'] :: TerminologyProperties -> Maybe Int
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:skippedTermCount:TerminologyProperties'] :: TerminologyProperties -> Maybe Int
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:sourceLanguageCode:TerminologyProperties'] :: TerminologyProperties -> Maybe Text
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:targetLanguageCodes:TerminologyProperties'] :: TerminologyProperties -> Maybe [Text]
+ Amazonka.Translate.Types.TerminologyProperties: [$sel:termCount:TerminologyProperties'] :: TerminologyProperties -> Maybe Int
+ Amazonka.Translate.Types.TerminologyProperties: data TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: instance Control.DeepSeq.NFData Amazonka.Translate.Types.TerminologyProperties.TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.TerminologyProperties.TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.TerminologyProperties.TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: instance GHC.Classes.Eq Amazonka.Translate.Types.TerminologyProperties.TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: instance GHC.Generics.Generic Amazonka.Translate.Types.TerminologyProperties.TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: instance GHC.Read.Read Amazonka.Translate.Types.TerminologyProperties.TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: instance GHC.Show.Show Amazonka.Translate.Types.TerminologyProperties.TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: newTerminologyProperties :: TerminologyProperties
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_arn :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_createdAt :: Lens' TerminologyProperties (Maybe UTCTime)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_description :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_directionality :: Lens' TerminologyProperties (Maybe Directionality)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_encryptionKey :: Lens' TerminologyProperties (Maybe EncryptionKey)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_format :: Lens' TerminologyProperties (Maybe TerminologyDataFormat)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_lastUpdatedAt :: Lens' TerminologyProperties (Maybe UTCTime)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_message :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_name :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_sizeBytes :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_skippedTermCount :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_sourceLanguageCode :: Lens' TerminologyProperties (Maybe Text)
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_targetLanguageCodes :: Lens' TerminologyProperties (Maybe [Text])
+ Amazonka.Translate.Types.TerminologyProperties: terminologyProperties_termCount :: Lens' TerminologyProperties (Maybe Int)
+ Amazonka.Translate.Types.TextTranslationJobFilter: TextTranslationJobFilter' :: Maybe Text -> Maybe JobStatus -> Maybe POSIX -> Maybe POSIX -> TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: [$sel:jobName:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe Text
+ Amazonka.Translate.Types.TextTranslationJobFilter: [$sel:jobStatus:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe JobStatus
+ Amazonka.Translate.Types.TextTranslationJobFilter: [$sel:submittedAfterTime:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe POSIX
+ Amazonka.Translate.Types.TextTranslationJobFilter: [$sel:submittedBeforeTime:TextTranslationJobFilter'] :: TextTranslationJobFilter -> Maybe POSIX
+ Amazonka.Translate.Types.TextTranslationJobFilter: data TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: instance Control.DeepSeq.NFData Amazonka.Translate.Types.TextTranslationJobFilter.TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.TextTranslationJobFilter.TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.TextTranslationJobFilter.TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: instance GHC.Classes.Eq Amazonka.Translate.Types.TextTranslationJobFilter.TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: instance GHC.Generics.Generic Amazonka.Translate.Types.TextTranslationJobFilter.TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: instance GHC.Read.Read Amazonka.Translate.Types.TextTranslationJobFilter.TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: instance GHC.Show.Show Amazonka.Translate.Types.TextTranslationJobFilter.TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: newTextTranslationJobFilter :: TextTranslationJobFilter
+ Amazonka.Translate.Types.TextTranslationJobFilter: textTranslationJobFilter_jobName :: Lens' TextTranslationJobFilter (Maybe Text)
+ Amazonka.Translate.Types.TextTranslationJobFilter: textTranslationJobFilter_jobStatus :: Lens' TextTranslationJobFilter (Maybe JobStatus)
+ Amazonka.Translate.Types.TextTranslationJobFilter: textTranslationJobFilter_submittedAfterTime :: Lens' TextTranslationJobFilter (Maybe UTCTime)
+ Amazonka.Translate.Types.TextTranslationJobFilter: textTranslationJobFilter_submittedBeforeTime :: Lens' TextTranslationJobFilter (Maybe UTCTime)
+ Amazonka.Translate.Types.TextTranslationJobProperties: TextTranslationJobProperties' :: Maybe Text -> Maybe POSIX -> Maybe InputDataConfig -> Maybe JobDetails -> Maybe Text -> Maybe Text -> Maybe JobStatus -> Maybe Text -> Maybe OutputDataConfig -> Maybe [Text] -> Maybe TranslationSettings -> Maybe Text -> Maybe POSIX -> Maybe (NonEmpty Text) -> Maybe [Text] -> TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:dataAccessRoleArn:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:endTime:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe POSIX
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:inputDataConfig:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe InputDataConfig
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:jobDetails:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe JobDetails
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:jobId:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:jobName:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:jobStatus:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe JobStatus
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:message:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:outputDataConfig:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe OutputDataConfig
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:parallelDataNames:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe [Text]
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:settings:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe TranslationSettings
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:sourceLanguageCode:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe Text
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:submittedTime:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe POSIX
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:targetLanguageCodes:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe (NonEmpty Text)
+ Amazonka.Translate.Types.TextTranslationJobProperties: [$sel:terminologyNames:TextTranslationJobProperties'] :: TextTranslationJobProperties -> Maybe [Text]
+ Amazonka.Translate.Types.TextTranslationJobProperties: data TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: instance Control.DeepSeq.NFData Amazonka.Translate.Types.TextTranslationJobProperties.TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.TextTranslationJobProperties.TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.TextTranslationJobProperties.TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: instance GHC.Classes.Eq Amazonka.Translate.Types.TextTranslationJobProperties.TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: instance GHC.Generics.Generic Amazonka.Translate.Types.TextTranslationJobProperties.TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: instance GHC.Read.Read Amazonka.Translate.Types.TextTranslationJobProperties.TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: instance GHC.Show.Show Amazonka.Translate.Types.TextTranslationJobProperties.TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: newTextTranslationJobProperties :: TextTranslationJobProperties
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_dataAccessRoleArn :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_endTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_inputDataConfig :: Lens' TextTranslationJobProperties (Maybe InputDataConfig)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_jobDetails :: Lens' TextTranslationJobProperties (Maybe JobDetails)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_jobId :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_jobName :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_jobStatus :: Lens' TextTranslationJobProperties (Maybe JobStatus)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_message :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_outputDataConfig :: Lens' TextTranslationJobProperties (Maybe OutputDataConfig)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_parallelDataNames :: Lens' TextTranslationJobProperties (Maybe [Text])
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_settings :: Lens' TextTranslationJobProperties (Maybe TranslationSettings)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_sourceLanguageCode :: Lens' TextTranslationJobProperties (Maybe Text)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_submittedTime :: Lens' TextTranslationJobProperties (Maybe UTCTime)
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_targetLanguageCodes :: Lens' TextTranslationJobProperties (Maybe (NonEmpty Text))
+ Amazonka.Translate.Types.TextTranslationJobProperties: textTranslationJobProperties_terminologyNames :: Lens' TextTranslationJobProperties (Maybe [Text])
+ Amazonka.Translate.Types.TranslationSettings: TranslationSettings' :: Maybe Formality -> Maybe Profanity -> TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: [$sel:formality:TranslationSettings'] :: TranslationSettings -> Maybe Formality
+ Amazonka.Translate.Types.TranslationSettings: [$sel:profanity:TranslationSettings'] :: TranslationSettings -> Maybe Profanity
+ Amazonka.Translate.Types.TranslationSettings: data TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance Control.DeepSeq.NFData Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance Data.Hashable.Class.Hashable Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance GHC.Classes.Eq Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance GHC.Generics.Generic Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance GHC.Read.Read Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: instance GHC.Show.Show Amazonka.Translate.Types.TranslationSettings.TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: newTranslationSettings :: TranslationSettings
+ Amazonka.Translate.Types.TranslationSettings: translationSettings_formality :: Lens' TranslationSettings (Maybe Formality)
+ Amazonka.Translate.Types.TranslationSettings: translationSettings_profanity :: Lens' TranslationSettings (Maybe Profanity)
+ Amazonka.Translate.UntagResource: UntagResource' :: Text -> [Text] -> UntagResource
+ Amazonka.Translate.UntagResource: UntagResourceResponse' :: Int -> UntagResourceResponse
+ Amazonka.Translate.UntagResource: [$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
+ Amazonka.Translate.UntagResource: [$sel:resourceArn:UntagResource'] :: UntagResource -> Text
+ Amazonka.Translate.UntagResource: [$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
+ Amazonka.Translate.UntagResource: data UntagResource
+ Amazonka.Translate.UntagResource: data UntagResourceResponse
+ Amazonka.Translate.UntagResource: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance Amazonka.Data.Path.ToPath Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance Amazonka.Types.AWSRequest Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance Control.DeepSeq.NFData Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance Control.DeepSeq.NFData Amazonka.Translate.UntagResource.UntagResourceResponse
+ Amazonka.Translate.UntagResource: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance Data.Hashable.Class.Hashable Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance GHC.Classes.Eq Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance GHC.Classes.Eq Amazonka.Translate.UntagResource.UntagResourceResponse
+ Amazonka.Translate.UntagResource: instance GHC.Generics.Generic Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance GHC.Generics.Generic Amazonka.Translate.UntagResource.UntagResourceResponse
+ Amazonka.Translate.UntagResource: instance GHC.Read.Read Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance GHC.Read.Read Amazonka.Translate.UntagResource.UntagResourceResponse
+ Amazonka.Translate.UntagResource: instance GHC.Show.Show Amazonka.Translate.UntagResource.UntagResource
+ Amazonka.Translate.UntagResource: instance GHC.Show.Show Amazonka.Translate.UntagResource.UntagResourceResponse
+ Amazonka.Translate.UntagResource: newUntagResource :: Text -> UntagResource
+ Amazonka.Translate.UntagResource: newUntagResourceResponse :: Int -> UntagResourceResponse
+ Amazonka.Translate.UntagResource: untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
+ Amazonka.Translate.UntagResource: untagResource_resourceArn :: Lens' UntagResource Text
+ Amazonka.Translate.UntagResource: untagResource_tagKeys :: Lens' UntagResource [Text]
+ Amazonka.Translate.UpdateParallelData: UpdateParallelData' :: Maybe Text -> Text -> ParallelDataConfig -> Text -> UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: UpdateParallelDataResponse' :: Maybe POSIX -> Maybe ParallelDataStatus -> Maybe Text -> Maybe ParallelDataStatus -> Int -> UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: [$sel:clientToken:UpdateParallelData'] :: UpdateParallelData -> Text
+ Amazonka.Translate.UpdateParallelData: [$sel:description:UpdateParallelData'] :: UpdateParallelData -> Maybe Text
+ Amazonka.Translate.UpdateParallelData: [$sel:httpStatus:UpdateParallelDataResponse'] :: UpdateParallelDataResponse -> Int
+ Amazonka.Translate.UpdateParallelData: [$sel:latestUpdateAttemptAt:UpdateParallelDataResponse'] :: UpdateParallelDataResponse -> Maybe POSIX
+ Amazonka.Translate.UpdateParallelData: [$sel:latestUpdateAttemptStatus:UpdateParallelDataResponse'] :: UpdateParallelDataResponse -> Maybe ParallelDataStatus
+ Amazonka.Translate.UpdateParallelData: [$sel:name:UpdateParallelData'] :: UpdateParallelData -> Text
+ Amazonka.Translate.UpdateParallelData: [$sel:name:UpdateParallelDataResponse'] :: UpdateParallelDataResponse -> Maybe Text
+ Amazonka.Translate.UpdateParallelData: [$sel:parallelDataConfig:UpdateParallelData'] :: UpdateParallelData -> ParallelDataConfig
+ Amazonka.Translate.UpdateParallelData: [$sel:status:UpdateParallelDataResponse'] :: UpdateParallelDataResponse -> Maybe ParallelDataStatus
+ Amazonka.Translate.UpdateParallelData: data UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: data UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: instance Amazonka.Data.Headers.ToHeaders Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance Amazonka.Data.Path.ToPath Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance Amazonka.Data.Query.ToQuery Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance Amazonka.Types.AWSRequest Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance Control.DeepSeq.NFData Amazonka.Translate.UpdateParallelData.UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance Data.Hashable.Class.Hashable Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance GHC.Classes.Eq Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance GHC.Classes.Eq Amazonka.Translate.UpdateParallelData.UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: instance GHC.Generics.Generic Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance GHC.Generics.Generic Amazonka.Translate.UpdateParallelData.UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: instance GHC.Read.Read Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance GHC.Read.Read Amazonka.Translate.UpdateParallelData.UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: instance GHC.Show.Show Amazonka.Translate.UpdateParallelData.UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: instance GHC.Show.Show Amazonka.Translate.UpdateParallelData.UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: newUpdateParallelData :: Text -> ParallelDataConfig -> Text -> UpdateParallelData
+ Amazonka.Translate.UpdateParallelData: newUpdateParallelDataResponse :: Int -> UpdateParallelDataResponse
+ Amazonka.Translate.UpdateParallelData: updateParallelDataResponse_httpStatus :: Lens' UpdateParallelDataResponse Int
+ Amazonka.Translate.UpdateParallelData: updateParallelDataResponse_latestUpdateAttemptAt :: Lens' UpdateParallelDataResponse (Maybe UTCTime)
+ Amazonka.Translate.UpdateParallelData: updateParallelDataResponse_latestUpdateAttemptStatus :: Lens' UpdateParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.UpdateParallelData: updateParallelDataResponse_name :: Lens' UpdateParallelDataResponse (Maybe Text)
+ Amazonka.Translate.UpdateParallelData: updateParallelDataResponse_status :: Lens' UpdateParallelDataResponse (Maybe ParallelDataStatus)
+ Amazonka.Translate.UpdateParallelData: updateParallelData_clientToken :: Lens' UpdateParallelData Text
+ Amazonka.Translate.UpdateParallelData: updateParallelData_description :: Lens' UpdateParallelData (Maybe Text)
+ Amazonka.Translate.UpdateParallelData: updateParallelData_name :: Lens' UpdateParallelData Text
+ Amazonka.Translate.UpdateParallelData: updateParallelData_parallelDataConfig :: Lens' UpdateParallelData ParallelDataConfig

Files

README.md view
@@ -7,9 +7,8 @@   ## Version--`1.6.1`-+ +`2.0` - Derived from API version @2017-07-01@ of the AWS service descriptions, licensed under Apache 2.0.  ## Description @@ -26,7 +25,7 @@ The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core). -See [Network.AWS.Translate](http://hackage.haskell.org/package/amazonka-translate/docs/Network-AWS-Translate.html)+See [Amazonka.Translate](http://hackage.haskell.org/package/amazonka-translate/docs/Amazonka-Translate.html) or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.  
− Setup.hs
@@ -1,2 +0,0 @@-import           Distribution.Simple-main = defaultMain
amazonka-translate.cabal view
@@ -1,86 +1,128 @@-name:                  amazonka-translate-version:               1.6.1-synopsis:              Amazon Translate SDK.-homepage:              https://github.com/brendanhay/amazonka-bug-reports:           https://github.com/brendanhay/amazonka/issues-license:               MPL-2.0-license-file:          LICENSE-author:                Brendan Hay-maintainer:            Brendan Hay <brendan.g.hay+amazonka@gmail.com>-copyright:             Copyright (c) 2013-2018 Brendan Hay-category:              Network, AWS, Cloud, Distributed Computing-build-type:            Simple-cabal-version:         >= 1.10-extra-source-files:    README.md fixture/*.yaml fixture/*.proto src/.gitkeep+cabal-version:      2.2+name:               amazonka-translate+version:            2.0+synopsis:           Amazon Translate SDK.+homepage:           https://github.com/brendanhay/amazonka+bug-reports:        https://github.com/brendanhay/amazonka/issues+license:            MPL-2.0+license-file:       LICENSE+author:             Brendan Hay+maintainer:+  Brendan Hay <brendan.g.hay+amazonka@gmail.com>, Jack Kelly <jack@jackkelly.name>++copyright:          Copyright (c) 2013-2023 Brendan Hay+category:           AWS+build-type:         Simple+extra-source-files:+  fixture/*.proto+  fixture/*.yaml+  README.md+  src/.gitkeep+ description:-    The types from this library are intended to be used with-    <http://hackage.haskell.org/package/amazonka amazonka>, which provides-    mechanisms for specifying AuthN/AuthZ information, sending requests,-    and receiving responses.-    .-    Lenses are used for constructing and manipulating types,-    due to the depth of nesting of AWS types and transparency regarding-    de/serialisation into more palatable Haskell values.-    The provided lenses should be compatible with any of the major lens libraries-    such as <http://hackage.haskell.org/package/lens lens> or-    <http://hackage.haskell.org/package/lens-family-core lens-family-core>.-    .-    See "Network.AWS.Translate" or <https://aws.amazon.com/documentation/ the AWS documentation>-    to get started.+  Derived from API version @2017-07-01@ of the AWS service descriptions, licensed under Apache 2.0.+  .+  The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>,+  which provides mechanisms for specifying AuthN/AuthZ information, sending requests, and receiving responses.+  .+  It is recommended to use generic lenses or optics from packages such as <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify optional fields and deconstruct responses.+  .+  Generated lenses can be found in "Amazonka.Translate.Lens" and are+  suitable for use with a lens package such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.+  .+  See "Amazonka.Translate" and the <https://aws.amazon.com/documentation/ AWS documentation> to get started.  source-repository head-    type:              git-    location:          git://github.com/brendanhay/amazonka.git-    subdir:            amazonka-translate+  type:     git+  location: git://github.com/brendanhay/amazonka.git+  subdir:   amazonka-translate  library-    default-language:  Haskell2010-    hs-source-dirs:    src gen--    ghc-options:-        -Wall-        -fwarn-incomplete-uni-patterns-        -fwarn-incomplete-record-updates-        -funbox-strict-fields--    exposed-modules:-          Network.AWS.Translate-        , Network.AWS.Translate.TranslateText-        , Network.AWS.Translate.Types-        , Network.AWS.Translate.Waiters+  default-language: Haskell2010+  hs-source-dirs:   src gen+  ghc-options:+    -Wall -fwarn-incomplete-uni-patterns+    -fwarn-incomplete-record-updates -funbox-strict-fields -    other-modules:-          Network.AWS.Translate.Types.Product-        , Network.AWS.Translate.Types.Sum+  exposed-modules:+    Amazonka.Translate+    Amazonka.Translate.CreateParallelData+    Amazonka.Translate.DeleteParallelData+    Amazonka.Translate.DeleteTerminology+    Amazonka.Translate.DescribeTextTranslationJob+    Amazonka.Translate.GetParallelData+    Amazonka.Translate.GetTerminology+    Amazonka.Translate.ImportTerminology+    Amazonka.Translate.Lens+    Amazonka.Translate.ListLanguages+    Amazonka.Translate.ListParallelData+    Amazonka.Translate.ListTagsForResource+    Amazonka.Translate.ListTerminologies+    Amazonka.Translate.ListTextTranslationJobs+    Amazonka.Translate.StartTextTranslationJob+    Amazonka.Translate.StopTextTranslationJob+    Amazonka.Translate.TagResource+    Amazonka.Translate.TranslateText+    Amazonka.Translate.Types+    Amazonka.Translate.Types.AppliedTerminology+    Amazonka.Translate.Types.Directionality+    Amazonka.Translate.Types.DisplayLanguageCode+    Amazonka.Translate.Types.EncryptionKey+    Amazonka.Translate.Types.EncryptionKeyType+    Amazonka.Translate.Types.Formality+    Amazonka.Translate.Types.InputDataConfig+    Amazonka.Translate.Types.JobDetails+    Amazonka.Translate.Types.JobStatus+    Amazonka.Translate.Types.Language+    Amazonka.Translate.Types.MergeStrategy+    Amazonka.Translate.Types.OutputDataConfig+    Amazonka.Translate.Types.ParallelDataConfig+    Amazonka.Translate.Types.ParallelDataDataLocation+    Amazonka.Translate.Types.ParallelDataFormat+    Amazonka.Translate.Types.ParallelDataProperties+    Amazonka.Translate.Types.ParallelDataStatus+    Amazonka.Translate.Types.Profanity+    Amazonka.Translate.Types.Tag+    Amazonka.Translate.Types.Term+    Amazonka.Translate.Types.TerminologyData+    Amazonka.Translate.Types.TerminologyDataFormat+    Amazonka.Translate.Types.TerminologyDataLocation+    Amazonka.Translate.Types.TerminologyProperties+    Amazonka.Translate.Types.TextTranslationJobFilter+    Amazonka.Translate.Types.TextTranslationJobProperties+    Amazonka.Translate.Types.TranslationSettings+    Amazonka.Translate.UntagResource+    Amazonka.Translate.UpdateParallelData+    Amazonka.Translate.Waiters -    build-depends:-          amazonka-core == 1.6.1.*-        , base          >= 4.7     && < 5+  build-depends:+    , amazonka-core  >=2.0  && <2.1+    , base           >=4.12 && <5  test-suite amazonka-translate-test-    type:              exitcode-stdio-1.0-    default-language:  Haskell2010-    hs-source-dirs:    test-    main-is:           Main.hs--    ghc-options:       -Wall -threaded+  type:             exitcode-stdio-1.0+  default-language: Haskell2010+  hs-source-dirs:   test+  main-is:          Main.hs+  ghc-options:      -Wall -threaded -    -- This section is encoded by the template and any modules added by-    -- hand outside these namespaces will not correctly be added to the-    -- distribution package.-    other-modules:-          Test.AWS.Translate-        , Test.AWS.Gen.Translate-        , Test.AWS.Translate.Internal+  -- This section is encoded by the template and any modules added by+  -- hand outside these namespaces will not correctly be added to the+  -- distribution package.+  other-modules:+    Test.Amazonka.Gen.Translate+    Test.Amazonka.Translate+    Test.Amazonka.Translate.Internal -    build-depends:-          amazonka-core == 1.6.1.*-        , amazonka-test == 1.6.1.*-        , amazonka-translate-        , base-        , bytestring-        , tasty-        , tasty-hunit-        , text-        , time-        , unordered-containers+  build-depends:+    , amazonka-core         >=2.0 && <2.1+    , amazonka-test         >=2.0 && <2.1+    , amazonka-translate+    , base+    , bytestring+    , case-insensitive+    , tasty+    , tasty-hunit+    , text+    , time+    , unordered-containers
+ fixture/CreateParallelData.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/CreateParallelDataResponse.proto view
+ fixture/DeleteParallelData.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeleteParallelDataResponse.proto view
+ fixture/DeleteTerminology.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DeleteTerminologyResponse.proto view
+ fixture/DescribeTextTranslationJob.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/DescribeTextTranslationJobResponse.proto view
+ fixture/GetParallelData.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GetParallelDataResponse.proto view
+ fixture/GetTerminology.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/GetTerminologyResponse.proto view
+ fixture/ImportTerminology.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ImportTerminologyResponse.proto view
+ fixture/ListLanguages.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListLanguagesResponse.proto view
+ fixture/ListParallelData.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListParallelDataResponse.proto view
+ fixture/ListTagsForResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListTagsForResourceResponse.proto view
+ fixture/ListTerminologies.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListTerminologiesResponse.proto view
+ fixture/ListTextTranslationJobs.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/ListTextTranslationJobsResponse.proto view
+ fixture/StartTextTranslationJob.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/StartTextTranslationJobResponse.proto view
+ fixture/StopTextTranslationJob.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/StopTextTranslationJobResponse.proto view
+ fixture/TagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/TagResourceResponse.proto view
+ fixture/UntagResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/UntagResourceResponse.proto view
+ fixture/UpdateParallelData.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+  Authorization:         AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/translate/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+  Host:                  translate.us-east-1.amazonaws.com+  Content-Type:          application/x-www-form-urlencoded; charset=utf-8+  X-Amz-Content-SHA256:  abcdef+  X-Amz-Date:            20091028T223200Z+body:+  ''
+ fixture/UpdateParallelDataResponse.proto view
+ gen/Amazonka/Translate.hs view
@@ -0,0 +1,331 @@+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- |+-- Module      : Amazonka.Translate+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Derived from API version @2017-07-01@ of the AWS service descriptions, licensed under Apache 2.0.+--+-- Provides translation of the input content from the source language to+-- the target language.+module Amazonka.Translate+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    -- $errors++    -- ** ConcurrentModificationException+    _ConcurrentModificationException,++    -- ** ConflictException+    _ConflictException,++    -- ** DetectedLanguageLowConfidenceException+    _DetectedLanguageLowConfidenceException,++    -- ** InternalServerException+    _InternalServerException,++    -- ** InvalidFilterException+    _InvalidFilterException,++    -- ** InvalidParameterValueException+    _InvalidParameterValueException,++    -- ** InvalidRequestException+    _InvalidRequestException,++    -- ** LimitExceededException+    _LimitExceededException,++    -- ** ResourceNotFoundException+    _ResourceNotFoundException,++    -- ** ServiceUnavailableException+    _ServiceUnavailableException,++    -- ** TextSizeLimitExceededException+    _TextSizeLimitExceededException,++    -- ** TooManyRequestsException+    _TooManyRequestsException,++    -- ** TooManyTagsException+    _TooManyTagsException,++    -- ** UnsupportedDisplayLanguageCodeException+    _UnsupportedDisplayLanguageCodeException,++    -- ** UnsupportedLanguagePairException+    _UnsupportedLanguagePairException,++    -- * Waiters+    -- $waiters++    -- * Operations+    -- $operations++    -- ** CreateParallelData+    CreateParallelData (CreateParallelData'),+    newCreateParallelData,+    CreateParallelDataResponse (CreateParallelDataResponse'),+    newCreateParallelDataResponse,++    -- ** DeleteParallelData+    DeleteParallelData (DeleteParallelData'),+    newDeleteParallelData,+    DeleteParallelDataResponse (DeleteParallelDataResponse'),+    newDeleteParallelDataResponse,++    -- ** DeleteTerminology+    DeleteTerminology (DeleteTerminology'),+    newDeleteTerminology,+    DeleteTerminologyResponse (DeleteTerminologyResponse'),+    newDeleteTerminologyResponse,++    -- ** DescribeTextTranslationJob+    DescribeTextTranslationJob (DescribeTextTranslationJob'),+    newDescribeTextTranslationJob,+    DescribeTextTranslationJobResponse (DescribeTextTranslationJobResponse'),+    newDescribeTextTranslationJobResponse,++    -- ** GetParallelData+    GetParallelData (GetParallelData'),+    newGetParallelData,+    GetParallelDataResponse (GetParallelDataResponse'),+    newGetParallelDataResponse,++    -- ** GetTerminology+    GetTerminology (GetTerminology'),+    newGetTerminology,+    GetTerminologyResponse (GetTerminologyResponse'),+    newGetTerminologyResponse,++    -- ** ImportTerminology+    ImportTerminology (ImportTerminology'),+    newImportTerminology,+    ImportTerminologyResponse (ImportTerminologyResponse'),+    newImportTerminologyResponse,++    -- ** ListLanguages+    ListLanguages (ListLanguages'),+    newListLanguages,+    ListLanguagesResponse (ListLanguagesResponse'),+    newListLanguagesResponse,++    -- ** ListParallelData+    ListParallelData (ListParallelData'),+    newListParallelData,+    ListParallelDataResponse (ListParallelDataResponse'),+    newListParallelDataResponse,++    -- ** ListTagsForResource+    ListTagsForResource (ListTagsForResource'),+    newListTagsForResource,+    ListTagsForResourceResponse (ListTagsForResourceResponse'),+    newListTagsForResourceResponse,++    -- ** ListTerminologies (Paginated)+    ListTerminologies (ListTerminologies'),+    newListTerminologies,+    ListTerminologiesResponse (ListTerminologiesResponse'),+    newListTerminologiesResponse,++    -- ** ListTextTranslationJobs+    ListTextTranslationJobs (ListTextTranslationJobs'),+    newListTextTranslationJobs,+    ListTextTranslationJobsResponse (ListTextTranslationJobsResponse'),+    newListTextTranslationJobsResponse,++    -- ** StartTextTranslationJob+    StartTextTranslationJob (StartTextTranslationJob'),+    newStartTextTranslationJob,+    StartTextTranslationJobResponse (StartTextTranslationJobResponse'),+    newStartTextTranslationJobResponse,++    -- ** StopTextTranslationJob+    StopTextTranslationJob (StopTextTranslationJob'),+    newStopTextTranslationJob,+    StopTextTranslationJobResponse (StopTextTranslationJobResponse'),+    newStopTextTranslationJobResponse,++    -- ** TagResource+    TagResource (TagResource'),+    newTagResource,+    TagResourceResponse (TagResourceResponse'),+    newTagResourceResponse,++    -- ** TranslateText+    TranslateText (TranslateText'),+    newTranslateText,+    TranslateTextResponse (TranslateTextResponse'),+    newTranslateTextResponse,++    -- ** UntagResource+    UntagResource (UntagResource'),+    newUntagResource,+    UntagResourceResponse (UntagResourceResponse'),+    newUntagResourceResponse,++    -- ** UpdateParallelData+    UpdateParallelData (UpdateParallelData'),+    newUpdateParallelData,+    UpdateParallelDataResponse (UpdateParallelDataResponse'),+    newUpdateParallelDataResponse,++    -- * Types++    -- ** Directionality+    Directionality (..),++    -- ** DisplayLanguageCode+    DisplayLanguageCode (..),++    -- ** EncryptionKeyType+    EncryptionKeyType (..),++    -- ** Formality+    Formality (..),++    -- ** JobStatus+    JobStatus (..),++    -- ** MergeStrategy+    MergeStrategy (..),++    -- ** ParallelDataFormat+    ParallelDataFormat (..),++    -- ** ParallelDataStatus+    ParallelDataStatus (..),++    -- ** Profanity+    Profanity (..),++    -- ** TerminologyDataFormat+    TerminologyDataFormat (..),++    -- ** AppliedTerminology+    AppliedTerminology (AppliedTerminology'),+    newAppliedTerminology,++    -- ** EncryptionKey+    EncryptionKey (EncryptionKey'),+    newEncryptionKey,++    -- ** InputDataConfig+    InputDataConfig (InputDataConfig'),+    newInputDataConfig,++    -- ** JobDetails+    JobDetails (JobDetails'),+    newJobDetails,++    -- ** Language+    Language (Language'),+    newLanguage,++    -- ** OutputDataConfig+    OutputDataConfig (OutputDataConfig'),+    newOutputDataConfig,++    -- ** ParallelDataConfig+    ParallelDataConfig (ParallelDataConfig'),+    newParallelDataConfig,++    -- ** ParallelDataDataLocation+    ParallelDataDataLocation (ParallelDataDataLocation'),+    newParallelDataDataLocation,++    -- ** ParallelDataProperties+    ParallelDataProperties (ParallelDataProperties'),+    newParallelDataProperties,++    -- ** Tag+    Tag (Tag'),+    newTag,++    -- ** Term+    Term (Term'),+    newTerm,++    -- ** TerminologyData+    TerminologyData (TerminologyData'),+    newTerminologyData,++    -- ** TerminologyDataLocation+    TerminologyDataLocation (TerminologyDataLocation'),+    newTerminologyDataLocation,++    -- ** TerminologyProperties+    TerminologyProperties (TerminologyProperties'),+    newTerminologyProperties,++    -- ** TextTranslationJobFilter+    TextTranslationJobFilter (TextTranslationJobFilter'),+    newTextTranslationJobFilter,++    -- ** TextTranslationJobProperties+    TextTranslationJobProperties (TextTranslationJobProperties'),+    newTextTranslationJobProperties,++    -- ** TranslationSettings+    TranslationSettings (TranslationSettings'),+    newTranslationSettings,+  )+where++import Amazonka.Translate.CreateParallelData+import Amazonka.Translate.DeleteParallelData+import Amazonka.Translate.DeleteTerminology+import Amazonka.Translate.DescribeTextTranslationJob+import Amazonka.Translate.GetParallelData+import Amazonka.Translate.GetTerminology+import Amazonka.Translate.ImportTerminology+import Amazonka.Translate.Lens+import Amazonka.Translate.ListLanguages+import Amazonka.Translate.ListParallelData+import Amazonka.Translate.ListTagsForResource+import Amazonka.Translate.ListTerminologies+import Amazonka.Translate.ListTextTranslationJobs+import Amazonka.Translate.StartTextTranslationJob+import Amazonka.Translate.StopTextTranslationJob+import Amazonka.Translate.TagResource+import Amazonka.Translate.TranslateText+import Amazonka.Translate.Types+import Amazonka.Translate.UntagResource+import Amazonka.Translate.UpdateParallelData+import Amazonka.Translate.Waiters++-- $errors+-- Error matchers are designed for use with the functions provided by+-- <http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.+-- This allows catching (and rethrowing) service specific errors returned+-- by 'Translate'.++-- $operations+-- Some AWS operations return results that are incomplete and require subsequent+-- requests in order to obtain the entire result set. The process of sending+-- subsequent requests to continue where a previous request left off is called+-- pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to+-- 1000 objects at a time, and you must send subsequent requests with the+-- appropriate Marker in order to retrieve the next page of results.+--+-- Operations that have an 'AWSPager' instance can transparently perform subsequent+-- requests, correctly setting Markers and other request facets to iterate through+-- the entire result set of a truncated API operation. Operations which support+-- this have an additional note in the documentation.+--+-- Many operations have the ability to filter results on the server side. See the+-- individual operation parameters for details.++-- $waiters+-- Waiters poll by repeatedly sending a request until some remote success condition+-- configured by the 'Wait' specification is fulfilled. The 'Wait' specification+-- determines how many attempts should be made, in addition to delay and retry strategies.
+ gen/Amazonka/Translate/CreateParallelData.hs view
@@ -0,0 +1,278 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.CreateParallelData+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates a parallel data resource in Amazon Translate by importing an+-- input file from Amazon S3. Parallel data files contain examples that+-- show how you want segments of text to be translated. By adding parallel+-- data, you can influence the style, tone, and word choice in your+-- translation output.+module Amazonka.Translate.CreateParallelData+  ( -- * Creating a Request+    CreateParallelData (..),+    newCreateParallelData,++    -- * Request Lenses+    createParallelData_description,+    createParallelData_encryptionKey,+    createParallelData_tags,+    createParallelData_name,+    createParallelData_parallelDataConfig,+    createParallelData_clientToken,++    -- * Destructuring the Response+    CreateParallelDataResponse (..),+    newCreateParallelDataResponse,++    -- * Response Lenses+    createParallelDataResponse_name,+    createParallelDataResponse_status,+    createParallelDataResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newCreateParallelData' smart constructor.+data CreateParallelData = CreateParallelData'+  { -- | A custom description for the parallel data resource in Amazon Translate.+    description :: Prelude.Maybe Prelude.Text,+    encryptionKey :: Prelude.Maybe EncryptionKey,+    -- | Tags to be associated with this resource. A tag is a key-value pair that+    -- adds metadata to a resource. Each tag key for the resource must be+    -- unique. For more information, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+    tags :: Prelude.Maybe [Tag],+    -- | A custom name for the parallel data resource in Amazon Translate. You+    -- must assign a name that is unique in the account and region.+    name :: Prelude.Text,+    -- | Specifies the format and S3 location of the parallel data input file.+    parallelDataConfig :: ParallelDataConfig,+    -- | A unique identifier for the request. This token is automatically+    -- generated when you use Amazon Translate through an AWS SDK.+    clientToken :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateParallelData' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'createParallelData_description' - A custom description for the parallel data resource in Amazon Translate.+--+-- 'encryptionKey', 'createParallelData_encryptionKey' - Undocumented member.+--+-- 'tags', 'createParallelData_tags' - Tags to be associated with this resource. A tag is a key-value pair that+-- adds metadata to a resource. Each tag key for the resource must be+-- unique. For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+--+-- 'name', 'createParallelData_name' - A custom name for the parallel data resource in Amazon Translate. You+-- must assign a name that is unique in the account and region.+--+-- 'parallelDataConfig', 'createParallelData_parallelDataConfig' - Specifies the format and S3 location of the parallel data input file.+--+-- 'clientToken', 'createParallelData_clientToken' - A unique identifier for the request. This token is automatically+-- generated when you use Amazon Translate through an AWS SDK.+newCreateParallelData ::+  -- | 'name'+  Prelude.Text ->+  -- | 'parallelDataConfig'+  ParallelDataConfig ->+  -- | 'clientToken'+  Prelude.Text ->+  CreateParallelData+newCreateParallelData+  pName_+  pParallelDataConfig_+  pClientToken_ =+    CreateParallelData'+      { description = Prelude.Nothing,+        encryptionKey = Prelude.Nothing,+        tags = Prelude.Nothing,+        name = pName_,+        parallelDataConfig = pParallelDataConfig_,+        clientToken = pClientToken_+      }++-- | A custom description for the parallel data resource in Amazon Translate.+createParallelData_description :: Lens.Lens' CreateParallelData (Prelude.Maybe Prelude.Text)+createParallelData_description = Lens.lens (\CreateParallelData' {description} -> description) (\s@CreateParallelData' {} a -> s {description = a} :: CreateParallelData)++-- | Undocumented member.+createParallelData_encryptionKey :: Lens.Lens' CreateParallelData (Prelude.Maybe EncryptionKey)+createParallelData_encryptionKey = Lens.lens (\CreateParallelData' {encryptionKey} -> encryptionKey) (\s@CreateParallelData' {} a -> s {encryptionKey = a} :: CreateParallelData)++-- | Tags to be associated with this resource. A tag is a key-value pair that+-- adds metadata to a resource. Each tag key for the resource must be+-- unique. For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+createParallelData_tags :: Lens.Lens' CreateParallelData (Prelude.Maybe [Tag])+createParallelData_tags = Lens.lens (\CreateParallelData' {tags} -> tags) (\s@CreateParallelData' {} a -> s {tags = a} :: CreateParallelData) Prelude.. Lens.mapping Lens.coerced++-- | A custom name for the parallel data resource in Amazon Translate. You+-- must assign a name that is unique in the account and region.+createParallelData_name :: Lens.Lens' CreateParallelData Prelude.Text+createParallelData_name = Lens.lens (\CreateParallelData' {name} -> name) (\s@CreateParallelData' {} a -> s {name = a} :: CreateParallelData)++-- | Specifies the format and S3 location of the parallel data input file.+createParallelData_parallelDataConfig :: Lens.Lens' CreateParallelData ParallelDataConfig+createParallelData_parallelDataConfig = Lens.lens (\CreateParallelData' {parallelDataConfig} -> parallelDataConfig) (\s@CreateParallelData' {} a -> s {parallelDataConfig = a} :: CreateParallelData)++-- | A unique identifier for the request. This token is automatically+-- generated when you use Amazon Translate through an AWS SDK.+createParallelData_clientToken :: Lens.Lens' CreateParallelData Prelude.Text+createParallelData_clientToken = Lens.lens (\CreateParallelData' {clientToken} -> clientToken) (\s@CreateParallelData' {} a -> s {clientToken = a} :: CreateParallelData)++instance Core.AWSRequest CreateParallelData where+  type+    AWSResponse CreateParallelData =+      CreateParallelDataResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          CreateParallelDataResponse'+            Prelude.<$> (x Data..?> "Name")+            Prelude.<*> (x Data..?> "Status")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable CreateParallelData where+  hashWithSalt _salt CreateParallelData' {..} =+    _salt+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` encryptionKey+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` parallelDataConfig+      `Prelude.hashWithSalt` clientToken++instance Prelude.NFData CreateParallelData where+  rnf CreateParallelData' {..} =+    Prelude.rnf description+      `Prelude.seq` Prelude.rnf encryptionKey+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf parallelDataConfig+      `Prelude.seq` Prelude.rnf clientToken++instance Data.ToHeaders CreateParallelData where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.CreateParallelData" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON CreateParallelData where+  toJSON CreateParallelData' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Description" Data..=) Prelude.<$> description,+            ("EncryptionKey" Data..=) Prelude.<$> encryptionKey,+            ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Name" Data..= name),+            Prelude.Just+              ("ParallelDataConfig" Data..= parallelDataConfig),+            Prelude.Just ("ClientToken" Data..= clientToken)+          ]+      )++instance Data.ToPath CreateParallelData where+  toPath = Prelude.const "/"++instance Data.ToQuery CreateParallelData where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newCreateParallelDataResponse' smart constructor.+data CreateParallelDataResponse = CreateParallelDataResponse'+  { -- | The custom name that you assigned to the parallel data resource.+    name :: Prelude.Maybe Prelude.Text,+    -- | The status of the parallel data resource. When the resource is ready for+    -- you to use, the status is @ACTIVE@.+    status :: Prelude.Maybe ParallelDataStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'CreateParallelDataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'createParallelDataResponse_name' - The custom name that you assigned to the parallel data resource.+--+-- 'status', 'createParallelDataResponse_status' - The status of the parallel data resource. When the resource is ready for+-- you to use, the status is @ACTIVE@.+--+-- 'httpStatus', 'createParallelDataResponse_httpStatus' - The response's http status code.+newCreateParallelDataResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  CreateParallelDataResponse+newCreateParallelDataResponse pHttpStatus_ =+  CreateParallelDataResponse'+    { name = Prelude.Nothing,+      status = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The custom name that you assigned to the parallel data resource.+createParallelDataResponse_name :: Lens.Lens' CreateParallelDataResponse (Prelude.Maybe Prelude.Text)+createParallelDataResponse_name = Lens.lens (\CreateParallelDataResponse' {name} -> name) (\s@CreateParallelDataResponse' {} a -> s {name = a} :: CreateParallelDataResponse)++-- | The status of the parallel data resource. When the resource is ready for+-- you to use, the status is @ACTIVE@.+createParallelDataResponse_status :: Lens.Lens' CreateParallelDataResponse (Prelude.Maybe ParallelDataStatus)+createParallelDataResponse_status = Lens.lens (\CreateParallelDataResponse' {status} -> status) (\s@CreateParallelDataResponse' {} a -> s {status = a} :: CreateParallelDataResponse)++-- | The response's http status code.+createParallelDataResponse_httpStatus :: Lens.Lens' CreateParallelDataResponse Prelude.Int+createParallelDataResponse_httpStatus = Lens.lens (\CreateParallelDataResponse' {httpStatus} -> httpStatus) (\s@CreateParallelDataResponse' {} a -> s {httpStatus = a} :: CreateParallelDataResponse)++instance Prelude.NFData CreateParallelDataResponse where+  rnf CreateParallelDataResponse' {..} =+    Prelude.rnf name+      `Prelude.seq` Prelude.rnf status+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/DeleteParallelData.hs view
@@ -0,0 +1,179 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.DeleteParallelData+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Deletes a parallel data resource in Amazon Translate.+module Amazonka.Translate.DeleteParallelData+  ( -- * Creating a Request+    DeleteParallelData (..),+    newDeleteParallelData,++    -- * Request Lenses+    deleteParallelData_name,++    -- * Destructuring the Response+    DeleteParallelDataResponse (..),+    newDeleteParallelDataResponse,++    -- * Response Lenses+    deleteParallelDataResponse_name,+    deleteParallelDataResponse_status,+    deleteParallelDataResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newDeleteParallelData' smart constructor.+data DeleteParallelData = DeleteParallelData'+  { -- | The name of the parallel data resource that is being deleted.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteParallelData' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteParallelData_name' - The name of the parallel data resource that is being deleted.+newDeleteParallelData ::+  -- | 'name'+  Prelude.Text ->+  DeleteParallelData+newDeleteParallelData pName_ =+  DeleteParallelData' {name = pName_}++-- | The name of the parallel data resource that is being deleted.+deleteParallelData_name :: Lens.Lens' DeleteParallelData Prelude.Text+deleteParallelData_name = Lens.lens (\DeleteParallelData' {name} -> name) (\s@DeleteParallelData' {} a -> s {name = a} :: DeleteParallelData)++instance Core.AWSRequest DeleteParallelData where+  type+    AWSResponse DeleteParallelData =+      DeleteParallelDataResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DeleteParallelDataResponse'+            Prelude.<$> (x Data..?> "Name")+            Prelude.<*> (x Data..?> "Status")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DeleteParallelData where+  hashWithSalt _salt DeleteParallelData' {..} =+    _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteParallelData where+  rnf DeleteParallelData' {..} = Prelude.rnf name++instance Data.ToHeaders DeleteParallelData where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.DeleteParallelData" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteParallelData where+  toJSON DeleteParallelData' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("Name" Data..= name)]+      )++instance Data.ToPath DeleteParallelData where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteParallelData where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteParallelDataResponse' smart constructor.+data DeleteParallelDataResponse = DeleteParallelDataResponse'+  { -- | The name of the parallel data resource that is being deleted.+    name :: Prelude.Maybe Prelude.Text,+    -- | The status of the parallel data deletion.+    status :: Prelude.Maybe ParallelDataStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteParallelDataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteParallelDataResponse_name' - The name of the parallel data resource that is being deleted.+--+-- 'status', 'deleteParallelDataResponse_status' - The status of the parallel data deletion.+--+-- 'httpStatus', 'deleteParallelDataResponse_httpStatus' - The response's http status code.+newDeleteParallelDataResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DeleteParallelDataResponse+newDeleteParallelDataResponse pHttpStatus_ =+  DeleteParallelDataResponse'+    { name = Prelude.Nothing,+      status = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The name of the parallel data resource that is being deleted.+deleteParallelDataResponse_name :: Lens.Lens' DeleteParallelDataResponse (Prelude.Maybe Prelude.Text)+deleteParallelDataResponse_name = Lens.lens (\DeleteParallelDataResponse' {name} -> name) (\s@DeleteParallelDataResponse' {} a -> s {name = a} :: DeleteParallelDataResponse)++-- | The status of the parallel data deletion.+deleteParallelDataResponse_status :: Lens.Lens' DeleteParallelDataResponse (Prelude.Maybe ParallelDataStatus)+deleteParallelDataResponse_status = Lens.lens (\DeleteParallelDataResponse' {status} -> status) (\s@DeleteParallelDataResponse' {} a -> s {status = a} :: DeleteParallelDataResponse)++-- | The response's http status code.+deleteParallelDataResponse_httpStatus :: Lens.Lens' DeleteParallelDataResponse Prelude.Int+deleteParallelDataResponse_httpStatus = Lens.lens (\DeleteParallelDataResponse' {httpStatus} -> httpStatus) (\s@DeleteParallelDataResponse' {} a -> s {httpStatus = a} :: DeleteParallelDataResponse)++instance Prelude.NFData DeleteParallelDataResponse where+  rnf DeleteParallelDataResponse' {..} =+    Prelude.rnf name+      `Prelude.seq` Prelude.rnf status+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/DeleteTerminology.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.DeleteTerminology+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- A synchronous action that deletes a custom terminology.+module Amazonka.Translate.DeleteTerminology+  ( -- * Creating a Request+    DeleteTerminology (..),+    newDeleteTerminology,++    -- * Request Lenses+    deleteTerminology_name,++    -- * Destructuring the Response+    DeleteTerminologyResponse (..),+    newDeleteTerminologyResponse,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newDeleteTerminology' smart constructor.+data DeleteTerminology = DeleteTerminology'+  { -- | The name of the custom terminology being deleted.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteTerminology' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'deleteTerminology_name' - The name of the custom terminology being deleted.+newDeleteTerminology ::+  -- | 'name'+  Prelude.Text ->+  DeleteTerminology+newDeleteTerminology pName_ =+  DeleteTerminology' {name = pName_}++-- | The name of the custom terminology being deleted.+deleteTerminology_name :: Lens.Lens' DeleteTerminology Prelude.Text+deleteTerminology_name = Lens.lens (\DeleteTerminology' {name} -> name) (\s@DeleteTerminology' {} a -> s {name = a} :: DeleteTerminology)++instance Core.AWSRequest DeleteTerminology where+  type+    AWSResponse DeleteTerminology =+      DeleteTerminologyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveNull DeleteTerminologyResponse'++instance Prelude.Hashable DeleteTerminology where+  hashWithSalt _salt DeleteTerminology' {..} =+    _salt `Prelude.hashWithSalt` name++instance Prelude.NFData DeleteTerminology where+  rnf DeleteTerminology' {..} = Prelude.rnf name++instance Data.ToHeaders DeleteTerminology where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.DeleteTerminology" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DeleteTerminology where+  toJSON DeleteTerminology' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("Name" Data..= name)]+      )++instance Data.ToPath DeleteTerminology where+  toPath = Prelude.const "/"++instance Data.ToQuery DeleteTerminology where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDeleteTerminologyResponse' smart constructor.+data DeleteTerminologyResponse = DeleteTerminologyResponse'+  {+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DeleteTerminologyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+newDeleteTerminologyResponse ::+  DeleteTerminologyResponse+newDeleteTerminologyResponse =+  DeleteTerminologyResponse'++instance Prelude.NFData DeleteTerminologyResponse where+  rnf _ = ()
+ gen/Amazonka/Translate/DescribeTextTranslationJob.hs view
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.DescribeTextTranslationJob+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets the properties associated with an asynchronous batch translation+-- job including name, ID, status, source and target languages,+-- input\/output S3 buckets, and so on.+module Amazonka.Translate.DescribeTextTranslationJob+  ( -- * Creating a Request+    DescribeTextTranslationJob (..),+    newDescribeTextTranslationJob,++    -- * Request Lenses+    describeTextTranslationJob_jobId,++    -- * Destructuring the Response+    DescribeTextTranslationJobResponse (..),+    newDescribeTextTranslationJobResponse,++    -- * Response Lenses+    describeTextTranslationJobResponse_textTranslationJobProperties,+    describeTextTranslationJobResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newDescribeTextTranslationJob' smart constructor.+data DescribeTextTranslationJob = DescribeTextTranslationJob'+  { -- | The identifier that Amazon Translate generated for the job. The+    -- StartTextTranslationJob operation returns this identifier in its+    -- response.+    jobId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTextTranslationJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'describeTextTranslationJob_jobId' - The identifier that Amazon Translate generated for the job. The+-- StartTextTranslationJob operation returns this identifier in its+-- response.+newDescribeTextTranslationJob ::+  -- | 'jobId'+  Prelude.Text ->+  DescribeTextTranslationJob+newDescribeTextTranslationJob pJobId_ =+  DescribeTextTranslationJob' {jobId = pJobId_}++-- | The identifier that Amazon Translate generated for the job. The+-- StartTextTranslationJob operation returns this identifier in its+-- response.+describeTextTranslationJob_jobId :: Lens.Lens' DescribeTextTranslationJob Prelude.Text+describeTextTranslationJob_jobId = Lens.lens (\DescribeTextTranslationJob' {jobId} -> jobId) (\s@DescribeTextTranslationJob' {} a -> s {jobId = a} :: DescribeTextTranslationJob)++instance Core.AWSRequest DescribeTextTranslationJob where+  type+    AWSResponse DescribeTextTranslationJob =+      DescribeTextTranslationJobResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          DescribeTextTranslationJobResponse'+            Prelude.<$> (x Data..?> "TextTranslationJobProperties")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable DescribeTextTranslationJob where+  hashWithSalt _salt DescribeTextTranslationJob' {..} =+    _salt `Prelude.hashWithSalt` jobId++instance Prelude.NFData DescribeTextTranslationJob where+  rnf DescribeTextTranslationJob' {..} =+    Prelude.rnf jobId++instance Data.ToHeaders DescribeTextTranslationJob where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.DescribeTextTranslationJob" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON DescribeTextTranslationJob where+  toJSON DescribeTextTranslationJob' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("JobId" Data..= jobId)]+      )++instance Data.ToPath DescribeTextTranslationJob where+  toPath = Prelude.const "/"++instance Data.ToQuery DescribeTextTranslationJob where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newDescribeTextTranslationJobResponse' smart constructor.+data DescribeTextTranslationJobResponse = DescribeTextTranslationJobResponse'+  { -- | An object that contains the properties associated with an asynchronous+    -- batch translation job.+    textTranslationJobProperties :: Prelude.Maybe TextTranslationJobProperties,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'DescribeTextTranslationJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'textTranslationJobProperties', 'describeTextTranslationJobResponse_textTranslationJobProperties' - An object that contains the properties associated with an asynchronous+-- batch translation job.+--+-- 'httpStatus', 'describeTextTranslationJobResponse_httpStatus' - The response's http status code.+newDescribeTextTranslationJobResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  DescribeTextTranslationJobResponse+newDescribeTextTranslationJobResponse pHttpStatus_ =+  DescribeTextTranslationJobResponse'+    { textTranslationJobProperties =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | An object that contains the properties associated with an asynchronous+-- batch translation job.+describeTextTranslationJobResponse_textTranslationJobProperties :: Lens.Lens' DescribeTextTranslationJobResponse (Prelude.Maybe TextTranslationJobProperties)+describeTextTranslationJobResponse_textTranslationJobProperties = Lens.lens (\DescribeTextTranslationJobResponse' {textTranslationJobProperties} -> textTranslationJobProperties) (\s@DescribeTextTranslationJobResponse' {} a -> s {textTranslationJobProperties = a} :: DescribeTextTranslationJobResponse)++-- | The response's http status code.+describeTextTranslationJobResponse_httpStatus :: Lens.Lens' DescribeTextTranslationJobResponse Prelude.Int+describeTextTranslationJobResponse_httpStatus = Lens.lens (\DescribeTextTranslationJobResponse' {httpStatus} -> httpStatus) (\s@DescribeTextTranslationJobResponse' {} a -> s {httpStatus = a} :: DescribeTextTranslationJobResponse)++instance+  Prelude.NFData+    DescribeTextTranslationJobResponse+  where+  rnf DescribeTextTranslationJobResponse' {..} =+    Prelude.rnf textTranslationJobProperties+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/GetParallelData.hs view
@@ -0,0 +1,267 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.GetParallelData+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides information about a parallel data resource.+module Amazonka.Translate.GetParallelData+  ( -- * Creating a Request+    GetParallelData (..),+    newGetParallelData,++    -- * Request Lenses+    getParallelData_name,++    -- * Destructuring the Response+    GetParallelDataResponse (..),+    newGetParallelDataResponse,++    -- * Response Lenses+    getParallelDataResponse_auxiliaryDataLocation,+    getParallelDataResponse_dataLocation,+    getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation,+    getParallelDataResponse_parallelDataProperties,+    getParallelDataResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newGetParallelData' smart constructor.+data GetParallelData = GetParallelData'+  { -- | The name of the parallel data resource that is being retrieved.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetParallelData' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'getParallelData_name' - The name of the parallel data resource that is being retrieved.+newGetParallelData ::+  -- | 'name'+  Prelude.Text ->+  GetParallelData+newGetParallelData pName_ =+  GetParallelData' {name = pName_}++-- | The name of the parallel data resource that is being retrieved.+getParallelData_name :: Lens.Lens' GetParallelData Prelude.Text+getParallelData_name = Lens.lens (\GetParallelData' {name} -> name) (\s@GetParallelData' {} a -> s {name = a} :: GetParallelData)++instance Core.AWSRequest GetParallelData where+  type+    AWSResponse GetParallelData =+      GetParallelDataResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GetParallelDataResponse'+            Prelude.<$> (x Data..?> "AuxiliaryDataLocation")+            Prelude.<*> (x Data..?> "DataLocation")+            Prelude.<*> ( x+                            Data..?> "LatestUpdateAttemptAuxiliaryDataLocation"+                        )+            Prelude.<*> (x Data..?> "ParallelDataProperties")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GetParallelData where+  hashWithSalt _salt GetParallelData' {..} =+    _salt `Prelude.hashWithSalt` name++instance Prelude.NFData GetParallelData where+  rnf GetParallelData' {..} = Prelude.rnf name++instance Data.ToHeaders GetParallelData where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.GetParallelData" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON GetParallelData where+  toJSON GetParallelData' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("Name" Data..= name)]+      )++instance Data.ToPath GetParallelData where+  toPath = Prelude.const "/"++instance Data.ToQuery GetParallelData where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetParallelDataResponse' smart constructor.+data GetParallelDataResponse = GetParallelDataResponse'+  { -- | 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.+    auxiliaryDataLocation :: Prelude.Maybe ParallelDataDataLocation,+    -- | 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.+    dataLocation :: Prelude.Maybe ParallelDataDataLocation,+    -- | 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.+    latestUpdateAttemptAuxiliaryDataLocation :: Prelude.Maybe ParallelDataDataLocation,+    -- | The properties of the parallel data resource that is being retrieved.+    parallelDataProperties :: Prelude.Maybe ParallelDataProperties,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetParallelDataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'auxiliaryDataLocation', 'getParallelDataResponse_auxiliaryDataLocation' - 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.+--+-- 'dataLocation', 'getParallelDataResponse_dataLocation' - 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.+--+-- 'latestUpdateAttemptAuxiliaryDataLocation', 'getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation' - 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.+--+-- 'parallelDataProperties', 'getParallelDataResponse_parallelDataProperties' - The properties of the parallel data resource that is being retrieved.+--+-- 'httpStatus', 'getParallelDataResponse_httpStatus' - The response's http status code.+newGetParallelDataResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetParallelDataResponse+newGetParallelDataResponse pHttpStatus_ =+  GetParallelDataResponse'+    { auxiliaryDataLocation =+        Prelude.Nothing,+      dataLocation = Prelude.Nothing,+      latestUpdateAttemptAuxiliaryDataLocation =+        Prelude.Nothing,+      parallelDataProperties = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | 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.+getParallelDataResponse_auxiliaryDataLocation :: Lens.Lens' GetParallelDataResponse (Prelude.Maybe ParallelDataDataLocation)+getParallelDataResponse_auxiliaryDataLocation = Lens.lens (\GetParallelDataResponse' {auxiliaryDataLocation} -> auxiliaryDataLocation) (\s@GetParallelDataResponse' {} a -> s {auxiliaryDataLocation = a} :: GetParallelDataResponse)++-- | 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.+getParallelDataResponse_dataLocation :: Lens.Lens' GetParallelDataResponse (Prelude.Maybe ParallelDataDataLocation)+getParallelDataResponse_dataLocation = Lens.lens (\GetParallelDataResponse' {dataLocation} -> dataLocation) (\s@GetParallelDataResponse' {} a -> s {dataLocation = a} :: GetParallelDataResponse)++-- | 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.+getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation :: Lens.Lens' GetParallelDataResponse (Prelude.Maybe ParallelDataDataLocation)+getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation = Lens.lens (\GetParallelDataResponse' {latestUpdateAttemptAuxiliaryDataLocation} -> latestUpdateAttemptAuxiliaryDataLocation) (\s@GetParallelDataResponse' {} a -> s {latestUpdateAttemptAuxiliaryDataLocation = a} :: GetParallelDataResponse)++-- | The properties of the parallel data resource that is being retrieved.+getParallelDataResponse_parallelDataProperties :: Lens.Lens' GetParallelDataResponse (Prelude.Maybe ParallelDataProperties)+getParallelDataResponse_parallelDataProperties = Lens.lens (\GetParallelDataResponse' {parallelDataProperties} -> parallelDataProperties) (\s@GetParallelDataResponse' {} a -> s {parallelDataProperties = a} :: GetParallelDataResponse)++-- | The response's http status code.+getParallelDataResponse_httpStatus :: Lens.Lens' GetParallelDataResponse Prelude.Int+getParallelDataResponse_httpStatus = Lens.lens (\GetParallelDataResponse' {httpStatus} -> httpStatus) (\s@GetParallelDataResponse' {} a -> s {httpStatus = a} :: GetParallelDataResponse)++instance Prelude.NFData GetParallelDataResponse where+  rnf GetParallelDataResponse' {..} =+    Prelude.rnf auxiliaryDataLocation+      `Prelude.seq` Prelude.rnf dataLocation+      `Prelude.seq` Prelude.rnf latestUpdateAttemptAuxiliaryDataLocation+      `Prelude.seq` Prelude.rnf parallelDataProperties+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/GetTerminology.hs view
@@ -0,0 +1,290 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.GetTerminology+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieves a custom terminology.+module Amazonka.Translate.GetTerminology+  ( -- * Creating a Request+    GetTerminology (..),+    newGetTerminology,++    -- * Request Lenses+    getTerminology_terminologyDataFormat,+    getTerminology_name,++    -- * Destructuring the Response+    GetTerminologyResponse (..),+    newGetTerminologyResponse,++    -- * Response Lenses+    getTerminologyResponse_auxiliaryDataLocation,+    getTerminologyResponse_terminologyDataLocation,+    getTerminologyResponse_terminologyProperties,+    getTerminologyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newGetTerminology' smart constructor.+data GetTerminology = GetTerminology'+  { -- | The data format of the custom terminology being retrieved.+    --+    -- If you don\'t specify this parameter, Amazon Translate returns a file+    -- with the same format as the file that was imported to create the+    -- terminology.+    --+    -- If you specify this parameter when you retrieve a multi-directional+    -- terminology resource, you must specify the same format as the input file+    -- that was imported to create it. Otherwise, Amazon Translate throws an+    -- error.+    terminologyDataFormat :: Prelude.Maybe TerminologyDataFormat,+    -- | The name of the custom terminology being retrieved.+    name :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTerminology' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'terminologyDataFormat', 'getTerminology_terminologyDataFormat' - The data format of the custom terminology being retrieved.+--+-- If you don\'t specify this parameter, Amazon Translate returns a file+-- with the same format as the file that was imported to create the+-- terminology.+--+-- If you specify this parameter when you retrieve a multi-directional+-- terminology resource, you must specify the same format as the input file+-- that was imported to create it. Otherwise, Amazon Translate throws an+-- error.+--+-- 'name', 'getTerminology_name' - The name of the custom terminology being retrieved.+newGetTerminology ::+  -- | 'name'+  Prelude.Text ->+  GetTerminology+newGetTerminology pName_ =+  GetTerminology'+    { terminologyDataFormat =+        Prelude.Nothing,+      name = pName_+    }++-- | The data format of the custom terminology being retrieved.+--+-- If you don\'t specify this parameter, Amazon Translate returns a file+-- with the same format as the file that was imported to create the+-- terminology.+--+-- If you specify this parameter when you retrieve a multi-directional+-- terminology resource, you must specify the same format as the input file+-- that was imported to create it. Otherwise, Amazon Translate throws an+-- error.+getTerminology_terminologyDataFormat :: Lens.Lens' GetTerminology (Prelude.Maybe TerminologyDataFormat)+getTerminology_terminologyDataFormat = Lens.lens (\GetTerminology' {terminologyDataFormat} -> terminologyDataFormat) (\s@GetTerminology' {} a -> s {terminologyDataFormat = a} :: GetTerminology)++-- | The name of the custom terminology being retrieved.+getTerminology_name :: Lens.Lens' GetTerminology Prelude.Text+getTerminology_name = Lens.lens (\GetTerminology' {name} -> name) (\s@GetTerminology' {} a -> s {name = a} :: GetTerminology)++instance Core.AWSRequest GetTerminology where+  type+    AWSResponse GetTerminology =+      GetTerminologyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          GetTerminologyResponse'+            Prelude.<$> (x Data..?> "AuxiliaryDataLocation")+            Prelude.<*> (x Data..?> "TerminologyDataLocation")+            Prelude.<*> (x Data..?> "TerminologyProperties")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable GetTerminology where+  hashWithSalt _salt GetTerminology' {..} =+    _salt+      `Prelude.hashWithSalt` terminologyDataFormat+      `Prelude.hashWithSalt` name++instance Prelude.NFData GetTerminology where+  rnf GetTerminology' {..} =+    Prelude.rnf terminologyDataFormat+      `Prelude.seq` Prelude.rnf name++instance Data.ToHeaders GetTerminology where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.GetTerminology" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON GetTerminology where+  toJSON GetTerminology' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("TerminologyDataFormat" Data..=)+              Prelude.<$> terminologyDataFormat,+            Prelude.Just ("Name" Data..= name)+          ]+      )++instance Data.ToPath GetTerminology where+  toPath = Prelude.const "/"++instance Data.ToQuery GetTerminology where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newGetTerminologyResponse' smart constructor.+data GetTerminologyResponse = GetTerminologyResponse'+  { -- | 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 terminology resource. The location is+    -- returned as a presigned URL to that has a 30-minute expiration.+    auxiliaryDataLocation :: Prelude.Maybe TerminologyDataLocation,+    -- | The Amazon S3 location of the most recent custom terminology 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.+    terminologyDataLocation :: Prelude.Maybe TerminologyDataLocation,+    -- | The properties of the custom terminology being retrieved.+    terminologyProperties :: Prelude.Maybe TerminologyProperties,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'GetTerminologyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'auxiliaryDataLocation', 'getTerminologyResponse_auxiliaryDataLocation' - 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 terminology resource. The location is+-- returned as a presigned URL to that has a 30-minute expiration.+--+-- 'terminologyDataLocation', 'getTerminologyResponse_terminologyDataLocation' - The Amazon S3 location of the most recent custom terminology 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.+--+-- 'terminologyProperties', 'getTerminologyResponse_terminologyProperties' - The properties of the custom terminology being retrieved.+--+-- 'httpStatus', 'getTerminologyResponse_httpStatus' - The response's http status code.+newGetTerminologyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  GetTerminologyResponse+newGetTerminologyResponse pHttpStatus_ =+  GetTerminologyResponse'+    { auxiliaryDataLocation =+        Prelude.Nothing,+      terminologyDataLocation = Prelude.Nothing,+      terminologyProperties = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | 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 terminology resource. The location is+-- returned as a presigned URL to that has a 30-minute expiration.+getTerminologyResponse_auxiliaryDataLocation :: Lens.Lens' GetTerminologyResponse (Prelude.Maybe TerminologyDataLocation)+getTerminologyResponse_auxiliaryDataLocation = Lens.lens (\GetTerminologyResponse' {auxiliaryDataLocation} -> auxiliaryDataLocation) (\s@GetTerminologyResponse' {} a -> s {auxiliaryDataLocation = a} :: GetTerminologyResponse)++-- | The Amazon S3 location of the most recent custom terminology 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.+getTerminologyResponse_terminologyDataLocation :: Lens.Lens' GetTerminologyResponse (Prelude.Maybe TerminologyDataLocation)+getTerminologyResponse_terminologyDataLocation = Lens.lens (\GetTerminologyResponse' {terminologyDataLocation} -> terminologyDataLocation) (\s@GetTerminologyResponse' {} a -> s {terminologyDataLocation = a} :: GetTerminologyResponse)++-- | The properties of the custom terminology being retrieved.+getTerminologyResponse_terminologyProperties :: Lens.Lens' GetTerminologyResponse (Prelude.Maybe TerminologyProperties)+getTerminologyResponse_terminologyProperties = Lens.lens (\GetTerminologyResponse' {terminologyProperties} -> terminologyProperties) (\s@GetTerminologyResponse' {} a -> s {terminologyProperties = a} :: GetTerminologyResponse)++-- | The response's http status code.+getTerminologyResponse_httpStatus :: Lens.Lens' GetTerminologyResponse Prelude.Int+getTerminologyResponse_httpStatus = Lens.lens (\GetTerminologyResponse' {httpStatus} -> httpStatus) (\s@GetTerminologyResponse' {} a -> s {httpStatus = a} :: GetTerminologyResponse)++instance Prelude.NFData GetTerminologyResponse where+  rnf GetTerminologyResponse' {..} =+    Prelude.rnf auxiliaryDataLocation+      `Prelude.seq` Prelude.rnf terminologyDataLocation+      `Prelude.seq` Prelude.rnf terminologyProperties+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/ImportTerminology.hs view
@@ -0,0 +1,294 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.ImportTerminology+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Creates or updates a custom terminology, depending on whether one+-- already exists for the given terminology name. Importing a terminology+-- with the same name as an existing one will merge the terminologies based+-- on the chosen merge strategy. The only supported merge strategy is+-- OVERWRITE, where the imported terminology overwrites the existing+-- terminology of the same name.+--+-- If you import a terminology that overwrites an existing one, the new+-- terminology takes up to 10 minutes to fully propagate. After that,+-- translations have access to the new terminology.+module Amazonka.Translate.ImportTerminology+  ( -- * Creating a Request+    ImportTerminology (..),+    newImportTerminology,++    -- * Request Lenses+    importTerminology_description,+    importTerminology_encryptionKey,+    importTerminology_tags,+    importTerminology_name,+    importTerminology_mergeStrategy,+    importTerminology_terminologyData,++    -- * Destructuring the Response+    ImportTerminologyResponse (..),+    newImportTerminologyResponse,++    -- * Response Lenses+    importTerminologyResponse_auxiliaryDataLocation,+    importTerminologyResponse_terminologyProperties,+    importTerminologyResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newImportTerminology' smart constructor.+data ImportTerminology = ImportTerminology'+  { -- | The description of the custom terminology being imported.+    description :: Prelude.Maybe Prelude.Text,+    -- | The encryption key for the custom terminology being imported.+    encryptionKey :: Prelude.Maybe EncryptionKey,+    -- | Tags to be associated with this resource. A tag is a key-value pair that+    -- adds metadata to a resource. Each tag key for the resource must be+    -- unique. For more information, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+    tags :: Prelude.Maybe [Tag],+    -- | The name of the custom terminology being imported.+    name :: Prelude.Text,+    -- | The merge strategy of the custom terminology being imported. Currently,+    -- only the OVERWRITE merge strategy is supported. In this case, the+    -- imported terminology will overwrite an existing terminology of the same+    -- name.+    mergeStrategy :: MergeStrategy,+    -- | The terminology data for the custom terminology being imported.+    terminologyData :: TerminologyData+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ImportTerminology' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'importTerminology_description' - The description of the custom terminology being imported.+--+-- 'encryptionKey', 'importTerminology_encryptionKey' - The encryption key for the custom terminology being imported.+--+-- 'tags', 'importTerminology_tags' - Tags to be associated with this resource. A tag is a key-value pair that+-- adds metadata to a resource. Each tag key for the resource must be+-- unique. For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+--+-- 'name', 'importTerminology_name' - The name of the custom terminology being imported.+--+-- 'mergeStrategy', 'importTerminology_mergeStrategy' - The merge strategy of the custom terminology being imported. Currently,+-- only the OVERWRITE merge strategy is supported. In this case, the+-- imported terminology will overwrite an existing terminology of the same+-- name.+--+-- 'terminologyData', 'importTerminology_terminologyData' - The terminology data for the custom terminology being imported.+newImportTerminology ::+  -- | 'name'+  Prelude.Text ->+  -- | 'mergeStrategy'+  MergeStrategy ->+  -- | 'terminologyData'+  TerminologyData ->+  ImportTerminology+newImportTerminology+  pName_+  pMergeStrategy_+  pTerminologyData_ =+    ImportTerminology'+      { description = Prelude.Nothing,+        encryptionKey = Prelude.Nothing,+        tags = Prelude.Nothing,+        name = pName_,+        mergeStrategy = pMergeStrategy_,+        terminologyData = pTerminologyData_+      }++-- | The description of the custom terminology being imported.+importTerminology_description :: Lens.Lens' ImportTerminology (Prelude.Maybe Prelude.Text)+importTerminology_description = Lens.lens (\ImportTerminology' {description} -> description) (\s@ImportTerminology' {} a -> s {description = a} :: ImportTerminology)++-- | The encryption key for the custom terminology being imported.+importTerminology_encryptionKey :: Lens.Lens' ImportTerminology (Prelude.Maybe EncryptionKey)+importTerminology_encryptionKey = Lens.lens (\ImportTerminology' {encryptionKey} -> encryptionKey) (\s@ImportTerminology' {} a -> s {encryptionKey = a} :: ImportTerminology)++-- | Tags to be associated with this resource. A tag is a key-value pair that+-- adds metadata to a resource. Each tag key for the resource must be+-- unique. For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+importTerminology_tags :: Lens.Lens' ImportTerminology (Prelude.Maybe [Tag])+importTerminology_tags = Lens.lens (\ImportTerminology' {tags} -> tags) (\s@ImportTerminology' {} a -> s {tags = a} :: ImportTerminology) Prelude.. Lens.mapping Lens.coerced++-- | The name of the custom terminology being imported.+importTerminology_name :: Lens.Lens' ImportTerminology Prelude.Text+importTerminology_name = Lens.lens (\ImportTerminology' {name} -> name) (\s@ImportTerminology' {} a -> s {name = a} :: ImportTerminology)++-- | The merge strategy of the custom terminology being imported. Currently,+-- only the OVERWRITE merge strategy is supported. In this case, the+-- imported terminology will overwrite an existing terminology of the same+-- name.+importTerminology_mergeStrategy :: Lens.Lens' ImportTerminology MergeStrategy+importTerminology_mergeStrategy = Lens.lens (\ImportTerminology' {mergeStrategy} -> mergeStrategy) (\s@ImportTerminology' {} a -> s {mergeStrategy = a} :: ImportTerminology)++-- | The terminology data for the custom terminology being imported.+importTerminology_terminologyData :: Lens.Lens' ImportTerminology TerminologyData+importTerminology_terminologyData = Lens.lens (\ImportTerminology' {terminologyData} -> terminologyData) (\s@ImportTerminology' {} a -> s {terminologyData = a} :: ImportTerminology)++instance Core.AWSRequest ImportTerminology where+  type+    AWSResponse ImportTerminology =+      ImportTerminologyResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ImportTerminologyResponse'+            Prelude.<$> (x Data..?> "AuxiliaryDataLocation")+            Prelude.<*> (x Data..?> "TerminologyProperties")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ImportTerminology where+  hashWithSalt _salt ImportTerminology' {..} =+    _salt+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` encryptionKey+      `Prelude.hashWithSalt` tags+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` mergeStrategy+      `Prelude.hashWithSalt` terminologyData++instance Prelude.NFData ImportTerminology where+  rnf ImportTerminology' {..} =+    Prelude.rnf description+      `Prelude.seq` Prelude.rnf encryptionKey+      `Prelude.seq` Prelude.rnf tags+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf mergeStrategy+      `Prelude.seq` Prelude.rnf terminologyData++instance Data.ToHeaders ImportTerminology where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.ImportTerminology" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ImportTerminology where+  toJSON ImportTerminology' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Description" Data..=) Prelude.<$> description,+            ("EncryptionKey" Data..=) Prelude.<$> encryptionKey,+            ("Tags" Data..=) Prelude.<$> tags,+            Prelude.Just ("Name" Data..= name),+            Prelude.Just ("MergeStrategy" Data..= mergeStrategy),+            Prelude.Just+              ("TerminologyData" Data..= terminologyData)+          ]+      )++instance Data.ToPath ImportTerminology where+  toPath = Prelude.const "/"++instance Data.ToQuery ImportTerminology where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newImportTerminologyResponse' smart constructor.+data ImportTerminologyResponse = ImportTerminologyResponse'+  { -- | 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 terminology resource. The location is+    -- returned as a presigned URL to that has a 30 minute expiration.+    auxiliaryDataLocation :: Prelude.Maybe TerminologyDataLocation,+    -- | The properties of the custom terminology being imported.+    terminologyProperties :: Prelude.Maybe TerminologyProperties,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ImportTerminologyResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'auxiliaryDataLocation', 'importTerminologyResponse_auxiliaryDataLocation' - 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 terminology resource. The location is+-- returned as a presigned URL to that has a 30 minute expiration.+--+-- 'terminologyProperties', 'importTerminologyResponse_terminologyProperties' - The properties of the custom terminology being imported.+--+-- 'httpStatus', 'importTerminologyResponse_httpStatus' - The response's http status code.+newImportTerminologyResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ImportTerminologyResponse+newImportTerminologyResponse pHttpStatus_ =+  ImportTerminologyResponse'+    { auxiliaryDataLocation =+        Prelude.Nothing,+      terminologyProperties = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | 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 terminology resource. The location is+-- returned as a presigned URL to that has a 30 minute expiration.+importTerminologyResponse_auxiliaryDataLocation :: Lens.Lens' ImportTerminologyResponse (Prelude.Maybe TerminologyDataLocation)+importTerminologyResponse_auxiliaryDataLocation = Lens.lens (\ImportTerminologyResponse' {auxiliaryDataLocation} -> auxiliaryDataLocation) (\s@ImportTerminologyResponse' {} a -> s {auxiliaryDataLocation = a} :: ImportTerminologyResponse)++-- | The properties of the custom terminology being imported.+importTerminologyResponse_terminologyProperties :: Lens.Lens' ImportTerminologyResponse (Prelude.Maybe TerminologyProperties)+importTerminologyResponse_terminologyProperties = Lens.lens (\ImportTerminologyResponse' {terminologyProperties} -> terminologyProperties) (\s@ImportTerminologyResponse' {} a -> s {terminologyProperties = a} :: ImportTerminologyResponse)++-- | The response's http status code.+importTerminologyResponse_httpStatus :: Lens.Lens' ImportTerminologyResponse Prelude.Int+importTerminologyResponse_httpStatus = Lens.lens (\ImportTerminologyResponse' {httpStatus} -> httpStatus) (\s@ImportTerminologyResponse' {} a -> s {httpStatus = a} :: ImportTerminologyResponse)++instance Prelude.NFData ImportTerminologyResponse where+  rnf ImportTerminologyResponse' {..} =+    Prelude.rnf auxiliaryDataLocation+      `Prelude.seq` Prelude.rnf terminologyProperties+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/Lens.hs view
@@ -0,0 +1,310 @@+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Lens+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Lens+  ( -- * Operations++    -- ** CreateParallelData+    createParallelData_description,+    createParallelData_encryptionKey,+    createParallelData_tags,+    createParallelData_name,+    createParallelData_parallelDataConfig,+    createParallelData_clientToken,+    createParallelDataResponse_name,+    createParallelDataResponse_status,+    createParallelDataResponse_httpStatus,++    -- ** DeleteParallelData+    deleteParallelData_name,+    deleteParallelDataResponse_name,+    deleteParallelDataResponse_status,+    deleteParallelDataResponse_httpStatus,++    -- ** DeleteTerminology+    deleteTerminology_name,++    -- ** DescribeTextTranslationJob+    describeTextTranslationJob_jobId,+    describeTextTranslationJobResponse_textTranslationJobProperties,+    describeTextTranslationJobResponse_httpStatus,++    -- ** GetParallelData+    getParallelData_name,+    getParallelDataResponse_auxiliaryDataLocation,+    getParallelDataResponse_dataLocation,+    getParallelDataResponse_latestUpdateAttemptAuxiliaryDataLocation,+    getParallelDataResponse_parallelDataProperties,+    getParallelDataResponse_httpStatus,++    -- ** GetTerminology+    getTerminology_terminologyDataFormat,+    getTerminology_name,+    getTerminologyResponse_auxiliaryDataLocation,+    getTerminologyResponse_terminologyDataLocation,+    getTerminologyResponse_terminologyProperties,+    getTerminologyResponse_httpStatus,++    -- ** ImportTerminology+    importTerminology_description,+    importTerminology_encryptionKey,+    importTerminology_tags,+    importTerminology_name,+    importTerminology_mergeStrategy,+    importTerminology_terminologyData,+    importTerminologyResponse_auxiliaryDataLocation,+    importTerminologyResponse_terminologyProperties,+    importTerminologyResponse_httpStatus,++    -- ** ListLanguages+    listLanguages_displayLanguageCode,+    listLanguages_maxResults,+    listLanguages_nextToken,+    listLanguagesResponse_displayLanguageCode,+    listLanguagesResponse_languages,+    listLanguagesResponse_nextToken,+    listLanguagesResponse_httpStatus,++    -- ** ListParallelData+    listParallelData_maxResults,+    listParallelData_nextToken,+    listParallelDataResponse_nextToken,+    listParallelDataResponse_parallelDataPropertiesList,+    listParallelDataResponse_httpStatus,++    -- ** ListTagsForResource+    listTagsForResource_resourceArn,+    listTagsForResourceResponse_tags,+    listTagsForResourceResponse_httpStatus,++    -- ** ListTerminologies+    listTerminologies_maxResults,+    listTerminologies_nextToken,+    listTerminologiesResponse_nextToken,+    listTerminologiesResponse_terminologyPropertiesList,+    listTerminologiesResponse_httpStatus,++    -- ** ListTextTranslationJobs+    listTextTranslationJobs_filter,+    listTextTranslationJobs_maxResults,+    listTextTranslationJobs_nextToken,+    listTextTranslationJobsResponse_nextToken,+    listTextTranslationJobsResponse_textTranslationJobPropertiesList,+    listTextTranslationJobsResponse_httpStatus,++    -- ** StartTextTranslationJob+    startTextTranslationJob_jobName,+    startTextTranslationJob_parallelDataNames,+    startTextTranslationJob_settings,+    startTextTranslationJob_terminologyNames,+    startTextTranslationJob_inputDataConfig,+    startTextTranslationJob_outputDataConfig,+    startTextTranslationJob_dataAccessRoleArn,+    startTextTranslationJob_sourceLanguageCode,+    startTextTranslationJob_targetLanguageCodes,+    startTextTranslationJob_clientToken,+    startTextTranslationJobResponse_jobId,+    startTextTranslationJobResponse_jobStatus,+    startTextTranslationJobResponse_httpStatus,++    -- ** StopTextTranslationJob+    stopTextTranslationJob_jobId,+    stopTextTranslationJobResponse_jobId,+    stopTextTranslationJobResponse_jobStatus,+    stopTextTranslationJobResponse_httpStatus,++    -- ** TagResource+    tagResource_resourceArn,+    tagResource_tags,+    tagResourceResponse_httpStatus,++    -- ** TranslateText+    translateText_settings,+    translateText_terminologyNames,+    translateText_text,+    translateText_sourceLanguageCode,+    translateText_targetLanguageCode,+    translateTextResponse_appliedSettings,+    translateTextResponse_appliedTerminologies,+    translateTextResponse_httpStatus,+    translateTextResponse_translatedText,+    translateTextResponse_sourceLanguageCode,+    translateTextResponse_targetLanguageCode,++    -- ** UntagResource+    untagResource_resourceArn,+    untagResource_tagKeys,+    untagResourceResponse_httpStatus,++    -- ** UpdateParallelData+    updateParallelData_description,+    updateParallelData_name,+    updateParallelData_parallelDataConfig,+    updateParallelData_clientToken,+    updateParallelDataResponse_latestUpdateAttemptAt,+    updateParallelDataResponse_latestUpdateAttemptStatus,+    updateParallelDataResponse_name,+    updateParallelDataResponse_status,+    updateParallelDataResponse_httpStatus,++    -- * Types++    -- ** AppliedTerminology+    appliedTerminology_name,+    appliedTerminology_terms,++    -- ** EncryptionKey+    encryptionKey_type,+    encryptionKey_id,++    -- ** InputDataConfig+    inputDataConfig_s3Uri,+    inputDataConfig_contentType,++    -- ** JobDetails+    jobDetails_documentsWithErrorsCount,+    jobDetails_inputDocumentsCount,+    jobDetails_translatedDocumentsCount,++    -- ** Language+    language_languageName,+    language_languageCode,++    -- ** OutputDataConfig+    outputDataConfig_encryptionKey,+    outputDataConfig_s3Uri,++    -- ** ParallelDataConfig+    parallelDataConfig_s3Uri,+    parallelDataConfig_format,++    -- ** ParallelDataDataLocation+    parallelDataDataLocation_repositoryType,+    parallelDataDataLocation_location,++    -- ** ParallelDataProperties+    parallelDataProperties_arn,+    parallelDataProperties_createdAt,+    parallelDataProperties_description,+    parallelDataProperties_encryptionKey,+    parallelDataProperties_failedRecordCount,+    parallelDataProperties_importedDataSize,+    parallelDataProperties_importedRecordCount,+    parallelDataProperties_lastUpdatedAt,+    parallelDataProperties_latestUpdateAttemptAt,+    parallelDataProperties_latestUpdateAttemptStatus,+    parallelDataProperties_message,+    parallelDataProperties_name,+    parallelDataProperties_parallelDataConfig,+    parallelDataProperties_skippedRecordCount,+    parallelDataProperties_sourceLanguageCode,+    parallelDataProperties_status,+    parallelDataProperties_targetLanguageCodes,++    -- ** Tag+    tag_key,+    tag_value,++    -- ** Term+    term_sourceText,+    term_targetText,++    -- ** TerminologyData+    terminologyData_directionality,+    terminologyData_file,+    terminologyData_format,++    -- ** TerminologyDataLocation+    terminologyDataLocation_repositoryType,+    terminologyDataLocation_location,++    -- ** TerminologyProperties+    terminologyProperties_arn,+    terminologyProperties_createdAt,+    terminologyProperties_description,+    terminologyProperties_directionality,+    terminologyProperties_encryptionKey,+    terminologyProperties_format,+    terminologyProperties_lastUpdatedAt,+    terminologyProperties_message,+    terminologyProperties_name,+    terminologyProperties_sizeBytes,+    terminologyProperties_skippedTermCount,+    terminologyProperties_sourceLanguageCode,+    terminologyProperties_targetLanguageCodes,+    terminologyProperties_termCount,++    -- ** TextTranslationJobFilter+    textTranslationJobFilter_jobName,+    textTranslationJobFilter_jobStatus,+    textTranslationJobFilter_submittedAfterTime,+    textTranslationJobFilter_submittedBeforeTime,++    -- ** TextTranslationJobProperties+    textTranslationJobProperties_dataAccessRoleArn,+    textTranslationJobProperties_endTime,+    textTranslationJobProperties_inputDataConfig,+    textTranslationJobProperties_jobDetails,+    textTranslationJobProperties_jobId,+    textTranslationJobProperties_jobName,+    textTranslationJobProperties_jobStatus,+    textTranslationJobProperties_message,+    textTranslationJobProperties_outputDataConfig,+    textTranslationJobProperties_parallelDataNames,+    textTranslationJobProperties_settings,+    textTranslationJobProperties_sourceLanguageCode,+    textTranslationJobProperties_submittedTime,+    textTranslationJobProperties_targetLanguageCodes,+    textTranslationJobProperties_terminologyNames,++    -- ** TranslationSettings+    translationSettings_formality,+    translationSettings_profanity,+  )+where++import Amazonka.Translate.CreateParallelData+import Amazonka.Translate.DeleteParallelData+import Amazonka.Translate.DeleteTerminology+import Amazonka.Translate.DescribeTextTranslationJob+import Amazonka.Translate.GetParallelData+import Amazonka.Translate.GetTerminology+import Amazonka.Translate.ImportTerminology+import Amazonka.Translate.ListLanguages+import Amazonka.Translate.ListParallelData+import Amazonka.Translate.ListTagsForResource+import Amazonka.Translate.ListTerminologies+import Amazonka.Translate.ListTextTranslationJobs+import Amazonka.Translate.StartTextTranslationJob+import Amazonka.Translate.StopTextTranslationJob+import Amazonka.Translate.TagResource+import Amazonka.Translate.TranslateText+import Amazonka.Translate.Types.AppliedTerminology+import Amazonka.Translate.Types.EncryptionKey+import Amazonka.Translate.Types.InputDataConfig+import Amazonka.Translate.Types.JobDetails+import Amazonka.Translate.Types.Language+import Amazonka.Translate.Types.OutputDataConfig+import Amazonka.Translate.Types.ParallelDataConfig+import Amazonka.Translate.Types.ParallelDataDataLocation+import Amazonka.Translate.Types.ParallelDataProperties+import Amazonka.Translate.Types.Tag+import Amazonka.Translate.Types.Term+import Amazonka.Translate.Types.TerminologyData+import Amazonka.Translate.Types.TerminologyDataLocation+import Amazonka.Translate.Types.TerminologyProperties+import Amazonka.Translate.Types.TextTranslationJobFilter+import Amazonka.Translate.Types.TextTranslationJobProperties+import Amazonka.Translate.Types.TranslationSettings+import Amazonka.Translate.UntagResource+import Amazonka.Translate.UpdateParallelData
+ gen/Amazonka/Translate/ListLanguages.hs view
@@ -0,0 +1,236 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.ListLanguages+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides a list of languages (RFC-5646 codes and names) that Amazon+-- Translate supports.+module Amazonka.Translate.ListLanguages+  ( -- * Creating a Request+    ListLanguages (..),+    newListLanguages,++    -- * Request Lenses+    listLanguages_displayLanguageCode,+    listLanguages_maxResults,+    listLanguages_nextToken,++    -- * Destructuring the Response+    ListLanguagesResponse (..),+    newListLanguagesResponse,++    -- * Response Lenses+    listLanguagesResponse_displayLanguageCode,+    listLanguagesResponse_languages,+    listLanguagesResponse_nextToken,+    listLanguagesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newListLanguages' smart constructor.+data ListLanguages = ListLanguages'+  { -- | The language code for the language to use to display the language names+    -- in the response. The language code is @en@ by default.+    displayLanguageCode :: Prelude.Maybe DisplayLanguageCode,+    -- | The maximum number of results to return in each response.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | Include the NextToken value to fetch the next group of supported+    -- languages.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListLanguages' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'displayLanguageCode', 'listLanguages_displayLanguageCode' - The language code for the language to use to display the language names+-- in the response. The language code is @en@ by default.+--+-- 'maxResults', 'listLanguages_maxResults' - The maximum number of results to return in each response.+--+-- 'nextToken', 'listLanguages_nextToken' - Include the NextToken value to fetch the next group of supported+-- languages.+newListLanguages ::+  ListLanguages+newListLanguages =+  ListLanguages'+    { displayLanguageCode =+        Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | The language code for the language to use to display the language names+-- in the response. The language code is @en@ by default.+listLanguages_displayLanguageCode :: Lens.Lens' ListLanguages (Prelude.Maybe DisplayLanguageCode)+listLanguages_displayLanguageCode = Lens.lens (\ListLanguages' {displayLanguageCode} -> displayLanguageCode) (\s@ListLanguages' {} a -> s {displayLanguageCode = a} :: ListLanguages)++-- | The maximum number of results to return in each response.+listLanguages_maxResults :: Lens.Lens' ListLanguages (Prelude.Maybe Prelude.Natural)+listLanguages_maxResults = Lens.lens (\ListLanguages' {maxResults} -> maxResults) (\s@ListLanguages' {} a -> s {maxResults = a} :: ListLanguages)++-- | Include the NextToken value to fetch the next group of supported+-- languages.+listLanguages_nextToken :: Lens.Lens' ListLanguages (Prelude.Maybe Prelude.Text)+listLanguages_nextToken = Lens.lens (\ListLanguages' {nextToken} -> nextToken) (\s@ListLanguages' {} a -> s {nextToken = a} :: ListLanguages)++instance Core.AWSRequest ListLanguages where+  type+    AWSResponse ListLanguages =+      ListLanguagesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListLanguagesResponse'+            Prelude.<$> (x Data..?> "DisplayLanguageCode")+            Prelude.<*> (x Data..?> "Languages" Core..!@ Prelude.mempty)+            Prelude.<*> (x Data..?> "NextToken")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListLanguages where+  hashWithSalt _salt ListLanguages' {..} =+    _salt+      `Prelude.hashWithSalt` displayLanguageCode+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListLanguages where+  rnf ListLanguages' {..} =+    Prelude.rnf displayLanguageCode+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListLanguages where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.ListLanguages" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListLanguages where+  toJSON ListLanguages' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("DisplayLanguageCode" Data..=)+              Prelude.<$> displayLanguageCode,+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListLanguages where+  toPath = Prelude.const "/"++instance Data.ToQuery ListLanguages where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListLanguagesResponse' smart constructor.+data ListLanguagesResponse = ListLanguagesResponse'+  { -- | The language code passed in with the request.+    displayLanguageCode :: Prelude.Maybe DisplayLanguageCode,+    -- | The list of supported languages.+    languages :: Prelude.Maybe [Language],+    -- | If the response does not include all remaining results, use the+    -- NextToken in the next request to fetch the next group of supported+    -- languages.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListLanguagesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'displayLanguageCode', 'listLanguagesResponse_displayLanguageCode' - The language code passed in with the request.+--+-- 'languages', 'listLanguagesResponse_languages' - The list of supported languages.+--+-- 'nextToken', 'listLanguagesResponse_nextToken' - If the response does not include all remaining results, use the+-- NextToken in the next request to fetch the next group of supported+-- languages.+--+-- 'httpStatus', 'listLanguagesResponse_httpStatus' - The response's http status code.+newListLanguagesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListLanguagesResponse+newListLanguagesResponse pHttpStatus_ =+  ListLanguagesResponse'+    { displayLanguageCode =+        Prelude.Nothing,+      languages = Prelude.Nothing,+      nextToken = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The language code passed in with the request.+listLanguagesResponse_displayLanguageCode :: Lens.Lens' ListLanguagesResponse (Prelude.Maybe DisplayLanguageCode)+listLanguagesResponse_displayLanguageCode = Lens.lens (\ListLanguagesResponse' {displayLanguageCode} -> displayLanguageCode) (\s@ListLanguagesResponse' {} a -> s {displayLanguageCode = a} :: ListLanguagesResponse)++-- | The list of supported languages.+listLanguagesResponse_languages :: Lens.Lens' ListLanguagesResponse (Prelude.Maybe [Language])+listLanguagesResponse_languages = Lens.lens (\ListLanguagesResponse' {languages} -> languages) (\s@ListLanguagesResponse' {} a -> s {languages = a} :: ListLanguagesResponse) Prelude.. Lens.mapping Lens.coerced++-- | If the response does not include all remaining results, use the+-- NextToken in the next request to fetch the next group of supported+-- languages.+listLanguagesResponse_nextToken :: Lens.Lens' ListLanguagesResponse (Prelude.Maybe Prelude.Text)+listLanguagesResponse_nextToken = Lens.lens (\ListLanguagesResponse' {nextToken} -> nextToken) (\s@ListLanguagesResponse' {} a -> s {nextToken = a} :: ListLanguagesResponse)++-- | The response's http status code.+listLanguagesResponse_httpStatus :: Lens.Lens' ListLanguagesResponse Prelude.Int+listLanguagesResponse_httpStatus = Lens.lens (\ListLanguagesResponse' {httpStatus} -> httpStatus) (\s@ListLanguagesResponse' {} a -> s {httpStatus = a} :: ListLanguagesResponse)++instance Prelude.NFData ListLanguagesResponse where+  rnf ListLanguagesResponse' {..} =+    Prelude.rnf displayLanguageCode+      `Prelude.seq` Prelude.rnf languages+      `Prelude.seq` Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/ListParallelData.hs view
@@ -0,0 +1,208 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.ListParallelData+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides a list of your parallel data resources in Amazon Translate.+module Amazonka.Translate.ListParallelData+  ( -- * Creating a Request+    ListParallelData (..),+    newListParallelData,++    -- * Request Lenses+    listParallelData_maxResults,+    listParallelData_nextToken,++    -- * Destructuring the Response+    ListParallelDataResponse (..),+    newListParallelDataResponse,++    -- * Response Lenses+    listParallelDataResponse_nextToken,+    listParallelDataResponse_parallelDataPropertiesList,+    listParallelDataResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newListParallelData' smart constructor.+data ListParallelData = ListParallelData'+  { -- | The maximum number of parallel data resources returned for each request.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | A string that specifies the next page of results to return in a+    -- paginated response.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListParallelData' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listParallelData_maxResults' - The maximum number of parallel data resources returned for each request.+--+-- 'nextToken', 'listParallelData_nextToken' - A string that specifies the next page of results to return in a+-- paginated response.+newListParallelData ::+  ListParallelData+newListParallelData =+  ListParallelData'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | The maximum number of parallel data resources returned for each request.+listParallelData_maxResults :: Lens.Lens' ListParallelData (Prelude.Maybe Prelude.Natural)+listParallelData_maxResults = Lens.lens (\ListParallelData' {maxResults} -> maxResults) (\s@ListParallelData' {} a -> s {maxResults = a} :: ListParallelData)++-- | A string that specifies the next page of results to return in a+-- paginated response.+listParallelData_nextToken :: Lens.Lens' ListParallelData (Prelude.Maybe Prelude.Text)+listParallelData_nextToken = Lens.lens (\ListParallelData' {nextToken} -> nextToken) (\s@ListParallelData' {} a -> s {nextToken = a} :: ListParallelData)++instance Core.AWSRequest ListParallelData where+  type+    AWSResponse ListParallelData =+      ListParallelDataResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListParallelDataResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "ParallelDataPropertiesList"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListParallelData where+  hashWithSalt _salt ListParallelData' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListParallelData where+  rnf ListParallelData' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListParallelData where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.ListParallelData" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListParallelData where+  toJSON ListParallelData' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListParallelData where+  toPath = Prelude.const "/"++instance Data.ToQuery ListParallelData where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListParallelDataResponse' smart constructor.+data ListParallelDataResponse = ListParallelDataResponse'+  { -- | The string to use in a subsequent request to get the next page of+    -- results in a paginated response. This value is null if there are no+    -- additional pages.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The properties of the parallel data resources returned by this request.+    parallelDataPropertiesList :: Prelude.Maybe [ParallelDataProperties],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListParallelDataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listParallelDataResponse_nextToken' - The string to use in a subsequent request to get the next page of+-- results in a paginated response. This value is null if there are no+-- additional pages.+--+-- 'parallelDataPropertiesList', 'listParallelDataResponse_parallelDataPropertiesList' - The properties of the parallel data resources returned by this request.+--+-- 'httpStatus', 'listParallelDataResponse_httpStatus' - The response's http status code.+newListParallelDataResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListParallelDataResponse+newListParallelDataResponse pHttpStatus_ =+  ListParallelDataResponse'+    { nextToken =+        Prelude.Nothing,+      parallelDataPropertiesList = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The string to use in a subsequent request to get the next page of+-- results in a paginated response. This value is null if there are no+-- additional pages.+listParallelDataResponse_nextToken :: Lens.Lens' ListParallelDataResponse (Prelude.Maybe Prelude.Text)+listParallelDataResponse_nextToken = Lens.lens (\ListParallelDataResponse' {nextToken} -> nextToken) (\s@ListParallelDataResponse' {} a -> s {nextToken = a} :: ListParallelDataResponse)++-- | The properties of the parallel data resources returned by this request.+listParallelDataResponse_parallelDataPropertiesList :: Lens.Lens' ListParallelDataResponse (Prelude.Maybe [ParallelDataProperties])+listParallelDataResponse_parallelDataPropertiesList = Lens.lens (\ListParallelDataResponse' {parallelDataPropertiesList} -> parallelDataPropertiesList) (\s@ListParallelDataResponse' {} a -> s {parallelDataPropertiesList = a} :: ListParallelDataResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listParallelDataResponse_httpStatus :: Lens.Lens' ListParallelDataResponse Prelude.Int+listParallelDataResponse_httpStatus = Lens.lens (\ListParallelDataResponse' {httpStatus} -> httpStatus) (\s@ListParallelDataResponse' {} a -> s {httpStatus = a} :: ListParallelDataResponse)++instance Prelude.NFData ListParallelDataResponse where+  rnf ListParallelDataResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf parallelDataPropertiesList+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/ListTagsForResource.hs view
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.ListTagsForResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists all tags associated with a given Amazon Translate resource. For+-- more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+module Amazonka.Translate.ListTagsForResource+  ( -- * Creating a Request+    ListTagsForResource (..),+    newListTagsForResource,++    -- * Request Lenses+    listTagsForResource_resourceArn,++    -- * Destructuring the Response+    ListTagsForResourceResponse (..),+    newListTagsForResourceResponse,++    -- * Response Lenses+    listTagsForResourceResponse_tags,+    listTagsForResourceResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newListTagsForResource' smart constructor.+data ListTagsForResource = ListTagsForResource'+  { -- | The Amazon Resource Name (ARN) of the given Amazon Translate resource+    -- you are querying.+    resourceArn :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'listTagsForResource_resourceArn' - The Amazon Resource Name (ARN) of the given Amazon Translate resource+-- you are querying.+newListTagsForResource ::+  -- | 'resourceArn'+  Prelude.Text ->+  ListTagsForResource+newListTagsForResource pResourceArn_ =+  ListTagsForResource' {resourceArn = pResourceArn_}++-- | The Amazon Resource Name (ARN) of the given Amazon Translate resource+-- you are querying.+listTagsForResource_resourceArn :: Lens.Lens' ListTagsForResource Prelude.Text+listTagsForResource_resourceArn = Lens.lens (\ListTagsForResource' {resourceArn} -> resourceArn) (\s@ListTagsForResource' {} a -> s {resourceArn = a} :: ListTagsForResource)++instance Core.AWSRequest ListTagsForResource where+  type+    AWSResponse ListTagsForResource =+      ListTagsForResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListTagsForResourceResponse'+            Prelude.<$> (x Data..?> "Tags" Core..!@ Prelude.mempty)+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListTagsForResource where+  hashWithSalt _salt ListTagsForResource' {..} =+    _salt `Prelude.hashWithSalt` resourceArn++instance Prelude.NFData ListTagsForResource where+  rnf ListTagsForResource' {..} =+    Prelude.rnf resourceArn++instance Data.ToHeaders ListTagsForResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.ListTagsForResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListTagsForResource where+  toJSON ListTagsForResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("ResourceArn" Data..= resourceArn)]+      )++instance Data.ToPath ListTagsForResource where+  toPath = Prelude.const "/"++instance Data.ToQuery ListTagsForResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTagsForResourceResponse' smart constructor.+data ListTagsForResourceResponse = ListTagsForResourceResponse'+  { -- | Tags associated with the Amazon Translate resource being queried. A tag+    -- is a key-value pair that adds as a metadata to a resource used by Amazon+    -- Translate. For example, a tag with \"Sales\" as the key might be added+    -- to a resource to indicate its use by the sales department.+    tags :: Prelude.Maybe [Tag],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTagsForResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'tags', 'listTagsForResourceResponse_tags' - Tags associated with the Amazon Translate resource being queried. A tag+-- is a key-value pair that adds as a metadata to a resource used by Amazon+-- Translate. For example, a tag with \"Sales\" as the key might be added+-- to a resource to indicate its use by the sales department.+--+-- 'httpStatus', 'listTagsForResourceResponse_httpStatus' - The response's http status code.+newListTagsForResourceResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListTagsForResourceResponse+newListTagsForResourceResponse pHttpStatus_ =+  ListTagsForResourceResponse'+    { tags =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | Tags associated with the Amazon Translate resource being queried. A tag+-- is a key-value pair that adds as a metadata to a resource used by Amazon+-- Translate. For example, a tag with \"Sales\" as the key might be added+-- to a resource to indicate its use by the sales department.+listTagsForResourceResponse_tags :: Lens.Lens' ListTagsForResourceResponse (Prelude.Maybe [Tag])+listTagsForResourceResponse_tags = Lens.lens (\ListTagsForResourceResponse' {tags} -> tags) (\s@ListTagsForResourceResponse' {} a -> s {tags = a} :: ListTagsForResourceResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTagsForResourceResponse_httpStatus :: Lens.Lens' ListTagsForResourceResponse Prelude.Int+listTagsForResourceResponse_httpStatus = Lens.lens (\ListTagsForResourceResponse' {httpStatus} -> httpStatus) (\s@ListTagsForResourceResponse' {} a -> s {httpStatus = a} :: ListTagsForResourceResponse)++instance Prelude.NFData ListTagsForResourceResponse where+  rnf ListTagsForResourceResponse' {..} =+    Prelude.rnf tags+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/ListTerminologies.hs view
@@ -0,0 +1,232 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.ListTerminologies+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Provides a list of custom terminologies associated with your account.+--+-- This operation returns paginated results.+module Amazonka.Translate.ListTerminologies+  ( -- * Creating a Request+    ListTerminologies (..),+    newListTerminologies,++    -- * Request Lenses+    listTerminologies_maxResults,+    listTerminologies_nextToken,++    -- * Destructuring the Response+    ListTerminologiesResponse (..),+    newListTerminologiesResponse,++    -- * Response Lenses+    listTerminologiesResponse_nextToken,+    listTerminologiesResponse_terminologyPropertiesList,+    listTerminologiesResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newListTerminologies' smart constructor.+data ListTerminologies = ListTerminologies'+  { -- | The maximum number of custom terminologies returned per list request.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | If the result of the request to ListTerminologies was truncated, include+    -- the NextToken to fetch the next group of custom terminologies.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTerminologies' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'maxResults', 'listTerminologies_maxResults' - The maximum number of custom terminologies returned per list request.+--+-- 'nextToken', 'listTerminologies_nextToken' - If the result of the request to ListTerminologies was truncated, include+-- the NextToken to fetch the next group of custom terminologies.+newListTerminologies ::+  ListTerminologies+newListTerminologies =+  ListTerminologies'+    { maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | The maximum number of custom terminologies returned per list request.+listTerminologies_maxResults :: Lens.Lens' ListTerminologies (Prelude.Maybe Prelude.Natural)+listTerminologies_maxResults = Lens.lens (\ListTerminologies' {maxResults} -> maxResults) (\s@ListTerminologies' {} a -> s {maxResults = a} :: ListTerminologies)++-- | If the result of the request to ListTerminologies was truncated, include+-- the NextToken to fetch the next group of custom terminologies.+listTerminologies_nextToken :: Lens.Lens' ListTerminologies (Prelude.Maybe Prelude.Text)+listTerminologies_nextToken = Lens.lens (\ListTerminologies' {nextToken} -> nextToken) (\s@ListTerminologies' {} a -> s {nextToken = a} :: ListTerminologies)++instance Core.AWSPager ListTerminologies where+  page rq rs+    | Core.stop+        ( rs+            Lens.^? listTerminologiesResponse_nextToken+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Core.stop+        ( rs+            Lens.^? listTerminologiesResponse_terminologyPropertiesList+            Prelude.. Lens._Just+        ) =+        Prelude.Nothing+    | Prelude.otherwise =+        Prelude.Just+          Prelude.$ rq+          Prelude.& listTerminologies_nextToken+          Lens..~ rs+          Lens.^? listTerminologiesResponse_nextToken+          Prelude.. Lens._Just++instance Core.AWSRequest ListTerminologies where+  type+    AWSResponse ListTerminologies =+      ListTerminologiesResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListTerminologiesResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "TerminologyPropertiesList"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListTerminologies where+  hashWithSalt _salt ListTerminologies' {..} =+    _salt+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListTerminologies where+  rnf ListTerminologies' {..} =+    Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListTerminologies where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.ListTerminologies" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListTerminologies where+  toJSON ListTerminologies' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListTerminologies where+  toPath = Prelude.const "/"++instance Data.ToQuery ListTerminologies where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTerminologiesResponse' smart constructor.+data ListTerminologiesResponse = ListTerminologiesResponse'+  { -- | If the response to the ListTerminologies was truncated, the NextToken+    -- fetches the next group of custom terminologies.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | The properties list of the custom terminologies returned on the list+    -- request.+    terminologyPropertiesList :: Prelude.Maybe [TerminologyProperties],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTerminologiesResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTerminologiesResponse_nextToken' - If the response to the ListTerminologies was truncated, the NextToken+-- fetches the next group of custom terminologies.+--+-- 'terminologyPropertiesList', 'listTerminologiesResponse_terminologyPropertiesList' - The properties list of the custom terminologies returned on the list+-- request.+--+-- 'httpStatus', 'listTerminologiesResponse_httpStatus' - The response's http status code.+newListTerminologiesResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListTerminologiesResponse+newListTerminologiesResponse pHttpStatus_ =+  ListTerminologiesResponse'+    { nextToken =+        Prelude.Nothing,+      terminologyPropertiesList = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | If the response to the ListTerminologies was truncated, the NextToken+-- fetches the next group of custom terminologies.+listTerminologiesResponse_nextToken :: Lens.Lens' ListTerminologiesResponse (Prelude.Maybe Prelude.Text)+listTerminologiesResponse_nextToken = Lens.lens (\ListTerminologiesResponse' {nextToken} -> nextToken) (\s@ListTerminologiesResponse' {} a -> s {nextToken = a} :: ListTerminologiesResponse)++-- | The properties list of the custom terminologies returned on the list+-- request.+listTerminologiesResponse_terminologyPropertiesList :: Lens.Lens' ListTerminologiesResponse (Prelude.Maybe [TerminologyProperties])+listTerminologiesResponse_terminologyPropertiesList = Lens.lens (\ListTerminologiesResponse' {terminologyPropertiesList} -> terminologyPropertiesList) (\s@ListTerminologiesResponse' {} a -> s {terminologyPropertiesList = a} :: ListTerminologiesResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTerminologiesResponse_httpStatus :: Lens.Lens' ListTerminologiesResponse Prelude.Int+listTerminologiesResponse_httpStatus = Lens.lens (\ListTerminologiesResponse' {httpStatus} -> httpStatus) (\s@ListTerminologiesResponse' {} a -> s {httpStatus = a} :: ListTerminologiesResponse)++instance Prelude.NFData ListTerminologiesResponse where+  rnf ListTerminologiesResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf terminologyPropertiesList+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/ListTextTranslationJobs.hs view
@@ -0,0 +1,228 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.ListTextTranslationJobs+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Gets a list of the batch translation jobs that you have submitted.+module Amazonka.Translate.ListTextTranslationJobs+  ( -- * Creating a Request+    ListTextTranslationJobs (..),+    newListTextTranslationJobs,++    -- * Request Lenses+    listTextTranslationJobs_filter,+    listTextTranslationJobs_maxResults,+    listTextTranslationJobs_nextToken,++    -- * Destructuring the Response+    ListTextTranslationJobsResponse (..),+    newListTextTranslationJobsResponse,++    -- * Response Lenses+    listTextTranslationJobsResponse_nextToken,+    listTextTranslationJobsResponse_textTranslationJobPropertiesList,+    listTextTranslationJobsResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newListTextTranslationJobs' smart constructor.+data ListTextTranslationJobs = ListTextTranslationJobs'+  { -- | The parameters that specify which batch translation jobs to retrieve.+    -- Filters include job name, job status, and submission time. You can only+    -- set one filter at a time.+    filter' :: Prelude.Maybe TextTranslationJobFilter,+    -- | The maximum number of results to return in each page. The default value+    -- is 100.+    maxResults :: Prelude.Maybe Prelude.Natural,+    -- | The token to request the next page of results.+    nextToken :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTextTranslationJobs' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'filter'', 'listTextTranslationJobs_filter' - The parameters that specify which batch translation jobs to retrieve.+-- Filters include job name, job status, and submission time. You can only+-- set one filter at a time.+--+-- 'maxResults', 'listTextTranslationJobs_maxResults' - The maximum number of results to return in each page. The default value+-- is 100.+--+-- 'nextToken', 'listTextTranslationJobs_nextToken' - The token to request the next page of results.+newListTextTranslationJobs ::+  ListTextTranslationJobs+newListTextTranslationJobs =+  ListTextTranslationJobs'+    { filter' = Prelude.Nothing,+      maxResults = Prelude.Nothing,+      nextToken = Prelude.Nothing+    }++-- | The parameters that specify which batch translation jobs to retrieve.+-- Filters include job name, job status, and submission time. You can only+-- set one filter at a time.+listTextTranslationJobs_filter :: Lens.Lens' ListTextTranslationJobs (Prelude.Maybe TextTranslationJobFilter)+listTextTranslationJobs_filter = Lens.lens (\ListTextTranslationJobs' {filter'} -> filter') (\s@ListTextTranslationJobs' {} a -> s {filter' = a} :: ListTextTranslationJobs)++-- | The maximum number of results to return in each page. The default value+-- is 100.+listTextTranslationJobs_maxResults :: Lens.Lens' ListTextTranslationJobs (Prelude.Maybe Prelude.Natural)+listTextTranslationJobs_maxResults = Lens.lens (\ListTextTranslationJobs' {maxResults} -> maxResults) (\s@ListTextTranslationJobs' {} a -> s {maxResults = a} :: ListTextTranslationJobs)++-- | The token to request the next page of results.+listTextTranslationJobs_nextToken :: Lens.Lens' ListTextTranslationJobs (Prelude.Maybe Prelude.Text)+listTextTranslationJobs_nextToken = Lens.lens (\ListTextTranslationJobs' {nextToken} -> nextToken) (\s@ListTextTranslationJobs' {} a -> s {nextToken = a} :: ListTextTranslationJobs)++instance Core.AWSRequest ListTextTranslationJobs where+  type+    AWSResponse ListTextTranslationJobs =+      ListTextTranslationJobsResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          ListTextTranslationJobsResponse'+            Prelude.<$> (x Data..?> "NextToken")+            Prelude.<*> ( x+                            Data..?> "TextTranslationJobPropertiesList"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable ListTextTranslationJobs where+  hashWithSalt _salt ListTextTranslationJobs' {..} =+    _salt+      `Prelude.hashWithSalt` filter'+      `Prelude.hashWithSalt` maxResults+      `Prelude.hashWithSalt` nextToken++instance Prelude.NFData ListTextTranslationJobs where+  rnf ListTextTranslationJobs' {..} =+    Prelude.rnf filter'+      `Prelude.seq` Prelude.rnf maxResults+      `Prelude.seq` Prelude.rnf nextToken++instance Data.ToHeaders ListTextTranslationJobs where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.ListTextTranslationJobs" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON ListTextTranslationJobs where+  toJSON ListTextTranslationJobs' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Filter" Data..=) Prelude.<$> filter',+            ("MaxResults" Data..=) Prelude.<$> maxResults,+            ("NextToken" Data..=) Prelude.<$> nextToken+          ]+      )++instance Data.ToPath ListTextTranslationJobs where+  toPath = Prelude.const "/"++instance Data.ToQuery ListTextTranslationJobs where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newListTextTranslationJobsResponse' smart constructor.+data ListTextTranslationJobsResponse = ListTextTranslationJobsResponse'+  { -- | The token to use to retrieve the next page of results. This value is+    -- @null@ when there are no more results to return.+    nextToken :: Prelude.Maybe Prelude.Text,+    -- | A list containing the properties of each job that is returned.+    textTranslationJobPropertiesList :: Prelude.Maybe [TextTranslationJobProperties],+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ListTextTranslationJobsResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'nextToken', 'listTextTranslationJobsResponse_nextToken' - The token to use to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+--+-- 'textTranslationJobPropertiesList', 'listTextTranslationJobsResponse_textTranslationJobPropertiesList' - A list containing the properties of each job that is returned.+--+-- 'httpStatus', 'listTextTranslationJobsResponse_httpStatus' - The response's http status code.+newListTextTranslationJobsResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  ListTextTranslationJobsResponse+newListTextTranslationJobsResponse pHttpStatus_ =+  ListTextTranslationJobsResponse'+    { nextToken =+        Prelude.Nothing,+      textTranslationJobPropertiesList =+        Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The token to use to retrieve the next page of results. This value is+-- @null@ when there are no more results to return.+listTextTranslationJobsResponse_nextToken :: Lens.Lens' ListTextTranslationJobsResponse (Prelude.Maybe Prelude.Text)+listTextTranslationJobsResponse_nextToken = Lens.lens (\ListTextTranslationJobsResponse' {nextToken} -> nextToken) (\s@ListTextTranslationJobsResponse' {} a -> s {nextToken = a} :: ListTextTranslationJobsResponse)++-- | A list containing the properties of each job that is returned.+listTextTranslationJobsResponse_textTranslationJobPropertiesList :: Lens.Lens' ListTextTranslationJobsResponse (Prelude.Maybe [TextTranslationJobProperties])+listTextTranslationJobsResponse_textTranslationJobPropertiesList = Lens.lens (\ListTextTranslationJobsResponse' {textTranslationJobPropertiesList} -> textTranslationJobPropertiesList) (\s@ListTextTranslationJobsResponse' {} a -> s {textTranslationJobPropertiesList = a} :: ListTextTranslationJobsResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+listTextTranslationJobsResponse_httpStatus :: Lens.Lens' ListTextTranslationJobsResponse Prelude.Int+listTextTranslationJobsResponse_httpStatus = Lens.lens (\ListTextTranslationJobsResponse' {httpStatus} -> httpStatus) (\s@ListTextTranslationJobsResponse' {} a -> s {httpStatus = a} :: ListTextTranslationJobsResponse)++instance+  Prelude.NFData+    ListTextTranslationJobsResponse+  where+  rnf ListTextTranslationJobsResponse' {..} =+    Prelude.rnf nextToken+      `Prelude.seq` Prelude.rnf textTranslationJobPropertiesList+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/StartTextTranslationJob.hs view
@@ -0,0 +1,556 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.StartTextTranslationJob+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Starts an asynchronous batch translation job. Use batch translation jobs+-- to translate large volumes of text across multiple documents at once.+-- For batch translation, you can input documents with different source+-- languages (specify @auto@ as the source language). You can specify one+-- or more target languages. Batch translation translates each input+-- document into each of the target languages. For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/async.html Asynchronous batch processing>.+--+-- Batch translation jobs can be described with the+-- DescribeTextTranslationJob operation, listed with the+-- ListTextTranslationJobs operation, and stopped with the+-- StopTextTranslationJob operation.+module Amazonka.Translate.StartTextTranslationJob+  ( -- * Creating a Request+    StartTextTranslationJob (..),+    newStartTextTranslationJob,++    -- * Request Lenses+    startTextTranslationJob_jobName,+    startTextTranslationJob_parallelDataNames,+    startTextTranslationJob_settings,+    startTextTranslationJob_terminologyNames,+    startTextTranslationJob_inputDataConfig,+    startTextTranslationJob_outputDataConfig,+    startTextTranslationJob_dataAccessRoleArn,+    startTextTranslationJob_sourceLanguageCode,+    startTextTranslationJob_targetLanguageCodes,+    startTextTranslationJob_clientToken,++    -- * Destructuring the Response+    StartTextTranslationJobResponse (..),+    newStartTextTranslationJobResponse,++    -- * Response Lenses+    startTextTranslationJobResponse_jobId,+    startTextTranslationJobResponse_jobStatus,+    startTextTranslationJobResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newStartTextTranslationJob' smart constructor.+data StartTextTranslationJob = StartTextTranslationJob'+  { -- | The name of the batch translation job to be performed.+    jobName :: Prelude.Maybe Prelude.Text,+    -- | The name of a parallel data resource to add to the translation job. This+    -- resource consists of examples that show how you want segments of text to+    -- be translated. If you specify multiple target languages for the job, the+    -- parallel data file must include translations for all the target+    -- languages.+    --+    -- When you add parallel data to a translation job, you create an /Active+    -- Custom Translation/ job.+    --+    -- This parameter accepts only one parallel data resource.+    --+    -- Active Custom Translation jobs are priced at a higher rate than other+    -- jobs that don\'t use parallel data. For more information, see+    -- <http://aws.amazon.com/translate/pricing/ Amazon Translate pricing>.+    --+    -- For a list of available parallel data resources, use the+    -- ListParallelData operation.+    --+    -- For more information, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-parallel-data.html Customizing your translations with parallel data>.+    parallelDataNames :: Prelude.Maybe [Prelude.Text],+    -- | Settings to configure your translation output, including the option to+    -- set the formality level of the output text and the option to mask+    -- profane words and phrases.+    settings :: Prelude.Maybe TranslationSettings,+    -- | The name of a custom terminology resource to add to the translation job.+    -- This resource lists examples source terms and the desired translation+    -- for each term.+    --+    -- This parameter accepts only one custom terminology resource.+    --+    -- If you specify multiple target languages for the job, translate uses the+    -- designated terminology for each requested target language that has an+    -- entry for the source term in the terminology file.+    --+    -- For a list of available custom terminology resources, use the+    -- ListTerminologies operation.+    --+    -- For more information, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html Custom terminology>.+    terminologyNames :: Prelude.Maybe [Prelude.Text],+    -- | Specifies the format and location of the input documents for the+    -- translation job.+    inputDataConfig :: InputDataConfig,+    -- | Specifies the S3 folder to which your job output will be saved.+    outputDataConfig :: OutputDataConfig,+    -- | 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 information, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/identity-and-access-management.html Identity and access management>+    -- .+    dataAccessRoleArn :: Prelude.Text,+    -- | The language code of the input language. Specify the language if all+    -- input documents share the same language. If you don\'t know the language+    -- of the source files, or your input documents contains different source+    -- languages, select @auto@. Amazon Translate auto detects the source+    -- language for each input document. For a list of supported language+    -- codes, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+    sourceLanguageCode :: Prelude.Text,+    -- | The target languages of the translation job. Enter up to 10 language+    -- codes. Each input file is translated into each target language.+    --+    -- Each language code is 2 or 5 characters long. For a list of language+    -- codes, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+    targetLanguageCodes :: Prelude.NonEmpty Prelude.Text,+    -- | A unique identifier for the request. This token is generated for you+    -- when using the Amazon Translate SDK.+    clientToken :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartTextTranslationJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobName', 'startTextTranslationJob_jobName' - The name of the batch translation job to be performed.+--+-- 'parallelDataNames', 'startTextTranslationJob_parallelDataNames' - The name of a parallel data resource to add to the translation job. This+-- resource consists of examples that show how you want segments of text to+-- be translated. If you specify multiple target languages for the job, the+-- parallel data file must include translations for all the target+-- languages.+--+-- When you add parallel data to a translation job, you create an /Active+-- Custom Translation/ job.+--+-- This parameter accepts only one parallel data resource.+--+-- Active Custom Translation jobs are priced at a higher rate than other+-- jobs that don\'t use parallel data. For more information, see+-- <http://aws.amazon.com/translate/pricing/ Amazon Translate pricing>.+--+-- For a list of available parallel data resources, use the+-- ListParallelData operation.+--+-- For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-parallel-data.html Customizing your translations with parallel data>.+--+-- 'settings', 'startTextTranslationJob_settings' - Settings to configure your translation output, including the option to+-- set the formality level of the output text and the option to mask+-- profane words and phrases.+--+-- 'terminologyNames', 'startTextTranslationJob_terminologyNames' - The name of a custom terminology resource to add to the translation job.+-- This resource lists examples source terms and the desired translation+-- for each term.+--+-- This parameter accepts only one custom terminology resource.+--+-- If you specify multiple target languages for the job, translate uses the+-- designated terminology for each requested target language that has an+-- entry for the source term in the terminology file.+--+-- For a list of available custom terminology resources, use the+-- ListTerminologies operation.+--+-- For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html Custom terminology>.+--+-- 'inputDataConfig', 'startTextTranslationJob_inputDataConfig' - Specifies the format and location of the input documents for the+-- translation job.+--+-- 'outputDataConfig', 'startTextTranslationJob_outputDataConfig' - Specifies the S3 folder to which your job output will be saved.+--+-- 'dataAccessRoleArn', 'startTextTranslationJob_dataAccessRoleArn' - 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 information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/identity-and-access-management.html Identity and access management>+-- .+--+-- 'sourceLanguageCode', 'startTextTranslationJob_sourceLanguageCode' - The language code of the input language. Specify the language if all+-- input documents share the same language. If you don\'t know the language+-- of the source files, or your input documents contains different source+-- languages, select @auto@. Amazon Translate auto detects the source+-- language for each input document. For a list of supported language+-- codes, see+-- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+--+-- 'targetLanguageCodes', 'startTextTranslationJob_targetLanguageCodes' - The target languages of the translation job. Enter up to 10 language+-- codes. Each input file is translated into each target language.+--+-- Each language code is 2 or 5 characters long. For a list of language+-- codes, see+-- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+--+-- 'clientToken', 'startTextTranslationJob_clientToken' - A unique identifier for the request. This token is generated for you+-- when using the Amazon Translate SDK.+newStartTextTranslationJob ::+  -- | 'inputDataConfig'+  InputDataConfig ->+  -- | 'outputDataConfig'+  OutputDataConfig ->+  -- | 'dataAccessRoleArn'+  Prelude.Text ->+  -- | 'sourceLanguageCode'+  Prelude.Text ->+  -- | 'targetLanguageCodes'+  Prelude.NonEmpty Prelude.Text ->+  -- | 'clientToken'+  Prelude.Text ->+  StartTextTranslationJob+newStartTextTranslationJob+  pInputDataConfig_+  pOutputDataConfig_+  pDataAccessRoleArn_+  pSourceLanguageCode_+  pTargetLanguageCodes_+  pClientToken_ =+    StartTextTranslationJob'+      { jobName = Prelude.Nothing,+        parallelDataNames = Prelude.Nothing,+        settings = Prelude.Nothing,+        terminologyNames = Prelude.Nothing,+        inputDataConfig = pInputDataConfig_,+        outputDataConfig = pOutputDataConfig_,+        dataAccessRoleArn = pDataAccessRoleArn_,+        sourceLanguageCode = pSourceLanguageCode_,+        targetLanguageCodes =+          Lens.coerced Lens.# pTargetLanguageCodes_,+        clientToken = pClientToken_+      }++-- | The name of the batch translation job to be performed.+startTextTranslationJob_jobName :: Lens.Lens' StartTextTranslationJob (Prelude.Maybe Prelude.Text)+startTextTranslationJob_jobName = Lens.lens (\StartTextTranslationJob' {jobName} -> jobName) (\s@StartTextTranslationJob' {} a -> s {jobName = a} :: StartTextTranslationJob)++-- | The name of a parallel data resource to add to the translation job. This+-- resource consists of examples that show how you want segments of text to+-- be translated. If you specify multiple target languages for the job, the+-- parallel data file must include translations for all the target+-- languages.+--+-- When you add parallel data to a translation job, you create an /Active+-- Custom Translation/ job.+--+-- This parameter accepts only one parallel data resource.+--+-- Active Custom Translation jobs are priced at a higher rate than other+-- jobs that don\'t use parallel data. For more information, see+-- <http://aws.amazon.com/translate/pricing/ Amazon Translate pricing>.+--+-- For a list of available parallel data resources, use the+-- ListParallelData operation.+--+-- For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-parallel-data.html Customizing your translations with parallel data>.+startTextTranslationJob_parallelDataNames :: Lens.Lens' StartTextTranslationJob (Prelude.Maybe [Prelude.Text])+startTextTranslationJob_parallelDataNames = Lens.lens (\StartTextTranslationJob' {parallelDataNames} -> parallelDataNames) (\s@StartTextTranslationJob' {} a -> s {parallelDataNames = a} :: StartTextTranslationJob) Prelude.. Lens.mapping Lens.coerced++-- | Settings to configure your translation output, including the option to+-- set the formality level of the output text and the option to mask+-- profane words and phrases.+startTextTranslationJob_settings :: Lens.Lens' StartTextTranslationJob (Prelude.Maybe TranslationSettings)+startTextTranslationJob_settings = Lens.lens (\StartTextTranslationJob' {settings} -> settings) (\s@StartTextTranslationJob' {} a -> s {settings = a} :: StartTextTranslationJob)++-- | The name of a custom terminology resource to add to the translation job.+-- This resource lists examples source terms and the desired translation+-- for each term.+--+-- This parameter accepts only one custom terminology resource.+--+-- If you specify multiple target languages for the job, translate uses the+-- designated terminology for each requested target language that has an+-- entry for the source term in the terminology file.+--+-- For a list of available custom terminology resources, use the+-- ListTerminologies operation.+--+-- For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html Custom terminology>.+startTextTranslationJob_terminologyNames :: Lens.Lens' StartTextTranslationJob (Prelude.Maybe [Prelude.Text])+startTextTranslationJob_terminologyNames = Lens.lens (\StartTextTranslationJob' {terminologyNames} -> terminologyNames) (\s@StartTextTranslationJob' {} a -> s {terminologyNames = a} :: StartTextTranslationJob) Prelude.. Lens.mapping Lens.coerced++-- | Specifies the format and location of the input documents for the+-- translation job.+startTextTranslationJob_inputDataConfig :: Lens.Lens' StartTextTranslationJob InputDataConfig+startTextTranslationJob_inputDataConfig = Lens.lens (\StartTextTranslationJob' {inputDataConfig} -> inputDataConfig) (\s@StartTextTranslationJob' {} a -> s {inputDataConfig = a} :: StartTextTranslationJob)++-- | Specifies the S3 folder to which your job output will be saved.+startTextTranslationJob_outputDataConfig :: Lens.Lens' StartTextTranslationJob OutputDataConfig+startTextTranslationJob_outputDataConfig = Lens.lens (\StartTextTranslationJob' {outputDataConfig} -> outputDataConfig) (\s@StartTextTranslationJob' {} a -> s {outputDataConfig = a} :: StartTextTranslationJob)++-- | 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 information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/identity-and-access-management.html Identity and access management>+-- .+startTextTranslationJob_dataAccessRoleArn :: Lens.Lens' StartTextTranslationJob Prelude.Text+startTextTranslationJob_dataAccessRoleArn = Lens.lens (\StartTextTranslationJob' {dataAccessRoleArn} -> dataAccessRoleArn) (\s@StartTextTranslationJob' {} a -> s {dataAccessRoleArn = a} :: StartTextTranslationJob)++-- | The language code of the input language. Specify the language if all+-- input documents share the same language. If you don\'t know the language+-- of the source files, or your input documents contains different source+-- languages, select @auto@. Amazon Translate auto detects the source+-- language for each input document. For a list of supported language+-- codes, see+-- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+startTextTranslationJob_sourceLanguageCode :: Lens.Lens' StartTextTranslationJob Prelude.Text+startTextTranslationJob_sourceLanguageCode = Lens.lens (\StartTextTranslationJob' {sourceLanguageCode} -> sourceLanguageCode) (\s@StartTextTranslationJob' {} a -> s {sourceLanguageCode = a} :: StartTextTranslationJob)++-- | The target languages of the translation job. Enter up to 10 language+-- codes. Each input file is translated into each target language.+--+-- Each language code is 2 or 5 characters long. For a list of language+-- codes, see+-- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+startTextTranslationJob_targetLanguageCodes :: Lens.Lens' StartTextTranslationJob (Prelude.NonEmpty Prelude.Text)+startTextTranslationJob_targetLanguageCodes = Lens.lens (\StartTextTranslationJob' {targetLanguageCodes} -> targetLanguageCodes) (\s@StartTextTranslationJob' {} a -> s {targetLanguageCodes = a} :: StartTextTranslationJob) Prelude.. Lens.coerced++-- | A unique identifier for the request. This token is generated for you+-- when using the Amazon Translate SDK.+startTextTranslationJob_clientToken :: Lens.Lens' StartTextTranslationJob Prelude.Text+startTextTranslationJob_clientToken = Lens.lens (\StartTextTranslationJob' {clientToken} -> clientToken) (\s@StartTextTranslationJob' {} a -> s {clientToken = a} :: StartTextTranslationJob)++instance Core.AWSRequest StartTextTranslationJob where+  type+    AWSResponse StartTextTranslationJob =+      StartTextTranslationJobResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          StartTextTranslationJobResponse'+            Prelude.<$> (x Data..?> "JobId")+            Prelude.<*> (x Data..?> "JobStatus")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable StartTextTranslationJob where+  hashWithSalt _salt StartTextTranslationJob' {..} =+    _salt+      `Prelude.hashWithSalt` jobName+      `Prelude.hashWithSalt` parallelDataNames+      `Prelude.hashWithSalt` settings+      `Prelude.hashWithSalt` terminologyNames+      `Prelude.hashWithSalt` inputDataConfig+      `Prelude.hashWithSalt` outputDataConfig+      `Prelude.hashWithSalt` dataAccessRoleArn+      `Prelude.hashWithSalt` sourceLanguageCode+      `Prelude.hashWithSalt` targetLanguageCodes+      `Prelude.hashWithSalt` clientToken++instance Prelude.NFData StartTextTranslationJob where+  rnf StartTextTranslationJob' {..} =+    Prelude.rnf jobName+      `Prelude.seq` Prelude.rnf parallelDataNames+      `Prelude.seq` Prelude.rnf settings+      `Prelude.seq` Prelude.rnf terminologyNames+      `Prelude.seq` Prelude.rnf inputDataConfig+      `Prelude.seq` Prelude.rnf outputDataConfig+      `Prelude.seq` Prelude.rnf dataAccessRoleArn+      `Prelude.seq` Prelude.rnf sourceLanguageCode+      `Prelude.seq` Prelude.rnf targetLanguageCodes+      `Prelude.seq` Prelude.rnf clientToken++instance Data.ToHeaders StartTextTranslationJob where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.StartTextTranslationJob" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON StartTextTranslationJob where+  toJSON StartTextTranslationJob' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("JobName" Data..=) Prelude.<$> jobName,+            ("ParallelDataNames" Data..=)+              Prelude.<$> parallelDataNames,+            ("Settings" Data..=) Prelude.<$> settings,+            ("TerminologyNames" Data..=)+              Prelude.<$> terminologyNames,+            Prelude.Just+              ("InputDataConfig" Data..= inputDataConfig),+            Prelude.Just+              ("OutputDataConfig" Data..= outputDataConfig),+            Prelude.Just+              ("DataAccessRoleArn" Data..= dataAccessRoleArn),+            Prelude.Just+              ("SourceLanguageCode" Data..= sourceLanguageCode),+            Prelude.Just+              ("TargetLanguageCodes" Data..= targetLanguageCodes),+            Prelude.Just ("ClientToken" Data..= clientToken)+          ]+      )++instance Data.ToPath StartTextTranslationJob where+  toPath = Prelude.const "/"++instance Data.ToQuery StartTextTranslationJob where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStartTextTranslationJobResponse' smart constructor.+data StartTextTranslationJobResponse = StartTextTranslationJobResponse'+  { -- | The identifier generated for the job. To get the status of a job, use+    -- this ID with the DescribeTextTranslationJob operation.+    jobId :: Prelude.Maybe Prelude.Text,+    -- | The status of the job. Possible values include:+    --+    -- -   @SUBMITTED@ - The job has been received and is queued for+    --     processing.+    --+    -- -   @IN_PROGRESS@ - Amazon Translate is processing the job.+    --+    -- -   @COMPLETED@ - The job was successfully completed and the output is+    --     available.+    --+    -- -   @COMPLETED_WITH_ERROR@ - The job was completed with errors. The+    --     errors can be analyzed in the job\'s output.+    --+    -- -   @FAILED@ - The job did not complete. To get details, use the+    --     DescribeTextTranslationJob operation.+    --+    -- -   @STOP_REQUESTED@ - The user who started the job has requested that+    --     it be stopped.+    --+    -- -   @STOPPED@ - The job has been stopped.+    jobStatus :: Prelude.Maybe JobStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StartTextTranslationJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'startTextTranslationJobResponse_jobId' - The identifier generated for the job. To get the status of a job, use+-- this ID with the DescribeTextTranslationJob operation.+--+-- 'jobStatus', 'startTextTranslationJobResponse_jobStatus' - The status of the job. Possible values include:+--+-- -   @SUBMITTED@ - The job has been received and is queued for+--     processing.+--+-- -   @IN_PROGRESS@ - Amazon Translate is processing the job.+--+-- -   @COMPLETED@ - The job was successfully completed and the output is+--     available.+--+-- -   @COMPLETED_WITH_ERROR@ - The job was completed with errors. The+--     errors can be analyzed in the job\'s output.+--+-- -   @FAILED@ - The job did not complete. To get details, use the+--     DescribeTextTranslationJob operation.+--+-- -   @STOP_REQUESTED@ - The user who started the job has requested that+--     it be stopped.+--+-- -   @STOPPED@ - The job has been stopped.+--+-- 'httpStatus', 'startTextTranslationJobResponse_httpStatus' - The response's http status code.+newStartTextTranslationJobResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  StartTextTranslationJobResponse+newStartTextTranslationJobResponse pHttpStatus_ =+  StartTextTranslationJobResponse'+    { jobId =+        Prelude.Nothing,+      jobStatus = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The identifier generated for the job. To get the status of a job, use+-- this ID with the DescribeTextTranslationJob operation.+startTextTranslationJobResponse_jobId :: Lens.Lens' StartTextTranslationJobResponse (Prelude.Maybe Prelude.Text)+startTextTranslationJobResponse_jobId = Lens.lens (\StartTextTranslationJobResponse' {jobId} -> jobId) (\s@StartTextTranslationJobResponse' {} a -> s {jobId = a} :: StartTextTranslationJobResponse)++-- | The status of the job. Possible values include:+--+-- -   @SUBMITTED@ - The job has been received and is queued for+--     processing.+--+-- -   @IN_PROGRESS@ - Amazon Translate is processing the job.+--+-- -   @COMPLETED@ - The job was successfully completed and the output is+--     available.+--+-- -   @COMPLETED_WITH_ERROR@ - The job was completed with errors. The+--     errors can be analyzed in the job\'s output.+--+-- -   @FAILED@ - The job did not complete. To get details, use the+--     DescribeTextTranslationJob operation.+--+-- -   @STOP_REQUESTED@ - The user who started the job has requested that+--     it be stopped.+--+-- -   @STOPPED@ - The job has been stopped.+startTextTranslationJobResponse_jobStatus :: Lens.Lens' StartTextTranslationJobResponse (Prelude.Maybe JobStatus)+startTextTranslationJobResponse_jobStatus = Lens.lens (\StartTextTranslationJobResponse' {jobStatus} -> jobStatus) (\s@StartTextTranslationJobResponse' {} a -> s {jobStatus = a} :: StartTextTranslationJobResponse)++-- | The response's http status code.+startTextTranslationJobResponse_httpStatus :: Lens.Lens' StartTextTranslationJobResponse Prelude.Int+startTextTranslationJobResponse_httpStatus = Lens.lens (\StartTextTranslationJobResponse' {httpStatus} -> httpStatus) (\s@StartTextTranslationJobResponse' {} a -> s {httpStatus = a} :: StartTextTranslationJobResponse)++instance+  Prelude.NFData+    StartTextTranslationJobResponse+  where+  rnf StartTextTranslationJobResponse' {..} =+    Prelude.rnf jobId+      `Prelude.seq` Prelude.rnf jobStatus+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/StopTextTranslationJob.hs view
@@ -0,0 +1,196 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.StopTextTranslationJob+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Stops an asynchronous batch translation job that is in progress.+--+-- If the job\'s state is @IN_PROGRESS@, the job will be marked for+-- termination and put into the @STOP_REQUESTED@ state. If the job+-- completes before it can be stopped, it is put into the @COMPLETED@+-- state. Otherwise, the job is put into the @STOPPED@ state.+--+-- Asynchronous batch translation jobs are started with the+-- StartTextTranslationJob operation. You can use the+-- DescribeTextTranslationJob or ListTextTranslationJobs operations to get+-- a batch translation job\'s @JobId@.+module Amazonka.Translate.StopTextTranslationJob+  ( -- * Creating a Request+    StopTextTranslationJob (..),+    newStopTextTranslationJob,++    -- * Request Lenses+    stopTextTranslationJob_jobId,++    -- * Destructuring the Response+    StopTextTranslationJobResponse (..),+    newStopTextTranslationJobResponse,++    -- * Response Lenses+    stopTextTranslationJobResponse_jobId,+    stopTextTranslationJobResponse_jobStatus,+    stopTextTranslationJobResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newStopTextTranslationJob' smart constructor.+data StopTextTranslationJob = StopTextTranslationJob'+  { -- | The job ID of the job to be stopped.+    jobId :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopTextTranslationJob' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'stopTextTranslationJob_jobId' - The job ID of the job to be stopped.+newStopTextTranslationJob ::+  -- | 'jobId'+  Prelude.Text ->+  StopTextTranslationJob+newStopTextTranslationJob pJobId_ =+  StopTextTranslationJob' {jobId = pJobId_}++-- | The job ID of the job to be stopped.+stopTextTranslationJob_jobId :: Lens.Lens' StopTextTranslationJob Prelude.Text+stopTextTranslationJob_jobId = Lens.lens (\StopTextTranslationJob' {jobId} -> jobId) (\s@StopTextTranslationJob' {} a -> s {jobId = a} :: StopTextTranslationJob)++instance Core.AWSRequest StopTextTranslationJob where+  type+    AWSResponse StopTextTranslationJob =+      StopTextTranslationJobResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          StopTextTranslationJobResponse'+            Prelude.<$> (x Data..?> "JobId")+            Prelude.<*> (x Data..?> "JobStatus")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable StopTextTranslationJob where+  hashWithSalt _salt StopTextTranslationJob' {..} =+    _salt `Prelude.hashWithSalt` jobId++instance Prelude.NFData StopTextTranslationJob where+  rnf StopTextTranslationJob' {..} = Prelude.rnf jobId++instance Data.ToHeaders StopTextTranslationJob where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.StopTextTranslationJob" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON StopTextTranslationJob where+  toJSON StopTextTranslationJob' {..} =+    Data.object+      ( Prelude.catMaybes+          [Prelude.Just ("JobId" Data..= jobId)]+      )++instance Data.ToPath StopTextTranslationJob where+  toPath = Prelude.const "/"++instance Data.ToQuery StopTextTranslationJob where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newStopTextTranslationJobResponse' smart constructor.+data StopTextTranslationJobResponse = StopTextTranslationJobResponse'+  { -- | The job ID of the stopped batch translation job.+    jobId :: Prelude.Maybe Prelude.Text,+    -- | The status of the designated job. Upon successful completion, the job\'s+    -- status will be @STOPPED@.+    jobStatus :: Prelude.Maybe JobStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'StopTextTranslationJobResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobId', 'stopTextTranslationJobResponse_jobId' - The job ID of the stopped batch translation job.+--+-- 'jobStatus', 'stopTextTranslationJobResponse_jobStatus' - The status of the designated job. Upon successful completion, the job\'s+-- status will be @STOPPED@.+--+-- 'httpStatus', 'stopTextTranslationJobResponse_httpStatus' - The response's http status code.+newStopTextTranslationJobResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  StopTextTranslationJobResponse+newStopTextTranslationJobResponse pHttpStatus_ =+  StopTextTranslationJobResponse'+    { jobId =+        Prelude.Nothing,+      jobStatus = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The job ID of the stopped batch translation job.+stopTextTranslationJobResponse_jobId :: Lens.Lens' StopTextTranslationJobResponse (Prelude.Maybe Prelude.Text)+stopTextTranslationJobResponse_jobId = Lens.lens (\StopTextTranslationJobResponse' {jobId} -> jobId) (\s@StopTextTranslationJobResponse' {} a -> s {jobId = a} :: StopTextTranslationJobResponse)++-- | The status of the designated job. Upon successful completion, the job\'s+-- status will be @STOPPED@.+stopTextTranslationJobResponse_jobStatus :: Lens.Lens' StopTextTranslationJobResponse (Prelude.Maybe JobStatus)+stopTextTranslationJobResponse_jobStatus = Lens.lens (\StopTextTranslationJobResponse' {jobStatus} -> jobStatus) (\s@StopTextTranslationJobResponse' {} a -> s {jobStatus = a} :: StopTextTranslationJobResponse)++-- | The response's http status code.+stopTextTranslationJobResponse_httpStatus :: Lens.Lens' StopTextTranslationJobResponse Prelude.Int+stopTextTranslationJobResponse_httpStatus = Lens.lens (\StopTextTranslationJobResponse' {httpStatus} -> httpStatus) (\s@StopTextTranslationJobResponse' {} a -> s {httpStatus = a} :: StopTextTranslationJobResponse)++instance+  Prelude.NFData+    StopTextTranslationJobResponse+  where+  rnf StopTextTranslationJobResponse' {..} =+    Prelude.rnf jobId+      `Prelude.seq` Prelude.rnf jobStatus+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/TagResource.hs view
@@ -0,0 +1,179 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.TagResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Associates a specific tag with a resource. A tag is a key-value pair+-- that adds as a metadata to a resource. For more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+module Amazonka.Translate.TagResource+  ( -- * Creating a Request+    TagResource (..),+    newTagResource,++    -- * Request Lenses+    tagResource_resourceArn,+    tagResource_tags,++    -- * Destructuring the Response+    TagResourceResponse (..),+    newTagResourceResponse,++    -- * Response Lenses+    tagResourceResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newTagResource' smart constructor.+data TagResource = TagResource'+  { -- | The Amazon Resource Name (ARN) of the given Amazon Translate resource to+    -- which you want to associate the tags.+    resourceArn :: Prelude.Text,+    -- | Tags being associated with a specific Amazon Translate resource. There+    -- can be a maximum of 50 tags (both existing and pending) associated with+    -- a specific resource.+    tags :: [Tag]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'tagResource_resourceArn' - The Amazon Resource Name (ARN) of the given Amazon Translate resource to+-- which you want to associate the tags.+--+-- 'tags', 'tagResource_tags' - Tags being associated with a specific Amazon Translate resource. There+-- can be a maximum of 50 tags (both existing and pending) associated with+-- a specific resource.+newTagResource ::+  -- | 'resourceArn'+  Prelude.Text ->+  TagResource+newTagResource pResourceArn_ =+  TagResource'+    { resourceArn = pResourceArn_,+      tags = Prelude.mempty+    }++-- | The Amazon Resource Name (ARN) of the given Amazon Translate resource to+-- which you want to associate the tags.+tagResource_resourceArn :: Lens.Lens' TagResource Prelude.Text+tagResource_resourceArn = Lens.lens (\TagResource' {resourceArn} -> resourceArn) (\s@TagResource' {} a -> s {resourceArn = a} :: TagResource)++-- | Tags being associated with a specific Amazon Translate resource. There+-- can be a maximum of 50 tags (both existing and pending) associated with+-- a specific resource.+tagResource_tags :: Lens.Lens' TagResource [Tag]+tagResource_tags = Lens.lens (\TagResource' {tags} -> tags) (\s@TagResource' {} a -> s {tags = a} :: TagResource) Prelude.. Lens.coerced++instance Core.AWSRequest TagResource where+  type AWSResponse TagResource = TagResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          TagResourceResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable TagResource where+  hashWithSalt _salt TagResource' {..} =+    _salt+      `Prelude.hashWithSalt` resourceArn+      `Prelude.hashWithSalt` tags++instance Prelude.NFData TagResource where+  rnf TagResource' {..} =+    Prelude.rnf resourceArn+      `Prelude.seq` Prelude.rnf tags++instance Data.ToHeaders TagResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.TagResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON TagResource where+  toJSON TagResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("ResourceArn" Data..= resourceArn),+            Prelude.Just ("Tags" Data..= tags)+          ]+      )++instance Data.ToPath TagResource where+  toPath = Prelude.const "/"++instance Data.ToQuery TagResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTagResourceResponse' smart constructor.+data TagResourceResponse = TagResourceResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'tagResourceResponse_httpStatus' - The response's http status code.+newTagResourceResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  TagResourceResponse+newTagResourceResponse pHttpStatus_ =+  TagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+tagResourceResponse_httpStatus :: Lens.Lens' TagResourceResponse Prelude.Int+tagResourceResponse_httpStatus = Lens.lens (\TagResourceResponse' {httpStatus} -> httpStatus) (\s@TagResourceResponse' {} a -> s {httpStatus = a} :: TagResourceResponse)++instance Prelude.NFData TagResourceResponse where+  rnf TagResourceResponse' {..} = Prelude.rnf httpStatus
+ gen/Amazonka/Translate/TranslateText.hs view
@@ -0,0 +1,361 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.TranslateText+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Translates input text from the source language to the target language.+-- For a list of available languages and language codes, see+-- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+module Amazonka.Translate.TranslateText+  ( -- * Creating a Request+    TranslateText (..),+    newTranslateText,++    -- * Request Lenses+    translateText_settings,+    translateText_terminologyNames,+    translateText_text,+    translateText_sourceLanguageCode,+    translateText_targetLanguageCode,++    -- * Destructuring the Response+    TranslateTextResponse (..),+    newTranslateTextResponse,++    -- * Response Lenses+    translateTextResponse_appliedSettings,+    translateTextResponse_appliedTerminologies,+    translateTextResponse_httpStatus,+    translateTextResponse_translatedText,+    translateTextResponse_sourceLanguageCode,+    translateTextResponse_targetLanguageCode,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newTranslateText' smart constructor.+data TranslateText = TranslateText'+  { -- | Settings to configure your translation output, including the option to+    -- set the formality level of the output text and the option to mask+    -- profane words and phrases.+    settings :: Prelude.Maybe TranslationSettings,+    -- | The name of the terminology list file to be used in the TranslateText+    -- request. You can use 1 terminology list at most in a @TranslateText@+    -- request. Terminology lists can contain a maximum of 256 terms.+    terminologyNames :: Prelude.Maybe [Prelude.Text],+    -- | The text to translate. The text string can be a maximum of 10,000 bytes+    -- long. Depending on your character set, this may be fewer than 10,000+    -- characters.+    text :: Prelude.Text,+    -- | The language code for the language of the source text. The language must+    -- be a language supported by Amazon Translate. For a list of language+    -- codes, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+    --+    -- To have Amazon Translate determine the source language of your text, you+    -- can specify @auto@ in the @SourceLanguageCode@ field. If you specify+    -- @auto@, Amazon Translate will call+    -- <https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html Amazon Comprehend>+    -- to determine the source language.+    --+    -- If you specify @auto@, you must send the @TranslateText@ request in a+    -- region that supports Amazon Comprehend. Otherwise, the request returns+    -- an error indicating that autodetect is not supported.+    sourceLanguageCode :: Prelude.Text,+    -- | The language code requested for the language of the target text. The+    -- language must be a language supported by Amazon Translate.+    targetLanguageCode :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TranslateText' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'settings', 'translateText_settings' - Settings to configure your translation output, including the option to+-- set the formality level of the output text and the option to mask+-- profane words and phrases.+--+-- 'terminologyNames', 'translateText_terminologyNames' - The name of the terminology list file to be used in the TranslateText+-- request. You can use 1 terminology list at most in a @TranslateText@+-- request. Terminology lists can contain a maximum of 256 terms.+--+-- 'text', 'translateText_text' - The text to translate. The text string can be a maximum of 10,000 bytes+-- long. Depending on your character set, this may be fewer than 10,000+-- characters.+--+-- 'sourceLanguageCode', 'translateText_sourceLanguageCode' - The language code for the language of the source text. The language must+-- be a language supported by Amazon Translate. For a list of language+-- codes, see+-- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+--+-- To have Amazon Translate determine the source language of your text, you+-- can specify @auto@ in the @SourceLanguageCode@ field. If you specify+-- @auto@, Amazon Translate will call+-- <https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html Amazon Comprehend>+-- to determine the source language.+--+-- If you specify @auto@, you must send the @TranslateText@ request in a+-- region that supports Amazon Comprehend. Otherwise, the request returns+-- an error indicating that autodetect is not supported.+--+-- 'targetLanguageCode', 'translateText_targetLanguageCode' - The language code requested for the language of the target text. The+-- language must be a language supported by Amazon Translate.+newTranslateText ::+  -- | 'text'+  Prelude.Text ->+  -- | 'sourceLanguageCode'+  Prelude.Text ->+  -- | 'targetLanguageCode'+  Prelude.Text ->+  TranslateText+newTranslateText+  pText_+  pSourceLanguageCode_+  pTargetLanguageCode_ =+    TranslateText'+      { settings = Prelude.Nothing,+        terminologyNames = Prelude.Nothing,+        text = pText_,+        sourceLanguageCode = pSourceLanguageCode_,+        targetLanguageCode = pTargetLanguageCode_+      }++-- | Settings to configure your translation output, including the option to+-- set the formality level of the output text and the option to mask+-- profane words and phrases.+translateText_settings :: Lens.Lens' TranslateText (Prelude.Maybe TranslationSettings)+translateText_settings = Lens.lens (\TranslateText' {settings} -> settings) (\s@TranslateText' {} a -> s {settings = a} :: TranslateText)++-- | The name of the terminology list file to be used in the TranslateText+-- request. You can use 1 terminology list at most in a @TranslateText@+-- request. Terminology lists can contain a maximum of 256 terms.+translateText_terminologyNames :: Lens.Lens' TranslateText (Prelude.Maybe [Prelude.Text])+translateText_terminologyNames = Lens.lens (\TranslateText' {terminologyNames} -> terminologyNames) (\s@TranslateText' {} a -> s {terminologyNames = a} :: TranslateText) Prelude.. Lens.mapping Lens.coerced++-- | The text to translate. The text string can be a maximum of 10,000 bytes+-- long. Depending on your character set, this may be fewer than 10,000+-- characters.+translateText_text :: Lens.Lens' TranslateText Prelude.Text+translateText_text = Lens.lens (\TranslateText' {text} -> text) (\s@TranslateText' {} a -> s {text = a} :: TranslateText)++-- | The language code for the language of the source text. The language must+-- be a language supported by Amazon Translate. For a list of language+-- codes, see+-- <https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html Supported languages>.+--+-- To have Amazon Translate determine the source language of your text, you+-- can specify @auto@ in the @SourceLanguageCode@ field. If you specify+-- @auto@, Amazon Translate will call+-- <https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html Amazon Comprehend>+-- to determine the source language.+--+-- If you specify @auto@, you must send the @TranslateText@ request in a+-- region that supports Amazon Comprehend. Otherwise, the request returns+-- an error indicating that autodetect is not supported.+translateText_sourceLanguageCode :: Lens.Lens' TranslateText Prelude.Text+translateText_sourceLanguageCode = Lens.lens (\TranslateText' {sourceLanguageCode} -> sourceLanguageCode) (\s@TranslateText' {} a -> s {sourceLanguageCode = a} :: TranslateText)++-- | The language code requested for the language of the target text. The+-- language must be a language supported by Amazon Translate.+translateText_targetLanguageCode :: Lens.Lens' TranslateText Prelude.Text+translateText_targetLanguageCode = Lens.lens (\TranslateText' {targetLanguageCode} -> targetLanguageCode) (\s@TranslateText' {} a -> s {targetLanguageCode = a} :: TranslateText)++instance Core.AWSRequest TranslateText where+  type+    AWSResponse TranslateText =+      TranslateTextResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          TranslateTextResponse'+            Prelude.<$> (x Data..?> "AppliedSettings")+            Prelude.<*> ( x+                            Data..?> "AppliedTerminologies"+                            Core..!@ Prelude.mempty+                        )+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+            Prelude.<*> (x Data..:> "TranslatedText")+            Prelude.<*> (x Data..:> "SourceLanguageCode")+            Prelude.<*> (x Data..:> "TargetLanguageCode")+      )++instance Prelude.Hashable TranslateText where+  hashWithSalt _salt TranslateText' {..} =+    _salt+      `Prelude.hashWithSalt` settings+      `Prelude.hashWithSalt` terminologyNames+      `Prelude.hashWithSalt` text+      `Prelude.hashWithSalt` sourceLanguageCode+      `Prelude.hashWithSalt` targetLanguageCode++instance Prelude.NFData TranslateText where+  rnf TranslateText' {..} =+    Prelude.rnf settings+      `Prelude.seq` Prelude.rnf terminologyNames+      `Prelude.seq` Prelude.rnf text+      `Prelude.seq` Prelude.rnf sourceLanguageCode+      `Prelude.seq` Prelude.rnf targetLanguageCode++instance Data.ToHeaders TranslateText where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.TranslateText" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON TranslateText where+  toJSON TranslateText' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Settings" Data..=) Prelude.<$> settings,+            ("TerminologyNames" Data..=)+              Prelude.<$> terminologyNames,+            Prelude.Just ("Text" Data..= text),+            Prelude.Just+              ("SourceLanguageCode" Data..= sourceLanguageCode),+            Prelude.Just+              ("TargetLanguageCode" Data..= targetLanguageCode)+          ]+      )++instance Data.ToPath TranslateText where+  toPath = Prelude.const "/"++instance Data.ToQuery TranslateText where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newTranslateTextResponse' smart constructor.+data TranslateTextResponse = TranslateTextResponse'+  { -- | Settings that configure the translation output.+    appliedSettings :: Prelude.Maybe TranslationSettings,+    -- | The names of the custom terminologies applied to the input text by+    -- Amazon Translate for the translated text response.+    appliedTerminologies :: Prelude.Maybe [AppliedTerminology],+    -- | The response's http status code.+    httpStatus :: Prelude.Int,+    -- | The translated text.+    translatedText :: Prelude.Text,+    -- | The language code for the language of the source text.+    sourceLanguageCode :: Prelude.Text,+    -- | The language code for the language of the target text.+    targetLanguageCode :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TranslateTextResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'appliedSettings', 'translateTextResponse_appliedSettings' - Settings that configure the translation output.+--+-- 'appliedTerminologies', 'translateTextResponse_appliedTerminologies' - The names of the custom terminologies applied to the input text by+-- Amazon Translate for the translated text response.+--+-- 'httpStatus', 'translateTextResponse_httpStatus' - The response's http status code.+--+-- 'translatedText', 'translateTextResponse_translatedText' - The translated text.+--+-- 'sourceLanguageCode', 'translateTextResponse_sourceLanguageCode' - The language code for the language of the source text.+--+-- 'targetLanguageCode', 'translateTextResponse_targetLanguageCode' - The language code for the language of the target text.+newTranslateTextResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  -- | 'translatedText'+  Prelude.Text ->+  -- | 'sourceLanguageCode'+  Prelude.Text ->+  -- | 'targetLanguageCode'+  Prelude.Text ->+  TranslateTextResponse+newTranslateTextResponse+  pHttpStatus_+  pTranslatedText_+  pSourceLanguageCode_+  pTargetLanguageCode_ =+    TranslateTextResponse'+      { appliedSettings =+          Prelude.Nothing,+        appliedTerminologies = Prelude.Nothing,+        httpStatus = pHttpStatus_,+        translatedText = pTranslatedText_,+        sourceLanguageCode = pSourceLanguageCode_,+        targetLanguageCode = pTargetLanguageCode_+      }++-- | Settings that configure the translation output.+translateTextResponse_appliedSettings :: Lens.Lens' TranslateTextResponse (Prelude.Maybe TranslationSettings)+translateTextResponse_appliedSettings = Lens.lens (\TranslateTextResponse' {appliedSettings} -> appliedSettings) (\s@TranslateTextResponse' {} a -> s {appliedSettings = a} :: TranslateTextResponse)++-- | The names of the custom terminologies applied to the input text by+-- Amazon Translate for the translated text response.+translateTextResponse_appliedTerminologies :: Lens.Lens' TranslateTextResponse (Prelude.Maybe [AppliedTerminology])+translateTextResponse_appliedTerminologies = Lens.lens (\TranslateTextResponse' {appliedTerminologies} -> appliedTerminologies) (\s@TranslateTextResponse' {} a -> s {appliedTerminologies = a} :: TranslateTextResponse) Prelude.. Lens.mapping Lens.coerced++-- | The response's http status code.+translateTextResponse_httpStatus :: Lens.Lens' TranslateTextResponse Prelude.Int+translateTextResponse_httpStatus = Lens.lens (\TranslateTextResponse' {httpStatus} -> httpStatus) (\s@TranslateTextResponse' {} a -> s {httpStatus = a} :: TranslateTextResponse)++-- | The translated text.+translateTextResponse_translatedText :: Lens.Lens' TranslateTextResponse Prelude.Text+translateTextResponse_translatedText = Lens.lens (\TranslateTextResponse' {translatedText} -> translatedText) (\s@TranslateTextResponse' {} a -> s {translatedText = a} :: TranslateTextResponse)++-- | The language code for the language of the source text.+translateTextResponse_sourceLanguageCode :: Lens.Lens' TranslateTextResponse Prelude.Text+translateTextResponse_sourceLanguageCode = Lens.lens (\TranslateTextResponse' {sourceLanguageCode} -> sourceLanguageCode) (\s@TranslateTextResponse' {} a -> s {sourceLanguageCode = a} :: TranslateTextResponse)++-- | The language code for the language of the target text.+translateTextResponse_targetLanguageCode :: Lens.Lens' TranslateTextResponse Prelude.Text+translateTextResponse_targetLanguageCode = Lens.lens (\TranslateTextResponse' {targetLanguageCode} -> targetLanguageCode) (\s@TranslateTextResponse' {} a -> s {targetLanguageCode = a} :: TranslateTextResponse)++instance Prelude.NFData TranslateTextResponse where+  rnf TranslateTextResponse' {..} =+    Prelude.rnf appliedSettings+      `Prelude.seq` Prelude.rnf appliedTerminologies+      `Prelude.seq` Prelude.rnf httpStatus+      `Prelude.seq` Prelude.rnf translatedText+      `Prelude.seq` Prelude.rnf sourceLanguageCode+      `Prelude.seq` Prelude.rnf targetLanguageCode
+ gen/Amazonka/Translate/Types.hs view
@@ -0,0 +1,438 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types+  ( -- * Service Configuration+    defaultService,++    -- * Errors+    _ConcurrentModificationException,+    _ConflictException,+    _DetectedLanguageLowConfidenceException,+    _InternalServerException,+    _InvalidFilterException,+    _InvalidParameterValueException,+    _InvalidRequestException,+    _LimitExceededException,+    _ResourceNotFoundException,+    _ServiceUnavailableException,+    _TextSizeLimitExceededException,+    _TooManyRequestsException,+    _TooManyTagsException,+    _UnsupportedDisplayLanguageCodeException,+    _UnsupportedLanguagePairException,++    -- * Directionality+    Directionality (..),++    -- * DisplayLanguageCode+    DisplayLanguageCode (..),++    -- * EncryptionKeyType+    EncryptionKeyType (..),++    -- * Formality+    Formality (..),++    -- * JobStatus+    JobStatus (..),++    -- * MergeStrategy+    MergeStrategy (..),++    -- * ParallelDataFormat+    ParallelDataFormat (..),++    -- * ParallelDataStatus+    ParallelDataStatus (..),++    -- * Profanity+    Profanity (..),++    -- * TerminologyDataFormat+    TerminologyDataFormat (..),++    -- * AppliedTerminology+    AppliedTerminology (..),+    newAppliedTerminology,+    appliedTerminology_name,+    appliedTerminology_terms,++    -- * EncryptionKey+    EncryptionKey (..),+    newEncryptionKey,+    encryptionKey_type,+    encryptionKey_id,++    -- * InputDataConfig+    InputDataConfig (..),+    newInputDataConfig,+    inputDataConfig_s3Uri,+    inputDataConfig_contentType,++    -- * JobDetails+    JobDetails (..),+    newJobDetails,+    jobDetails_documentsWithErrorsCount,+    jobDetails_inputDocumentsCount,+    jobDetails_translatedDocumentsCount,++    -- * Language+    Language (..),+    newLanguage,+    language_languageName,+    language_languageCode,++    -- * OutputDataConfig+    OutputDataConfig (..),+    newOutputDataConfig,+    outputDataConfig_encryptionKey,+    outputDataConfig_s3Uri,++    -- * ParallelDataConfig+    ParallelDataConfig (..),+    newParallelDataConfig,+    parallelDataConfig_s3Uri,+    parallelDataConfig_format,++    -- * ParallelDataDataLocation+    ParallelDataDataLocation (..),+    newParallelDataDataLocation,+    parallelDataDataLocation_repositoryType,+    parallelDataDataLocation_location,++    -- * ParallelDataProperties+    ParallelDataProperties (..),+    newParallelDataProperties,+    parallelDataProperties_arn,+    parallelDataProperties_createdAt,+    parallelDataProperties_description,+    parallelDataProperties_encryptionKey,+    parallelDataProperties_failedRecordCount,+    parallelDataProperties_importedDataSize,+    parallelDataProperties_importedRecordCount,+    parallelDataProperties_lastUpdatedAt,+    parallelDataProperties_latestUpdateAttemptAt,+    parallelDataProperties_latestUpdateAttemptStatus,+    parallelDataProperties_message,+    parallelDataProperties_name,+    parallelDataProperties_parallelDataConfig,+    parallelDataProperties_skippedRecordCount,+    parallelDataProperties_sourceLanguageCode,+    parallelDataProperties_status,+    parallelDataProperties_targetLanguageCodes,++    -- * Tag+    Tag (..),+    newTag,+    tag_key,+    tag_value,++    -- * Term+    Term (..),+    newTerm,+    term_sourceText,+    term_targetText,++    -- * TerminologyData+    TerminologyData (..),+    newTerminologyData,+    terminologyData_directionality,+    terminologyData_file,+    terminologyData_format,++    -- * TerminologyDataLocation+    TerminologyDataLocation (..),+    newTerminologyDataLocation,+    terminologyDataLocation_repositoryType,+    terminologyDataLocation_location,++    -- * TerminologyProperties+    TerminologyProperties (..),+    newTerminologyProperties,+    terminologyProperties_arn,+    terminologyProperties_createdAt,+    terminologyProperties_description,+    terminologyProperties_directionality,+    terminologyProperties_encryptionKey,+    terminologyProperties_format,+    terminologyProperties_lastUpdatedAt,+    terminologyProperties_message,+    terminologyProperties_name,+    terminologyProperties_sizeBytes,+    terminologyProperties_skippedTermCount,+    terminologyProperties_sourceLanguageCode,+    terminologyProperties_targetLanguageCodes,+    terminologyProperties_termCount,++    -- * TextTranslationJobFilter+    TextTranslationJobFilter (..),+    newTextTranslationJobFilter,+    textTranslationJobFilter_jobName,+    textTranslationJobFilter_jobStatus,+    textTranslationJobFilter_submittedAfterTime,+    textTranslationJobFilter_submittedBeforeTime,++    -- * TextTranslationJobProperties+    TextTranslationJobProperties (..),+    newTextTranslationJobProperties,+    textTranslationJobProperties_dataAccessRoleArn,+    textTranslationJobProperties_endTime,+    textTranslationJobProperties_inputDataConfig,+    textTranslationJobProperties_jobDetails,+    textTranslationJobProperties_jobId,+    textTranslationJobProperties_jobName,+    textTranslationJobProperties_jobStatus,+    textTranslationJobProperties_message,+    textTranslationJobProperties_outputDataConfig,+    textTranslationJobProperties_parallelDataNames,+    textTranslationJobProperties_settings,+    textTranslationJobProperties_sourceLanguageCode,+    textTranslationJobProperties_submittedTime,+    textTranslationJobProperties_targetLanguageCodes,+    textTranslationJobProperties_terminologyNames,++    -- * TranslationSettings+    TranslationSettings (..),+    newTranslationSettings,+    translationSettings_formality,+    translationSettings_profanity,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Sign.V4 as Sign+import Amazonka.Translate.Types.AppliedTerminology+import Amazonka.Translate.Types.Directionality+import Amazonka.Translate.Types.DisplayLanguageCode+import Amazonka.Translate.Types.EncryptionKey+import Amazonka.Translate.Types.EncryptionKeyType+import Amazonka.Translate.Types.Formality+import Amazonka.Translate.Types.InputDataConfig+import Amazonka.Translate.Types.JobDetails+import Amazonka.Translate.Types.JobStatus+import Amazonka.Translate.Types.Language+import Amazonka.Translate.Types.MergeStrategy+import Amazonka.Translate.Types.OutputDataConfig+import Amazonka.Translate.Types.ParallelDataConfig+import Amazonka.Translate.Types.ParallelDataDataLocation+import Amazonka.Translate.Types.ParallelDataFormat+import Amazonka.Translate.Types.ParallelDataProperties+import Amazonka.Translate.Types.ParallelDataStatus+import Amazonka.Translate.Types.Profanity+import Amazonka.Translate.Types.Tag+import Amazonka.Translate.Types.Term+import Amazonka.Translate.Types.TerminologyData+import Amazonka.Translate.Types.TerminologyDataFormat+import Amazonka.Translate.Types.TerminologyDataLocation+import Amazonka.Translate.Types.TerminologyProperties+import Amazonka.Translate.Types.TextTranslationJobFilter+import Amazonka.Translate.Types.TextTranslationJobProperties+import Amazonka.Translate.Types.TranslationSettings++-- | API version @2017-07-01@ of the Amazon Translate SDK configuration.+defaultService :: Core.Service+defaultService =+  Core.Service+    { Core.abbrev = "Translate",+      Core.signer = Sign.v4,+      Core.endpointPrefix = "translate",+      Core.signingName = "translate",+      Core.version = "2017-07-01",+      Core.s3AddressingStyle = Core.S3AddressingStyleAuto,+      Core.endpoint = Core.defaultEndpoint defaultService,+      Core.timeout = Prelude.Just 70,+      Core.check = Core.statusSuccess,+      Core.error = Core.parseJSONError "Translate",+      Core.retry = retry+    }+  where+    retry =+      Core.Exponential+        { Core.base = 5.0e-2,+          Core.growth = 2,+          Core.attempts = 5,+          Core.check = check+        }+    check e+      | Lens.has (Core.hasStatus 502) e =+          Prelude.Just "bad_gateway"+      | Lens.has (Core.hasStatus 504) e =+          Prelude.Just "gateway_timeout"+      | Lens.has (Core.hasStatus 500) e =+          Prelude.Just "general_server_error"+      | Lens.has (Core.hasStatus 509) e =+          Prelude.Just "limit_exceeded"+      | Lens.has+          ( Core.hasCode "RequestThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "request_throttled_exception"+      | Lens.has (Core.hasStatus 503) e =+          Prelude.Just "service_unavailable"+      | Lens.has+          ( Core.hasCode "ThrottledException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttled_exception"+      | Lens.has+          ( Core.hasCode "Throttling"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling"+      | Lens.has+          ( Core.hasCode "ThrottlingException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throttling_exception"+      | Lens.has+          ( Core.hasCode+              "ProvisionedThroughputExceededException"+              Prelude.. Core.hasStatus 400+          )+          e =+          Prelude.Just "throughput_exceeded"+      | Lens.has (Core.hasStatus 429) e =+          Prelude.Just "too_many_requests"+      | Prelude.otherwise = Prelude.Nothing++-- | Another modification is being made. That modification must complete+-- before you can make your change.+_ConcurrentModificationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConcurrentModificationException =+  Core._MatchServiceError+    defaultService+    "ConcurrentModificationException"++-- | There was a conflict processing the request. Try your request again.+_ConflictException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ConflictException =+  Core._MatchServiceError+    defaultService+    "ConflictException"++-- | The confidence that Amazon Comprehend accurately detected the source+-- language is low. If a low confidence level is acceptable for your+-- application, you can use the language in the exception to call Amazon+-- Translate again. For more information, see the+-- <https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html DetectDominantLanguage>+-- operation in the /Amazon Comprehend Developer Guide/.+_DetectedLanguageLowConfidenceException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_DetectedLanguageLowConfidenceException =+  Core._MatchServiceError+    defaultService+    "DetectedLanguageLowConfidenceException"++-- | An internal server error occurred. Retry your request.+_InternalServerException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InternalServerException =+  Core._MatchServiceError+    defaultService+    "InternalServerException"++-- | The filter specified for the operation is not valid. Specify a different+-- filter.+_InvalidFilterException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidFilterException =+  Core._MatchServiceError+    defaultService+    "InvalidFilterException"++-- | The value of the parameter is not valid. Review the value of the+-- parameter you are using to correct it, and then retry your operation.+_InvalidParameterValueException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidParameterValueException =+  Core._MatchServiceError+    defaultService+    "InvalidParameterValueException"++-- | The request that you made is not valid. Check your request to determine+-- why it\'s not valid and then retry the request.+_InvalidRequestException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_InvalidRequestException =+  Core._MatchServiceError+    defaultService+    "InvalidRequestException"++-- | The specified limit has been exceeded. Review your request and retry it+-- with a quantity below the stated limit.+_LimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_LimitExceededException =+  Core._MatchServiceError+    defaultService+    "LimitExceededException"++-- | The resource you are looking for has not been found. Review the resource+-- you\'re looking for and see if a different resource will accomplish your+-- needs before retrying the revised request.+_ResourceNotFoundException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ResourceNotFoundException =+  Core._MatchServiceError+    defaultService+    "ResourceNotFoundException"++-- | The Amazon Translate service is temporarily unavailable. Wait a bit and+-- then retry your request.+_ServiceUnavailableException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_ServiceUnavailableException =+  Core._MatchServiceError+    defaultService+    "ServiceUnavailableException"++-- | The size of the text you submitted exceeds the size limit. Reduce the+-- size of the text or use a smaller document and then retry your request.+_TextSizeLimitExceededException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TextSizeLimitExceededException =+  Core._MatchServiceError+    defaultService+    "TextSizeLimitExceededException"++-- | You have made too many requests within a short period of time. Wait for+-- a short time and then try your request again.+_TooManyRequestsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyRequestsException =+  Core._MatchServiceError+    defaultService+    "TooManyRequestsException"++-- | You have added too many tags to this resource. The maximum is 50 tags.+_TooManyTagsException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_TooManyTagsException =+  Core._MatchServiceError+    defaultService+    "TooManyTagsException"++-- | Requested display language code is not supported.+_UnsupportedDisplayLanguageCodeException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnsupportedDisplayLanguageCodeException =+  Core._MatchServiceError+    defaultService+    "UnsupportedDisplayLanguageCodeException"++-- | Amazon Translate does not support translation from the language of the+-- source text into the requested target language. For more information,+-- see+-- <https://docs.aws.amazon.com/translate/latest/dg/how-to-error-msg.html Error messages>.+_UnsupportedLanguagePairException :: (Core.AsError a) => Lens.Fold a Core.ServiceError+_UnsupportedLanguagePairException =+  Core._MatchServiceError+    defaultService+    "UnsupportedLanguagePairException"
+ gen/Amazonka/Translate/Types/AppliedTerminology.hs view
@@ -0,0 +1,100 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.AppliedTerminology+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.AppliedTerminology where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.Term++-- | The custom terminology applied to the input text by Amazon Translate for+-- the translated text response. This is optional in the response and will+-- only be present if you specified terminology input in the request.+-- Currently, only one terminology can be applied per TranslateText+-- request.+--+-- /See:/ 'newAppliedTerminology' smart constructor.+data AppliedTerminology = AppliedTerminology'+  { -- | The name of the custom terminology applied to the input text by Amazon+    -- Translate for the translated text response.+    name :: Prelude.Maybe Prelude.Text,+    -- | The specific terms of the custom terminology applied to the input text+    -- by Amazon Translate for the translated text response. A maximum of 250+    -- terms will be returned, and the specific terms applied will be the first+    -- 250 terms in the source text.+    terms :: Prelude.Maybe [Term]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'AppliedTerminology' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'name', 'appliedTerminology_name' - The name of the custom terminology applied to the input text by Amazon+-- Translate for the translated text response.+--+-- 'terms', 'appliedTerminology_terms' - The specific terms of the custom terminology applied to the input text+-- by Amazon Translate for the translated text response. A maximum of 250+-- terms will be returned, and the specific terms applied will be the first+-- 250 terms in the source text.+newAppliedTerminology ::+  AppliedTerminology+newAppliedTerminology =+  AppliedTerminology'+    { name = Prelude.Nothing,+      terms = Prelude.Nothing+    }++-- | The name of the custom terminology applied to the input text by Amazon+-- Translate for the translated text response.+appliedTerminology_name :: Lens.Lens' AppliedTerminology (Prelude.Maybe Prelude.Text)+appliedTerminology_name = Lens.lens (\AppliedTerminology' {name} -> name) (\s@AppliedTerminology' {} a -> s {name = a} :: AppliedTerminology)++-- | The specific terms of the custom terminology applied to the input text+-- by Amazon Translate for the translated text response. A maximum of 250+-- terms will be returned, and the specific terms applied will be the first+-- 250 terms in the source text.+appliedTerminology_terms :: Lens.Lens' AppliedTerminology (Prelude.Maybe [Term])+appliedTerminology_terms = Lens.lens (\AppliedTerminology' {terms} -> terms) (\s@AppliedTerminology' {} a -> s {terms = a} :: AppliedTerminology) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON AppliedTerminology where+  parseJSON =+    Data.withObject+      "AppliedTerminology"+      ( \x ->+          AppliedTerminology'+            Prelude.<$> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "Terms" Data..!= Prelude.mempty)+      )++instance Prelude.Hashable AppliedTerminology where+  hashWithSalt _salt AppliedTerminology' {..} =+    _salt+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` terms++instance Prelude.NFData AppliedTerminology where+  rnf AppliedTerminology' {..} =+    Prelude.rnf name `Prelude.seq` Prelude.rnf terms
+ gen/Amazonka/Translate/Types/Directionality.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.Directionality+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.Directionality+  ( Directionality+      ( ..,+        Directionality_MULTI,+        Directionality_UNI+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype Directionality = Directionality'+  { fromDirectionality ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern Directionality_MULTI :: Directionality+pattern Directionality_MULTI = Directionality' "MULTI"++pattern Directionality_UNI :: Directionality+pattern Directionality_UNI = Directionality' "UNI"++{-# COMPLETE+  Directionality_MULTI,+  Directionality_UNI,+  Directionality'+  #-}
+ gen/Amazonka/Translate/Types/DisplayLanguageCode.hs view
@@ -0,0 +1,111 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.DisplayLanguageCode+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.DisplayLanguageCode+  ( DisplayLanguageCode+      ( ..,+        DisplayLanguageCode_De,+        DisplayLanguageCode_En,+        DisplayLanguageCode_Es,+        DisplayLanguageCode_Fr,+        DisplayLanguageCode_It,+        DisplayLanguageCode_Ja,+        DisplayLanguageCode_Ko,+        DisplayLanguageCode_Pt,+        DisplayLanguageCode_Zh,+        DisplayLanguageCode_Zh_TW+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype DisplayLanguageCode = DisplayLanguageCode'+  { fromDisplayLanguageCode ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern DisplayLanguageCode_De :: DisplayLanguageCode+pattern DisplayLanguageCode_De = DisplayLanguageCode' "de"++pattern DisplayLanguageCode_En :: DisplayLanguageCode+pattern DisplayLanguageCode_En = DisplayLanguageCode' "en"++pattern DisplayLanguageCode_Es :: DisplayLanguageCode+pattern DisplayLanguageCode_Es = DisplayLanguageCode' "es"++pattern DisplayLanguageCode_Fr :: DisplayLanguageCode+pattern DisplayLanguageCode_Fr = DisplayLanguageCode' "fr"++pattern DisplayLanguageCode_It :: DisplayLanguageCode+pattern DisplayLanguageCode_It = DisplayLanguageCode' "it"++pattern DisplayLanguageCode_Ja :: DisplayLanguageCode+pattern DisplayLanguageCode_Ja = DisplayLanguageCode' "ja"++pattern DisplayLanguageCode_Ko :: DisplayLanguageCode+pattern DisplayLanguageCode_Ko = DisplayLanguageCode' "ko"++pattern DisplayLanguageCode_Pt :: DisplayLanguageCode+pattern DisplayLanguageCode_Pt = DisplayLanguageCode' "pt"++pattern DisplayLanguageCode_Zh :: DisplayLanguageCode+pattern DisplayLanguageCode_Zh = DisplayLanguageCode' "zh"++pattern DisplayLanguageCode_Zh_TW :: DisplayLanguageCode+pattern DisplayLanguageCode_Zh_TW = DisplayLanguageCode' "zh-TW"++{-# COMPLETE+  DisplayLanguageCode_De,+  DisplayLanguageCode_En,+  DisplayLanguageCode_Es,+  DisplayLanguageCode_Fr,+  DisplayLanguageCode_It,+  DisplayLanguageCode_Ja,+  DisplayLanguageCode_Ko,+  DisplayLanguageCode_Pt,+  DisplayLanguageCode_Zh,+  DisplayLanguageCode_Zh_TW,+  DisplayLanguageCode'+  #-}
+ gen/Amazonka/Translate/Types/EncryptionKey.hs view
@@ -0,0 +1,100 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.EncryptionKey+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.EncryptionKey where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.EncryptionKeyType++-- | The encryption key used to encrypt this object.+--+-- /See:/ 'newEncryptionKey' smart constructor.+data EncryptionKey = EncryptionKey'+  { -- | The type of encryption key used by Amazon Translate to encrypt this+    -- object.+    type' :: EncryptionKeyType,+    -- | The Amazon Resource Name (ARN) of the encryption key being used to+    -- encrypt this object.+    id :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'EncryptionKey' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'type'', 'encryptionKey_type' - The type of encryption key used by Amazon Translate to encrypt this+-- object.+--+-- 'id', 'encryptionKey_id' - The Amazon Resource Name (ARN) of the encryption key being used to+-- encrypt this object.+newEncryptionKey ::+  -- | 'type''+  EncryptionKeyType ->+  -- | 'id'+  Prelude.Text ->+  EncryptionKey+newEncryptionKey pType_ pId_ =+  EncryptionKey' {type' = pType_, id = pId_}++-- | The type of encryption key used by Amazon Translate to encrypt this+-- object.+encryptionKey_type :: Lens.Lens' EncryptionKey EncryptionKeyType+encryptionKey_type = Lens.lens (\EncryptionKey' {type'} -> type') (\s@EncryptionKey' {} a -> s {type' = a} :: EncryptionKey)++-- | The Amazon Resource Name (ARN) of the encryption key being used to+-- encrypt this object.+encryptionKey_id :: Lens.Lens' EncryptionKey Prelude.Text+encryptionKey_id = Lens.lens (\EncryptionKey' {id} -> id) (\s@EncryptionKey' {} a -> s {id = a} :: EncryptionKey)++instance Data.FromJSON EncryptionKey where+  parseJSON =+    Data.withObject+      "EncryptionKey"+      ( \x ->+          EncryptionKey'+            Prelude.<$> (x Data..: "Type")+            Prelude.<*> (x Data..: "Id")+      )++instance Prelude.Hashable EncryptionKey where+  hashWithSalt _salt EncryptionKey' {..} =+    _salt+      `Prelude.hashWithSalt` type'+      `Prelude.hashWithSalt` id++instance Prelude.NFData EncryptionKey where+  rnf EncryptionKey' {..} =+    Prelude.rnf type' `Prelude.seq` Prelude.rnf id++instance Data.ToJSON EncryptionKey where+  toJSON EncryptionKey' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Type" Data..= type'),+            Prelude.Just ("Id" Data..= id)+          ]+      )
+ gen/Amazonka/Translate/Types/EncryptionKeyType.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.EncryptionKeyType+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.EncryptionKeyType+  ( EncryptionKeyType+      ( ..,+        EncryptionKeyType_KMS+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype EncryptionKeyType = EncryptionKeyType'+  { fromEncryptionKeyType ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern EncryptionKeyType_KMS :: EncryptionKeyType+pattern EncryptionKeyType_KMS = EncryptionKeyType' "KMS"++{-# COMPLETE+  EncryptionKeyType_KMS,+  EncryptionKeyType'+  #-}
+ gen/Amazonka/Translate/Types/Formality.hs view
@@ -0,0 +1,71 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.Formality+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.Formality+  ( Formality+      ( ..,+        Formality_FORMAL,+        Formality_INFORMAL+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype Formality = Formality'+  { fromFormality ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern Formality_FORMAL :: Formality+pattern Formality_FORMAL = Formality' "FORMAL"++pattern Formality_INFORMAL :: Formality+pattern Formality_INFORMAL = Formality' "INFORMAL"++{-# COMPLETE+  Formality_FORMAL,+  Formality_INFORMAL,+  Formality'+  #-}
+ gen/Amazonka/Translate/Types/InputDataConfig.hs view
@@ -0,0 +1,197 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.InputDataConfig+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.InputDataConfig where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The input configuration properties for requesting a batch translation+-- job.+--+-- /See:/ 'newInputDataConfig' smart constructor.+data InputDataConfig = InputDataConfig'+  { -- | The URI of the AWS S3 folder that contains the input files. Amazon+    -- Translate translates all the files in the folder and all its+    -- sub-folders. The folder must be in the same Region as the API endpoint+    -- you are calling.+    s3Uri :: Prelude.Text,+    -- | Describes the format of the data that you submit to Amazon Translate as+    -- input. You can specify one of the following multipurpose internet mail+    -- extension (MIME) types:+    --+    -- -   @text\/html@: The input data consists of one or more HTML files.+    --     Amazon Translate translates only the text that resides in the @html@+    --     element in each file.+    --+    -- -   @text\/plain@: The input data consists of one or more unformatted+    --     text files. Amazon Translate translates every character in this type+    --     of input.+    --+    -- -   @application\/vnd.openxmlformats-officedocument.wordprocessingml.document@:+    --     The input data consists of one or more Word documents (.docx).+    --+    -- -   @application\/vnd.openxmlformats-officedocument.presentationml.presentation@:+    --     The input data consists of one or more PowerPoint Presentation files+    --     (.pptx).+    --+    -- -   @application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet@:+    --     The input data consists of one or more Excel Workbook files (.xlsx).+    --+    -- -   @application\/x-xliff+xml@: The input data consists of one or more+    --     XML Localization Interchange File Format (XLIFF) files (.xlf).+    --     Amazon Translate supports only XLIFF version 1.2.+    --+    -- If you structure your input data as HTML, ensure that you set this+    -- parameter to @text\/html@. By doing so, you cut costs by limiting the+    -- translation to the contents of the @html@ element in each file.+    -- Otherwise, if you set this parameter to @text\/plain@, your costs will+    -- cover the translation of every character.+    contentType :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'InputDataConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 's3Uri', 'inputDataConfig_s3Uri' - The URI of the AWS S3 folder that contains the input files. Amazon+-- Translate translates all the files in the folder and all its+-- sub-folders. The folder must be in the same Region as the API endpoint+-- you are calling.+--+-- 'contentType', 'inputDataConfig_contentType' - Describes the format of the data that you submit to Amazon Translate as+-- input. You can specify one of the following multipurpose internet mail+-- extension (MIME) types:+--+-- -   @text\/html@: The input data consists of one or more HTML files.+--     Amazon Translate translates only the text that resides in the @html@+--     element in each file.+--+-- -   @text\/plain@: The input data consists of one or more unformatted+--     text files. Amazon Translate translates every character in this type+--     of input.+--+-- -   @application\/vnd.openxmlformats-officedocument.wordprocessingml.document@:+--     The input data consists of one or more Word documents (.docx).+--+-- -   @application\/vnd.openxmlformats-officedocument.presentationml.presentation@:+--     The input data consists of one or more PowerPoint Presentation files+--     (.pptx).+--+-- -   @application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet@:+--     The input data consists of one or more Excel Workbook files (.xlsx).+--+-- -   @application\/x-xliff+xml@: The input data consists of one or more+--     XML Localization Interchange File Format (XLIFF) files (.xlf).+--     Amazon Translate supports only XLIFF version 1.2.+--+-- If you structure your input data as HTML, ensure that you set this+-- parameter to @text\/html@. By doing so, you cut costs by limiting the+-- translation to the contents of the @html@ element in each file.+-- Otherwise, if you set this parameter to @text\/plain@, your costs will+-- cover the translation of every character.+newInputDataConfig ::+  -- | 's3Uri'+  Prelude.Text ->+  -- | 'contentType'+  Prelude.Text ->+  InputDataConfig+newInputDataConfig pS3Uri_ pContentType_ =+  InputDataConfig'+    { s3Uri = pS3Uri_,+      contentType = pContentType_+    }++-- | The URI of the AWS S3 folder that contains the input files. Amazon+-- Translate translates all the files in the folder and all its+-- sub-folders. The folder must be in the same Region as the API endpoint+-- you are calling.+inputDataConfig_s3Uri :: Lens.Lens' InputDataConfig Prelude.Text+inputDataConfig_s3Uri = Lens.lens (\InputDataConfig' {s3Uri} -> s3Uri) (\s@InputDataConfig' {} a -> s {s3Uri = a} :: InputDataConfig)++-- | Describes the format of the data that you submit to Amazon Translate as+-- input. You can specify one of the following multipurpose internet mail+-- extension (MIME) types:+--+-- -   @text\/html@: The input data consists of one or more HTML files.+--     Amazon Translate translates only the text that resides in the @html@+--     element in each file.+--+-- -   @text\/plain@: The input data consists of one or more unformatted+--     text files. Amazon Translate translates every character in this type+--     of input.+--+-- -   @application\/vnd.openxmlformats-officedocument.wordprocessingml.document@:+--     The input data consists of one or more Word documents (.docx).+--+-- -   @application\/vnd.openxmlformats-officedocument.presentationml.presentation@:+--     The input data consists of one or more PowerPoint Presentation files+--     (.pptx).+--+-- -   @application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet@:+--     The input data consists of one or more Excel Workbook files (.xlsx).+--+-- -   @application\/x-xliff+xml@: The input data consists of one or more+--     XML Localization Interchange File Format (XLIFF) files (.xlf).+--     Amazon Translate supports only XLIFF version 1.2.+--+-- If you structure your input data as HTML, ensure that you set this+-- parameter to @text\/html@. By doing so, you cut costs by limiting the+-- translation to the contents of the @html@ element in each file.+-- Otherwise, if you set this parameter to @text\/plain@, your costs will+-- cover the translation of every character.+inputDataConfig_contentType :: Lens.Lens' InputDataConfig Prelude.Text+inputDataConfig_contentType = Lens.lens (\InputDataConfig' {contentType} -> contentType) (\s@InputDataConfig' {} a -> s {contentType = a} :: InputDataConfig)++instance Data.FromJSON InputDataConfig where+  parseJSON =+    Data.withObject+      "InputDataConfig"+      ( \x ->+          InputDataConfig'+            Prelude.<$> (x Data..: "S3Uri")+            Prelude.<*> (x Data..: "ContentType")+      )++instance Prelude.Hashable InputDataConfig where+  hashWithSalt _salt InputDataConfig' {..} =+    _salt+      `Prelude.hashWithSalt` s3Uri+      `Prelude.hashWithSalt` contentType++instance Prelude.NFData InputDataConfig where+  rnf InputDataConfig' {..} =+    Prelude.rnf s3Uri+      `Prelude.seq` Prelude.rnf contentType++instance Data.ToJSON InputDataConfig where+  toJSON InputDataConfig' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("S3Uri" Data..= s3Uri),+            Prelude.Just ("ContentType" Data..= contentType)+          ]+      )
+ gen/Amazonka/Translate/Types/JobDetails.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.JobDetails+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.JobDetails where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The number of documents successfully and unsuccessfully processed during+-- a translation job.+--+-- /See:/ 'newJobDetails' smart constructor.+data JobDetails = JobDetails'+  { -- | The number of documents that could not be processed during a translation+    -- job.+    documentsWithErrorsCount :: Prelude.Maybe Prelude.Int,+    -- | The number of documents used as input in a translation job.+    inputDocumentsCount :: Prelude.Maybe Prelude.Int,+    -- | The number of documents successfully processed during a translation job.+    translatedDocumentsCount :: Prelude.Maybe Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'JobDetails' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'documentsWithErrorsCount', 'jobDetails_documentsWithErrorsCount' - The number of documents that could not be processed during a translation+-- job.+--+-- 'inputDocumentsCount', 'jobDetails_inputDocumentsCount' - The number of documents used as input in a translation job.+--+-- 'translatedDocumentsCount', 'jobDetails_translatedDocumentsCount' - The number of documents successfully processed during a translation job.+newJobDetails ::+  JobDetails+newJobDetails =+  JobDetails'+    { documentsWithErrorsCount =+        Prelude.Nothing,+      inputDocumentsCount = Prelude.Nothing,+      translatedDocumentsCount = Prelude.Nothing+    }++-- | The number of documents that could not be processed during a translation+-- job.+jobDetails_documentsWithErrorsCount :: Lens.Lens' JobDetails (Prelude.Maybe Prelude.Int)+jobDetails_documentsWithErrorsCount = Lens.lens (\JobDetails' {documentsWithErrorsCount} -> documentsWithErrorsCount) (\s@JobDetails' {} a -> s {documentsWithErrorsCount = a} :: JobDetails)++-- | The number of documents used as input in a translation job.+jobDetails_inputDocumentsCount :: Lens.Lens' JobDetails (Prelude.Maybe Prelude.Int)+jobDetails_inputDocumentsCount = Lens.lens (\JobDetails' {inputDocumentsCount} -> inputDocumentsCount) (\s@JobDetails' {} a -> s {inputDocumentsCount = a} :: JobDetails)++-- | The number of documents successfully processed during a translation job.+jobDetails_translatedDocumentsCount :: Lens.Lens' JobDetails (Prelude.Maybe Prelude.Int)+jobDetails_translatedDocumentsCount = Lens.lens (\JobDetails' {translatedDocumentsCount} -> translatedDocumentsCount) (\s@JobDetails' {} a -> s {translatedDocumentsCount = a} :: JobDetails)++instance Data.FromJSON JobDetails where+  parseJSON =+    Data.withObject+      "JobDetails"+      ( \x ->+          JobDetails'+            Prelude.<$> (x Data..:? "DocumentsWithErrorsCount")+            Prelude.<*> (x Data..:? "InputDocumentsCount")+            Prelude.<*> (x Data..:? "TranslatedDocumentsCount")+      )++instance Prelude.Hashable JobDetails where+  hashWithSalt _salt JobDetails' {..} =+    _salt+      `Prelude.hashWithSalt` documentsWithErrorsCount+      `Prelude.hashWithSalt` inputDocumentsCount+      `Prelude.hashWithSalt` translatedDocumentsCount++instance Prelude.NFData JobDetails where+  rnf JobDetails' {..} =+    Prelude.rnf documentsWithErrorsCount+      `Prelude.seq` Prelude.rnf inputDocumentsCount+      `Prelude.seq` Prelude.rnf translatedDocumentsCount
+ gen/Amazonka/Translate/Types/JobStatus.hs view
@@ -0,0 +1,96 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.JobStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.JobStatus+  ( JobStatus+      ( ..,+        JobStatus_COMPLETED,+        JobStatus_COMPLETED_WITH_ERROR,+        JobStatus_FAILED,+        JobStatus_IN_PROGRESS,+        JobStatus_STOPPED,+        JobStatus_STOP_REQUESTED,+        JobStatus_SUBMITTED+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype JobStatus = JobStatus'+  { fromJobStatus ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern JobStatus_COMPLETED :: JobStatus+pattern JobStatus_COMPLETED = JobStatus' "COMPLETED"++pattern JobStatus_COMPLETED_WITH_ERROR :: JobStatus+pattern JobStatus_COMPLETED_WITH_ERROR = JobStatus' "COMPLETED_WITH_ERROR"++pattern JobStatus_FAILED :: JobStatus+pattern JobStatus_FAILED = JobStatus' "FAILED"++pattern JobStatus_IN_PROGRESS :: JobStatus+pattern JobStatus_IN_PROGRESS = JobStatus' "IN_PROGRESS"++pattern JobStatus_STOPPED :: JobStatus+pattern JobStatus_STOPPED = JobStatus' "STOPPED"++pattern JobStatus_STOP_REQUESTED :: JobStatus+pattern JobStatus_STOP_REQUESTED = JobStatus' "STOP_REQUESTED"++pattern JobStatus_SUBMITTED :: JobStatus+pattern JobStatus_SUBMITTED = JobStatus' "SUBMITTED"++{-# COMPLETE+  JobStatus_COMPLETED,+  JobStatus_COMPLETED_WITH_ERROR,+  JobStatus_FAILED,+  JobStatus_IN_PROGRESS,+  JobStatus_STOPPED,+  JobStatus_STOP_REQUESTED,+  JobStatus_SUBMITTED,+  JobStatus'+  #-}
+ gen/Amazonka/Translate/Types/Language.hs view
@@ -0,0 +1,88 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.Language+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.Language where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A supported language.+--+-- /See:/ 'newLanguage' smart constructor.+data Language = Language'+  { -- | Language name of the supported language.+    languageName :: Prelude.Text,+    -- | Language code for the supported language.+    languageCode :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Language' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'languageName', 'language_languageName' - Language name of the supported language.+--+-- 'languageCode', 'language_languageCode' - Language code for the supported language.+newLanguage ::+  -- | 'languageName'+  Prelude.Text ->+  -- | 'languageCode'+  Prelude.Text ->+  Language+newLanguage pLanguageName_ pLanguageCode_ =+  Language'+    { languageName = pLanguageName_,+      languageCode = pLanguageCode_+    }++-- | Language name of the supported language.+language_languageName :: Lens.Lens' Language Prelude.Text+language_languageName = Lens.lens (\Language' {languageName} -> languageName) (\s@Language' {} a -> s {languageName = a} :: Language)++-- | Language code for the supported language.+language_languageCode :: Lens.Lens' Language Prelude.Text+language_languageCode = Lens.lens (\Language' {languageCode} -> languageCode) (\s@Language' {} a -> s {languageCode = a} :: Language)++instance Data.FromJSON Language where+  parseJSON =+    Data.withObject+      "Language"+      ( \x ->+          Language'+            Prelude.<$> (x Data..: "LanguageName")+            Prelude.<*> (x Data..: "LanguageCode")+      )++instance Prelude.Hashable Language where+  hashWithSalt _salt Language' {..} =+    _salt+      `Prelude.hashWithSalt` languageName+      `Prelude.hashWithSalt` languageCode++instance Prelude.NFData Language where+  rnf Language' {..} =+    Prelude.rnf languageName+      `Prelude.seq` Prelude.rnf languageCode
+ gen/Amazonka/Translate/Types/MergeStrategy.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.MergeStrategy+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.MergeStrategy+  ( MergeStrategy+      ( ..,+        MergeStrategy_OVERWRITE+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype MergeStrategy = MergeStrategy'+  { fromMergeStrategy ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern MergeStrategy_OVERWRITE :: MergeStrategy+pattern MergeStrategy_OVERWRITE = MergeStrategy' "OVERWRITE"++{-# COMPLETE+  MergeStrategy_OVERWRITE,+  MergeStrategy'+  #-}
+ gen/Amazonka/Translate/Types/OutputDataConfig.hs view
@@ -0,0 +1,101 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.OutputDataConfig+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.OutputDataConfig where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.EncryptionKey++-- | The output configuration properties for a batch translation job.+--+-- /See:/ 'newOutputDataConfig' smart constructor.+data OutputDataConfig = OutputDataConfig'+  { encryptionKey :: Prelude.Maybe EncryptionKey,+    -- | The URI of the S3 folder that contains a translation job\'s output file.+    -- The folder must be in the same Region as the API endpoint that you are+    -- calling.+    s3Uri :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'OutputDataConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'encryptionKey', 'outputDataConfig_encryptionKey' - Undocumented member.+--+-- 's3Uri', 'outputDataConfig_s3Uri' - The URI of the S3 folder that contains a translation job\'s output file.+-- The folder must be in the same Region as the API endpoint that you are+-- calling.+newOutputDataConfig ::+  -- | 's3Uri'+  Prelude.Text ->+  OutputDataConfig+newOutputDataConfig pS3Uri_ =+  OutputDataConfig'+    { encryptionKey = Prelude.Nothing,+      s3Uri = pS3Uri_+    }++-- | Undocumented member.+outputDataConfig_encryptionKey :: Lens.Lens' OutputDataConfig (Prelude.Maybe EncryptionKey)+outputDataConfig_encryptionKey = Lens.lens (\OutputDataConfig' {encryptionKey} -> encryptionKey) (\s@OutputDataConfig' {} a -> s {encryptionKey = a} :: OutputDataConfig)++-- | The URI of the S3 folder that contains a translation job\'s output file.+-- The folder must be in the same Region as the API endpoint that you are+-- calling.+outputDataConfig_s3Uri :: Lens.Lens' OutputDataConfig Prelude.Text+outputDataConfig_s3Uri = Lens.lens (\OutputDataConfig' {s3Uri} -> s3Uri) (\s@OutputDataConfig' {} a -> s {s3Uri = a} :: OutputDataConfig)++instance Data.FromJSON OutputDataConfig where+  parseJSON =+    Data.withObject+      "OutputDataConfig"+      ( \x ->+          OutputDataConfig'+            Prelude.<$> (x Data..:? "EncryptionKey")+            Prelude.<*> (x Data..: "S3Uri")+      )++instance Prelude.Hashable OutputDataConfig where+  hashWithSalt _salt OutputDataConfig' {..} =+    _salt+      `Prelude.hashWithSalt` encryptionKey+      `Prelude.hashWithSalt` s3Uri++instance Prelude.NFData OutputDataConfig where+  rnf OutputDataConfig' {..} =+    Prelude.rnf encryptionKey+      `Prelude.seq` Prelude.rnf s3Uri++instance Data.ToJSON OutputDataConfig where+  toJSON OutputDataConfig' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("EncryptionKey" Data..=) Prelude.<$> encryptionKey,+            Prelude.Just ("S3Uri" Data..= s3Uri)+          ]+      )
+ gen/Amazonka/Translate/Types/ParallelDataConfig.hs view
@@ -0,0 +1,103 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.ParallelDataConfig+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.ParallelDataConfig where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.ParallelDataFormat++-- | Specifies the format and S3 location of the parallel data input file.+--+-- /See:/ 'newParallelDataConfig' smart constructor.+data ParallelDataConfig = ParallelDataConfig'+  { -- | The URI of the Amazon S3 folder that contains the parallel data input+    -- file. The folder must be in the same Region as the API endpoint you are+    -- calling.+    s3Uri :: Prelude.Text,+    -- | The format of the parallel data input file.+    format :: ParallelDataFormat+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ParallelDataConfig' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 's3Uri', 'parallelDataConfig_s3Uri' - The URI of the Amazon S3 folder that contains the parallel data input+-- file. The folder must be in the same Region as the API endpoint you are+-- calling.+--+-- 'format', 'parallelDataConfig_format' - The format of the parallel data input file.+newParallelDataConfig ::+  -- | 's3Uri'+  Prelude.Text ->+  -- | 'format'+  ParallelDataFormat ->+  ParallelDataConfig+newParallelDataConfig pS3Uri_ pFormat_ =+  ParallelDataConfig'+    { s3Uri = pS3Uri_,+      format = pFormat_+    }++-- | The URI of the Amazon S3 folder that contains the parallel data input+-- file. The folder must be in the same Region as the API endpoint you are+-- calling.+parallelDataConfig_s3Uri :: Lens.Lens' ParallelDataConfig Prelude.Text+parallelDataConfig_s3Uri = Lens.lens (\ParallelDataConfig' {s3Uri} -> s3Uri) (\s@ParallelDataConfig' {} a -> s {s3Uri = a} :: ParallelDataConfig)++-- | The format of the parallel data input file.+parallelDataConfig_format :: Lens.Lens' ParallelDataConfig ParallelDataFormat+parallelDataConfig_format = Lens.lens (\ParallelDataConfig' {format} -> format) (\s@ParallelDataConfig' {} a -> s {format = a} :: ParallelDataConfig)++instance Data.FromJSON ParallelDataConfig where+  parseJSON =+    Data.withObject+      "ParallelDataConfig"+      ( \x ->+          ParallelDataConfig'+            Prelude.<$> (x Data..: "S3Uri")+            Prelude.<*> (x Data..: "Format")+      )++instance Prelude.Hashable ParallelDataConfig where+  hashWithSalt _salt ParallelDataConfig' {..} =+    _salt+      `Prelude.hashWithSalt` s3Uri+      `Prelude.hashWithSalt` format++instance Prelude.NFData ParallelDataConfig where+  rnf ParallelDataConfig' {..} =+    Prelude.rnf s3Uri `Prelude.seq` Prelude.rnf format++instance Data.ToJSON ParallelDataConfig where+  toJSON ParallelDataConfig' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("S3Uri" Data..= s3Uri),+            Prelude.Just ("Format" Data..= format)+          ]+      )
+ gen/Amazonka/Translate/Types/ParallelDataDataLocation.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.ParallelDataDataLocation+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.ParallelDataDataLocation where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The location of the most recent parallel data input file that was+-- successfully imported into Amazon Translate.+--+-- /See:/ 'newParallelDataDataLocation' smart constructor.+data ParallelDataDataLocation = ParallelDataDataLocation'+  { -- | Describes the repository that contains the parallel data input file.+    repositoryType :: Prelude.Text,+    -- | The Amazon S3 location of the parallel data input file. The location is+    -- returned as a presigned URL to 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.+    location :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ParallelDataDataLocation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'repositoryType', 'parallelDataDataLocation_repositoryType' - Describes the repository that contains the parallel data input file.+--+-- 'location', 'parallelDataDataLocation_location' - The Amazon S3 location of the parallel data input file. The location is+-- returned as a presigned URL to 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.+newParallelDataDataLocation ::+  -- | 'repositoryType'+  Prelude.Text ->+  -- | 'location'+  Prelude.Text ->+  ParallelDataDataLocation+newParallelDataDataLocation+  pRepositoryType_+  pLocation_ =+    ParallelDataDataLocation'+      { repositoryType =+          pRepositoryType_,+        location = pLocation_+      }++-- | Describes the repository that contains the parallel data input file.+parallelDataDataLocation_repositoryType :: Lens.Lens' ParallelDataDataLocation Prelude.Text+parallelDataDataLocation_repositoryType = Lens.lens (\ParallelDataDataLocation' {repositoryType} -> repositoryType) (\s@ParallelDataDataLocation' {} a -> s {repositoryType = a} :: ParallelDataDataLocation)++-- | The Amazon S3 location of the parallel data input file. The location is+-- returned as a presigned URL to 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.+parallelDataDataLocation_location :: Lens.Lens' ParallelDataDataLocation Prelude.Text+parallelDataDataLocation_location = Lens.lens (\ParallelDataDataLocation' {location} -> location) (\s@ParallelDataDataLocation' {} a -> s {location = a} :: ParallelDataDataLocation)++instance Data.FromJSON ParallelDataDataLocation where+  parseJSON =+    Data.withObject+      "ParallelDataDataLocation"+      ( \x ->+          ParallelDataDataLocation'+            Prelude.<$> (x Data..: "RepositoryType")+            Prelude.<*> (x Data..: "Location")+      )++instance Prelude.Hashable ParallelDataDataLocation where+  hashWithSalt _salt ParallelDataDataLocation' {..} =+    _salt+      `Prelude.hashWithSalt` repositoryType+      `Prelude.hashWithSalt` location++instance Prelude.NFData ParallelDataDataLocation where+  rnf ParallelDataDataLocation' {..} =+    Prelude.rnf repositoryType+      `Prelude.seq` Prelude.rnf location
+ gen/Amazonka/Translate/Types/ParallelDataFormat.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.ParallelDataFormat+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.ParallelDataFormat+  ( ParallelDataFormat+      ( ..,+        ParallelDataFormat_CSV,+        ParallelDataFormat_TMX,+        ParallelDataFormat_TSV+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ParallelDataFormat = ParallelDataFormat'+  { fromParallelDataFormat ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ParallelDataFormat_CSV :: ParallelDataFormat+pattern ParallelDataFormat_CSV = ParallelDataFormat' "CSV"++pattern ParallelDataFormat_TMX :: ParallelDataFormat+pattern ParallelDataFormat_TMX = ParallelDataFormat' "TMX"++pattern ParallelDataFormat_TSV :: ParallelDataFormat+pattern ParallelDataFormat_TSV = ParallelDataFormat' "TSV"++{-# COMPLETE+  ParallelDataFormat_CSV,+  ParallelDataFormat_TMX,+  ParallelDataFormat_TSV,+  ParallelDataFormat'+  #-}
+ gen/Amazonka/Translate/Types/ParallelDataProperties.hs view
@@ -0,0 +1,305 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.ParallelDataProperties+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.ParallelDataProperties where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.EncryptionKey+import Amazonka.Translate.Types.ParallelDataConfig+import Amazonka.Translate.Types.ParallelDataStatus++-- | The properties of a parallel data resource.+--+-- /See:/ 'newParallelDataProperties' smart constructor.+data ParallelDataProperties = ParallelDataProperties'+  { -- | The Amazon Resource Name (ARN) of the parallel data resource.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The time at which the parallel data resource was created.+    createdAt :: Prelude.Maybe Data.POSIX,+    -- | The description assigned to the parallel data resource.+    description :: Prelude.Maybe Prelude.Text,+    encryptionKey :: Prelude.Maybe EncryptionKey,+    -- | The number of records unsuccessfully imported from the parallel data+    -- input file.+    failedRecordCount :: Prelude.Maybe Prelude.Integer,+    -- | The number of UTF-8 characters that Amazon Translate imported from the+    -- parallel data input file. This number includes only the characters in+    -- your translation examples. It does not include characters that are used+    -- to format your file. For example, if you provided a Translation Memory+    -- Exchange (.tmx) file, this number does not include the tags.+    importedDataSize :: Prelude.Maybe Prelude.Integer,+    -- | The number of records successfully imported from the parallel data input+    -- file.+    importedRecordCount :: Prelude.Maybe Prelude.Integer,+    -- | The time at which the parallel data resource was last updated.+    lastUpdatedAt :: Prelude.Maybe Data.POSIX,+    -- | The time that the most recent update was attempted.+    latestUpdateAttemptAt :: Prelude.Maybe Data.POSIX,+    -- | The status of the most recent update attempt for the parallel data+    -- resource.+    latestUpdateAttemptStatus :: Prelude.Maybe ParallelDataStatus,+    -- | Additional information from Amazon Translate about the parallel data+    -- resource.+    message :: Prelude.Maybe Prelude.Text,+    -- | The custom name assigned to the parallel data resource.+    name :: Prelude.Maybe Prelude.Text,+    -- | Specifies the format and S3 location of the parallel data input file.+    parallelDataConfig :: Prelude.Maybe ParallelDataConfig,+    -- | The number of items in the input file that Amazon Translate skipped when+    -- you created or updated the parallel data resource. For example, Amazon+    -- Translate skips empty records, empty target texts, and empty lines.+    skippedRecordCount :: Prelude.Maybe Prelude.Integer,+    -- | The source language of the translations in the parallel data file.+    sourceLanguageCode :: Prelude.Maybe Prelude.Text,+    -- | The status of the parallel data resource. When the parallel data is+    -- ready for you to use, the status is @ACTIVE@.+    status :: Prelude.Maybe ParallelDataStatus,+    -- | The language codes for the target languages available in the parallel+    -- data file. All possible target languages are returned as an array.+    targetLanguageCodes :: Prelude.Maybe [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'ParallelDataProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'parallelDataProperties_arn' - The Amazon Resource Name (ARN) of the parallel data resource.+--+-- 'createdAt', 'parallelDataProperties_createdAt' - The time at which the parallel data resource was created.+--+-- 'description', 'parallelDataProperties_description' - The description assigned to the parallel data resource.+--+-- 'encryptionKey', 'parallelDataProperties_encryptionKey' - Undocumented member.+--+-- 'failedRecordCount', 'parallelDataProperties_failedRecordCount' - The number of records unsuccessfully imported from the parallel data+-- input file.+--+-- 'importedDataSize', 'parallelDataProperties_importedDataSize' - The number of UTF-8 characters that Amazon Translate imported from the+-- parallel data input file. This number includes only the characters in+-- your translation examples. It does not include characters that are used+-- to format your file. For example, if you provided a Translation Memory+-- Exchange (.tmx) file, this number does not include the tags.+--+-- 'importedRecordCount', 'parallelDataProperties_importedRecordCount' - The number of records successfully imported from the parallel data input+-- file.+--+-- 'lastUpdatedAt', 'parallelDataProperties_lastUpdatedAt' - The time at which the parallel data resource was last updated.+--+-- 'latestUpdateAttemptAt', 'parallelDataProperties_latestUpdateAttemptAt' - The time that the most recent update was attempted.+--+-- 'latestUpdateAttemptStatus', 'parallelDataProperties_latestUpdateAttemptStatus' - The status of the most recent update attempt for the parallel data+-- resource.+--+-- 'message', 'parallelDataProperties_message' - Additional information from Amazon Translate about the parallel data+-- resource.+--+-- 'name', 'parallelDataProperties_name' - The custom name assigned to the parallel data resource.+--+-- 'parallelDataConfig', 'parallelDataProperties_parallelDataConfig' - Specifies the format and S3 location of the parallel data input file.+--+-- 'skippedRecordCount', 'parallelDataProperties_skippedRecordCount' - The number of items in the input file that Amazon Translate skipped when+-- you created or updated the parallel data resource. For example, Amazon+-- Translate skips empty records, empty target texts, and empty lines.+--+-- 'sourceLanguageCode', 'parallelDataProperties_sourceLanguageCode' - The source language of the translations in the parallel data file.+--+-- 'status', 'parallelDataProperties_status' - The status of the parallel data resource. When the parallel data is+-- ready for you to use, the status is @ACTIVE@.+--+-- 'targetLanguageCodes', 'parallelDataProperties_targetLanguageCodes' - The language codes for the target languages available in the parallel+-- data file. All possible target languages are returned as an array.+newParallelDataProperties ::+  ParallelDataProperties+newParallelDataProperties =+  ParallelDataProperties'+    { arn = Prelude.Nothing,+      createdAt = Prelude.Nothing,+      description = Prelude.Nothing,+      encryptionKey = Prelude.Nothing,+      failedRecordCount = Prelude.Nothing,+      importedDataSize = Prelude.Nothing,+      importedRecordCount = Prelude.Nothing,+      lastUpdatedAt = Prelude.Nothing,+      latestUpdateAttemptAt = Prelude.Nothing,+      latestUpdateAttemptStatus = Prelude.Nothing,+      message = Prelude.Nothing,+      name = Prelude.Nothing,+      parallelDataConfig = Prelude.Nothing,+      skippedRecordCount = Prelude.Nothing,+      sourceLanguageCode = Prelude.Nothing,+      status = Prelude.Nothing,+      targetLanguageCodes = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the parallel data resource.+parallelDataProperties_arn :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Text)+parallelDataProperties_arn = Lens.lens (\ParallelDataProperties' {arn} -> arn) (\s@ParallelDataProperties' {} a -> s {arn = a} :: ParallelDataProperties)++-- | The time at which the parallel data resource was created.+parallelDataProperties_createdAt :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.UTCTime)+parallelDataProperties_createdAt = Lens.lens (\ParallelDataProperties' {createdAt} -> createdAt) (\s@ParallelDataProperties' {} a -> s {createdAt = a} :: ParallelDataProperties) Prelude.. Lens.mapping Data._Time++-- | The description assigned to the parallel data resource.+parallelDataProperties_description :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Text)+parallelDataProperties_description = Lens.lens (\ParallelDataProperties' {description} -> description) (\s@ParallelDataProperties' {} a -> s {description = a} :: ParallelDataProperties)++-- | Undocumented member.+parallelDataProperties_encryptionKey :: Lens.Lens' ParallelDataProperties (Prelude.Maybe EncryptionKey)+parallelDataProperties_encryptionKey = Lens.lens (\ParallelDataProperties' {encryptionKey} -> encryptionKey) (\s@ParallelDataProperties' {} a -> s {encryptionKey = a} :: ParallelDataProperties)++-- | The number of records unsuccessfully imported from the parallel data+-- input file.+parallelDataProperties_failedRecordCount :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Integer)+parallelDataProperties_failedRecordCount = Lens.lens (\ParallelDataProperties' {failedRecordCount} -> failedRecordCount) (\s@ParallelDataProperties' {} a -> s {failedRecordCount = a} :: ParallelDataProperties)++-- | The number of UTF-8 characters that Amazon Translate imported from the+-- parallel data input file. This number includes only the characters in+-- your translation examples. It does not include characters that are used+-- to format your file. For example, if you provided a Translation Memory+-- Exchange (.tmx) file, this number does not include the tags.+parallelDataProperties_importedDataSize :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Integer)+parallelDataProperties_importedDataSize = Lens.lens (\ParallelDataProperties' {importedDataSize} -> importedDataSize) (\s@ParallelDataProperties' {} a -> s {importedDataSize = a} :: ParallelDataProperties)++-- | The number of records successfully imported from the parallel data input+-- file.+parallelDataProperties_importedRecordCount :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Integer)+parallelDataProperties_importedRecordCount = Lens.lens (\ParallelDataProperties' {importedRecordCount} -> importedRecordCount) (\s@ParallelDataProperties' {} a -> s {importedRecordCount = a} :: ParallelDataProperties)++-- | The time at which the parallel data resource was last updated.+parallelDataProperties_lastUpdatedAt :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.UTCTime)+parallelDataProperties_lastUpdatedAt = Lens.lens (\ParallelDataProperties' {lastUpdatedAt} -> lastUpdatedAt) (\s@ParallelDataProperties' {} a -> s {lastUpdatedAt = a} :: ParallelDataProperties) Prelude.. Lens.mapping Data._Time++-- | The time that the most recent update was attempted.+parallelDataProperties_latestUpdateAttemptAt :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.UTCTime)+parallelDataProperties_latestUpdateAttemptAt = Lens.lens (\ParallelDataProperties' {latestUpdateAttemptAt} -> latestUpdateAttemptAt) (\s@ParallelDataProperties' {} a -> s {latestUpdateAttemptAt = a} :: ParallelDataProperties) Prelude.. Lens.mapping Data._Time++-- | The status of the most recent update attempt for the parallel data+-- resource.+parallelDataProperties_latestUpdateAttemptStatus :: Lens.Lens' ParallelDataProperties (Prelude.Maybe ParallelDataStatus)+parallelDataProperties_latestUpdateAttemptStatus = Lens.lens (\ParallelDataProperties' {latestUpdateAttemptStatus} -> latestUpdateAttemptStatus) (\s@ParallelDataProperties' {} a -> s {latestUpdateAttemptStatus = a} :: ParallelDataProperties)++-- | Additional information from Amazon Translate about the parallel data+-- resource.+parallelDataProperties_message :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Text)+parallelDataProperties_message = Lens.lens (\ParallelDataProperties' {message} -> message) (\s@ParallelDataProperties' {} a -> s {message = a} :: ParallelDataProperties)++-- | The custom name assigned to the parallel data resource.+parallelDataProperties_name :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Text)+parallelDataProperties_name = Lens.lens (\ParallelDataProperties' {name} -> name) (\s@ParallelDataProperties' {} a -> s {name = a} :: ParallelDataProperties)++-- | Specifies the format and S3 location of the parallel data input file.+parallelDataProperties_parallelDataConfig :: Lens.Lens' ParallelDataProperties (Prelude.Maybe ParallelDataConfig)+parallelDataProperties_parallelDataConfig = Lens.lens (\ParallelDataProperties' {parallelDataConfig} -> parallelDataConfig) (\s@ParallelDataProperties' {} a -> s {parallelDataConfig = a} :: ParallelDataProperties)++-- | The number of items in the input file that Amazon Translate skipped when+-- you created or updated the parallel data resource. For example, Amazon+-- Translate skips empty records, empty target texts, and empty lines.+parallelDataProperties_skippedRecordCount :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Integer)+parallelDataProperties_skippedRecordCount = Lens.lens (\ParallelDataProperties' {skippedRecordCount} -> skippedRecordCount) (\s@ParallelDataProperties' {} a -> s {skippedRecordCount = a} :: ParallelDataProperties)++-- | The source language of the translations in the parallel data file.+parallelDataProperties_sourceLanguageCode :: Lens.Lens' ParallelDataProperties (Prelude.Maybe Prelude.Text)+parallelDataProperties_sourceLanguageCode = Lens.lens (\ParallelDataProperties' {sourceLanguageCode} -> sourceLanguageCode) (\s@ParallelDataProperties' {} a -> s {sourceLanguageCode = a} :: ParallelDataProperties)++-- | The status of the parallel data resource. When the parallel data is+-- ready for you to use, the status is @ACTIVE@.+parallelDataProperties_status :: Lens.Lens' ParallelDataProperties (Prelude.Maybe ParallelDataStatus)+parallelDataProperties_status = Lens.lens (\ParallelDataProperties' {status} -> status) (\s@ParallelDataProperties' {} a -> s {status = a} :: ParallelDataProperties)++-- | The language codes for the target languages available in the parallel+-- data file. All possible target languages are returned as an array.+parallelDataProperties_targetLanguageCodes :: Lens.Lens' ParallelDataProperties (Prelude.Maybe [Prelude.Text])+parallelDataProperties_targetLanguageCodes = Lens.lens (\ParallelDataProperties' {targetLanguageCodes} -> targetLanguageCodes) (\s@ParallelDataProperties' {} a -> s {targetLanguageCodes = a} :: ParallelDataProperties) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON ParallelDataProperties where+  parseJSON =+    Data.withObject+      "ParallelDataProperties"+      ( \x ->+          ParallelDataProperties'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "CreatedAt")+            Prelude.<*> (x Data..:? "Description")+            Prelude.<*> (x Data..:? "EncryptionKey")+            Prelude.<*> (x Data..:? "FailedRecordCount")+            Prelude.<*> (x Data..:? "ImportedDataSize")+            Prelude.<*> (x Data..:? "ImportedRecordCount")+            Prelude.<*> (x Data..:? "LastUpdatedAt")+            Prelude.<*> (x Data..:? "LatestUpdateAttemptAt")+            Prelude.<*> (x Data..:? "LatestUpdateAttemptStatus")+            Prelude.<*> (x Data..:? "Message")+            Prelude.<*> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "ParallelDataConfig")+            Prelude.<*> (x Data..:? "SkippedRecordCount")+            Prelude.<*> (x Data..:? "SourceLanguageCode")+            Prelude.<*> (x Data..:? "Status")+            Prelude.<*> ( x+                            Data..:? "TargetLanguageCodes"+                            Data..!= Prelude.mempty+                        )+      )++instance Prelude.Hashable ParallelDataProperties where+  hashWithSalt _salt ParallelDataProperties' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` createdAt+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` encryptionKey+      `Prelude.hashWithSalt` failedRecordCount+      `Prelude.hashWithSalt` importedDataSize+      `Prelude.hashWithSalt` importedRecordCount+      `Prelude.hashWithSalt` lastUpdatedAt+      `Prelude.hashWithSalt` latestUpdateAttemptAt+      `Prelude.hashWithSalt` latestUpdateAttemptStatus+      `Prelude.hashWithSalt` message+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` parallelDataConfig+      `Prelude.hashWithSalt` skippedRecordCount+      `Prelude.hashWithSalt` sourceLanguageCode+      `Prelude.hashWithSalt` status+      `Prelude.hashWithSalt` targetLanguageCodes++instance Prelude.NFData ParallelDataProperties where+  rnf ParallelDataProperties' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf createdAt+      `Prelude.seq` Prelude.rnf description+      `Prelude.seq` Prelude.rnf encryptionKey+      `Prelude.seq` Prelude.rnf failedRecordCount+      `Prelude.seq` Prelude.rnf importedDataSize+      `Prelude.seq` Prelude.rnf importedRecordCount+      `Prelude.seq` Prelude.rnf lastUpdatedAt+      `Prelude.seq` Prelude.rnf latestUpdateAttemptAt+      `Prelude.seq` Prelude.rnf latestUpdateAttemptStatus+      `Prelude.seq` Prelude.rnf message+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf parallelDataConfig+      `Prelude.seq` Prelude.rnf skippedRecordCount+      `Prelude.seq` Prelude.rnf sourceLanguageCode+      `Prelude.seq` Prelude.rnf status+      `Prelude.seq` Prelude.rnf targetLanguageCodes
+ gen/Amazonka/Translate/Types/ParallelDataStatus.hs view
@@ -0,0 +1,86 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.ParallelDataStatus+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.ParallelDataStatus+  ( ParallelDataStatus+      ( ..,+        ParallelDataStatus_ACTIVE,+        ParallelDataStatus_CREATING,+        ParallelDataStatus_DELETING,+        ParallelDataStatus_FAILED,+        ParallelDataStatus_UPDATING+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype ParallelDataStatus = ParallelDataStatus'+  { fromParallelDataStatus ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern ParallelDataStatus_ACTIVE :: ParallelDataStatus+pattern ParallelDataStatus_ACTIVE = ParallelDataStatus' "ACTIVE"++pattern ParallelDataStatus_CREATING :: ParallelDataStatus+pattern ParallelDataStatus_CREATING = ParallelDataStatus' "CREATING"++pattern ParallelDataStatus_DELETING :: ParallelDataStatus+pattern ParallelDataStatus_DELETING = ParallelDataStatus' "DELETING"++pattern ParallelDataStatus_FAILED :: ParallelDataStatus+pattern ParallelDataStatus_FAILED = ParallelDataStatus' "FAILED"++pattern ParallelDataStatus_UPDATING :: ParallelDataStatus+pattern ParallelDataStatus_UPDATING = ParallelDataStatus' "UPDATING"++{-# COMPLETE+  ParallelDataStatus_ACTIVE,+  ParallelDataStatus_CREATING,+  ParallelDataStatus_DELETING,+  ParallelDataStatus_FAILED,+  ParallelDataStatus_UPDATING,+  ParallelDataStatus'+  #-}
+ gen/Amazonka/Translate/Types/Profanity.hs view
@@ -0,0 +1,66 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.Profanity+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.Profanity+  ( Profanity+      ( ..,+        Profanity_MASK+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype Profanity = Profanity'+  { fromProfanity ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern Profanity_MASK :: Profanity+pattern Profanity_MASK = Profanity' "MASK"++{-# COMPLETE+  Profanity_MASK,+  Profanity'+  #-}
+ gen/Amazonka/Translate/Types/Tag.hs view
@@ -0,0 +1,100 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.Tag+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.Tag where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | A key-value pair that adds as a metadata to a resource used by Amazon+-- Translate.+--+-- /See:/ 'newTag' smart constructor.+data Tag = Tag'+  { -- | The initial part of a key-value pair that forms a tag associated with a+    -- given resource.+    key :: Prelude.Text,+    -- | The second part of a key-value pair that forms a tag associated with a+    -- given resource.+    value :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Tag' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'key', 'tag_key' - The initial part of a key-value pair that forms a tag associated with a+-- given resource.+--+-- 'value', 'tag_value' - The second part of a key-value pair that forms a tag associated with a+-- given resource.+newTag ::+  -- | 'key'+  Prelude.Text ->+  -- | 'value'+  Prelude.Text ->+  Tag+newTag pKey_ pValue_ =+  Tag' {key = pKey_, value = pValue_}++-- | The initial part of a key-value pair that forms a tag associated with a+-- given resource.+tag_key :: Lens.Lens' Tag Prelude.Text+tag_key = Lens.lens (\Tag' {key} -> key) (\s@Tag' {} a -> s {key = a} :: Tag)++-- | The second part of a key-value pair that forms a tag associated with a+-- given resource.+tag_value :: Lens.Lens' Tag Prelude.Text+tag_value = Lens.lens (\Tag' {value} -> value) (\s@Tag' {} a -> s {value = a} :: Tag)++instance Data.FromJSON Tag where+  parseJSON =+    Data.withObject+      "Tag"+      ( \x ->+          Tag'+            Prelude.<$> (x Data..: "Key")+            Prelude.<*> (x Data..: "Value")+      )++instance Prelude.Hashable Tag where+  hashWithSalt _salt Tag' {..} =+    _salt+      `Prelude.hashWithSalt` key+      `Prelude.hashWithSalt` value++instance Prelude.NFData Tag where+  rnf Tag' {..} =+    Prelude.rnf key `Prelude.seq` Prelude.rnf value++instance Data.ToJSON Tag where+  toJSON Tag' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("Key" Data..= key),+            Prelude.Just ("Value" Data..= value)+          ]+      )
+ gen/Amazonka/Translate/Types/Term.hs view
@@ -0,0 +1,84 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.Term+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.Term where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The term being translated by the custom terminology.+--+-- /See:/ 'newTerm' smart constructor.+data Term = Term'+  { -- | The source text of the term being translated by the custom terminology.+    sourceText :: Prelude.Maybe Prelude.Text,+    -- | The target text of the term being translated by the custom terminology.+    targetText :: Prelude.Maybe Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'Term' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'sourceText', 'term_sourceText' - The source text of the term being translated by the custom terminology.+--+-- 'targetText', 'term_targetText' - The target text of the term being translated by the custom terminology.+newTerm ::+  Term+newTerm =+  Term'+    { sourceText = Prelude.Nothing,+      targetText = Prelude.Nothing+    }++-- | The source text of the term being translated by the custom terminology.+term_sourceText :: Lens.Lens' Term (Prelude.Maybe Prelude.Text)+term_sourceText = Lens.lens (\Term' {sourceText} -> sourceText) (\s@Term' {} a -> s {sourceText = a} :: Term)++-- | The target text of the term being translated by the custom terminology.+term_targetText :: Lens.Lens' Term (Prelude.Maybe Prelude.Text)+term_targetText = Lens.lens (\Term' {targetText} -> targetText) (\s@Term' {} a -> s {targetText = a} :: Term)++instance Data.FromJSON Term where+  parseJSON =+    Data.withObject+      "Term"+      ( \x ->+          Term'+            Prelude.<$> (x Data..:? "SourceText")+            Prelude.<*> (x Data..:? "TargetText")+      )++instance Prelude.Hashable Term where+  hashWithSalt _salt Term' {..} =+    _salt+      `Prelude.hashWithSalt` sourceText+      `Prelude.hashWithSalt` targetText++instance Prelude.NFData Term where+  rnf Term' {..} =+    Prelude.rnf sourceText+      `Prelude.seq` Prelude.rnf targetText
+ gen/Amazonka/Translate/Types/TerminologyData.hs view
@@ -0,0 +1,176 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.TerminologyData+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.TerminologyData where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.Directionality+import Amazonka.Translate.Types.TerminologyDataFormat++-- | The data associated with the custom terminology. For information about+-- the custom terminology file, see+-- <https://docs.aws.amazon.com/translate/latest/dg/creating-custom-terminology.html Creating a Custom Terminology>.+--+-- /See:/ 'newTerminologyData' smart constructor.+data TerminologyData = TerminologyData'+  { -- | The directionality of your terminology resource indicates whether it has+    -- one source language (uni-directional) or multiple (multi-directional).+    --+    -- [UNI]+    --     The terminology resource has one source language (for example, the+    --     first column in a CSV file), and all of its other languages are+    --     target languages.+    --+    -- [MULTI]+    --     Any language in the terminology resource can be the source language+    --     or a target language. A single multi-directional terminology+    --     resource can be used for jobs that translate different language+    --     pairs. For example, if the terminology contains English and Spanish+    --     terms, it can be used for jobs that translate English to Spanish and+    --     Spanish to English.+    --+    -- When you create a custom terminology resource without specifying the+    -- directionality, it behaves as uni-directional terminology, although this+    -- parameter will have a null value.+    directionality :: Prelude.Maybe Directionality,+    -- | The file containing the custom terminology data. Your version of the AWS+    -- SDK performs a Base64-encoding on this field before sending a request to+    -- the AWS service. Users of the SDK should not perform Base64-encoding+    -- themselves.+    file :: Data.Sensitive Data.Base64,+    -- | The data format of the custom terminology.+    format :: TerminologyDataFormat+  }+  deriving (Prelude.Eq, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TerminologyData' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'directionality', 'terminologyData_directionality' - The directionality of your terminology resource indicates whether it has+-- one source language (uni-directional) or multiple (multi-directional).+--+-- [UNI]+--     The terminology resource has one source language (for example, the+--     first column in a CSV file), and all of its other languages are+--     target languages.+--+-- [MULTI]+--     Any language in the terminology resource can be the source language+--     or a target language. A single multi-directional terminology+--     resource can be used for jobs that translate different language+--     pairs. For example, if the terminology contains English and Spanish+--     terms, it can be used for jobs that translate English to Spanish and+--     Spanish to English.+--+-- When you create a custom terminology resource without specifying the+-- directionality, it behaves as uni-directional terminology, although this+-- parameter will have a null value.+--+-- 'file', 'terminologyData_file' - The file containing the custom terminology data. Your version of the AWS+-- SDK performs a Base64-encoding on this field before sending a request to+-- the AWS service. Users of the SDK should not perform Base64-encoding+-- themselves.--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+--+-- 'format', 'terminologyData_format' - The data format of the custom terminology.+newTerminologyData ::+  -- | 'file'+  Prelude.ByteString ->+  -- | 'format'+  TerminologyDataFormat ->+  TerminologyData+newTerminologyData pFile_ pFormat_ =+  TerminologyData'+    { directionality = Prelude.Nothing,+      file =+        Data._Sensitive Prelude.. Data._Base64 Lens.# pFile_,+      format = pFormat_+    }++-- | The directionality of your terminology resource indicates whether it has+-- one source language (uni-directional) or multiple (multi-directional).+--+-- [UNI]+--     The terminology resource has one source language (for example, the+--     first column in a CSV file), and all of its other languages are+--     target languages.+--+-- [MULTI]+--     Any language in the terminology resource can be the source language+--     or a target language. A single multi-directional terminology+--     resource can be used for jobs that translate different language+--     pairs. For example, if the terminology contains English and Spanish+--     terms, it can be used for jobs that translate English to Spanish and+--     Spanish to English.+--+-- When you create a custom terminology resource without specifying the+-- directionality, it behaves as uni-directional terminology, although this+-- parameter will have a null value.+terminologyData_directionality :: Lens.Lens' TerminologyData (Prelude.Maybe Directionality)+terminologyData_directionality = Lens.lens (\TerminologyData' {directionality} -> directionality) (\s@TerminologyData' {} a -> s {directionality = a} :: TerminologyData)++-- | The file containing the custom terminology data. Your version of the AWS+-- SDK performs a Base64-encoding on this field before sending a request to+-- the AWS service. Users of the SDK should not perform Base64-encoding+-- themselves.--+-- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data.+-- -- The underlying isomorphism will encode to Base64 representation during+-- -- serialisation, and decode from Base64 representation during deserialisation.+-- -- This 'Lens' accepts and returns only raw unencoded data.+terminologyData_file :: Lens.Lens' TerminologyData Prelude.ByteString+terminologyData_file = Lens.lens (\TerminologyData' {file} -> file) (\s@TerminologyData' {} a -> s {file = a} :: TerminologyData) Prelude.. Data._Sensitive Prelude.. Data._Base64++-- | The data format of the custom terminology.+terminologyData_format :: Lens.Lens' TerminologyData TerminologyDataFormat+terminologyData_format = Lens.lens (\TerminologyData' {format} -> format) (\s@TerminologyData' {} a -> s {format = a} :: TerminologyData)++instance Prelude.Hashable TerminologyData where+  hashWithSalt _salt TerminologyData' {..} =+    _salt+      `Prelude.hashWithSalt` directionality+      `Prelude.hashWithSalt` file+      `Prelude.hashWithSalt` format++instance Prelude.NFData TerminologyData where+  rnf TerminologyData' {..} =+    Prelude.rnf directionality+      `Prelude.seq` Prelude.rnf file+      `Prelude.seq` Prelude.rnf format++instance Data.ToJSON TerminologyData where+  toJSON TerminologyData' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Directionality" Data..=)+              Prelude.<$> directionality,+            Prelude.Just ("File" Data..= file),+            Prelude.Just ("Format" Data..= format)+          ]+      )
+ gen/Amazonka/Translate/Types/TerminologyDataFormat.hs view
@@ -0,0 +1,76 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DerivingStrategies #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE PatternSynonyms #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.TerminologyDataFormat+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.TerminologyDataFormat+  ( TerminologyDataFormat+      ( ..,+        TerminologyDataFormat_CSV,+        TerminologyDataFormat_TMX,+        TerminologyDataFormat_TSV+      ),+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++newtype TerminologyDataFormat = TerminologyDataFormat'+  { fromTerminologyDataFormat ::+      Data.Text+  }+  deriving stock+    ( Prelude.Show,+      Prelude.Read,+      Prelude.Eq,+      Prelude.Ord,+      Prelude.Generic+    )+  deriving newtype+    ( Prelude.Hashable,+      Prelude.NFData,+      Data.FromText,+      Data.ToText,+      Data.ToByteString,+      Data.ToLog,+      Data.ToHeader,+      Data.ToQuery,+      Data.FromJSON,+      Data.FromJSONKey,+      Data.ToJSON,+      Data.ToJSONKey,+      Data.FromXML,+      Data.ToXML+    )++pattern TerminologyDataFormat_CSV :: TerminologyDataFormat+pattern TerminologyDataFormat_CSV = TerminologyDataFormat' "CSV"++pattern TerminologyDataFormat_TMX :: TerminologyDataFormat+pattern TerminologyDataFormat_TMX = TerminologyDataFormat' "TMX"++pattern TerminologyDataFormat_TSV :: TerminologyDataFormat+pattern TerminologyDataFormat_TSV = TerminologyDataFormat' "TSV"++{-# COMPLETE+  TerminologyDataFormat_CSV,+  TerminologyDataFormat_TMX,+  TerminologyDataFormat_TSV,+  TerminologyDataFormat'+  #-}
+ gen/Amazonka/Translate/Types/TerminologyDataLocation.hs view
@@ -0,0 +1,133 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.TerminologyDataLocation+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.TerminologyDataLocation where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude++-- | The location of the custom terminology data.+--+-- /See:/ 'newTerminologyDataLocation' smart constructor.+data TerminologyDataLocation = TerminologyDataLocation'+  { -- | The repository type for the custom terminology data.+    repositoryType :: Prelude.Text,+    -- | The Amazon S3 location of the most recent custom terminology 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.+    location :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TerminologyDataLocation' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'repositoryType', 'terminologyDataLocation_repositoryType' - The repository type for the custom terminology data.+--+-- 'location', 'terminologyDataLocation_location' - The Amazon S3 location of the most recent custom terminology 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.+newTerminologyDataLocation ::+  -- | 'repositoryType'+  Prelude.Text ->+  -- | 'location'+  Prelude.Text ->+  TerminologyDataLocation+newTerminologyDataLocation+  pRepositoryType_+  pLocation_ =+    TerminologyDataLocation'+      { repositoryType =+          pRepositoryType_,+        location = pLocation_+      }++-- | The repository type for the custom terminology data.+terminologyDataLocation_repositoryType :: Lens.Lens' TerminologyDataLocation Prelude.Text+terminologyDataLocation_repositoryType = Lens.lens (\TerminologyDataLocation' {repositoryType} -> repositoryType) (\s@TerminologyDataLocation' {} a -> s {repositoryType = a} :: TerminologyDataLocation)++-- | The Amazon S3 location of the most recent custom terminology 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.+terminologyDataLocation_location :: Lens.Lens' TerminologyDataLocation Prelude.Text+terminologyDataLocation_location = Lens.lens (\TerminologyDataLocation' {location} -> location) (\s@TerminologyDataLocation' {} a -> s {location = a} :: TerminologyDataLocation)++instance Data.FromJSON TerminologyDataLocation where+  parseJSON =+    Data.withObject+      "TerminologyDataLocation"+      ( \x ->+          TerminologyDataLocation'+            Prelude.<$> (x Data..: "RepositoryType")+            Prelude.<*> (x Data..: "Location")+      )++instance Prelude.Hashable TerminologyDataLocation where+  hashWithSalt _salt TerminologyDataLocation' {..} =+    _salt+      `Prelude.hashWithSalt` repositoryType+      `Prelude.hashWithSalt` location++instance Prelude.NFData TerminologyDataLocation where+  rnf TerminologyDataLocation' {..} =+    Prelude.rnf repositoryType+      `Prelude.seq` Prelude.rnf location
+ gen/Amazonka/Translate/Types/TerminologyProperties.hs view
@@ -0,0 +1,279 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.TerminologyProperties+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.TerminologyProperties where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.Directionality+import Amazonka.Translate.Types.EncryptionKey+import Amazonka.Translate.Types.TerminologyDataFormat++-- | The properties of the custom terminology.+--+-- /See:/ 'newTerminologyProperties' smart constructor.+data TerminologyProperties = TerminologyProperties'+  { -- | The Amazon Resource Name (ARN) of the custom terminology.+    arn :: Prelude.Maybe Prelude.Text,+    -- | The time at which the custom terminology was created, based on the+    -- timestamp.+    createdAt :: Prelude.Maybe Data.POSIX,+    -- | The description of the custom terminology properties.+    description :: Prelude.Maybe Prelude.Text,+    -- | The directionality of your terminology resource indicates whether it has+    -- one source language (uni-directional) or multiple (multi-directional).+    --+    -- [UNI]+    --     The terminology resource has one source language (the first column+    --     in a CSV file), and all of its other languages are target languages.+    --+    -- [MULTI]+    --     Any language in the terminology resource can be the source language.+    directionality :: Prelude.Maybe Directionality,+    -- | The encryption key for the custom terminology.+    encryptionKey :: Prelude.Maybe EncryptionKey,+    -- | The format of the custom terminology input file.+    format :: Prelude.Maybe TerminologyDataFormat,+    -- | The time at which the custom terminology was last update, based on the+    -- timestamp.+    lastUpdatedAt :: Prelude.Maybe Data.POSIX,+    -- | Additional information from Amazon Translate about the terminology+    -- resource.+    message :: Prelude.Maybe Prelude.Text,+    -- | The name of the custom terminology.+    name :: Prelude.Maybe Prelude.Text,+    -- | The size of the file used when importing a custom terminology.+    sizeBytes :: Prelude.Maybe Prelude.Int,+    -- | The number of terms in the input file that Amazon Translate skipped when+    -- you created or updated the terminology resource.+    skippedTermCount :: Prelude.Maybe Prelude.Int,+    -- | The language code for the source text of the translation request for+    -- which the custom terminology is being used.+    sourceLanguageCode :: Prelude.Maybe Prelude.Text,+    -- | The language codes for the target languages available with the custom+    -- terminology resource. All possible target languages are returned in+    -- array.+    targetLanguageCodes :: Prelude.Maybe [Prelude.Text],+    -- | The number of terms included in the custom terminology.+    termCount :: Prelude.Maybe Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TerminologyProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'arn', 'terminologyProperties_arn' - The Amazon Resource Name (ARN) of the custom terminology.+--+-- 'createdAt', 'terminologyProperties_createdAt' - The time at which the custom terminology was created, based on the+-- timestamp.+--+-- 'description', 'terminologyProperties_description' - The description of the custom terminology properties.+--+-- 'directionality', 'terminologyProperties_directionality' - The directionality of your terminology resource indicates whether it has+-- one source language (uni-directional) or multiple (multi-directional).+--+-- [UNI]+--     The terminology resource has one source language (the first column+--     in a CSV file), and all of its other languages are target languages.+--+-- [MULTI]+--     Any language in the terminology resource can be the source language.+--+-- 'encryptionKey', 'terminologyProperties_encryptionKey' - The encryption key for the custom terminology.+--+-- 'format', 'terminologyProperties_format' - The format of the custom terminology input file.+--+-- 'lastUpdatedAt', 'terminologyProperties_lastUpdatedAt' - The time at which the custom terminology was last update, based on the+-- timestamp.+--+-- 'message', 'terminologyProperties_message' - Additional information from Amazon Translate about the terminology+-- resource.+--+-- 'name', 'terminologyProperties_name' - The name of the custom terminology.+--+-- 'sizeBytes', 'terminologyProperties_sizeBytes' - The size of the file used when importing a custom terminology.+--+-- 'skippedTermCount', 'terminologyProperties_skippedTermCount' - The number of terms in the input file that Amazon Translate skipped when+-- you created or updated the terminology resource.+--+-- 'sourceLanguageCode', 'terminologyProperties_sourceLanguageCode' - The language code for the source text of the translation request for+-- which the custom terminology is being used.+--+-- 'targetLanguageCodes', 'terminologyProperties_targetLanguageCodes' - The language codes for the target languages available with the custom+-- terminology resource. All possible target languages are returned in+-- array.+--+-- 'termCount', 'terminologyProperties_termCount' - The number of terms included in the custom terminology.+newTerminologyProperties ::+  TerminologyProperties+newTerminologyProperties =+  TerminologyProperties'+    { arn = Prelude.Nothing,+      createdAt = Prelude.Nothing,+      description = Prelude.Nothing,+      directionality = Prelude.Nothing,+      encryptionKey = Prelude.Nothing,+      format = Prelude.Nothing,+      lastUpdatedAt = Prelude.Nothing,+      message = Prelude.Nothing,+      name = Prelude.Nothing,+      sizeBytes = Prelude.Nothing,+      skippedTermCount = Prelude.Nothing,+      sourceLanguageCode = Prelude.Nothing,+      targetLanguageCodes = Prelude.Nothing,+      termCount = Prelude.Nothing+    }++-- | The Amazon Resource Name (ARN) of the custom terminology.+terminologyProperties_arn :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Text)+terminologyProperties_arn = Lens.lens (\TerminologyProperties' {arn} -> arn) (\s@TerminologyProperties' {} a -> s {arn = a} :: TerminologyProperties)++-- | The time at which the custom terminology was created, based on the+-- timestamp.+terminologyProperties_createdAt :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.UTCTime)+terminologyProperties_createdAt = Lens.lens (\TerminologyProperties' {createdAt} -> createdAt) (\s@TerminologyProperties' {} a -> s {createdAt = a} :: TerminologyProperties) Prelude.. Lens.mapping Data._Time++-- | The description of the custom terminology properties.+terminologyProperties_description :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Text)+terminologyProperties_description = Lens.lens (\TerminologyProperties' {description} -> description) (\s@TerminologyProperties' {} a -> s {description = a} :: TerminologyProperties)++-- | The directionality of your terminology resource indicates whether it has+-- one source language (uni-directional) or multiple (multi-directional).+--+-- [UNI]+--     The terminology resource has one source language (the first column+--     in a CSV file), and all of its other languages are target languages.+--+-- [MULTI]+--     Any language in the terminology resource can be the source language.+terminologyProperties_directionality :: Lens.Lens' TerminologyProperties (Prelude.Maybe Directionality)+terminologyProperties_directionality = Lens.lens (\TerminologyProperties' {directionality} -> directionality) (\s@TerminologyProperties' {} a -> s {directionality = a} :: TerminologyProperties)++-- | The encryption key for the custom terminology.+terminologyProperties_encryptionKey :: Lens.Lens' TerminologyProperties (Prelude.Maybe EncryptionKey)+terminologyProperties_encryptionKey = Lens.lens (\TerminologyProperties' {encryptionKey} -> encryptionKey) (\s@TerminologyProperties' {} a -> s {encryptionKey = a} :: TerminologyProperties)++-- | The format of the custom terminology input file.+terminologyProperties_format :: Lens.Lens' TerminologyProperties (Prelude.Maybe TerminologyDataFormat)+terminologyProperties_format = Lens.lens (\TerminologyProperties' {format} -> format) (\s@TerminologyProperties' {} a -> s {format = a} :: TerminologyProperties)++-- | The time at which the custom terminology was last update, based on the+-- timestamp.+terminologyProperties_lastUpdatedAt :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.UTCTime)+terminologyProperties_lastUpdatedAt = Lens.lens (\TerminologyProperties' {lastUpdatedAt} -> lastUpdatedAt) (\s@TerminologyProperties' {} a -> s {lastUpdatedAt = a} :: TerminologyProperties) Prelude.. Lens.mapping Data._Time++-- | Additional information from Amazon Translate about the terminology+-- resource.+terminologyProperties_message :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Text)+terminologyProperties_message = Lens.lens (\TerminologyProperties' {message} -> message) (\s@TerminologyProperties' {} a -> s {message = a} :: TerminologyProperties)++-- | The name of the custom terminology.+terminologyProperties_name :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Text)+terminologyProperties_name = Lens.lens (\TerminologyProperties' {name} -> name) (\s@TerminologyProperties' {} a -> s {name = a} :: TerminologyProperties)++-- | The size of the file used when importing a custom terminology.+terminologyProperties_sizeBytes :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Int)+terminologyProperties_sizeBytes = Lens.lens (\TerminologyProperties' {sizeBytes} -> sizeBytes) (\s@TerminologyProperties' {} a -> s {sizeBytes = a} :: TerminologyProperties)++-- | The number of terms in the input file that Amazon Translate skipped when+-- you created or updated the terminology resource.+terminologyProperties_skippedTermCount :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Int)+terminologyProperties_skippedTermCount = Lens.lens (\TerminologyProperties' {skippedTermCount} -> skippedTermCount) (\s@TerminologyProperties' {} a -> s {skippedTermCount = a} :: TerminologyProperties)++-- | The language code for the source text of the translation request for+-- which the custom terminology is being used.+terminologyProperties_sourceLanguageCode :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Text)+terminologyProperties_sourceLanguageCode = Lens.lens (\TerminologyProperties' {sourceLanguageCode} -> sourceLanguageCode) (\s@TerminologyProperties' {} a -> s {sourceLanguageCode = a} :: TerminologyProperties)++-- | The language codes for the target languages available with the custom+-- terminology resource. All possible target languages are returned in+-- array.+terminologyProperties_targetLanguageCodes :: Lens.Lens' TerminologyProperties (Prelude.Maybe [Prelude.Text])+terminologyProperties_targetLanguageCodes = Lens.lens (\TerminologyProperties' {targetLanguageCodes} -> targetLanguageCodes) (\s@TerminologyProperties' {} a -> s {targetLanguageCodes = a} :: TerminologyProperties) Prelude.. Lens.mapping Lens.coerced++-- | The number of terms included in the custom terminology.+terminologyProperties_termCount :: Lens.Lens' TerminologyProperties (Prelude.Maybe Prelude.Int)+terminologyProperties_termCount = Lens.lens (\TerminologyProperties' {termCount} -> termCount) (\s@TerminologyProperties' {} a -> s {termCount = a} :: TerminologyProperties)++instance Data.FromJSON TerminologyProperties where+  parseJSON =+    Data.withObject+      "TerminologyProperties"+      ( \x ->+          TerminologyProperties'+            Prelude.<$> (x Data..:? "Arn")+            Prelude.<*> (x Data..:? "CreatedAt")+            Prelude.<*> (x Data..:? "Description")+            Prelude.<*> (x Data..:? "Directionality")+            Prelude.<*> (x Data..:? "EncryptionKey")+            Prelude.<*> (x Data..:? "Format")+            Prelude.<*> (x Data..:? "LastUpdatedAt")+            Prelude.<*> (x Data..:? "Message")+            Prelude.<*> (x Data..:? "Name")+            Prelude.<*> (x Data..:? "SizeBytes")+            Prelude.<*> (x Data..:? "SkippedTermCount")+            Prelude.<*> (x Data..:? "SourceLanguageCode")+            Prelude.<*> ( x+                            Data..:? "TargetLanguageCodes"+                            Data..!= Prelude.mempty+                        )+            Prelude.<*> (x Data..:? "TermCount")+      )++instance Prelude.Hashable TerminologyProperties where+  hashWithSalt _salt TerminologyProperties' {..} =+    _salt+      `Prelude.hashWithSalt` arn+      `Prelude.hashWithSalt` createdAt+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` directionality+      `Prelude.hashWithSalt` encryptionKey+      `Prelude.hashWithSalt` format+      `Prelude.hashWithSalt` lastUpdatedAt+      `Prelude.hashWithSalt` message+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` sizeBytes+      `Prelude.hashWithSalt` skippedTermCount+      `Prelude.hashWithSalt` sourceLanguageCode+      `Prelude.hashWithSalt` targetLanguageCodes+      `Prelude.hashWithSalt` termCount++instance Prelude.NFData TerminologyProperties where+  rnf TerminologyProperties' {..} =+    Prelude.rnf arn+      `Prelude.seq` Prelude.rnf createdAt+      `Prelude.seq` Prelude.rnf description+      `Prelude.seq` Prelude.rnf directionality+      `Prelude.seq` Prelude.rnf encryptionKey+      `Prelude.seq` Prelude.rnf format+      `Prelude.seq` Prelude.rnf lastUpdatedAt+      `Prelude.seq` Prelude.rnf message+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf sizeBytes+      `Prelude.seq` Prelude.rnf skippedTermCount+      `Prelude.seq` Prelude.rnf sourceLanguageCode+      `Prelude.seq` Prelude.rnf targetLanguageCodes+      `Prelude.seq` Prelude.rnf termCount
+ gen/Amazonka/Translate/Types/TextTranslationJobFilter.hs view
@@ -0,0 +1,124 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.TextTranslationJobFilter+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.TextTranslationJobFilter where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.JobStatus++-- | Provides information for filtering a list of translation jobs. For more+-- information, see ListTextTranslationJobs.+--+-- /See:/ 'newTextTranslationJobFilter' smart constructor.+data TextTranslationJobFilter = TextTranslationJobFilter'+  { -- | Filters the list of jobs by name.+    jobName :: Prelude.Maybe Prelude.Text,+    -- | Filters the list of jobs based by job status.+    jobStatus :: Prelude.Maybe JobStatus,+    -- | Filters the list of jobs based on the time that the job was submitted+    -- for processing and returns only the jobs submitted after the specified+    -- time. Jobs are returned in descending order, newest to oldest.+    submittedAfterTime :: Prelude.Maybe Data.POSIX,+    -- | Filters the list of jobs based on the time that the job was submitted+    -- for processing and returns only the jobs submitted before the specified+    -- time. Jobs are returned in ascending order, oldest to newest.+    submittedBeforeTime :: Prelude.Maybe Data.POSIX+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TextTranslationJobFilter' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'jobName', 'textTranslationJobFilter_jobName' - Filters the list of jobs by name.+--+-- 'jobStatus', 'textTranslationJobFilter_jobStatus' - Filters the list of jobs based by job status.+--+-- 'submittedAfterTime', 'textTranslationJobFilter_submittedAfterTime' - Filters the list of jobs based on the time that the job was submitted+-- for processing and returns only the jobs submitted after the specified+-- time. Jobs are returned in descending order, newest to oldest.+--+-- 'submittedBeforeTime', 'textTranslationJobFilter_submittedBeforeTime' - Filters the list of jobs based on the time that the job was submitted+-- for processing and returns only the jobs submitted before the specified+-- time. Jobs are returned in ascending order, oldest to newest.+newTextTranslationJobFilter ::+  TextTranslationJobFilter+newTextTranslationJobFilter =+  TextTranslationJobFilter'+    { jobName =+        Prelude.Nothing,+      jobStatus = Prelude.Nothing,+      submittedAfterTime = Prelude.Nothing,+      submittedBeforeTime = Prelude.Nothing+    }++-- | Filters the list of jobs by name.+textTranslationJobFilter_jobName :: Lens.Lens' TextTranslationJobFilter (Prelude.Maybe Prelude.Text)+textTranslationJobFilter_jobName = Lens.lens (\TextTranslationJobFilter' {jobName} -> jobName) (\s@TextTranslationJobFilter' {} a -> s {jobName = a} :: TextTranslationJobFilter)++-- | Filters the list of jobs based by job status.+textTranslationJobFilter_jobStatus :: Lens.Lens' TextTranslationJobFilter (Prelude.Maybe JobStatus)+textTranslationJobFilter_jobStatus = Lens.lens (\TextTranslationJobFilter' {jobStatus} -> jobStatus) (\s@TextTranslationJobFilter' {} a -> s {jobStatus = a} :: TextTranslationJobFilter)++-- | Filters the list of jobs based on the time that the job was submitted+-- for processing and returns only the jobs submitted after the specified+-- time. Jobs are returned in descending order, newest to oldest.+textTranslationJobFilter_submittedAfterTime :: Lens.Lens' TextTranslationJobFilter (Prelude.Maybe Prelude.UTCTime)+textTranslationJobFilter_submittedAfterTime = Lens.lens (\TextTranslationJobFilter' {submittedAfterTime} -> submittedAfterTime) (\s@TextTranslationJobFilter' {} a -> s {submittedAfterTime = a} :: TextTranslationJobFilter) Prelude.. Lens.mapping Data._Time++-- | Filters the list of jobs based on the time that the job was submitted+-- for processing and returns only the jobs submitted before the specified+-- time. Jobs are returned in ascending order, oldest to newest.+textTranslationJobFilter_submittedBeforeTime :: Lens.Lens' TextTranslationJobFilter (Prelude.Maybe Prelude.UTCTime)+textTranslationJobFilter_submittedBeforeTime = Lens.lens (\TextTranslationJobFilter' {submittedBeforeTime} -> submittedBeforeTime) (\s@TextTranslationJobFilter' {} a -> s {submittedBeforeTime = a} :: TextTranslationJobFilter) Prelude.. Lens.mapping Data._Time++instance Prelude.Hashable TextTranslationJobFilter where+  hashWithSalt _salt TextTranslationJobFilter' {..} =+    _salt+      `Prelude.hashWithSalt` jobName+      `Prelude.hashWithSalt` jobStatus+      `Prelude.hashWithSalt` submittedAfterTime+      `Prelude.hashWithSalt` submittedBeforeTime++instance Prelude.NFData TextTranslationJobFilter where+  rnf TextTranslationJobFilter' {..} =+    Prelude.rnf jobName+      `Prelude.seq` Prelude.rnf jobStatus+      `Prelude.seq` Prelude.rnf submittedAfterTime+      `Prelude.seq` Prelude.rnf submittedBeforeTime++instance Data.ToJSON TextTranslationJobFilter where+  toJSON TextTranslationJobFilter' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("JobName" Data..=) Prelude.<$> jobName,+            ("JobStatus" Data..=) Prelude.<$> jobStatus,+            ("SubmittedAfterTime" Data..=)+              Prelude.<$> submittedAfterTime,+            ("SubmittedBeforeTime" Data..=)+              Prelude.<$> submittedBeforeTime+          ]+      )
+ gen/Amazonka/Translate/Types/TextTranslationJobProperties.hs view
@@ -0,0 +1,288 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.TextTranslationJobProperties+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.TextTranslationJobProperties where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.InputDataConfig+import Amazonka.Translate.Types.JobDetails+import Amazonka.Translate.Types.JobStatus+import Amazonka.Translate.Types.OutputDataConfig+import Amazonka.Translate.Types.TranslationSettings++-- | Provides information about a translation job.+--+-- /See:/ 'newTextTranslationJobProperties' smart constructor.+data TextTranslationJobProperties = TextTranslationJobProperties'+  { -- | 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.+    dataAccessRoleArn :: Prelude.Maybe Prelude.Text,+    -- | The time at which the translation job ended.+    endTime :: Prelude.Maybe Data.POSIX,+    -- | The input configuration properties that were specified when the job was+    -- requested.+    inputDataConfig :: Prelude.Maybe InputDataConfig,+    -- | The number of documents successfully and unsuccessfully processed during+    -- the translation job.+    jobDetails :: Prelude.Maybe JobDetails,+    -- | The ID of the translation job.+    jobId :: Prelude.Maybe Prelude.Text,+    -- | The user-defined name of the translation job.+    jobName :: Prelude.Maybe Prelude.Text,+    -- | The status of the translation job.+    jobStatus :: Prelude.Maybe JobStatus,+    -- | An explanation of any errors that may have occurred during the+    -- translation job.+    message :: Prelude.Maybe Prelude.Text,+    -- | The output configuration properties that were specified when the job was+    -- requested.+    outputDataConfig :: Prelude.Maybe OutputDataConfig,+    -- | A list containing the names of the parallel data resources applied to+    -- the translation job.+    parallelDataNames :: Prelude.Maybe [Prelude.Text],+    -- | Settings that configure the translation output.+    settings :: Prelude.Maybe TranslationSettings,+    -- | The language code of the language of the source text. The language must+    -- be a language supported by Amazon Translate.+    sourceLanguageCode :: Prelude.Maybe Prelude.Text,+    -- | The time at which the translation job was submitted.+    submittedTime :: Prelude.Maybe Data.POSIX,+    -- | The language code of the language of the target text. The language must+    -- be a language supported by Amazon Translate.+    targetLanguageCodes :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),+    -- | 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.+    terminologyNames :: Prelude.Maybe [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TextTranslationJobProperties' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'dataAccessRoleArn', '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.+--+-- 'endTime', 'textTranslationJobProperties_endTime' - The time at which the translation job ended.+--+-- 'inputDataConfig', 'textTranslationJobProperties_inputDataConfig' - The input configuration properties that were specified when the job was+-- requested.+--+-- 'jobDetails', 'textTranslationJobProperties_jobDetails' - The number of documents successfully and unsuccessfully processed during+-- the translation job.+--+-- 'jobId', 'textTranslationJobProperties_jobId' - The ID of the translation job.+--+-- 'jobName', 'textTranslationJobProperties_jobName' - The user-defined name of the translation job.+--+-- 'jobStatus', 'textTranslationJobProperties_jobStatus' - The status of the translation job.+--+-- 'message', 'textTranslationJobProperties_message' - An explanation of any errors that may have occurred during the+-- translation job.+--+-- 'outputDataConfig', 'textTranslationJobProperties_outputDataConfig' - The output configuration properties that were specified when the job was+-- requested.+--+-- 'parallelDataNames', 'textTranslationJobProperties_parallelDataNames' - A list containing the names of the parallel data resources applied to+-- the translation job.+--+-- 'settings', 'textTranslationJobProperties_settings' - Settings that configure the translation output.+--+-- 'sourceLanguageCode', 'textTranslationJobProperties_sourceLanguageCode' - The language code of the language of the source text. The language must+-- be a language supported by Amazon Translate.+--+-- 'submittedTime', 'textTranslationJobProperties_submittedTime' - The time at which the translation job was submitted.+--+-- 'targetLanguageCodes', 'textTranslationJobProperties_targetLanguageCodes' - The language code of the language of the target text. The language must+-- be a language supported by Amazon Translate.+--+-- 'terminologyNames', '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.+newTextTranslationJobProperties ::+  TextTranslationJobProperties+newTextTranslationJobProperties =+  TextTranslationJobProperties'+    { dataAccessRoleArn =+        Prelude.Nothing,+      endTime = Prelude.Nothing,+      inputDataConfig = Prelude.Nothing,+      jobDetails = Prelude.Nothing,+      jobId = Prelude.Nothing,+      jobName = Prelude.Nothing,+      jobStatus = Prelude.Nothing,+      message = Prelude.Nothing,+      outputDataConfig = Prelude.Nothing,+      parallelDataNames = Prelude.Nothing,+      settings = Prelude.Nothing,+      sourceLanguageCode = Prelude.Nothing,+      submittedTime = Prelude.Nothing,+      targetLanguageCodes = Prelude.Nothing,+      terminologyNames = Prelude.Nothing+    }++-- | 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_dataAccessRoleArn :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe Prelude.Text)+textTranslationJobProperties_dataAccessRoleArn = Lens.lens (\TextTranslationJobProperties' {dataAccessRoleArn} -> dataAccessRoleArn) (\s@TextTranslationJobProperties' {} a -> s {dataAccessRoleArn = a} :: TextTranslationJobProperties)++-- | The time at which the translation job ended.+textTranslationJobProperties_endTime :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe Prelude.UTCTime)+textTranslationJobProperties_endTime = Lens.lens (\TextTranslationJobProperties' {endTime} -> endTime) (\s@TextTranslationJobProperties' {} a -> s {endTime = a} :: TextTranslationJobProperties) Prelude.. Lens.mapping Data._Time++-- | The input configuration properties that were specified when the job was+-- requested.+textTranslationJobProperties_inputDataConfig :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe InputDataConfig)+textTranslationJobProperties_inputDataConfig = Lens.lens (\TextTranslationJobProperties' {inputDataConfig} -> inputDataConfig) (\s@TextTranslationJobProperties' {} a -> s {inputDataConfig = a} :: TextTranslationJobProperties)++-- | The number of documents successfully and unsuccessfully processed during+-- the translation job.+textTranslationJobProperties_jobDetails :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe JobDetails)+textTranslationJobProperties_jobDetails = Lens.lens (\TextTranslationJobProperties' {jobDetails} -> jobDetails) (\s@TextTranslationJobProperties' {} a -> s {jobDetails = a} :: TextTranslationJobProperties)++-- | The ID of the translation job.+textTranslationJobProperties_jobId :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe Prelude.Text)+textTranslationJobProperties_jobId = Lens.lens (\TextTranslationJobProperties' {jobId} -> jobId) (\s@TextTranslationJobProperties' {} a -> s {jobId = a} :: TextTranslationJobProperties)++-- | The user-defined name of the translation job.+textTranslationJobProperties_jobName :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe Prelude.Text)+textTranslationJobProperties_jobName = Lens.lens (\TextTranslationJobProperties' {jobName} -> jobName) (\s@TextTranslationJobProperties' {} a -> s {jobName = a} :: TextTranslationJobProperties)++-- | The status of the translation job.+textTranslationJobProperties_jobStatus :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe JobStatus)+textTranslationJobProperties_jobStatus = Lens.lens (\TextTranslationJobProperties' {jobStatus} -> jobStatus) (\s@TextTranslationJobProperties' {} a -> s {jobStatus = a} :: TextTranslationJobProperties)++-- | An explanation of any errors that may have occurred during the+-- translation job.+textTranslationJobProperties_message :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe Prelude.Text)+textTranslationJobProperties_message = Lens.lens (\TextTranslationJobProperties' {message} -> message) (\s@TextTranslationJobProperties' {} a -> s {message = a} :: TextTranslationJobProperties)++-- | The output configuration properties that were specified when the job was+-- requested.+textTranslationJobProperties_outputDataConfig :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe OutputDataConfig)+textTranslationJobProperties_outputDataConfig = Lens.lens (\TextTranslationJobProperties' {outputDataConfig} -> outputDataConfig) (\s@TextTranslationJobProperties' {} a -> s {outputDataConfig = a} :: TextTranslationJobProperties)++-- | A list containing the names of the parallel data resources applied to+-- the translation job.+textTranslationJobProperties_parallelDataNames :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe [Prelude.Text])+textTranslationJobProperties_parallelDataNames = Lens.lens (\TextTranslationJobProperties' {parallelDataNames} -> parallelDataNames) (\s@TextTranslationJobProperties' {} a -> s {parallelDataNames = a} :: TextTranslationJobProperties) Prelude.. Lens.mapping Lens.coerced++-- | Settings that configure the translation output.+textTranslationJobProperties_settings :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe TranslationSettings)+textTranslationJobProperties_settings = Lens.lens (\TextTranslationJobProperties' {settings} -> settings) (\s@TextTranslationJobProperties' {} a -> s {settings = a} :: TextTranslationJobProperties)++-- | The language code of the language of the source text. The language must+-- be a language supported by Amazon Translate.+textTranslationJobProperties_sourceLanguageCode :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe Prelude.Text)+textTranslationJobProperties_sourceLanguageCode = Lens.lens (\TextTranslationJobProperties' {sourceLanguageCode} -> sourceLanguageCode) (\s@TextTranslationJobProperties' {} a -> s {sourceLanguageCode = a} :: TextTranslationJobProperties)++-- | The time at which the translation job was submitted.+textTranslationJobProperties_submittedTime :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe Prelude.UTCTime)+textTranslationJobProperties_submittedTime = Lens.lens (\TextTranslationJobProperties' {submittedTime} -> submittedTime) (\s@TextTranslationJobProperties' {} a -> s {submittedTime = a} :: TextTranslationJobProperties) Prelude.. Lens.mapping Data._Time++-- | The language code of the language of the target text. The language must+-- be a language supported by Amazon Translate.+textTranslationJobProperties_targetLanguageCodes :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))+textTranslationJobProperties_targetLanguageCodes = Lens.lens (\TextTranslationJobProperties' {targetLanguageCodes} -> targetLanguageCodes) (\s@TextTranslationJobProperties' {} a -> s {targetLanguageCodes = a} :: TextTranslationJobProperties) Prelude.. Lens.mapping Lens.coerced++-- | 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_terminologyNames :: Lens.Lens' TextTranslationJobProperties (Prelude.Maybe [Prelude.Text])+textTranslationJobProperties_terminologyNames = Lens.lens (\TextTranslationJobProperties' {terminologyNames} -> terminologyNames) (\s@TextTranslationJobProperties' {} a -> s {terminologyNames = a} :: TextTranslationJobProperties) Prelude.. Lens.mapping Lens.coerced++instance Data.FromJSON TextTranslationJobProperties where+  parseJSON =+    Data.withObject+      "TextTranslationJobProperties"+      ( \x ->+          TextTranslationJobProperties'+            Prelude.<$> (x Data..:? "DataAccessRoleArn")+            Prelude.<*> (x Data..:? "EndTime")+            Prelude.<*> (x Data..:? "InputDataConfig")+            Prelude.<*> (x Data..:? "JobDetails")+            Prelude.<*> (x Data..:? "JobId")+            Prelude.<*> (x Data..:? "JobName")+            Prelude.<*> (x Data..:? "JobStatus")+            Prelude.<*> (x Data..:? "Message")+            Prelude.<*> (x Data..:? "OutputDataConfig")+            Prelude.<*> ( x+                            Data..:? "ParallelDataNames"+                            Data..!= Prelude.mempty+                        )+            Prelude.<*> (x Data..:? "Settings")+            Prelude.<*> (x Data..:? "SourceLanguageCode")+            Prelude.<*> (x Data..:? "SubmittedTime")+            Prelude.<*> (x Data..:? "TargetLanguageCodes")+            Prelude.<*> ( x+                            Data..:? "TerminologyNames"+                            Data..!= Prelude.mempty+                        )+      )++instance+  Prelude.Hashable+    TextTranslationJobProperties+  where+  hashWithSalt _salt TextTranslationJobProperties' {..} =+    _salt+      `Prelude.hashWithSalt` dataAccessRoleArn+      `Prelude.hashWithSalt` endTime+      `Prelude.hashWithSalt` inputDataConfig+      `Prelude.hashWithSalt` jobDetails+      `Prelude.hashWithSalt` jobId+      `Prelude.hashWithSalt` jobName+      `Prelude.hashWithSalt` jobStatus+      `Prelude.hashWithSalt` message+      `Prelude.hashWithSalt` outputDataConfig+      `Prelude.hashWithSalt` parallelDataNames+      `Prelude.hashWithSalt` settings+      `Prelude.hashWithSalt` sourceLanguageCode+      `Prelude.hashWithSalt` submittedTime+      `Prelude.hashWithSalt` targetLanguageCodes+      `Prelude.hashWithSalt` terminologyNames++instance Prelude.NFData TextTranslationJobProperties where+  rnf TextTranslationJobProperties' {..} =+    Prelude.rnf dataAccessRoleArn+      `Prelude.seq` Prelude.rnf endTime+      `Prelude.seq` Prelude.rnf inputDataConfig+      `Prelude.seq` Prelude.rnf jobDetails+      `Prelude.seq` Prelude.rnf jobId+      `Prelude.seq` Prelude.rnf jobName+      `Prelude.seq` Prelude.rnf jobStatus+      `Prelude.seq` Prelude.rnf message+      `Prelude.seq` Prelude.rnf outputDataConfig+      `Prelude.seq` Prelude.rnf parallelDataNames+      `Prelude.seq` Prelude.rnf settings+      `Prelude.seq` Prelude.rnf sourceLanguageCode+      `Prelude.seq` Prelude.rnf submittedTime+      `Prelude.seq` Prelude.rnf targetLanguageCodes+      `Prelude.seq` Prelude.rnf terminologyNames
+ gen/Amazonka/Translate/Types/TranslationSettings.hs view
@@ -0,0 +1,183 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Types.TranslationSettings+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Types.TranslationSettings where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Types.Formality+import Amazonka.Translate.Types.Profanity++-- | Optional settings that configure the translation output. Use these+-- settings for real time translations and asynchronous translation jobs.+--+-- /See:/ 'newTranslationSettings' smart constructor.+data TranslationSettings = TranslationSettings'+  { -- | You can optionally specify the desired level of formality for+    -- translations to supported target languages. The formality setting+    -- controls the level of formal language usage (also known as+    -- <https://en.wikipedia.org/wiki/Register_(sociolinguistics) register>) in+    -- the translation output. You can set the value to informal or formal. If+    -- you don\'t specify a value for formality, or if the target language+    -- doesn\'t support formality, the translation will ignore the formality+    -- setting.+    --+    -- If you specify multiple target languages for the job, translate ignores+    -- the formality setting for any unsupported target language.+    --+    -- For a list of target languages that support formality, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-formality.html#customizing-translations-formality-languages Supported languages>+    -- in the Amazon Translate Developer Guide.+    formality :: Prelude.Maybe Formality,+    -- | Enable the profanity setting if you want Amazon Translate to mask+    -- profane words and phrases in your translation output.+    --+    -- To mask profane words and phrases, Amazon Translate replaces them with+    -- the grawlix string “?$#\@$“. This 5-character sequence is used for each+    -- profane word or phrase, regardless of the length or number of words.+    --+    -- Amazon Translate doesn\'t detect profanity in all of its supported+    -- languages. For languages that don\'t support profanity detection, see+    -- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-profanity.html#customizing-translations-profanity-languages Unsupported languages>+    -- in the Amazon Translate Developer Guide.+    --+    -- If you specify multiple target languages for the job, all the target+    -- languages must support profanity masking. If any of the target languages+    -- don\'t support profanity masking, the translation job won\'t mask+    -- profanity for any target language.+    profanity :: Prelude.Maybe Profanity+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'TranslationSettings' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'formality', 'translationSettings_formality' - You can optionally specify the desired level of formality for+-- translations to supported target languages. The formality setting+-- controls the level of formal language usage (also known as+-- <https://en.wikipedia.org/wiki/Register_(sociolinguistics) register>) in+-- the translation output. You can set the value to informal or formal. If+-- you don\'t specify a value for formality, or if the target language+-- doesn\'t support formality, the translation will ignore the formality+-- setting.+--+-- If you specify multiple target languages for the job, translate ignores+-- the formality setting for any unsupported target language.+--+-- For a list of target languages that support formality, see+-- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-formality.html#customizing-translations-formality-languages Supported languages>+-- in the Amazon Translate Developer Guide.+--+-- 'profanity', 'translationSettings_profanity' - Enable the profanity setting if you want Amazon Translate to mask+-- profane words and phrases in your translation output.+--+-- To mask profane words and phrases, Amazon Translate replaces them with+-- the grawlix string “?$#\@$“. This 5-character sequence is used for each+-- profane word or phrase, regardless of the length or number of words.+--+-- Amazon Translate doesn\'t detect profanity in all of its supported+-- languages. For languages that don\'t support profanity detection, see+-- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-profanity.html#customizing-translations-profanity-languages Unsupported languages>+-- in the Amazon Translate Developer Guide.+--+-- If you specify multiple target languages for the job, all the target+-- languages must support profanity masking. If any of the target languages+-- don\'t support profanity masking, the translation job won\'t mask+-- profanity for any target language.+newTranslationSettings ::+  TranslationSettings+newTranslationSettings =+  TranslationSettings'+    { formality = Prelude.Nothing,+      profanity = Prelude.Nothing+    }++-- | You can optionally specify the desired level of formality for+-- translations to supported target languages. The formality setting+-- controls the level of formal language usage (also known as+-- <https://en.wikipedia.org/wiki/Register_(sociolinguistics) register>) in+-- the translation output. You can set the value to informal or formal. If+-- you don\'t specify a value for formality, or if the target language+-- doesn\'t support formality, the translation will ignore the formality+-- setting.+--+-- If you specify multiple target languages for the job, translate ignores+-- the formality setting for any unsupported target language.+--+-- For a list of target languages that support formality, see+-- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-formality.html#customizing-translations-formality-languages Supported languages>+-- in the Amazon Translate Developer Guide.+translationSettings_formality :: Lens.Lens' TranslationSettings (Prelude.Maybe Formality)+translationSettings_formality = Lens.lens (\TranslationSettings' {formality} -> formality) (\s@TranslationSettings' {} a -> s {formality = a} :: TranslationSettings)++-- | Enable the profanity setting if you want Amazon Translate to mask+-- profane words and phrases in your translation output.+--+-- To mask profane words and phrases, Amazon Translate replaces them with+-- the grawlix string “?$#\@$“. This 5-character sequence is used for each+-- profane word or phrase, regardless of the length or number of words.+--+-- Amazon Translate doesn\'t detect profanity in all of its supported+-- languages. For languages that don\'t support profanity detection, see+-- <https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-profanity.html#customizing-translations-profanity-languages Unsupported languages>+-- in the Amazon Translate Developer Guide.+--+-- If you specify multiple target languages for the job, all the target+-- languages must support profanity masking. If any of the target languages+-- don\'t support profanity masking, the translation job won\'t mask+-- profanity for any target language.+translationSettings_profanity :: Lens.Lens' TranslationSettings (Prelude.Maybe Profanity)+translationSettings_profanity = Lens.lens (\TranslationSettings' {profanity} -> profanity) (\s@TranslationSettings' {} a -> s {profanity = a} :: TranslationSettings)++instance Data.FromJSON TranslationSettings where+  parseJSON =+    Data.withObject+      "TranslationSettings"+      ( \x ->+          TranslationSettings'+            Prelude.<$> (x Data..:? "Formality")+            Prelude.<*> (x Data..:? "Profanity")+      )++instance Prelude.Hashable TranslationSettings where+  hashWithSalt _salt TranslationSettings' {..} =+    _salt+      `Prelude.hashWithSalt` formality+      `Prelude.hashWithSalt` profanity++instance Prelude.NFData TranslationSettings where+  rnf TranslationSettings' {..} =+    Prelude.rnf formality+      `Prelude.seq` Prelude.rnf profanity++instance Data.ToJSON TranslationSettings where+  toJSON TranslationSettings' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Formality" Data..=) Prelude.<$> formality,+            ("Profanity" Data..=) Prelude.<$> profanity+          ]+      )
+ gen/Amazonka/Translate/UntagResource.hs view
@@ -0,0 +1,182 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.UntagResource+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Removes a specific tag associated with an Amazon Translate resource. For+-- more information, see+-- <https://docs.aws.amazon.com/translate/latest/dg/tagging.html Tagging your resources>.+module Amazonka.Translate.UntagResource+  ( -- * Creating a Request+    UntagResource (..),+    newUntagResource,++    -- * Request Lenses+    untagResource_resourceArn,+    untagResource_tagKeys,++    -- * Destructuring the Response+    UntagResourceResponse (..),+    newUntagResourceResponse,++    -- * Response Lenses+    untagResourceResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newUntagResource' smart constructor.+data UntagResource = UntagResource'+  { -- | The Amazon Resource Name (ARN) of the given Amazon Translate resource+    -- from which you want to remove the tags.+    resourceArn :: Prelude.Text,+    -- | The initial part of a key-value pair that forms a tag being removed from+    -- a given resource. Keys must be unique and cannot be duplicated for a+    -- particular resource.+    tagKeys :: [Prelude.Text]+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResource' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'resourceArn', 'untagResource_resourceArn' - The Amazon Resource Name (ARN) of the given Amazon Translate resource+-- from which you want to remove the tags.+--+-- 'tagKeys', 'untagResource_tagKeys' - The initial part of a key-value pair that forms a tag being removed from+-- a given resource. Keys must be unique and cannot be duplicated for a+-- particular resource.+newUntagResource ::+  -- | 'resourceArn'+  Prelude.Text ->+  UntagResource+newUntagResource pResourceArn_ =+  UntagResource'+    { resourceArn = pResourceArn_,+      tagKeys = Prelude.mempty+    }++-- | The Amazon Resource Name (ARN) of the given Amazon Translate resource+-- from which you want to remove the tags.+untagResource_resourceArn :: Lens.Lens' UntagResource Prelude.Text+untagResource_resourceArn = Lens.lens (\UntagResource' {resourceArn} -> resourceArn) (\s@UntagResource' {} a -> s {resourceArn = a} :: UntagResource)++-- | The initial part of a key-value pair that forms a tag being removed from+-- a given resource. Keys must be unique and cannot be duplicated for a+-- particular resource.+untagResource_tagKeys :: Lens.Lens' UntagResource [Prelude.Text]+untagResource_tagKeys = Lens.lens (\UntagResource' {tagKeys} -> tagKeys) (\s@UntagResource' {} a -> s {tagKeys = a} :: UntagResource) Prelude.. Lens.coerced++instance Core.AWSRequest UntagResource where+  type+    AWSResponse UntagResource =+      UntagResourceResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveEmpty+      ( \s h x ->+          UntagResourceResponse'+            Prelude.<$> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UntagResource where+  hashWithSalt _salt UntagResource' {..} =+    _salt+      `Prelude.hashWithSalt` resourceArn+      `Prelude.hashWithSalt` tagKeys++instance Prelude.NFData UntagResource where+  rnf UntagResource' {..} =+    Prelude.rnf resourceArn+      `Prelude.seq` Prelude.rnf tagKeys++instance Data.ToHeaders UntagResource where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.UntagResource" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON UntagResource where+  toJSON UntagResource' {..} =+    Data.object+      ( Prelude.catMaybes+          [ Prelude.Just ("ResourceArn" Data..= resourceArn),+            Prelude.Just ("TagKeys" Data..= tagKeys)+          ]+      )++instance Data.ToPath UntagResource where+  toPath = Prelude.const "/"++instance Data.ToQuery UntagResource where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUntagResourceResponse' smart constructor.+data UntagResourceResponse = UntagResourceResponse'+  { -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UntagResourceResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'httpStatus', 'untagResourceResponse_httpStatus' - The response's http status code.+newUntagResourceResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UntagResourceResponse+newUntagResourceResponse pHttpStatus_ =+  UntagResourceResponse' {httpStatus = pHttpStatus_}++-- | The response's http status code.+untagResourceResponse_httpStatus :: Lens.Lens' UntagResourceResponse Prelude.Int+untagResourceResponse_httpStatus = Lens.lens (\UntagResourceResponse' {httpStatus} -> httpStatus) (\s@UntagResourceResponse' {} a -> s {httpStatus = a} :: UntagResourceResponse)++instance Prelude.NFData UntagResourceResponse where+  rnf UntagResourceResponse' {..} =+    Prelude.rnf httpStatus
+ gen/Amazonka/Translate/UpdateParallelData.hs view
@@ -0,0 +1,269 @@+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE DuplicateRecordFields #-}+{-# LANGUAGE NamedFieldPuns #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.UpdateParallelData+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates a previously created parallel data resource by importing a new+-- input file from Amazon S3.+module Amazonka.Translate.UpdateParallelData+  ( -- * Creating a Request+    UpdateParallelData (..),+    newUpdateParallelData,++    -- * Request Lenses+    updateParallelData_description,+    updateParallelData_name,+    updateParallelData_parallelDataConfig,+    updateParallelData_clientToken,++    -- * Destructuring the Response+    UpdateParallelDataResponse (..),+    newUpdateParallelDataResponse,++    -- * Response Lenses+    updateParallelDataResponse_latestUpdateAttemptAt,+    updateParallelDataResponse_latestUpdateAttemptStatus,+    updateParallelDataResponse_name,+    updateParallelDataResponse_status,+    updateParallelDataResponse_httpStatus,+  )+where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import qualified Amazonka.Request as Request+import qualified Amazonka.Response as Response+import Amazonka.Translate.Types++-- | /See:/ 'newUpdateParallelData' smart constructor.+data UpdateParallelData = UpdateParallelData'+  { -- | A custom description for the parallel data resource in Amazon Translate.+    description :: Prelude.Maybe Prelude.Text,+    -- | The name of the parallel data resource being updated.+    name :: Prelude.Text,+    -- | Specifies the format and S3 location of the parallel data input file.+    parallelDataConfig :: ParallelDataConfig,+    -- | A unique identifier for the request. This token is automatically+    -- generated when you use Amazon Translate through an AWS SDK.+    clientToken :: Prelude.Text+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateParallelData' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'description', 'updateParallelData_description' - A custom description for the parallel data resource in Amazon Translate.+--+-- 'name', 'updateParallelData_name' - The name of the parallel data resource being updated.+--+-- 'parallelDataConfig', 'updateParallelData_parallelDataConfig' - Specifies the format and S3 location of the parallel data input file.+--+-- 'clientToken', 'updateParallelData_clientToken' - A unique identifier for the request. This token is automatically+-- generated when you use Amazon Translate through an AWS SDK.+newUpdateParallelData ::+  -- | 'name'+  Prelude.Text ->+  -- | 'parallelDataConfig'+  ParallelDataConfig ->+  -- | 'clientToken'+  Prelude.Text ->+  UpdateParallelData+newUpdateParallelData+  pName_+  pParallelDataConfig_+  pClientToken_ =+    UpdateParallelData'+      { description = Prelude.Nothing,+        name = pName_,+        parallelDataConfig = pParallelDataConfig_,+        clientToken = pClientToken_+      }++-- | A custom description for the parallel data resource in Amazon Translate.+updateParallelData_description :: Lens.Lens' UpdateParallelData (Prelude.Maybe Prelude.Text)+updateParallelData_description = Lens.lens (\UpdateParallelData' {description} -> description) (\s@UpdateParallelData' {} a -> s {description = a} :: UpdateParallelData)++-- | The name of the parallel data resource being updated.+updateParallelData_name :: Lens.Lens' UpdateParallelData Prelude.Text+updateParallelData_name = Lens.lens (\UpdateParallelData' {name} -> name) (\s@UpdateParallelData' {} a -> s {name = a} :: UpdateParallelData)++-- | Specifies the format and S3 location of the parallel data input file.+updateParallelData_parallelDataConfig :: Lens.Lens' UpdateParallelData ParallelDataConfig+updateParallelData_parallelDataConfig = Lens.lens (\UpdateParallelData' {parallelDataConfig} -> parallelDataConfig) (\s@UpdateParallelData' {} a -> s {parallelDataConfig = a} :: UpdateParallelData)++-- | A unique identifier for the request. This token is automatically+-- generated when you use Amazon Translate through an AWS SDK.+updateParallelData_clientToken :: Lens.Lens' UpdateParallelData Prelude.Text+updateParallelData_clientToken = Lens.lens (\UpdateParallelData' {clientToken} -> clientToken) (\s@UpdateParallelData' {} a -> s {clientToken = a} :: UpdateParallelData)++instance Core.AWSRequest UpdateParallelData where+  type+    AWSResponse UpdateParallelData =+      UpdateParallelDataResponse+  request overrides =+    Request.postJSON (overrides defaultService)+  response =+    Response.receiveJSON+      ( \s h x ->+          UpdateParallelDataResponse'+            Prelude.<$> (x Data..?> "LatestUpdateAttemptAt")+            Prelude.<*> (x Data..?> "LatestUpdateAttemptStatus")+            Prelude.<*> (x Data..?> "Name")+            Prelude.<*> (x Data..?> "Status")+            Prelude.<*> (Prelude.pure (Prelude.fromEnum s))+      )++instance Prelude.Hashable UpdateParallelData where+  hashWithSalt _salt UpdateParallelData' {..} =+    _salt+      `Prelude.hashWithSalt` description+      `Prelude.hashWithSalt` name+      `Prelude.hashWithSalt` parallelDataConfig+      `Prelude.hashWithSalt` clientToken++instance Prelude.NFData UpdateParallelData where+  rnf UpdateParallelData' {..} =+    Prelude.rnf description+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf parallelDataConfig+      `Prelude.seq` Prelude.rnf clientToken++instance Data.ToHeaders UpdateParallelData where+  toHeaders =+    Prelude.const+      ( Prelude.mconcat+          [ "X-Amz-Target"+              Data.=# ( "AWSShineFrontendService_20170701.UpdateParallelData" ::+                          Prelude.ByteString+                      ),+            "Content-Type"+              Data.=# ( "application/x-amz-json-1.1" ::+                          Prelude.ByteString+                      )+          ]+      )++instance Data.ToJSON UpdateParallelData where+  toJSON UpdateParallelData' {..} =+    Data.object+      ( Prelude.catMaybes+          [ ("Description" Data..=) Prelude.<$> description,+            Prelude.Just ("Name" Data..= name),+            Prelude.Just+              ("ParallelDataConfig" Data..= parallelDataConfig),+            Prelude.Just ("ClientToken" Data..= clientToken)+          ]+      )++instance Data.ToPath UpdateParallelData where+  toPath = Prelude.const "/"++instance Data.ToQuery UpdateParallelData where+  toQuery = Prelude.const Prelude.mempty++-- | /See:/ 'newUpdateParallelDataResponse' smart constructor.+data UpdateParallelDataResponse = UpdateParallelDataResponse'+  { -- | The time that the most recent update was attempted.+    latestUpdateAttemptAt :: Prelude.Maybe Data.POSIX,+    -- | The status of the parallel data update attempt. When the updated+    -- parallel data resource is ready for you to use, the status is @ACTIVE@.+    latestUpdateAttemptStatus :: Prelude.Maybe ParallelDataStatus,+    -- | The name of the parallel data resource being updated.+    name :: Prelude.Maybe Prelude.Text,+    -- | The status of the parallel data resource that you are attempting to+    -- update. Your update request is accepted only if this status is either+    -- @ACTIVE@ or @FAILED@.+    status :: Prelude.Maybe ParallelDataStatus,+    -- | The response's http status code.+    httpStatus :: Prelude.Int+  }+  deriving (Prelude.Eq, Prelude.Read, Prelude.Show, Prelude.Generic)++-- |+-- Create a value of 'UpdateParallelDataResponse' with all optional fields omitted.+--+-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.+--+-- The following record fields are available, with the corresponding lenses provided+-- for backwards compatibility:+--+-- 'latestUpdateAttemptAt', 'updateParallelDataResponse_latestUpdateAttemptAt' - The time that the most recent update was attempted.+--+-- 'latestUpdateAttemptStatus', 'updateParallelDataResponse_latestUpdateAttemptStatus' - The status of the parallel data update attempt. When the updated+-- parallel data resource is ready for you to use, the status is @ACTIVE@.+--+-- 'name', 'updateParallelDataResponse_name' - The name of the parallel data resource being updated.+--+-- 'status', 'updateParallelDataResponse_status' - The status of the parallel data resource that you are attempting to+-- update. Your update request is accepted only if this status is either+-- @ACTIVE@ or @FAILED@.+--+-- 'httpStatus', 'updateParallelDataResponse_httpStatus' - The response's http status code.+newUpdateParallelDataResponse ::+  -- | 'httpStatus'+  Prelude.Int ->+  UpdateParallelDataResponse+newUpdateParallelDataResponse pHttpStatus_ =+  UpdateParallelDataResponse'+    { latestUpdateAttemptAt =+        Prelude.Nothing,+      latestUpdateAttemptStatus = Prelude.Nothing,+      name = Prelude.Nothing,+      status = Prelude.Nothing,+      httpStatus = pHttpStatus_+    }++-- | The time that the most recent update was attempted.+updateParallelDataResponse_latestUpdateAttemptAt :: Lens.Lens' UpdateParallelDataResponse (Prelude.Maybe Prelude.UTCTime)+updateParallelDataResponse_latestUpdateAttemptAt = Lens.lens (\UpdateParallelDataResponse' {latestUpdateAttemptAt} -> latestUpdateAttemptAt) (\s@UpdateParallelDataResponse' {} a -> s {latestUpdateAttemptAt = a} :: UpdateParallelDataResponse) Prelude.. Lens.mapping Data._Time++-- | The status of the parallel data update attempt. When the updated+-- parallel data resource is ready for you to use, the status is @ACTIVE@.+updateParallelDataResponse_latestUpdateAttemptStatus :: Lens.Lens' UpdateParallelDataResponse (Prelude.Maybe ParallelDataStatus)+updateParallelDataResponse_latestUpdateAttemptStatus = Lens.lens (\UpdateParallelDataResponse' {latestUpdateAttemptStatus} -> latestUpdateAttemptStatus) (\s@UpdateParallelDataResponse' {} a -> s {latestUpdateAttemptStatus = a} :: UpdateParallelDataResponse)++-- | The name of the parallel data resource being updated.+updateParallelDataResponse_name :: Lens.Lens' UpdateParallelDataResponse (Prelude.Maybe Prelude.Text)+updateParallelDataResponse_name = Lens.lens (\UpdateParallelDataResponse' {name} -> name) (\s@UpdateParallelDataResponse' {} a -> s {name = a} :: UpdateParallelDataResponse)++-- | The status of the parallel data resource that you are attempting to+-- update. Your update request is accepted only if this status is either+-- @ACTIVE@ or @FAILED@.+updateParallelDataResponse_status :: Lens.Lens' UpdateParallelDataResponse (Prelude.Maybe ParallelDataStatus)+updateParallelDataResponse_status = Lens.lens (\UpdateParallelDataResponse' {status} -> status) (\s@UpdateParallelDataResponse' {} a -> s {status = a} :: UpdateParallelDataResponse)++-- | The response's http status code.+updateParallelDataResponse_httpStatus :: Lens.Lens' UpdateParallelDataResponse Prelude.Int+updateParallelDataResponse_httpStatus = Lens.lens (\UpdateParallelDataResponse' {httpStatus} -> httpStatus) (\s@UpdateParallelDataResponse' {} a -> s {httpStatus = a} :: UpdateParallelDataResponse)++instance Prelude.NFData UpdateParallelDataResponse where+  rnf UpdateParallelDataResponse' {..} =+    Prelude.rnf latestUpdateAttemptAt+      `Prelude.seq` Prelude.rnf latestUpdateAttemptStatus+      `Prelude.seq` Prelude.rnf name+      `Prelude.seq` Prelude.rnf status+      `Prelude.seq` Prelude.rnf httpStatus
+ gen/Amazonka/Translate/Waiters.hs view
@@ -0,0 +1,24 @@+{-# LANGUAGE DisambiguateRecordFields #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE StrictData #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE NoImplicitPrelude #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Amazonka.Translate.Waiters+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Amazonka.Translate.Waiters where++import qualified Amazonka.Core as Core+import qualified Amazonka.Core.Lens.Internal as Lens+import qualified Amazonka.Data as Data+import qualified Amazonka.Prelude as Prelude+import Amazonka.Translate.Lens+import Amazonka.Translate.Types
− gen/Network/AWS/Translate.hs
@@ -1,90 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports    #-}-{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Translate--- Copyright   : (c) 2013-2018 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)------ Provides translation between English and one of six languages, or between one of the six languages and English.-------module Network.AWS.Translate-    (-    -- * Service Configuration-      translate--    -- * Errors-    -- $errors--    -- ** InvalidRequestException-    , _InvalidRequestException--    -- ** UnsupportedLanguagePairException-    , _UnsupportedLanguagePairException--    -- ** DetectedLanguageLowConfidenceException-    , _DetectedLanguageLowConfidenceException--    -- ** TooManyRequestsException-    , _TooManyRequestsException--    -- ** InternalServerException-    , _InternalServerException--    -- ** ServiceUnavailableException-    , _ServiceUnavailableException--    -- ** TextSizeLimitExceededException-    , _TextSizeLimitExceededException--    -- * Waiters-    -- $waiters--    -- * Operations-    -- $operations--    -- ** TranslateText-    , module Network.AWS.Translate.TranslateText--    -- * Types-    ) where--import Network.AWS.Translate.TranslateText-import Network.AWS.Translate.Types-import Network.AWS.Translate.Waiters--{- $errors-Error matchers are designed for use with the functions provided by-<http://hackage.haskell.org/package/lens/docs/Control-Exception-Lens.html Control.Exception.Lens>.-This allows catching (and rethrowing) service specific errors returned-by 'Translate'.--}--{- $operations-Some AWS operations return results that are incomplete and require subsequent-requests in order to obtain the entire result set. The process of sending-subsequent requests to continue where a previous request left off is called-pagination. For example, the 'ListObjects' operation of Amazon S3 returns up to-1000 objects at a time, and you must send subsequent requests with the-appropriate Marker in order to retrieve the next page of results.--Operations that have an 'AWSPager' instance can transparently perform subsequent-requests, correctly setting Markers and other request facets to iterate through-the entire result set of a truncated API operation. Operations which support-this have an additional note in the documentation.--Many operations have the ability to filter results on the server side. See the-individual operation parameters for details.--}--{- $waiters-Waiters poll by repeatedly sending a request until some remote success condition-configured by the 'Wait' specification is fulfilled. The 'Wait' specification-determines how many attempts should be made, in addition to delay and retry strategies.--}
− gen/Network/AWS/Translate/TranslateText.hs
@@ -1,200 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}-{-# LANGUAGE TypeFamilies       #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-unused-binds   #-}-{-# OPTIONS_GHC -fno-warn-unused-matches #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Translate.TranslateText--- Copyright   : (c) 2013-2018 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)------ Translates input text from the source language to the target language. You can translate between English (en) and one of the following languages, or between one of the following languages and English.---------     * Arabic (ar)------     * Chinese (Simplified) (zh)------     * French (fr)------     * German (de)------     * Portuguese (pt)------     * Spanish (es)------------ To have Amazon Translate determine the source language of your text, you can specify @auto@ in the @SourceLanguageCode@ field. If you specify @auto@ , Amazon Translate will call Amazon Comprehend to determine the source language.----module Network.AWS.Translate.TranslateText-    (-    -- * Creating a Request-      translateText-    , TranslateText-    -- * Request Lenses-    , ttText-    , ttSourceLanguageCode-    , ttTargetLanguageCode--    -- * Destructuring the Response-    , translateTextResponse-    , TranslateTextResponse-    -- * Response Lenses-    , ttrsResponseStatus-    , ttrsTranslatedText-    , ttrsSourceLanguageCode-    , ttrsTargetLanguageCode-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.Translate.Types-import Network.AWS.Translate.Types.Product---- | /See:/ 'translateText' smart constructor.-data TranslateText = TranslateText'-  { _ttText               :: !Text-  , _ttSourceLanguageCode :: !Text-  , _ttTargetLanguageCode :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TranslateText' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ttText' - The text to translate.------ * 'ttSourceLanguageCode' - One of the supported language codes for the source text. If the @TargetLanguageCode@ is not "en", the @SourceLanguageCode@ must be "en". To have Amazon Translate determine the source language of your text, you can specify @auto@ in the @SourceLanguageCode@ field. If you specify @auto@ , Amazon Translate will call Amazon Comprehend to determine the source language.------ * 'ttTargetLanguageCode' - One of the supported language codes for the target text. If the @SourceLanguageCode@ is not "en", the @TargetLanguageCode@ must be "en".-translateText-    :: Text -- ^ 'ttText'-    -> Text -- ^ 'ttSourceLanguageCode'-    -> Text -- ^ 'ttTargetLanguageCode'-    -> TranslateText-translateText pText_ pSourceLanguageCode_ pTargetLanguageCode_ =-  TranslateText'-    { _ttText = pText_-    , _ttSourceLanguageCode = pSourceLanguageCode_-    , _ttTargetLanguageCode = pTargetLanguageCode_-    }----- | The text to translate.-ttText :: Lens' TranslateText Text-ttText = lens _ttText (\ s a -> s{_ttText = a})---- | One of the supported language codes for the source text. If the @TargetLanguageCode@ is not "en", the @SourceLanguageCode@ must be "en". To have Amazon Translate determine the source language of your text, you can specify @auto@ in the @SourceLanguageCode@ field. If you specify @auto@ , Amazon Translate will call Amazon Comprehend to determine the source language.-ttSourceLanguageCode :: Lens' TranslateText Text-ttSourceLanguageCode = lens _ttSourceLanguageCode (\ s a -> s{_ttSourceLanguageCode = a})---- | One of the supported language codes for the target text. If the @SourceLanguageCode@ is not "en", the @TargetLanguageCode@ must be "en".-ttTargetLanguageCode :: Lens' TranslateText Text-ttTargetLanguageCode = lens _ttTargetLanguageCode (\ s a -> s{_ttTargetLanguageCode = a})--instance AWSRequest TranslateText where-        type Rs TranslateText = TranslateTextResponse-        request = postJSON translate-        response-          = receiveJSON-              (\ s h x ->-                 TranslateTextResponse' <$>-                   (pure (fromEnum s)) <*> (x .:> "TranslatedText") <*>-                     (x .:> "SourceLanguageCode")-                     <*> (x .:> "TargetLanguageCode"))--instance Hashable TranslateText where--instance NFData TranslateText where--instance ToHeaders TranslateText where-        toHeaders-          = const-              (mconcat-                 ["X-Amz-Target" =#-                    ("AWSShineFrontendService_20170701.TranslateText" ::-                       ByteString),-                  "Content-Type" =#-                    ("application/x-amz-json-1.1" :: ByteString)])--instance ToJSON TranslateText where-        toJSON TranslateText'{..}-          = object-              (catMaybes-                 [Just ("Text" .= _ttText),-                  Just ("SourceLanguageCode" .= _ttSourceLanguageCode),-                  Just-                    ("TargetLanguageCode" .= _ttTargetLanguageCode)])--instance ToPath TranslateText where-        toPath = const "/"--instance ToQuery TranslateText where-        toQuery = const mempty---- | /See:/ 'translateTextResponse' smart constructor.-data TranslateTextResponse = TranslateTextResponse'-  { _ttrsResponseStatus     :: !Int-  , _ttrsTranslatedText     :: !Text-  , _ttrsSourceLanguageCode :: !Text-  , _ttrsTargetLanguageCode :: !Text-  } deriving (Eq, Read, Show, Data, Typeable, Generic)----- | Creates a value of 'TranslateTextResponse' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ttrsResponseStatus' - -- | The response status code.------ * 'ttrsTranslatedText' - The text translated into the target language.------ * 'ttrsSourceLanguageCode' - The language code for the language of the input text.------ * 'ttrsTargetLanguageCode' - The language code for the language of the translated text.-translateTextResponse-    :: Int -- ^ 'ttrsResponseStatus'-    -> Text -- ^ 'ttrsTranslatedText'-    -> Text -- ^ 'ttrsSourceLanguageCode'-    -> Text -- ^ 'ttrsTargetLanguageCode'-    -> TranslateTextResponse-translateTextResponse pResponseStatus_ pTranslatedText_ pSourceLanguageCode_ pTargetLanguageCode_ =-  TranslateTextResponse'-    { _ttrsResponseStatus = pResponseStatus_-    , _ttrsTranslatedText = pTranslatedText_-    , _ttrsSourceLanguageCode = pSourceLanguageCode_-    , _ttrsTargetLanguageCode = pTargetLanguageCode_-    }----- | -- | The response status code.-ttrsResponseStatus :: Lens' TranslateTextResponse Int-ttrsResponseStatus = lens _ttrsResponseStatus (\ s a -> s{_ttrsResponseStatus = a})---- | The text translated into the target language.-ttrsTranslatedText :: Lens' TranslateTextResponse Text-ttrsTranslatedText = lens _ttrsTranslatedText (\ s a -> s{_ttrsTranslatedText = a})---- | The language code for the language of the input text.-ttrsSourceLanguageCode :: Lens' TranslateTextResponse Text-ttrsSourceLanguageCode = lens _ttrsSourceLanguageCode (\ s a -> s{_ttrsSourceLanguageCode = a})---- | The language code for the language of the translated text.-ttrsTargetLanguageCode :: Lens' TranslateTextResponse Text-ttrsTargetLanguageCode = lens _ttrsTargetLanguageCode (\ s a -> s{_ttrsTargetLanguageCode = a})--instance NFData TranslateTextResponse where
− gen/Network/AWS/Translate/Types.hs
@@ -1,127 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Translate.Types--- Copyright   : (c) 2013-2018 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)----module Network.AWS.Translate.Types-    (-    -- * Service Configuration-      translate--    -- * Errors-    , _InvalidRequestException-    , _UnsupportedLanguagePairException-    , _DetectedLanguageLowConfidenceException-    , _TooManyRequestsException-    , _InternalServerException-    , _ServiceUnavailableException-    , _TextSizeLimitExceededException-    ) where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Sign.V4-import Network.AWS.Translate.Types.Product-import Network.AWS.Translate.Types.Sum---- | API version @2017-07-01@ of the Amazon Translate SDK configuration.-translate :: Service-translate =-  Service-    { _svcAbbrev = "Translate"-    , _svcSigner = v4-    , _svcPrefix = "translate"-    , _svcVersion = "2017-07-01"-    , _svcEndpoint = defaultEndpoint translate-    , _svcTimeout = Just 70-    , _svcCheck = statusSuccess-    , _svcError = parseJSONError "Translate"-    , _svcRetry = retry-    }-  where-    retry =-      Exponential-        { _retryBase = 5.0e-2-        , _retryGrowth = 2-        , _retryAttempts = 5-        , _retryCheck = check-        }-    check e-      | has (hasCode "ThrottledException" . hasStatus 400) e =-        Just "throttled_exception"-      | has (hasStatus 429) e = Just "too_many_requests"-      | has (hasCode "ThrottlingException" . hasStatus 400) e =-        Just "throttling_exception"-      | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"-      | has (hasStatus 504) e = Just "gateway_timeout"-      | has (hasCode "RequestThrottledException" . hasStatus 400) e =-        Just "request_throttled_exception"-      | has (hasStatus 502) e = Just "bad_gateway"-      | has (hasStatus 503) e = Just "service_unavailable"-      | has (hasStatus 500) e = Just "general_server_error"-      | has (hasStatus 509) e = Just "limit_exceeded"-      | otherwise = Nothing----- | The request is invalid.-------_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError-_InvalidRequestException =-  _MatchServiceError translate "InvalidRequestException"----- | Amazon Translate cannot translate input text in the source language into this target language. For more information, see 'how-to-error-msg' .-------_UnsupportedLanguagePairException :: AsError a => Getting (First ServiceError) a ServiceError-_UnsupportedLanguagePairException =-  _MatchServiceError translate "UnsupportedLanguagePairException"----- | The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the <https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html DetectDominantLanguage> operation in the /Amazon Comprehend Developer Guide/ .-------_DetectedLanguageLowConfidenceException :: AsError a => Getting (First ServiceError) a ServiceError-_DetectedLanguageLowConfidenceException =-  _MatchServiceError translate "DetectedLanguageLowConfidenceException"----- | The number of requests exceeds the limit. Resubmit your request later.-------_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError-_TooManyRequestsException =-  _MatchServiceError translate "TooManyRequestsException"----- | An internal server error occurred. Retry your request.-------_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError-_InternalServerException =-  _MatchServiceError translate "InternalServerException"----- | Amazon Translate is unavailable. Retry your request later.-------_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError-_ServiceUnavailableException =-  _MatchServiceError translate "ServiceUnavailableException"----- | The size of the input text exceeds the length constraint for the @Text@ field. Try again with a shorter text.-------_TextSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_TextSizeLimitExceededException =-  _MatchServiceError translate "TextSizeLimitExceededException"-
− gen/Network/AWS/Translate/Types/Product.hs
@@ -1,22 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE OverloadedStrings  #-}-{-# LANGUAGE RecordWildCards    #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Translate.Types.Product--- Copyright   : (c) 2013-2018 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)----module Network.AWS.Translate.Types.Product where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Translate.Types.Sum
− gen/Network/AWS/Translate/Types/Sum.hs
@@ -1,20 +0,0 @@-{-# LANGUAGE DeriveDataTypeable #-}-{-# LANGUAGE DeriveGeneric      #-}-{-# LANGUAGE LambdaCase         #-}-{-# LANGUAGE OverloadedStrings  #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Translate.Types.Sum--- Copyright   : (c) 2013-2018 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)----module Network.AWS.Translate.Types.Sum where--import Network.AWS.Prelude
− gen/Network/AWS/Translate/Waiters.hs
@@ -1,21 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeFamilies      #-}--{-# OPTIONS_GHC -fno-warn-unused-imports #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Network.AWS.Translate.Waiters--- Copyright   : (c) 2013-2018 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)----module Network.AWS.Translate.Waiters where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Translate.Types-import Network.AWS.Waiter
test/Main.hs view
@@ -2,20 +2,22 @@  -- | -- Module      : Main--- Copyright   : (c) 2013-2018 Brendan Hay+-- Copyright   : (c) 2013-2023 Brendan Hay -- License     : Mozilla Public License, v. 2.0.--- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Maintainer  : Brendan Hay -- Stability   : auto-generated -- Portability : non-portable (GHC extensions)--- module Main (main) where +import Test.Amazonka.Translate+import Test.Amazonka.Translate.Internal import Test.Tasty-import Test.AWS.Translate-import Test.AWS.Translate.Internal  main :: IO ()-main = defaultMain $ testGroup "Translate"-    [ testGroup "tests"    tests-    , testGroup "fixtures" fixtures-    ]+main =+  defaultMain $+    testGroup+      "Translate"+      [ testGroup "tests" tests,+        testGroup "fixtures" fixtures+      ]
− test/Test/AWS/Gen/Translate.hs
@@ -1,57 +0,0 @@-{-# OPTIONS_GHC -fno-warn-unused-imports #-}-{-# OPTIONS_GHC -fno-warn-orphans        #-}---- Derived from AWS service descriptions, licensed under Apache 2.0.---- |--- Module      : Test.AWS.Gen.Translate--- Copyright   : (c) 2013-2018 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)----module Test.AWS.Gen.Translate where--import Data.Proxy-import Network.AWS.Translate-import Test.AWS.Fixture-import Test.AWS.Prelude-import Test.AWS.Translate.Internal-import Test.Tasty---- Auto-generated: the actual test selection needs to be manually placed into--- the top-level so that real test data can be incrementally added.------ This commented snippet is what the entire set should look like:---- fixtures :: TestTree--- fixtures =---     [ testGroup "request"---         [ requestTranslateText $---             translateText------           ]----     , testGroup "response"---         [ responseTranslateText $---             translateTextResponse------           ]---     ]---- Requests--requestTranslateText :: TranslateText -> TestTree-requestTranslateText = req-    "TranslateText"-    "fixture/TranslateText.yaml"---- Responses--responseTranslateText :: TranslateTextResponse -> TestTree-responseTranslateText = res-    "TranslateTextResponse"-    "fixture/TranslateTextResponse.proto"-    translate-    (Proxy :: Proxy TranslateText)
− test/Test/AWS/Translate.hs
@@ -1,20 +0,0 @@--- |--- Module      : Test.AWS.Translate--- Copyright   : (c) 2013-2018 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)----module Test.AWS.Translate-    ( tests-    , fixtures-    ) where--import Test.Tasty (TestTree)--tests :: [TestTree]-tests = []--fixtures :: [TestTree]-fixtures = []
− test/Test/AWS/Translate/Internal.hs
@@ -1,9 +0,0 @@--- |--- Module      : Test.AWS.Translate.Internal--- Copyright   : (c) 2013-2018 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)----module Test.AWS.Translate.Internal where
+ test/Test/Amazonka/Gen/Translate.hs view
@@ -0,0 +1,398 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+{-# OPTIONS_GHC -fno-warn-unused-imports #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Test.Amazonka.Gen.Translate+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Gen.Translate where++import Amazonka.Translate+import qualified Data.Proxy as Proxy+import Test.Amazonka.Fixture+import Test.Amazonka.Prelude+import Test.Amazonka.Translate.Internal+import Test.Tasty++-- Auto-generated: the actual test selection needs to be manually placed into+-- the top-level so that real test data can be incrementally added.+--+-- This commented snippet is what the entire set should look like:++-- fixtures :: TestTree+-- fixtures =+--     [ testGroup "request"+--         [ requestCreateParallelData $+--             newCreateParallelData+--+--         , requestDeleteParallelData $+--             newDeleteParallelData+--+--         , requestDeleteTerminology $+--             newDeleteTerminology+--+--         , requestDescribeTextTranslationJob $+--             newDescribeTextTranslationJob+--+--         , requestGetParallelData $+--             newGetParallelData+--+--         , requestGetTerminology $+--             newGetTerminology+--+--         , requestImportTerminology $+--             newImportTerminology+--+--         , requestListLanguages $+--             newListLanguages+--+--         , requestListParallelData $+--             newListParallelData+--+--         , requestListTagsForResource $+--             newListTagsForResource+--+--         , requestListTerminologies $+--             newListTerminologies+--+--         , requestListTextTranslationJobs $+--             newListTextTranslationJobs+--+--         , requestStartTextTranslationJob $+--             newStartTextTranslationJob+--+--         , requestStopTextTranslationJob $+--             newStopTextTranslationJob+--+--         , requestTagResource $+--             newTagResource+--+--         , requestTranslateText $+--             newTranslateText+--+--         , requestUntagResource $+--             newUntagResource+--+--         , requestUpdateParallelData $+--             newUpdateParallelData+--+--           ]++--     , testGroup "response"+--         [ responseCreateParallelData $+--             newCreateParallelDataResponse+--+--         , responseDeleteParallelData $+--             newDeleteParallelDataResponse+--+--         , responseDeleteTerminology $+--             newDeleteTerminologyResponse+--+--         , responseDescribeTextTranslationJob $+--             newDescribeTextTranslationJobResponse+--+--         , responseGetParallelData $+--             newGetParallelDataResponse+--+--         , responseGetTerminology $+--             newGetTerminologyResponse+--+--         , responseImportTerminology $+--             newImportTerminologyResponse+--+--         , responseListLanguages $+--             newListLanguagesResponse+--+--         , responseListParallelData $+--             newListParallelDataResponse+--+--         , responseListTagsForResource $+--             newListTagsForResourceResponse+--+--         , responseListTerminologies $+--             newListTerminologiesResponse+--+--         , responseListTextTranslationJobs $+--             newListTextTranslationJobsResponse+--+--         , responseStartTextTranslationJob $+--             newStartTextTranslationJobResponse+--+--         , responseStopTextTranslationJob $+--             newStopTextTranslationJobResponse+--+--         , responseTagResource $+--             newTagResourceResponse+--+--         , responseTranslateText $+--             newTranslateTextResponse+--+--         , responseUntagResource $+--             newUntagResourceResponse+--+--         , responseUpdateParallelData $+--             newUpdateParallelDataResponse+--+--           ]+--     ]++-- Requests++requestCreateParallelData :: CreateParallelData -> TestTree+requestCreateParallelData =+  req+    "CreateParallelData"+    "fixture/CreateParallelData.yaml"++requestDeleteParallelData :: DeleteParallelData -> TestTree+requestDeleteParallelData =+  req+    "DeleteParallelData"+    "fixture/DeleteParallelData.yaml"++requestDeleteTerminology :: DeleteTerminology -> TestTree+requestDeleteTerminology =+  req+    "DeleteTerminology"+    "fixture/DeleteTerminology.yaml"++requestDescribeTextTranslationJob :: DescribeTextTranslationJob -> TestTree+requestDescribeTextTranslationJob =+  req+    "DescribeTextTranslationJob"+    "fixture/DescribeTextTranslationJob.yaml"++requestGetParallelData :: GetParallelData -> TestTree+requestGetParallelData =+  req+    "GetParallelData"+    "fixture/GetParallelData.yaml"++requestGetTerminology :: GetTerminology -> TestTree+requestGetTerminology =+  req+    "GetTerminology"+    "fixture/GetTerminology.yaml"++requestImportTerminology :: ImportTerminology -> TestTree+requestImportTerminology =+  req+    "ImportTerminology"+    "fixture/ImportTerminology.yaml"++requestListLanguages :: ListLanguages -> TestTree+requestListLanguages =+  req+    "ListLanguages"+    "fixture/ListLanguages.yaml"++requestListParallelData :: ListParallelData -> TestTree+requestListParallelData =+  req+    "ListParallelData"+    "fixture/ListParallelData.yaml"++requestListTagsForResource :: ListTagsForResource -> TestTree+requestListTagsForResource =+  req+    "ListTagsForResource"+    "fixture/ListTagsForResource.yaml"++requestListTerminologies :: ListTerminologies -> TestTree+requestListTerminologies =+  req+    "ListTerminologies"+    "fixture/ListTerminologies.yaml"++requestListTextTranslationJobs :: ListTextTranslationJobs -> TestTree+requestListTextTranslationJobs =+  req+    "ListTextTranslationJobs"+    "fixture/ListTextTranslationJobs.yaml"++requestStartTextTranslationJob :: StartTextTranslationJob -> TestTree+requestStartTextTranslationJob =+  req+    "StartTextTranslationJob"+    "fixture/StartTextTranslationJob.yaml"++requestStopTextTranslationJob :: StopTextTranslationJob -> TestTree+requestStopTextTranslationJob =+  req+    "StopTextTranslationJob"+    "fixture/StopTextTranslationJob.yaml"++requestTagResource :: TagResource -> TestTree+requestTagResource =+  req+    "TagResource"+    "fixture/TagResource.yaml"++requestTranslateText :: TranslateText -> TestTree+requestTranslateText =+  req+    "TranslateText"+    "fixture/TranslateText.yaml"++requestUntagResource :: UntagResource -> TestTree+requestUntagResource =+  req+    "UntagResource"+    "fixture/UntagResource.yaml"++requestUpdateParallelData :: UpdateParallelData -> TestTree+requestUpdateParallelData =+  req+    "UpdateParallelData"+    "fixture/UpdateParallelData.yaml"++-- Responses++responseCreateParallelData :: CreateParallelDataResponse -> TestTree+responseCreateParallelData =+  res+    "CreateParallelDataResponse"+    "fixture/CreateParallelDataResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy CreateParallelData)++responseDeleteParallelData :: DeleteParallelDataResponse -> TestTree+responseDeleteParallelData =+  res+    "DeleteParallelDataResponse"+    "fixture/DeleteParallelDataResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteParallelData)++responseDeleteTerminology :: DeleteTerminologyResponse -> TestTree+responseDeleteTerminology =+  res+    "DeleteTerminologyResponse"+    "fixture/DeleteTerminologyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DeleteTerminology)++responseDescribeTextTranslationJob :: DescribeTextTranslationJobResponse -> TestTree+responseDescribeTextTranslationJob =+  res+    "DescribeTextTranslationJobResponse"+    "fixture/DescribeTextTranslationJobResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy DescribeTextTranslationJob)++responseGetParallelData :: GetParallelDataResponse -> TestTree+responseGetParallelData =+  res+    "GetParallelDataResponse"+    "fixture/GetParallelDataResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetParallelData)++responseGetTerminology :: GetTerminologyResponse -> TestTree+responseGetTerminology =+  res+    "GetTerminologyResponse"+    "fixture/GetTerminologyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy GetTerminology)++responseImportTerminology :: ImportTerminologyResponse -> TestTree+responseImportTerminology =+  res+    "ImportTerminologyResponse"+    "fixture/ImportTerminologyResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ImportTerminology)++responseListLanguages :: ListLanguagesResponse -> TestTree+responseListLanguages =+  res+    "ListLanguagesResponse"+    "fixture/ListLanguagesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListLanguages)++responseListParallelData :: ListParallelDataResponse -> TestTree+responseListParallelData =+  res+    "ListParallelDataResponse"+    "fixture/ListParallelDataResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListParallelData)++responseListTagsForResource :: ListTagsForResourceResponse -> TestTree+responseListTagsForResource =+  res+    "ListTagsForResourceResponse"+    "fixture/ListTagsForResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListTagsForResource)++responseListTerminologies :: ListTerminologiesResponse -> TestTree+responseListTerminologies =+  res+    "ListTerminologiesResponse"+    "fixture/ListTerminologiesResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListTerminologies)++responseListTextTranslationJobs :: ListTextTranslationJobsResponse -> TestTree+responseListTextTranslationJobs =+  res+    "ListTextTranslationJobsResponse"+    "fixture/ListTextTranslationJobsResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy ListTextTranslationJobs)++responseStartTextTranslationJob :: StartTextTranslationJobResponse -> TestTree+responseStartTextTranslationJob =+  res+    "StartTextTranslationJobResponse"+    "fixture/StartTextTranslationJobResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy StartTextTranslationJob)++responseStopTextTranslationJob :: StopTextTranslationJobResponse -> TestTree+responseStopTextTranslationJob =+  res+    "StopTextTranslationJobResponse"+    "fixture/StopTextTranslationJobResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy StopTextTranslationJob)++responseTagResource :: TagResourceResponse -> TestTree+responseTagResource =+  res+    "TagResourceResponse"+    "fixture/TagResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy TagResource)++responseTranslateText :: TranslateTextResponse -> TestTree+responseTranslateText =+  res+    "TranslateTextResponse"+    "fixture/TranslateTextResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy TranslateText)++responseUntagResource :: UntagResourceResponse -> TestTree+responseUntagResource =+  res+    "UntagResourceResponse"+    "fixture/UntagResourceResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UntagResource)++responseUpdateParallelData :: UpdateParallelDataResponse -> TestTree+responseUpdateParallelData =+  res+    "UpdateParallelDataResponse"+    "fixture/UpdateParallelDataResponse.proto"+    defaultService+    (Proxy.Proxy :: Proxy.Proxy UpdateParallelData)
+ test/Test/Amazonka/Translate.hs view
@@ -0,0 +1,20 @@+-- |+-- Module      : Test.Amazonka.Translate+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Translate+  ( tests,+    fixtures,+  )+where++import Test.Tasty (TestTree)++tests :: [TestTree]+tests = []++fixtures :: [TestTree]+fixtures = []
+ test/Test/Amazonka/Translate/Internal.hs view
@@ -0,0 +1,8 @@+-- |+-- Module      : Test.Amazonka.Translate.Internal+-- Copyright   : (c) 2013-2023 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+module Test.Amazonka.Translate.Internal where