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 |
Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language.
Synopsis
- data AssociateDefaultVocabulary = AssociateDefaultVocabulary' {}
- newAssociateDefaultVocabulary :: Text -> VocabularyLanguageCode -> AssociateDefaultVocabulary
- associateDefaultVocabulary_vocabularyId :: Lens' AssociateDefaultVocabulary (Maybe Text)
- associateDefaultVocabulary_instanceId :: Lens' AssociateDefaultVocabulary Text
- associateDefaultVocabulary_languageCode :: Lens' AssociateDefaultVocabulary VocabularyLanguageCode
- data AssociateDefaultVocabularyResponse = AssociateDefaultVocabularyResponse' {
- httpStatus :: Int
- newAssociateDefaultVocabularyResponse :: Int -> AssociateDefaultVocabularyResponse
- associateDefaultVocabularyResponse_httpStatus :: Lens' AssociateDefaultVocabularyResponse Int
Creating a Request
data AssociateDefaultVocabulary Source #
See: newAssociateDefaultVocabulary
smart constructor.
AssociateDefaultVocabulary' | |
|
Instances
newAssociateDefaultVocabulary Source #
Create a value of AssociateDefaultVocabulary
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:
AssociateDefaultVocabulary
, associateDefaultVocabulary_vocabularyId
- The identifier of the custom vocabulary. If this is empty, the default
is set to none.
AssociateDefaultVocabulary
, associateDefaultVocabulary_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
AssociateDefaultVocabulary
, associateDefaultVocabulary_languageCode
- The language code of the vocabulary entries. For a list of languages and
their corresponding language codes, see
What is Amazon Transcribe?
Request Lenses
associateDefaultVocabulary_vocabularyId :: Lens' AssociateDefaultVocabulary (Maybe Text) Source #
The identifier of the custom vocabulary. If this is empty, the default is set to none.
associateDefaultVocabulary_instanceId :: Lens' AssociateDefaultVocabulary Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
associateDefaultVocabulary_languageCode :: Lens' AssociateDefaultVocabulary VocabularyLanguageCode Source #
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
Destructuring the Response
data AssociateDefaultVocabularyResponse Source #
See: newAssociateDefaultVocabularyResponse
smart constructor.
AssociateDefaultVocabularyResponse' | |
|
Instances
Generic AssociateDefaultVocabularyResponse Source # | |
Read AssociateDefaultVocabularyResponse Source # | |
Show AssociateDefaultVocabularyResponse Source # | |
NFData AssociateDefaultVocabularyResponse Source # | |
Defined in Amazonka.Connect.AssociateDefaultVocabulary rnf :: AssociateDefaultVocabularyResponse -> () # | |
Eq AssociateDefaultVocabularyResponse Source # | |
type Rep AssociateDefaultVocabularyResponse Source # | |
Defined in Amazonka.Connect.AssociateDefaultVocabulary type Rep AssociateDefaultVocabularyResponse = D1 ('MetaData "AssociateDefaultVocabularyResponse" "Amazonka.Connect.AssociateDefaultVocabulary" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "AssociateDefaultVocabularyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateDefaultVocabularyResponse Source #
Create a value of AssociateDefaultVocabularyResponse
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:httpStatus:AssociateDefaultVocabularyResponse'
, associateDefaultVocabularyResponse_httpStatus
- The response's http status code.
Response Lenses
associateDefaultVocabularyResponse_httpStatus :: Lens' AssociateDefaultVocabularyResponse Int Source #
The response's http status code.