Skip to main content

voice_profile_domains

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

Overview

Namevoice_profile_domains
TypeResource
Idaws.chime_sdk_voice.voice_profile_domains

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_timestampstring (date-time)The time at which the voice profile domain was created.
descriptionstringThe description of the voice profile domain.
namestringThe name of the voice profile domain. (pattern: <code>[a-zA-Z0-9 _.-]+</code>)
server_side_encryption_configurationobjectA structure that contains the configuration settings for server-side encryption. We only support symmetric keys. Do not use asymmetric or HMAC keys, or KMS aliases.
updated_timestampstring (date-time)The time at which the voice profile was last updated.
voice_profile_domain_arnstringThe voice profile domain's Amazon Resource Number (ARN). (pattern: <code>^arn[/:-_.a-zA-Z0-9]+$</code>)
voice_profile_domain_idstringThe ID of the voice profile domain. (pattern: <code>.\S.</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_voice_profile_domainselectvoice_profile_domain_id, regionRetrieves the details of the specified voice profile domain.
list_voice_profile_domainsselectregionnext-token, max-resultsLists the specified voice profile domains in the administrator's AWS account.
create_voice_profile_domaininsertregion, Name, ServerSideEncryptionConfigurationCreates a voice profile domain, a collection of voice profiles, their voice prints, and encrypted enrollment audio. 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 profile domains, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide.
update_voice_profile_domainupdatevoice_profile_domain_id, regionUpdates the settings for the specified voice profile domain.
delete_voice_profile_domaindeletevoice_profile_domain_id, regionDeletes all voice profiles in the domain. 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 voice profile domain ID.
max-resultsintegerThe maximum number of results to return in a single call.
next-tokenstringThe token used to return the next page of results.

SELECT examples

Retrieves the details of the specified voice profile domain.

SELECT
created_timestamp,
description,
name,
server_side_encryption_configuration,
updated_timestamp,
voice_profile_domain_arn,
voice_profile_domain_id
FROM aws.chime_sdk_voice.voice_profile_domains
WHERE voice_profile_domain_id = '{{ voice_profile_domain_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a voice profile domain, a collection of voice profiles, their voice prints, and encrypted enrollment audio. 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 profile domains, see Using Amazon Chime SDK Voice Analytics in the Amazon Chime SDK Developer Guide.

INSERT INTO aws.chime_sdk_voice.voice_profile_domains (
Name,
Description,
ServerSideEncryptionConfiguration,
ClientRequestToken,
Tags,
region
)
SELECT
'{{ Name }}' /* required */,
'{{ Description }}',
'{{ ServerSideEncryptionConfiguration }}' /* required */,
'{{ ClientRequestToken }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
voice_profile_domain
;

UPDATE examples

Updates the settings for the specified voice profile domain.

UPDATE aws.chime_sdk_voice.voice_profile_domains
SET
Name = '{{ Name }}',
Description = '{{ Description }}'
WHERE
voice_profile_domain_id = '{{ voice_profile_domain_id }}' --required
AND region = '{{ region }}' --required
RETURNING
voice_profile_domain;

DELETE examples

Deletes all voice profiles in the domain. WARNING: This action is not reversible.

DELETE FROM aws.chime_sdk_voice.voice_profile_domains
WHERE voice_profile_domain_id = '{{ voice_profile_domain_id }}' --required
AND region = '{{ region }}' --required
;