:doc:`Connect <../../connect>` / Client / get_contact_attributes

**********************
get_contact_attributes
**********************



.. py:method:: Connect.Client.get_contact_attributes(**kwargs)

  

  Retrieves the contact attributes for the specified contact.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetContactAttributes>`_  


  **Request Syntax**
  ::

    response = client.get_contact_attributes(
        InstanceId='string',
        InitialContactId='string'
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance.

    

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

    The identifier of the initial contact.

    

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

    
    ::

      {
          'Attributes': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Attributes** *(dict) --* 

        Information about the attributes.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  