RedshiftServerless / Client / list_tracks
list_tracks¶
- RedshiftServerless.Client.list_tracks(**kwargs)¶
List the Amazon Redshift Serverless versions.
See also: AWS API Documentation
Request Syntax
response = client.list_tracks( maxResults=123, nextToken='string' )
- Parameters:
maxResults (integer) – The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.
nextToken (string) – If your initial
ListTracksRequestoperation returns anextToken, you can include the returnednextTokenin followingListTracksRequestoperations, which returns results in the next page.
- Return type:
dict
- Returns:
Response Syntax
{ 'nextToken': 'string', 'tracks': [ { 'trackName': 'string', 'updateTargets': [ { 'trackName': 'string', 'workgroupVersion': 'string' }, ], 'workgroupVersion': 'string' }, ] }
Response Structure
(dict) –
nextToken (string) –
When
nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.tracks (list) –
The returned tracks.
(dict) –
Defines a track that determines which Amazon Redshift version to apply after a new version is released. If the value for
ServerlessTrackiscurrent, the workgroup is updated to the most recently certified release. If the value istrailing, the workgroup is updated to the previously certified release.trackName (string) –
The name of the track. Valid values are
currentandtrailing.updateTargets (list) –
An array of
UpdateTargetobjects to update with the track.(dict) –
A track that you can switch the current track to.
trackName (string) –
The name of the new track.
workgroupVersion (string) –
The workgroup version for the new track.
workgroupVersion (string) –
The workgroup version number for the workgroup release.
Exceptions
RedshiftServerless.Client.exceptions.InternalServerExceptionRedshiftServerless.Client.exceptions.InvalidPaginationExceptionRedshiftServerless.Client.exceptions.ValidationExceptionRedshiftServerless.Client.exceptions.AccessDeniedExceptionRedshiftServerless.Client.exceptions.ThrottlingException