:doc:`IoTTwinMaker <../../iottwinmaker>` / Client / update_workspace

****************
update_workspace
****************



.. py:method:: IoTTwinMaker.Client.update_workspace(**kwargs)

  

  Updates a workspace.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateWorkspace>`_  


  **Request Syntax**
  ::

    response = client.update_workspace(
        workspaceId='string',
        description='string',
        role='string',
        s3Location='string'
    )
    
  :type workspaceId: string
  :param workspaceId: **[REQUIRED]** 

    The ID of the workspace.

    

  
  :type description: string
  :param description: 

    The description of the workspace.

    

  
  :type role: string
  :param role: 

    The ARN of the execution role associated with the workspace.

    

  
  :type s3Location: string
  :param s3Location: 

    The ARN of the S3 bucket where resources associated with the workspace are stored.

    

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

    
    ::

      {
          'updateDateTime': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **updateDateTime** *(datetime) --* 

        The date and time of the current update.

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

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

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

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

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

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

  