ManagedGrafana / Client / list_versions
list_versions#
- ManagedGrafana.Client.list_versions(**kwargs)#
Lists available versions of Grafana. These are available when calling
CreateWorkspace
. Optionally, include a workspace to list the versions to which it can be upgraded.See also: AWS API Documentation
Request Syntax
response = client.list_versions( maxResults=123, nextToken='string', workspaceId='string' )
- Parameters:
maxResults (integer) – The maximum number of results to include in the response.
nextToken (string) – The token to use when requesting the next set of results. You receive this token from a previous
ListVersions
operation.workspaceId (string) – The ID of the workspace to list the available upgrade versions. If not included, lists all versions of Grafana that are supported for
CreateWorkspace
.
- Return type:
dict
- Returns:
Response Syntax
{ 'grafanaVersions': [ 'string', ], 'nextToken': 'string' }
Response Structure
(dict) –
grafanaVersions (list) –
The Grafana versions available to create. If a workspace ID is included in the request, the Grafana versions to which this workspace can be upgraded.
(string) –
nextToken (string) –
The token to use in a subsequent
ListVersions
operation to return the next set of results.
Exceptions
ManagedGrafana.Client.exceptions.ResourceNotFoundException
ManagedGrafana.Client.exceptions.ThrottlingException
ManagedGrafana.Client.exceptions.ValidationException
ManagedGrafana.Client.exceptions.AccessDeniedException
ManagedGrafana.Client.exceptions.InternalServerException