Skip to main content

voice_profiles

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

Overview

Namevoice_profiles
TypeResource
Idaws.chime_sdk_voice.voice_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe token used to retrieve the next page of results.
voice_profilesarrayThe list of voice profiles.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_voice_profilesselectvoice-profile-domain-id, regionnext-token, max-resultsLists the voice profiles in a voice profile domain.
get_voice_profileselectvoice_profile_id, regionRetrieves the details of the specified voice profile.
create_voice_profileinsertregion, SpeakerSearchTaskIdCreates a voice profile, which consists of an enrolled user and their latest voice print. Before creating any voice profiles, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK. For more information about voice profiles and voice analytics, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide.
update_voice_profileupdatevoice_profile_id, region, SpeakerSearchTaskIdUpdates the specified voice profile’s voice print and refreshes its expiration timestamp. As a condition of using this feature, you acknowledge that the collection, use, storage, and retention of your caller’s biometric identifiers and biometric information (“biometric data”) in the form of a digital voiceprint requires the caller’s informed consent via a written release. Such consent is required under various state laws, including biometrics laws in Illinois, Texas, Washington and other state privacy laws. You must provide a written release to each caller through a process that clearly reflects each caller’s informed consent before using Amazon Chime SDK Voice Insights service, as required under the terms of your agreement with AWS governing your use of the service.
delete_voice_profiledeletevoice_profile_id, regionDeletes a voice profile, including its voice print and enrollment data. WARNING: This action is not reversible.

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
regionstringAWS region (default: us-east-1)
voice-profile-domain-idstringThe ID of the voice profile domain.
voice_profile_idstringThe voice profile ID.
max-resultsintegerThe maximum number of results in the request.
next-tokenstringThe token used to retrieve the next page of results.

SELECT examples

Lists the voice profiles in a voice profile domain.

SELECT
next_token,
voice_profiles
FROM aws.chime_sdk_voice.voice_profiles
WHERE `voice-profile-domain-id` = '{{ voice-profile-domain-id }}' -- required
AND region = '{{ region }}' -- required
AND `next-token` = '{{ next-token }}'
AND `max-results` = '{{ max-results }}'
;

INSERT examples

Creates a voice profile, which consists of an enrolled user and their latest voice print. Before creating any voice profiles, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK. For more information about voice profiles and voice analytics, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide.

INSERT INTO aws.chime_sdk_voice.voice_profiles (
SpeakerSearchTaskId,
region
)
SELECT
'{{ SpeakerSearchTaskId }}' /* required */,
'{{ region }}'
RETURNING
voice_profile
;

UPDATE examples

Updates the specified voice profile’s voice print and refreshes its expiration timestamp. As a condition of using this feature, you acknowledge that the collection, use, storage, and retention of your caller’s biometric identifiers and biometric information (“biometric data”) in the form of a digital voiceprint requires the caller’s informed consent via a written release. Such consent is required under various state laws, including biometrics laws in Illinois, Texas, Washington and other state privacy laws. You must provide a written release to each caller through a process that clearly reflects each caller’s informed consent before using Amazon Chime SDK Voice Insights service, as required under the terms of your agreement with AWS governing your use of the service.

UPDATE aws.chime_sdk_voice.voice_profiles
SET
SpeakerSearchTaskId = '{{ SpeakerSearchTaskId }}'
WHERE
voice_profile_id = '{{ voice_profile_id }}' --required
AND region = '{{ region }}' --required
AND SpeakerSearchTaskId = '{{ SpeakerSearchTaskId }}' --required
RETURNING
voice_profile;

DELETE examples

Deletes a voice profile, including its voice print and enrollment data. WARNING: This action is not reversible.

DELETE FROM aws.chime_sdk_voice.voice_profiles
WHERE voice_profile_id = '{{ voice_profile_id }}' --required
AND region = '{{ region }}' --required
;