associate_default_vocabulary
async
¶
associate_default_vocabulary(
instance_id: InstanceId,
language_code: VocabularyLanguageCode,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
vocabulary_id: Optional[VocabularyId] = None,
) -> AssociateDefaultVocabularyResponse
Associates an existing vocabulary as the default. Contact Lens for Connect Customer uses the vocabulary in post-call and real-time analysis sessions for the given language.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
language_code(VocabularyLanguageCode) –The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
-
vocabulary_id(Optional[VocabularyId], default:None) –The identifier of the custom vocabulary. If this is empty, the default is set to none.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.