:doc:`QApps <../../qapps>` / Client / list_q_app_session_data

***********************
list_q_app_session_data
***********************



.. py:method:: QApps.Client.list_q_app_session_data(**kwargs)

  

  Lists the collected data of a Q App data collection session.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/qapps-2023-11-27/ListQAppSessionData>`_  


  **Request Syntax**
  ::

    response = client.list_q_app_session_data(
        instanceId='string',
        sessionId='string'
    )
    
  :type instanceId: string
  :param instanceId: **[REQUIRED]** 

    The unique identifier of the Amazon Q Business application environment instance.

    

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

    The unique identifier of the Q App data collection session.

    

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

    
    ::

      {
          'sessionId': 'string',
          'sessionArn': 'string',
          'sessionData': [
              {
                  'cardId': 'string',
                  'value': {...}|[...]|123|123.4|'string'|True|None,
                  'user': {
                      'userId': 'string'
                  },
                  'submissionId': 'string',
                  'timestamp': datetime(2015, 1, 1)
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **sessionId** *(string) --* 

        The unique identifier of the Q App data collection session.

        
      

      - **sessionArn** *(string) --* 

        The Amazon Resource Name (ARN) of the Q App data collection session.

        
      

      - **sessionData** *(list) --* 

        The collected responses of a Q App session.

        
        

        - *(dict) --* 

          The response collected for a Amazon Q App session. This container represents a single response to a Q App session.

          
          

          - **cardId** *(string) --* 

            The card Id associated with the response submitted for a Q App session.

            
          

          - **value** (:ref:`document<document>`) -- 

            The response submitted for a Q App session.

            
          

          - **user** *(dict) --* 

            The user who submitted the response for a Q App session.

            
            

            - **userId** *(string) --* 

              The unique identifier of a user.

              
        
          

          - **submissionId** *(string) --* 

            The unique identifier of the submission.

            
          

          - **timestamp** *(datetime) --* 

            The date and time when the session data is submitted.

            
      
    
      

      - **nextToken** *(string) --* 

        The pagination token that indicates the next set of results to retrieve.

        
  
  **Exceptions**
  
  *   :py:class:`QApps.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`QApps.Client.exceptions.ValidationException`

  
  *   :py:class:`QApps.Client.exceptions.InternalServerException`

  
  *   :py:class:`QApps.Client.exceptions.UnauthorizedException`

  
  *   :py:class:`QApps.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`QApps.Client.exceptions.ThrottlingException`

  