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
ListTracksRequest
operation returns anextToken
, you can include the returnednextToken
in followingListTracksRequest
operations, 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
nextToken
is returned, there are more results available. The value ofnextToken
is 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
ServerlessTrack
iscurrent
, 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
current
andtrailing
.updateTargets (list) –
An array of
UpdateTarget
objects 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