release_labels
Creates, updates, deletes, gets or lists a release_labels resource.
Overview
| Name | release_labels |
| Type | Resource |
| Id | aws.emr.release_labels |
Fields
The following fields are returned by SELECT queries:
- describe_release_label
- list_release_labels
| Name | Datatype | Description |
|---|---|---|
applications | array | 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. |
available_os_releases | array | 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. |
next_token | string | The pagination token. Reserved for future use. Currently set to null. |
release_label | string | The target release label described in the response. |
| Name | Datatype | Description |
|---|---|---|
release_label | string | The returned release labels. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_release_label | select | region | 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. | |
list_release_labels | select | region | Retrieves release labels of Amazon EMR services in the Region where the API is called. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_release_label
- list_release_labels
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.
SELECT
applications,
available_os_releases,
next_token,
release_label
FROM aws.emr.release_labels
WHERE region = '{{ region }}' -- required
;
Retrieves release labels of Amazon EMR services in the Region where the API is called.
SELECT
release_label
FROM aws.emr.release_labels
WHERE region = '{{ region }}' -- required
;