Skip to main content

user_settings

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

Overview

Nameuser_settings
TypeResource
Idaws.chime.user_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
telephonyobjectThe telephony settings associated with the user.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_settingsselectaccount_id, user_id, regionRetrieves settings for the specified user ID, such as any associated phone number settings.
update_user_settingsupdateaccount_id, user_id, region, UserSettingsUpdates the settings for the specified user, such as phone number 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
account_idstringThe Amazon Chime account ID.
regionstringAWS region (default: us-east-1)
user_idstringThe user ID.

SELECT examples

Retrieves settings for the specified user ID, such as any associated phone number settings.

SELECT
telephony
FROM aws.chime.user_settings
WHERE account_id = '{{ account_id }}' -- required
AND user_id = '{{ user_id }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Updates the settings for the specified user, such as phone number settings.

UPDATE aws.chime.user_settings
SET
UserSettings = '{{ UserSettings }}'
WHERE
account_id = '{{ account_id }}' --required
AND user_id = '{{ user_id }}' --required
AND region = '{{ region }}' --required
AND UserSettings = '{{ UserSettings }}' --required;