選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

DescribeReleaseLabel

焦點模式
DescribeReleaseLabel - Amazon EMR
此頁面尚未翻譯為您的語言。 請求翻譯

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.

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" } ], "AvailableOSReleases": [ { "Label": "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

AvailableOSReleases

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.

Type: Array of OSRelease 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:

隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。