Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_nextToken :: Lens' DescribeReleaseLabel (Maybe Text)
- describeReleaseLabel_releaseLabel :: Lens' DescribeReleaseLabel (Maybe Text)
- describeReleaseLabel_maxResults :: Lens' DescribeReleaseLabel (Maybe Natural)
- data DescribeReleaseLabelResponse = DescribeReleaseLabelResponse' {}
- newDescribeReleaseLabelResponse :: Int -> DescribeReleaseLabelResponse
- describeReleaseLabelResponse_nextToken :: Lens' DescribeReleaseLabelResponse (Maybe Text)
- describeReleaseLabelResponse_releaseLabel :: Lens' DescribeReleaseLabelResponse (Maybe Text)
- describeReleaseLabelResponse_applications :: Lens' DescribeReleaseLabelResponse (Maybe [SimplifiedApplication])
- describeReleaseLabelResponse_httpStatus :: Lens' DescribeReleaseLabelResponse Int
Creating a Request
data DescribeReleaseLabel Source #
See: newDescribeReleaseLabel
smart constructor.
DescribeReleaseLabel' | |
|
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:nextToken:DescribeReleaseLabel'
, describeReleaseLabel_nextToken
- The pagination token. Reserved for future use. Currently set to null.
$sel:releaseLabel:DescribeReleaseLabel'
, describeReleaseLabel_releaseLabel
- The target release label to be described.
$sel:maxResults:DescribeReleaseLabel'
, describeReleaseLabel_maxResults
- Reserved for future use. Currently set to null.
Request Lenses
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.
describeReleaseLabel_maxResults :: Lens' DescribeReleaseLabel (Maybe Natural) Source #
Reserved for future use. Currently set to null.
Destructuring the Response
data DescribeReleaseLabelResponse Source #
See: newDescribeReleaseLabelResponse
smart constructor.
DescribeReleaseLabelResponse' | |
|
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:
$sel:nextToken:DescribeReleaseLabel'
, describeReleaseLabelResponse_nextToken
- The pagination token. Reserved for future use. Currently set to null.
$sel:releaseLabel:DescribeReleaseLabel'
, describeReleaseLabelResponse_releaseLabel
- The target release label described in the response.
$sel:applications: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:httpStatus:DescribeReleaseLabelResponse'
, describeReleaseLabelResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' DescribeReleaseLabelResponse Int Source #
The response's http status code.