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 |
Amazonka.Connect.AssociateDefaultVocabulary
Description
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.
Constructors
AssociateDefaultVocabulary' | |
Fields
|
Instances
newAssociateDefaultVocabulary Source #
Arguments
:: Text | |
-> VocabularyLanguageCode | |
-> AssociateDefaultVocabulary |
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.
Constructors
AssociateDefaultVocabularyResponse' | |
Fields
|
Instances
newAssociateDefaultVocabularyResponse Source #
Arguments
:: Int | |
-> AssociateDefaultVocabularyResponse |
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.