:doc:`RedshiftServerless <../../redshift-serverless>` / Client / get_track

*********
get_track
*********



.. py:method:: RedshiftServerless.Client.get_track(**kwargs)

  

  Get the Redshift Serverless version for a specified track.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetTrack>`_  


  **Request Syntax**
  ::

    response = client.get_track(
        trackName='string'
    )
    
  :type trackName: string
  :param trackName: **[REQUIRED]** 

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

    

  
  
  :rtype: 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**
  
  *   :py:class:`RedshiftServerless.Client.exceptions.InternalServerException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ValidationException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ConflictException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.DryRunException`

  
  *   :py:class:`RedshiftServerless.Client.exceptions.ThrottlingException`

  