Skip to main content

default_vocabularies

Creates, updates, deletes, gets or lists a default_vocabularies resource.

Overview

Namedefault_vocabularies
TypeResource
Idaws.connect.default_vocabularies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
language_codestringThe language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe? (ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA, ca-ES, da-DK, fi-FI, id-ID, ms-MY, nl-NL, no-NO, pl-PL, sv-SE, tl-PH)
vocabulary_idstringThe identifier of the custom vocabulary.
vocabulary_namestringA unique name of the custom vocabulary. (pattern: <code>^[0-9a-zA-Z._-]+</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_default_vocabulariesselectinstance_id, regionLists the default vocabularies for the specified Connect Customer instance.
associate_default_vocabularyupdateinstance_id, language_code, regionAssociates 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

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
language_codestringThe language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
regionstringAWS region (default: us-east-1)

SELECT examples

Lists the default vocabularies for the specified Connect Customer instance.

SELECT
instance_id,
language_code,
vocabulary_id,
vocabulary_name
FROM aws.connect.default_vocabularies
WHERE instance_id = '{{ instance_id }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

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.

UPDATE aws.connect.default_vocabularies
SET
VocabularyId = '{{ VocabularyId }}'
WHERE
instance_id = '{{ instance_id }}' --required
AND language_code = '{{ language_code }}' --required
AND region = '{{ region }}' --required;