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.UnauthorizedClientException
Chime.Client.exceptions.NotFoundException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.AccessDeniedException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException