Skip to main content

voice_connector_terminations

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

Overview

Namevoice_connector_terminations
TypeResource
Idaws.chime_sdk_voice.voice_connector_terminations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
calling_regionsarrayThe countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.
cidr_allowed_listarrayThe IP addresses allowed to make calls, in CIDR format.
cps_limitintegerThe limit on calls per second. Max value based on account service quota. Default value of 1.
default_phone_numberstringThe default outbound calling number. (pattern: <code>^+?[1-9]\d{1,14}$</code>)
disabledbooleanWhen termination is disabled, outbound calls cannot be made.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_voice_connector_terminationselectvoice_connector_id, regionRetrieves the termination setting details for the specified Voice Connector.
put_voice_connector_terminationreplacevoice_connector_id, regionUpdates a Voice Connector's termination settings.
delete_voice_connector_terminationdeletevoice_connector_id, regionDeletes the termination settings for the specified Amazon Chime SDK Voice Connector. If emergency calling is configured for the Voice Connector, it must be deleted prior to deleting the termination settings.

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_idstringThe Voice Connector ID.

SELECT examples

Retrieves the termination setting details for the specified Voice Connector.

SELECT
calling_regions,
cidr_allowed_list,
cps_limit,
default_phone_number,
disabled
FROM aws.chime_sdk_voice.voice_connector_terminations
WHERE voice_connector_id = '{{ voice_connector_id }}' -- required
AND region = '{{ region }}' -- required
;

REPLACE examples

Updates a Voice Connector's termination settings.

REPLACE aws.chime_sdk_voice.voice_connector_terminations
SET
Termination = '{{ Termination }}'
WHERE
voice_connector_id = '{{ voice_connector_id }}' --required
AND region = '{{ region }}' --required
RETURNING
termination;

DELETE examples

Deletes the termination settings for the specified Amazon Chime SDK Voice Connector. If emergency calling is configured for the Voice Connector, it must be deleted prior to deleting the termination settings.

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