describe_release_label

describe_release_label(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.describe_release_label(
    ReleaseLabel='string',
    NextToken='string',
    MaxResults=123
)
Parameters
  • ReleaseLabel (string) -- The target release label to be described.
  • NextToken (string) -- The pagination token. Reserved for future use. Currently set to null.
  • MaxResults (integer) -- Reserved for future use. Currently set to null.
Return type

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. For example, 2.0.20220218.1.

      • (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. For example, 2.0.20220218.1.

Exceptions

  • EMR.Client.exceptions.InternalServerException
  • EMR.Client.exceptions.InvalidRequestException