:doc:`FinSpaceData <../../finspace-data>` / Client / get_working_location

********************
get_working_location
********************



.. py:method:: FinSpaceData.Client.get_working_location(**kwargs)

  

  A temporary Amazon S3 location, where you can copy your files from a source location to stage or use as a scratch space in FinSpace notebook.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation>`_  


  **Request Syntax**
  ::

    response = client.get_working_location(
        locationType='INGESTION'|'SAGEMAKER'
    )
    
  :type locationType: string
  :param locationType: 

    Specify the type of the working location.

     

    
    * ``SAGEMAKER`` – Use the Amazon S3 location as a temporary location to store data content when working with FinSpace Notebooks that run on SageMaker studio.
     
    * ``INGESTION`` – Use the Amazon S3 location as a staging location to copy your data content and then use the location with the Changeset creation operation.
    

    

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

    
    ::

      {
          's3Uri': 'string',
          's3Path': 'string',
          's3Bucket': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **s3Uri** *(string) --* 

        Returns the Amazon S3 URI for the working location.

        
      

      - **s3Path** *(string) --* 

        Returns the Amazon S3 Path for the working location.

        
      

      - **s3Bucket** *(string) --* 

        Returns the Amazon S3 bucket name for the working location.

        
  
  **Exceptions**
  
  *   :py:class:`FinSpaceData.Client.exceptions.InternalServerException`

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

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

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

  