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

*************************
export_q_app_session_data
*************************



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

  

  Exports 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/ExportQAppSessionData>`_  


  **Request Syntax**
  ::

    response = client.export_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**

    
    ::

      {
          'csvFileLink': 'string',
          'expiresAt': datetime(2015, 1, 1),
          'sessionArn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **csvFileLink** *(string) --* 

        The link where the exported Q App session data can be downloaded from.

        
      

      - **expiresAt** *(datetime) --* 

        The date and time when the link for the exported Q App session data expires.

        
      

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

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

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

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

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

  
  *   :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`

  