| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EMR.DescribeReleaseLabel
Description
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.
Synopsis
- data DescribeReleaseLabel = DescribeReleaseLabel' {}
- newDescribeReleaseLabel :: DescribeReleaseLabel
- describeReleaseLabel_maxResults :: Lens' DescribeReleaseLabel (Maybe Natural)
- describeReleaseLabel_nextToken :: Lens' DescribeReleaseLabel (Maybe Text)
- describeReleaseLabel_releaseLabel :: Lens' DescribeReleaseLabel (Maybe Text)
- data DescribeReleaseLabelResponse = DescribeReleaseLabelResponse' {}
- newDescribeReleaseLabelResponse :: Int -> DescribeReleaseLabelResponse
- describeReleaseLabelResponse_applications :: Lens' DescribeReleaseLabelResponse (Maybe [SimplifiedApplication])
- describeReleaseLabelResponse_availableOSReleases :: Lens' DescribeReleaseLabelResponse (Maybe [OSRelease])
- describeReleaseLabelResponse_nextToken :: Lens' DescribeReleaseLabelResponse (Maybe Text)
- describeReleaseLabelResponse_releaseLabel :: Lens' DescribeReleaseLabelResponse (Maybe Text)
- describeReleaseLabelResponse_httpStatus :: Lens' DescribeReleaseLabelResponse Int
Creating a Request
data DescribeReleaseLabel Source #
See: newDescribeReleaseLabel smart constructor.
Constructors
| DescribeReleaseLabel' | |
Fields
| |
Instances
newDescribeReleaseLabel :: DescribeReleaseLabel Source #
Create a value of DescribeReleaseLabel with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:DescribeReleaseLabel', describeReleaseLabel_maxResults - Reserved for future use. Currently set to null.
DescribeReleaseLabel, describeReleaseLabel_nextToken - The pagination token. Reserved for future use. Currently set to null.
DescribeReleaseLabel, describeReleaseLabel_releaseLabel - The target release label to be described.
Request Lenses
describeReleaseLabel_maxResults :: Lens' DescribeReleaseLabel (Maybe Natural) Source #
Reserved for future use. Currently set to null.
describeReleaseLabel_nextToken :: Lens' DescribeReleaseLabel (Maybe Text) Source #
The pagination token. Reserved for future use. Currently set to null.
describeReleaseLabel_releaseLabel :: Lens' DescribeReleaseLabel (Maybe Text) Source #
The target release label to be described.
Destructuring the Response
data DescribeReleaseLabelResponse Source #
See: newDescribeReleaseLabelResponse smart constructor.
Constructors
| DescribeReleaseLabelResponse' | |
Fields
| |
Instances
newDescribeReleaseLabelResponse Source #
Create a value of DescribeReleaseLabelResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeReleaseLabelResponse, describeReleaseLabelResponse_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.
$sel:availableOSReleases:DescribeReleaseLabelResponse', describeReleaseLabelResponse_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.
DescribeReleaseLabel, describeReleaseLabelResponse_nextToken - The pagination token. Reserved for future use. Currently set to null.
DescribeReleaseLabel, describeReleaseLabelResponse_releaseLabel - The target release label described in the response.
$sel:httpStatus:DescribeReleaseLabelResponse', describeReleaseLabelResponse_httpStatus - The response's http status code.
Response Lenses
describeReleaseLabelResponse_applications :: Lens' DescribeReleaseLabelResponse (Maybe [SimplifiedApplication]) Source #
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.
describeReleaseLabelResponse_availableOSReleases :: Lens' DescribeReleaseLabelResponse (Maybe [OSRelease]) Source #
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.
describeReleaseLabelResponse_nextToken :: Lens' DescribeReleaseLabelResponse (Maybe Text) Source #
The pagination token. Reserved for future use. Currently set to null.
describeReleaseLabelResponse_releaseLabel :: Lens' DescribeReleaseLabelResponse (Maybe Text) Source #
The target release label described in the response.
describeReleaseLabelResponse_httpStatus :: Lens' DescribeReleaseLabelResponse Int Source #
The response's http status code.