amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DescribeReleaseLabel Source #

See: newDescribeReleaseLabel smart constructor.

Constructors

DescribeReleaseLabel' 

Fields

Instances

Instances details
ToJSON DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

ToHeaders DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

ToPath DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

ToQuery DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

AWSRequest DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Associated Types

type AWSResponse DescribeReleaseLabel #

Generic DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Associated Types

type Rep DescribeReleaseLabel :: Type -> Type #

Read DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Show DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

NFData DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Methods

rnf :: DescribeReleaseLabel -> () #

Eq DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Hashable DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

type AWSResponse DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

type Rep DescribeReleaseLabel Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

type Rep DescribeReleaseLabel = D1 ('MetaData "DescribeReleaseLabel" "Amazonka.EMR.DescribeReleaseLabel" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "DescribeReleaseLabel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "releaseLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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

Instances details
Generic DescribeReleaseLabelResponse Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Associated Types

type Rep DescribeReleaseLabelResponse :: Type -> Type #

Read DescribeReleaseLabelResponse Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Show DescribeReleaseLabelResponse Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

NFData DescribeReleaseLabelResponse Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

Eq DescribeReleaseLabelResponse Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

type Rep DescribeReleaseLabelResponse Source # 
Instance details

Defined in Amazonka.EMR.DescribeReleaseLabel

type Rep DescribeReleaseLabelResponse = D1 ('MetaData "DescribeReleaseLabelResponse" "Amazonka.EMR.DescribeReleaseLabel" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "DescribeReleaseLabelResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "applications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SimplifiedApplication])) :*: S1 ('MetaSel ('Just "availableOSReleases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OSRelease]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "releaseLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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.