Chime.Client.
update_user_settings
(**kwargs)¶Updates the settings for the specified user, such as phone number settings.
See also: AWS API Documentation
Request Syntax
response = client.update_user_settings(
AccountId='string',
UserId='string',
UserSettings={
'Telephony': {
'InboundCalling': True|False,
'OutboundCalling': True|False,
'SMS': True|False
}
}
)
[REQUIRED]
The Amazon Chime account ID.
[REQUIRED]
The user ID.
[REQUIRED]
The user settings to update.
The telephony settings associated with the user.
Allows or denies inbound calling.
Allows or denies outbound calling.
Allows or denies SMS messaging.
None
Exceptions
Chime.Client.exceptions.UnauthorizedClientException
Chime.Client.exceptions.NotFoundException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException