Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates an existing custom medical vocabulary with new values. This operation overwrites all existing information with your new values; you cannot append new terms onto an existing custom vocabulary.
Synopsis
- data UpdateMedicalVocabulary = UpdateMedicalVocabulary' {}
- newUpdateMedicalVocabulary :: Text -> LanguageCode -> Text -> UpdateMedicalVocabulary
- updateMedicalVocabulary_vocabularyName :: Lens' UpdateMedicalVocabulary Text
- updateMedicalVocabulary_languageCode :: Lens' UpdateMedicalVocabulary LanguageCode
- updateMedicalVocabulary_vocabularyFileUri :: Lens' UpdateMedicalVocabulary Text
- data UpdateMedicalVocabularyResponse = UpdateMedicalVocabularyResponse' {}
- newUpdateMedicalVocabularyResponse :: Int -> UpdateMedicalVocabularyResponse
- updateMedicalVocabularyResponse_languageCode :: Lens' UpdateMedicalVocabularyResponse (Maybe LanguageCode)
- updateMedicalVocabularyResponse_lastModifiedTime :: Lens' UpdateMedicalVocabularyResponse (Maybe UTCTime)
- updateMedicalVocabularyResponse_vocabularyName :: Lens' UpdateMedicalVocabularyResponse (Maybe Text)
- updateMedicalVocabularyResponse_vocabularyState :: Lens' UpdateMedicalVocabularyResponse (Maybe VocabularyState)
- updateMedicalVocabularyResponse_httpStatus :: Lens' UpdateMedicalVocabularyResponse Int
Creating a Request
data UpdateMedicalVocabulary Source #
See: newUpdateMedicalVocabulary
smart constructor.
UpdateMedicalVocabulary' | |
|
Instances
newUpdateMedicalVocabulary Source #
:: Text | |
-> LanguageCode | |
-> Text | |
-> UpdateMedicalVocabulary |
Create a value of UpdateMedicalVocabulary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateMedicalVocabulary
, updateMedicalVocabulary_vocabularyName
- The name of the custom medical vocabulary you want to update. Custom
medical vocabulary names are case sensitive.
UpdateMedicalVocabulary
, updateMedicalVocabulary_languageCode
- The language code that represents the language of the entries in the
custom vocabulary you want to update. US English (en-US
) is the only
language supported with Amazon Transcribe Medical.
$sel:vocabularyFileUri:UpdateMedicalVocabulary'
, updateMedicalVocabulary_vocabularyFileUri
- The Amazon S3 location of the text file that contains your custom
medical vocabulary. The URI must be located in the same Amazon Web
Services Region as the resource you're calling.
Here's an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt
Request Lenses
updateMedicalVocabulary_vocabularyName :: Lens' UpdateMedicalVocabulary Text Source #
The name of the custom medical vocabulary you want to update. Custom medical vocabulary names are case sensitive.
updateMedicalVocabulary_languageCode :: Lens' UpdateMedicalVocabulary LanguageCode Source #
The language code that represents the language of the entries in the
custom vocabulary you want to update. US English (en-US
) is the only
language supported with Amazon Transcribe Medical.
updateMedicalVocabulary_vocabularyFileUri :: Lens' UpdateMedicalVocabulary Text Source #
The Amazon S3 location of the text file that contains your custom medical vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you're calling.
Here's an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt
Destructuring the Response
data UpdateMedicalVocabularyResponse Source #
See: newUpdateMedicalVocabularyResponse
smart constructor.
UpdateMedicalVocabularyResponse' | |
|
Instances
newUpdateMedicalVocabularyResponse Source #
Create a value of UpdateMedicalVocabularyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateMedicalVocabulary
, updateMedicalVocabularyResponse_languageCode
- The language code you selected for your custom medical vocabulary. US
English (en-US
) is the only language supported with Amazon Transcribe
Medical.
UpdateMedicalVocabularyResponse
, updateMedicalVocabularyResponse_lastModifiedTime
- The date and time the specified custom medical vocabulary was last
updated.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on
May 4, 2022.
UpdateMedicalVocabulary
, updateMedicalVocabularyResponse_vocabularyName
- The name of the updated custom medical vocabulary.
UpdateMedicalVocabularyResponse
, updateMedicalVocabularyResponse_vocabularyState
- The processing state of your custom medical vocabulary. If the state is
READY
, you can use the custom vocabulary in a
StartMedicalTranscriptionJob
request.
$sel:httpStatus:UpdateMedicalVocabularyResponse'
, updateMedicalVocabularyResponse_httpStatus
- The response's http status code.
Response Lenses
updateMedicalVocabularyResponse_languageCode :: Lens' UpdateMedicalVocabularyResponse (Maybe LanguageCode) Source #
The language code you selected for your custom medical vocabulary. US
English (en-US
) is the only language supported with Amazon Transcribe
Medical.
updateMedicalVocabularyResponse_lastModifiedTime :: Lens' UpdateMedicalVocabularyResponse (Maybe UTCTime) Source #
The date and time the specified custom medical vocabulary was last updated.
Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For
example, 2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on
May 4, 2022.
updateMedicalVocabularyResponse_vocabularyName :: Lens' UpdateMedicalVocabularyResponse (Maybe Text) Source #
The name of the updated custom medical vocabulary.
updateMedicalVocabularyResponse_vocabularyState :: Lens' UpdateMedicalVocabularyResponse (Maybe VocabularyState) Source #
The processing state of your custom medical vocabulary. If the state is
READY
, you can use the custom vocabulary in a
StartMedicalTranscriptionJob
request.
updateMedicalVocabularyResponse_httpStatus :: Lens' UpdateMedicalVocabularyResponse Int Source #
The response's http status code.