Skip to main content

phone_number_settings

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

Overview

Namephone_number_settings
TypeResource
Idaws.chime.phone_number_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
calling_namestringThe default outbound calling name for the account. (pattern: <code>^$|^[a-zA-Z0-9 ]{2,15}$</code>)
calling_name_updated_timestampstring (date-time)The updated outbound calling name timestamp, in ISO 8601 format.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_phone_number_settingsselectregionRetrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.
update_phone_number_settingsupdateregion, CallingNameUpdates the phone number settings for the administrator's AWS account, such as the default outbound calling name. You can update the default outbound calling name once every seven days. Outbound calling names can take up to 72 hours to update.

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)

SELECT examples

Retrieves the phone number settings for the administrator's AWS account, such as the default outbound calling name.

SELECT
calling_name,
calling_name_updated_timestamp
FROM aws.chime.phone_number_settings
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Updates the phone number settings for the administrator's AWS account, such as the default outbound calling name. You can update the default outbound calling name once every seven days. Outbound calling names can take up to 72 hours to update.

UPDATE aws.chime.phone_number_settings
SET
CallingName = '{{ CallingName }}'
WHERE
region = '{{ region }}' --required
AND CallingName = '{{ CallingName }}' --required;