Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves information about a medical vocabulary.
Synopsis
- data GetMedicalVocabulary = GetMedicalVocabulary' {}
- newGetMedicalVocabulary :: Text -> GetMedicalVocabulary
- getMedicalVocabulary_vocabularyName :: Lens' GetMedicalVocabulary Text
- data GetMedicalVocabularyResponse = GetMedicalVocabularyResponse' {}
- newGetMedicalVocabularyResponse :: Int -> GetMedicalVocabularyResponse
- getMedicalVocabularyResponse_failureReason :: Lens' GetMedicalVocabularyResponse (Maybe Text)
- getMedicalVocabularyResponse_languageCode :: Lens' GetMedicalVocabularyResponse (Maybe LanguageCode)
- getMedicalVocabularyResponse_downloadUri :: Lens' GetMedicalVocabularyResponse (Maybe Text)
- getMedicalVocabularyResponse_vocabularyName :: Lens' GetMedicalVocabularyResponse (Maybe Text)
- getMedicalVocabularyResponse_lastModifiedTime :: Lens' GetMedicalVocabularyResponse (Maybe UTCTime)
- getMedicalVocabularyResponse_vocabularyState :: Lens' GetMedicalVocabularyResponse (Maybe VocabularyState)
- getMedicalVocabularyResponse_httpStatus :: Lens' GetMedicalVocabularyResponse Int
Creating a Request
data GetMedicalVocabulary Source #
See: newGetMedicalVocabulary
smart constructor.
GetMedicalVocabulary' | |
|
Instances
newGetMedicalVocabulary Source #
Create a value of GetMedicalVocabulary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:vocabularyName:GetMedicalVocabulary'
, getMedicalVocabulary_vocabularyName
- The name of the vocabulary that you want information about. The value is
case sensitive.
Request Lenses
getMedicalVocabulary_vocabularyName :: Lens' GetMedicalVocabulary Text Source #
The name of the vocabulary that you want information about. The value is case sensitive.
Destructuring the Response
data GetMedicalVocabularyResponse Source #
See: newGetMedicalVocabularyResponse
smart constructor.
GetMedicalVocabularyResponse' | |
|
Instances
newGetMedicalVocabularyResponse Source #
Create a value of GetMedicalVocabularyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:failureReason:GetMedicalVocabularyResponse'
, getMedicalVocabularyResponse_failureReason
- If the VocabularyState
is FAILED
, this field contains information
about why the job failed.
$sel:languageCode:GetMedicalVocabularyResponse'
, getMedicalVocabularyResponse_languageCode
- The valid language code for your vocabulary entries.
$sel:downloadUri:GetMedicalVocabularyResponse'
, getMedicalVocabularyResponse_downloadUri
- The location in Amazon S3 where the vocabulary is stored. Use this URI
to get the contents of the vocabulary. You can download your vocabulary
from the URI for a limited time.
$sel:vocabularyName:GetMedicalVocabulary'
, getMedicalVocabularyResponse_vocabularyName
- The name of the vocabulary returned by Amazon Transcribe Medical.
$sel:lastModifiedTime:GetMedicalVocabularyResponse'
, getMedicalVocabularyResponse_lastModifiedTime
- The date and time that the vocabulary was last modified with a text file
different from the one that was previously used.
$sel:vocabularyState:GetMedicalVocabularyResponse'
, getMedicalVocabularyResponse_vocabularyState
- The processing state of the vocabulary. If the VocabularyState
is
READY
then you can use it in the StartMedicalTranscriptionJob
operation.
$sel:httpStatus:GetMedicalVocabularyResponse'
, getMedicalVocabularyResponse_httpStatus
- The response's http status code.
Response Lenses
getMedicalVocabularyResponse_failureReason :: Lens' GetMedicalVocabularyResponse (Maybe Text) Source #
If the VocabularyState
is FAILED
, this field contains information
about why the job failed.
getMedicalVocabularyResponse_languageCode :: Lens' GetMedicalVocabularyResponse (Maybe LanguageCode) Source #
The valid language code for your vocabulary entries.
getMedicalVocabularyResponse_downloadUri :: Lens' GetMedicalVocabularyResponse (Maybe Text) Source #
The location in Amazon S3 where the vocabulary is stored. Use this URI to get the contents of the vocabulary. You can download your vocabulary from the URI for a limited time.
getMedicalVocabularyResponse_vocabularyName :: Lens' GetMedicalVocabularyResponse (Maybe Text) Source #
The name of the vocabulary returned by Amazon Transcribe Medical.
getMedicalVocabularyResponse_lastModifiedTime :: Lens' GetMedicalVocabularyResponse (Maybe UTCTime) Source #
The date and time that the vocabulary was last modified with a text file different from the one that was previously used.
getMedicalVocabularyResponse_vocabularyState :: Lens' GetMedicalVocabularyResponse (Maybe VocabularyState) Source #
The processing state of the vocabulary. If the VocabularyState
is
READY
then you can use it in the StartMedicalTranscriptionJob
operation.
getMedicalVocabularyResponse_httpStatus :: Lens' GetMedicalVocabularyResponse Int Source #
The response's http status code.