:doc:`EMR <../../emr>` / Client / describe_release_label

**********************
describe_release_label
**********************



.. py:method:: EMR.Client.describe_release_label(**kwargs)

  

  Provides Amazon EMR release label details, such as the releases available the Region where the API request is run, and the available applications for a specific Amazon EMR release label. Can also list Amazon EMR releases that support a specified version of Spark.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel>`_  


  **Request Syntax**
  ::

    response = client.describe_release_label(
        ReleaseLabel='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type ReleaseLabel: string
  :param ReleaseLabel: 

    The target release label to be described.

    

  
  :type NextToken: string
  :param NextToken: 

    The pagination token. Reserved for future use. Currently set to null.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    Reserved for future use. Currently set to null.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'ReleaseLabel': 'string',
          'Applications': [
              {
                  'Name': 'string',
                  'Version': 'string'
              },
          ],
          'NextToken': 'string',
          'AvailableOSReleases': [
              {
                  'Label': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ReleaseLabel** *(string) --* 

        The target release label described in the response.

        
      

      - **Applications** *(list) --* 

        The list of applications available for the target release label. ``Name`` is the name of the application. ``Version`` is the concise version of the application.

        
        

        - *(dict) --* 

          The returned release label application names or versions.

          
          

          - **Name** *(string) --* 

            The returned release label application name. For example, ``hadoop``.

            
          

          - **Version** *(string) --* 

            The returned release label application version. For example, ``3.2.1``.

            
      
    
      

      - **NextToken** *(string) --* 

        The pagination token. Reserved for future use. Currently set to null.

        
      

      - **AvailableOSReleases** *(list) --* 

        The list of available Amazon Linux release versions for an Amazon EMR release. Contains a Label field that is formatted as shown in `Amazon Linux 2 Release Notes <https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-al2.html>`__. For example, `2.0.20220218.1 <https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html>`__.

        
        

        - *(dict) --* 

          The Amazon Linux release specified for a cluster in the RunJobFlow request.

          
          

          - **Label** *(string) --* 

            The Amazon Linux release specified for a cluster in the RunJobFlow request. The format is as shown in `Amazon Linux 2 Release Notes <https://docs.aws.amazon.com/AL2/latest/relnotes/relnotes-20220218.html>`__. For example, 2.0.20220218.1.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`EMR.Client.exceptions.InternalServerException`

  
  *   :py:class:`EMR.Client.exceptions.InvalidRequestException`

  