| 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 |
Amazonka.Transcribe.GetVocabulary
Description
Gets information about a vocabulary.
Synopsis
- data GetVocabulary = GetVocabulary' {}
- newGetVocabulary :: Text -> GetVocabulary
- getVocabulary_vocabularyName :: Lens' GetVocabulary Text
- data GetVocabularyResponse = GetVocabularyResponse' {}
- newGetVocabularyResponse :: Int -> GetVocabularyResponse
- getVocabularyResponse_failureReason :: Lens' GetVocabularyResponse (Maybe Text)
- getVocabularyResponse_languageCode :: Lens' GetVocabularyResponse (Maybe LanguageCode)
- getVocabularyResponse_downloadUri :: Lens' GetVocabularyResponse (Maybe Text)
- getVocabularyResponse_vocabularyName :: Lens' GetVocabularyResponse (Maybe Text)
- getVocabularyResponse_lastModifiedTime :: Lens' GetVocabularyResponse (Maybe UTCTime)
- getVocabularyResponse_vocabularyState :: Lens' GetVocabularyResponse (Maybe VocabularyState)
- getVocabularyResponse_httpStatus :: Lens' GetVocabularyResponse Int
Creating a Request
data GetVocabulary Source #
See: newGetVocabulary smart constructor.
Constructors
| GetVocabulary' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetVocabulary |
Create a value of GetVocabulary 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:GetVocabulary', getVocabulary_vocabularyName - The name of the vocabulary to return information about. The name is case
sensitive.
Request Lenses
getVocabulary_vocabularyName :: Lens' GetVocabulary Text Source #
The name of the vocabulary to return information about. The name is case sensitive.
Destructuring the Response
data GetVocabularyResponse Source #
See: newGetVocabularyResponse smart constructor.
Constructors
| GetVocabularyResponse' | |
Fields
| |
Instances
newGetVocabularyResponse Source #
Create a value of GetVocabularyResponse 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:GetVocabularyResponse', getVocabularyResponse_failureReason - If the VocabularyState field is FAILED, this field contains
information about why the job failed.
$sel:languageCode:GetVocabularyResponse', getVocabularyResponse_languageCode - The language code of the vocabulary entries.
$sel:downloadUri:GetVocabularyResponse', getVocabularyResponse_downloadUri - The S3 location where the vocabulary is stored. Use this URI to get the
contents of the vocabulary. The URI is available for a limited time.
$sel:vocabularyName:GetVocabulary', getVocabularyResponse_vocabularyName - The name of the vocabulary to return.
$sel:lastModifiedTime:GetVocabularyResponse', getVocabularyResponse_lastModifiedTime - The date and time that the vocabulary was last modified.
$sel:vocabularyState:GetVocabularyResponse', getVocabularyResponse_vocabularyState - The processing state of the vocabulary.
$sel:httpStatus:GetVocabularyResponse', getVocabularyResponse_httpStatus - The response's http status code.
Response Lenses
getVocabularyResponse_failureReason :: Lens' GetVocabularyResponse (Maybe Text) Source #
If the VocabularyState field is FAILED, this field contains
information about why the job failed.
getVocabularyResponse_languageCode :: Lens' GetVocabularyResponse (Maybe LanguageCode) Source #
The language code of the vocabulary entries.
getVocabularyResponse_downloadUri :: Lens' GetVocabularyResponse (Maybe Text) Source #
The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.
getVocabularyResponse_vocabularyName :: Lens' GetVocabularyResponse (Maybe Text) Source #
The name of the vocabulary to return.
getVocabularyResponse_lastModifiedTime :: Lens' GetVocabularyResponse (Maybe UTCTime) Source #
The date and time that the vocabulary was last modified.
getVocabularyResponse_vocabularyState :: Lens' GetVocabularyResponse (Maybe VocabularyState) Source #
The processing state of the vocabulary.
getVocabularyResponse_httpStatus :: Lens' GetVocabularyResponse Int Source #
The response's http status code.