DescribeReleaseLabel - Amazon EMR

DescribeReleaseLabel

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.

Request Syntax

{ "MaxResults": number, "NextToken": "string", "ReleaseLabel": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

MaxResults

Reserved for future use. Currently set to null.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

NextToken

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

Type: String

Required: No

ReleaseLabel

The target release label to be described.

Type: String

Required: No

Response Syntax

{ "Applications": [ { "Name": "string", "Version": "string" } ], "NextToken": "string", "ReleaseLabel": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Applications

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.

Type: Array of SimplifiedApplication objects

NextToken

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

Type: String

ReleaseLabel

The target release label described in the response.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalServerException

This exception occurs when there is an internal failure in the Amazon EMR service.

HTTP Status Code: 500

InvalidRequestException

This exception occurs when there is something wrong with user input.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: