Skip to main content

voice_connector_groups

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

Overview

Namevoice_connector_groups
TypeResource
Idaws.chime_sdk_voice.voice_connector_groups

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
call_distribution_typestring (PriorityWeightedDistribution, LoadBalancedDistribution)
created_timestampstring (date-time)The Voice Connector group's creation time stamp, in ISO 8601 format.
namestringThe name of a Voice Connector group. (pattern: <code>[a-zA-Z0-9 _.-]+</code>)
updated_timestampstring (date-time)The Voice Connector group's creation time stamp, in ISO 8601 format.
voice_connector_group_arnstringThe ARN of the Voice Connector group. (pattern: <code>.\S.</code>)
voice_connector_group_idstringThe ID of a Voice Connector group. (pattern: <code>.\S.</code>)
voice_connector_itemsarrayThe Voice Connectors to which you route inbound calls.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_voice_connector_groupselectvoice_connector_group_id, regionRetrieves details for the specified Amazon Chime SDK Voice Connector group, such as timestamps,name, and associated VoiceConnectorItems.
list_voice_connector_groupsselectregionnext-token, max-resultsLists the Amazon Chime SDK Voice Connector groups in the administrator's AWS account.
create_voice_connector_groupinsertregion, NameCreates an Amazon Chime SDK Voice Connector group under the administrator's AWS account. You can associate Amazon Chime SDK Voice Connectors with the Voice Connector group by including VoiceConnectorItems in the request. You can include Voice Connectors from different AWS Regions in your group. This creates a fault tolerant mechanism for fallback in case of availability events.
update_voice_connector_groupupdatevoice_connector_group_id, region, Name, VoiceConnectorItemsUpdates the settings for the specified Amazon Chime SDK Voice Connector group.
associate_phone_numbers_with_voice_connector_groupupdatevoice_connector_group_id, region, E164PhoneNumbersAssociates phone numbers with the specified Amazon Chime SDK Voice Connector group.
delete_voice_connector_groupdeletevoice_connector_group_id, regionDeletes an Amazon Chime SDK Voice Connector group. Any VoiceConnectorItems and phone numbers associated with the group must be removed before it can be deleted.
disassociate_phone_numbers_from_voice_connector_groupexecvoice_connector_group_id, region, E164PhoneNumbersDisassociates the specified phone numbers from the specified Amazon Chime SDK Voice Connector group.

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_connector_group_idstringThe Voice Connector group 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 details for the specified Amazon Chime SDK Voice Connector group, such as timestamps,name, and associated VoiceConnectorItems.

SELECT
call_distribution_type,
created_timestamp,
name,
updated_timestamp,
voice_connector_group_arn,
voice_connector_group_id,
voice_connector_items
FROM aws.chime_sdk_voice.voice_connector_groups
WHERE voice_connector_group_id = '{{ voice_connector_group_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an Amazon Chime SDK Voice Connector group under the administrator's AWS account. You can associate Amazon Chime SDK Voice Connectors with the Voice Connector group by including VoiceConnectorItems in the request. You can include Voice Connectors from different AWS Regions in your group. This creates a fault tolerant mechanism for fallback in case of availability events.

INSERT INTO aws.chime_sdk_voice.voice_connector_groups (
Name,
VoiceConnectorItems,
CallDistributionType,
region
)
SELECT
'{{ Name }}' /* required */,
'{{ VoiceConnectorItems }}',
'{{ CallDistributionType }}',
'{{ region }}'
RETURNING
voice_connector_group
;

UPDATE examples

Updates the settings for the specified Amazon Chime SDK Voice Connector group.

UPDATE aws.chime_sdk_voice.voice_connector_groups
SET
Name = '{{ Name }}',
VoiceConnectorItems = '{{ VoiceConnectorItems }}',
CallDistributionType = '{{ CallDistributionType }}'
WHERE
voice_connector_group_id = '{{ voice_connector_group_id }}' --required
AND region = '{{ region }}' --required
AND Name = '{{ Name }}' --required
AND VoiceConnectorItems = '{{ VoiceConnectorItems }}' --required
RETURNING
voice_connector_group;

DELETE examples

Deletes an Amazon Chime SDK Voice Connector group. Any VoiceConnectorItems and phone numbers associated with the group must be removed before it can be deleted.

DELETE FROM aws.chime_sdk_voice.voice_connector_groups
WHERE voice_connector_group_id = '{{ voice_connector_group_id }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods

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

EXEC aws.chime_sdk_voice.voice_connector_groups.disassociate_phone_numbers_from_voice_connector_group
@voice_connector_group_id='{{ voice_connector_group_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"E164PhoneNumbers": "{{ E164PhoneNumbers }}"
}'
;