ManagedGrafana / Client / update_workspace_configuration

update_workspace_configuration#

ManagedGrafana.Client.update_workspace_configuration(**kwargs)#

Updates the configuration string for the given workspace

See also: AWS API Documentation

Request Syntax

response = client.update_workspace_configuration(
    configuration='string',
    grafanaVersion='string',
    workspaceId='string'
)
Parameters:
  • configuration (string) –

    [REQUIRED]

    The new configuration string for the workspace. For more information about the format and configuration options available, see Working in your Grafana workspace.

  • grafanaVersion (string) –

    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 operation.

  • workspaceId (string) –

    [REQUIRED]

    The ID of the workspace to update.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ManagedGrafana.Client.exceptions.ResourceNotFoundException

  • ManagedGrafana.Client.exceptions.ThrottlingException

  • ManagedGrafana.Client.exceptions.ConflictException

  • ManagedGrafana.Client.exceptions.ValidationException

  • ManagedGrafana.Client.exceptions.AccessDeniedException

  • ManagedGrafana.Client.exceptions.InternalServerException