get_user_settings(**kwargs)¶Retrieves settings for the specified user ID, such as any associated phone number settings.
See also: AWS API Documentation
Request Syntax
response = client.get_user_settings(
AccountId='string',
UserId='string'
)
[REQUIRED]
The Amazon Chime account ID.
[REQUIRED]
The user ID.
dict
Response Syntax
{
'UserSettings': {
'Telephony': {
'InboundCalling': True|False,
'OutboundCalling': True|False,
'SMS': True|False
}
}
}
Response Structure
(dict) --
UserSettings (dict) --
The user settings.
Telephony (dict) --
The telephony settings associated with the user.
InboundCalling (boolean) --
Allows or denies inbound calling.
OutboundCalling (boolean) --
Allows or denies outbound calling.
SMS (boolean) --
Allows or denies SMS messaging.
Exceptions
Chime.Client.exceptions.UnauthorizedClientExceptionChime.Client.exceptions.NotFoundExceptionChime.Client.exceptions.ForbiddenExceptionChime.Client.exceptions.BadRequestExceptionChime.Client.exceptions.ThrottledClientExceptionChime.Client.exceptions.ServiceUnavailableExceptionChime.Client.exceptions.ServiceFailureException