voice_connector_emergency_calling_configurations
Creates, updates, deletes, gets or lists a voice_connector_emergency_calling_configurations resource.
Overview
| Name | voice_connector_emergency_calling_configurations |
| Type | Resource |
| Id | aws.chime_sdk_voice.voice_connector_emergency_calling_configurations |
Fields
The following fields are returned by SELECT queries:
- get_voice_connector_emergency_calling_configuration
| Name | Datatype | Description |
|---|---|---|
dnis | array | The Dialed Number Identification Service (DNIS) emergency calling configuration details. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_voice_connector_emergency_calling_configuration | select | voice_connector_id, region | Retrieves the emergency calling configuration details for the specified Voice Connector. | |
put_voice_connector_emergency_calling_configuration | replace | voice_connector_id, region, EmergencyCallingConfiguration | Updates a Voice Connector's emergency calling configuration. | |
delete_voice_connector_emergency_calling_configuration | delete | voice_connector_id, region | Deletes the emergency calling details from the specified Amazon Chime SDK Voice Connector. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
voice_connector_id | string | The Voice Connector ID. |
SELECT examples
- get_voice_connector_emergency_calling_configuration
Retrieves the emergency calling configuration details for the specified Voice Connector.
SELECT
dnis
FROM aws.chime_sdk_voice.voice_connector_emergency_calling_configurations
WHERE voice_connector_id = '{{ voice_connector_id }}' -- required
AND region = '{{ region }}' -- required
;
REPLACE examples
- put_voice_connector_emergency_calling_configuration
Updates a Voice Connector's emergency calling configuration.
REPLACE aws.chime_sdk_voice.voice_connector_emergency_calling_configurations
SET
EmergencyCallingConfiguration = '{{ EmergencyCallingConfiguration }}'
WHERE
voice_connector_id = '{{ voice_connector_id }}' --required
AND region = '{{ region }}' --required
AND EmergencyCallingConfiguration = '{{ EmergencyCallingConfiguration }}' --required
RETURNING
emergency_calling_configuration;
DELETE examples
- delete_voice_connector_emergency_calling_configuration
Deletes the emergency calling details from the specified Amazon Chime SDK Voice Connector.
DELETE FROM aws.chime_sdk_voice.voice_connector_emergency_calling_configurations
WHERE voice_connector_id = '{{ voice_connector_id }}' --required
AND region = '{{ region }}' --required
;