RedshiftServerless / Client / get_track

get_track#

RedshiftServerless.Client.get_track(**kwargs)#

Get the Redshift Serverless version for a specified track.

See also: AWS API Documentation

Request Syntax

response = client.get_track(
    trackName='string'
)
Parameters:

trackName (string) –

[REQUIRED]

The name of the track of which its version is fetched.

Return type:

dict

Returns:

Response Syntax

{
    'track': {
        'trackName': 'string',
        'updateTargets': [
            {
                'trackName': 'string',
                'workgroupVersion': 'string'
            },
        ],
        'workgroupVersion': 'string'
    }
}

Response Structure

  • (dict) –

    • track (dict) –

      The version of the specified track.

      • trackName (string) –

        The name of the track. Valid values are current and trailing.

      • 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