libZSservicesZSamazonka-transcribeZSamazonka-transcribe
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Transcribe.GetVocabulary

Description

Gets information about a vocabulary.

Synopsis

Creating a Request

data GetVocabulary Source #

See: newGetVocabulary smart constructor.

Constructors

GetVocabulary' 

Fields

  • vocabularyName :: Text

    The name of the vocabulary to return information about. The name is case sensitive.

Instances

Instances details
Eq GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Read GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Show GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Generic GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Associated Types

type Rep GetVocabulary :: Type -> Type #

NFData GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Methods

rnf :: GetVocabulary -> () #

Hashable GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

ToJSON GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

AWSRequest GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Associated Types

type AWSResponse GetVocabulary #

ToHeaders GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

ToPath GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

ToQuery GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

type Rep GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

type Rep GetVocabulary = D1 ('MetaData "GetVocabulary" "Amazonka.Transcribe.GetVocabulary" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" 'False) (C1 ('MetaCons "GetVocabulary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vocabularyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetVocabulary Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

newGetVocabulary Source #

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

Instances details
Eq GetVocabularyResponse Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Read GetVocabularyResponse Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Show GetVocabularyResponse Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Generic GetVocabularyResponse Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Associated Types

type Rep GetVocabularyResponse :: Type -> Type #

NFData GetVocabularyResponse Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

Methods

rnf :: GetVocabularyResponse -> () #

type Rep GetVocabularyResponse Source # 
Instance details

Defined in Amazonka.Transcribe.GetVocabulary

type Rep GetVocabularyResponse = D1 ('MetaData "GetVocabularyResponse" "Amazonka.Transcribe.GetVocabulary" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" 'False) (C1 ('MetaCons "GetVocabularyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "downloadUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "vocabularyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "vocabularyState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VocabularyState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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_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_lastModifiedTime :: Lens' GetVocabularyResponse (Maybe UTCTime) Source #

The date and time that the vocabulary was last modified.