Skip to main content

voice_connectors

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

Overview

Namevoice_connectors
TypeResource
Idaws.chime_sdk_voice.voice_connectors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
aws_regionstringThe AWS Region in which the Voice Connector is created. Default: us-east-1. (us-east-1, us-west-2, ca-central-1, eu-central-1, eu-west-1, eu-west-2, ap-northeast-2, ap-northeast-1, ap-southeast-1, ap-southeast-2)
created_timestampstring (date-time)The Voice Connector's creation timestamp, in ISO 8601 format.
integration_typestringThe connectors for use with Connect Customer. (CONNECT_CALL_TRANSFER_CONNECTOR, CONNECT_ANALYTICS_CONNECTOR)
namestringThe Voice Connector's name. (pattern: <code>[a-zA-Z0-9 _.-]+</code>)
network_typestringThe type of network for the Voice Connector. (IPV4_ONLY, DUAL_STACK)
outbound_host_namestringThe outbound host name for the Voice Connector.
require_encryptionbooleanEnables or disables encryption for the Voice Connector.
updated_timestampstring (date-time)The Voice Connector's updated timestamp, in ISO 8601 format.
voice_connector_arnstringThe ARN of the Voice Connector. (pattern: <code>.\S.</code>)
voice_connector_idstringThe Voice Connector's ID. (pattern: <code>([a-z0-9]{21,22}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_voice_connectorselectvoice_connector_id, regionRetrieves details for the specified Amazon Chime SDK Voice Connector, such as timestamps,name, outbound host, and encryption requirements.
list_voice_connectorsselectregionnext-token, max-resultsLists the Amazon Chime SDK Voice Connectors in the administrators AWS account.
create_voice_connectorinsertregion, Name, RequireEncryptionCreates an Amazon Chime SDK Voice Connector. For more information about Voice Connectors, see Managing Amazon Chime SDK Voice Connector groups in the Amazon Chime SDK Administrator Guide.
update_voice_connectorupdatevoice_connector_id, region, Name, RequireEncryptionUpdates the details for the specified Amazon Chime SDK Voice Connector.
associate_phone_numbers_with_voice_connectorupdatevoice_connector_id, region, E164PhoneNumbersAssociates phone numbers with the specified Amazon Chime SDK Voice Connector.
delete_voice_connectordeletevoice_connector_id, regionDeletes an Amazon Chime SDK Voice Connector. Any phone numbers associated with the Amazon Chime SDK Voice Connector must be disassociated from it before it can be deleted.
disassociate_phone_numbers_from_voice_connectorexecvoice_connector_id, region, E164PhoneNumbersDisassociates the specified phone numbers from the specified Amazon Chime SDK Voice Connector.
start_speaker_search_taskexecvoice_connector_id, region, TransactionId, VoiceProfileDomainIdStarts a speaker search task. Before starting any speaker search tasks, 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.
start_voice_tone_analysis_taskexecvoice_connector_id, region, TransactionId, LanguageCodeStarts a voice tone analysis task. For more information about voice tone analysis, see Using Amazon Chime SDK voice analytics in the Amazon Chime SDK Developer Guide. Before starting any voice tone analysis tasks, 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.
stop_speaker_search_taskexecvoice_connector_id, speaker_search_task_id, regionStops a speaker search task.
stop_voice_tone_analysis_taskexecvoice_connector_id, voice_tone_analysis_task_id, regionStops a voice tone analysis task.

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)
speaker_search_task_idstringThe speaker search task ID.
voice_connector_idstringThe Voice Connector ID.
voice_tone_analysis_task_idstringThe ID of the voice tone analysis task.
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 details for the specified Amazon Chime SDK Voice Connector, such as timestamps,name, outbound host, and encryption requirements.

SELECT
aws_region,
created_timestamp,
integration_type,
name,
network_type,
outbound_host_name,
require_encryption,
updated_timestamp,
voice_connector_arn,
voice_connector_id
FROM aws.chime_sdk_voice.voice_connectors
WHERE voice_connector_id = '{{ voice_connector_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an Amazon Chime SDK Voice Connector. For more information about Voice Connectors, see Managing Amazon Chime SDK Voice Connector groups in the Amazon Chime SDK Administrator Guide.

INSERT INTO aws.chime_sdk_voice.voice_connectors (
Name,
AwsRegion,
RequireEncryption,
Tags,
IntegrationType,
NetworkType,
region
)
SELECT
'{{ Name }}' /* required */,
'{{ AwsRegion }}',
{{ RequireEncryption }} /* required */,
'{{ Tags }}',
'{{ IntegrationType }}',
'{{ NetworkType }}',
'{{ region }}'
RETURNING
voice_connector
;

UPDATE examples

Updates the details for the specified Amazon Chime SDK Voice Connector.

UPDATE aws.chime_sdk_voice.voice_connectors
SET
Name = '{{ Name }}',
RequireEncryption = {{ RequireEncryption }}
WHERE
voice_connector_id = '{{ voice_connector_id }}' --required
AND region = '{{ region }}' --required
AND Name = '{{ Name }}' --required
AND RequireEncryption = {{ RequireEncryption }} --required
RETURNING
voice_connector;

DELETE examples

Deletes an Amazon Chime SDK Voice Connector. Any phone numbers associated with the Amazon Chime SDK Voice Connector must be disassociated from it before it can be deleted.

DELETE FROM aws.chime_sdk_voice.voice_connectors
WHERE voice_connector_id = '{{ voice_connector_id }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods

Disassociates the specified phone numbers from the specified Amazon Chime SDK Voice Connector.

EXEC aws.chime_sdk_voice.voice_connectors.disassociate_phone_numbers_from_voice_connector
@voice_connector_id='{{ voice_connector_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"E164PhoneNumbers": "{{ E164PhoneNumbers }}"
}'
;