:doc:`Chime <../../chime>` / Client / associate_phone_number_with_user

********************************
associate_phone_number_with_user
********************************



.. py:method:: Chime.Client.associate_phone_number_with_user(**kwargs)

  

  Associates a phone number with the specified Amazon Chime user.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumberWithUser>`_  


  **Request Syntax**
  ::

    response = client.associate_phone_number_with_user(
        AccountId='string',
        UserId='string',
        E164PhoneNumber='string'
    )
    
  :type AccountId: string
  :param AccountId: **[REQUIRED]** 

    The Amazon Chime account ID.

    

  
  :type UserId: string
  :param UserId: **[REQUIRED]** 

    The user ID.

    

  
  :type E164PhoneNumber: string
  :param E164PhoneNumber: **[REQUIRED]** 

    The phone number, in E.164 format.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Chime.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`Chime.Client.exceptions.NotFoundException`

  
  *   :py:class:`Chime.Client.exceptions.ForbiddenException`

  
  *   :py:class:`Chime.Client.exceptions.BadRequestException`

  
  *   :py:class:`Chime.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Chime.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`Chime.Client.exceptions.ServiceFailureException`

  