:doc:`ManagedGrafana <../../grafana>` / Client / update_workspace_configuration

******************************
update_workspace_configuration
******************************



.. py:method:: ManagedGrafana.Client.update_workspace_configuration(**kwargs)

  

  Updates the configuration string for the given workspace

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateWorkspaceConfiguration>`_  


  **Request Syntax**
  ::

    response = client.update_workspace_configuration(
        configuration='string',
        grafanaVersion='string',
        workspaceId='string'
    )
    
  :type configuration: string
  :param configuration: **[REQUIRED]** 

    The new configuration string for the workspace. For more information about the format and configuration options available, see `Working in your Grafana workspace <https://docs.aws.amazon.com/grafana/latest/userguide/AMG-configure-workspace.html>`__.

    

  
  :type grafanaVersion: string
  :param grafanaVersion: 

    Specifies the version of Grafana to support in the workspace. If not specified, keeps the current version of the workspace.

     

    Can only be used to upgrade (for example, from 8.4 to 9.4), not downgrade (for example, from 9.4 to 8.4).

     

    To know what versions are available to upgrade to for a specific workspace, see the `ListVersions <https://docs.aws.amazon.com/grafana/latest/APIReference/API_ListVersions.html>`__ operation.

    

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

    The ID of the workspace to update.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ManagedGrafana.Client.exceptions.ResourceNotFoundException`

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

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

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

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

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

  