Redshift / Client / describe_cluster_tracks
describe_cluster_tracks#
- Redshift.Client.describe_cluster_tracks(**kwargs)#
Returns a list of all the available maintenance tracks.
See also: AWS API Documentation
Request Syntax
response = client.describe_cluster_tracks( MaintenanceTrackName='string', MaxRecords=123, Marker='string' )
- Parameters:
MaintenanceTrackName (string) – The name of the maintenance track.
MaxRecords (integer) – An integer value for the maximum number of maintenance tracks to return.
Marker (string) – An optional parameter that specifies the starting point to return a set of response records. When the results of a
DescribeClusterTracks
request exceed the value specified inMaxRecords
, Amazon Redshift returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter and retrying the request.
- Return type:
dict
- Returns:
Response Syntax
{ 'MaintenanceTracks': [ { 'MaintenanceTrackName': 'string', 'DatabaseVersion': 'string', 'UpdateTargets': [ { 'MaintenanceTrackName': 'string', 'DatabaseVersion': 'string', 'SupportedOperations': [ { 'OperationName': 'string' }, ] }, ] }, ], 'Marker': 'string' }
Response Structure
(dict) –
MaintenanceTracks (list) –
A list of maintenance tracks output by the
DescribeClusterTracks
operation.(dict) –
Defines a maintenance track that determines which Amazon Redshift version to apply during a maintenance window. If the value for
MaintenanceTrack
iscurrent
, the cluster is updated to the most recently certified maintenance release. If the value istrailing
, the cluster is updated to the previously certified maintenance release.MaintenanceTrackName (string) –
The name of the maintenance track. Possible values are
current
andtrailing
.DatabaseVersion (string) –
The version number for the cluster release.
UpdateTargets (list) –
An array of UpdateTarget objects to update with the maintenance track.
(dict) –
A maintenance track that you can switch the current track to.
MaintenanceTrackName (string) –
The name of the new maintenance track.
DatabaseVersion (string) –
The cluster version for the new maintenance track.
SupportedOperations (list) –
A list of operations supported by the maintenance track.
(dict) –
Describes the operations that are allowed on a maintenance track.
OperationName (string) –
A list of the supported operations.
Marker (string) –
The starting point to return a set of response tracklist records. You can retrieve the next set of response records by providing the returned marker value in the
Marker
parameter and retrying the request.
Exceptions
Redshift.Client.exceptions.InvalidClusterTrackFault
Redshift.Client.exceptions.UnauthorizedOperation