Chime.Client.associate_phone_number_with_user(**kwargs)¶Associates a phone number with the specified Amazon Chime user.
See also: AWS API Documentation
Request Syntax
response = client.associate_phone_number_with_user(
AccountId='string',
UserId='string',
E164PhoneNumber='string'
)
[REQUIRED]
The Amazon Chime account ID.
[REQUIRED]
The user ID.
[REQUIRED]
The phone number, in E.164 format.
dict
Response Syntax
{}
Response Structure
Exceptions
Chime.Client.exceptions.UnauthorizedClientExceptionChime.Client.exceptions.NotFoundExceptionChime.Client.exceptions.ForbiddenExceptionChime.Client.exceptions.BadRequestExceptionChime.Client.exceptions.AccessDeniedExceptionChime.Client.exceptions.ThrottledClientExceptionChime.Client.exceptions.ServiceUnavailableExceptionChime.Client.exceptions.ServiceFailureException