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.ListReleaseLabels

Description

Retrieves release labels of EMR services in the region where the API is called.

Synopsis

Creating a Request

data ListReleaseLabels Source #

See: newListReleaseLabels smart constructor.

Constructors

ListReleaseLabels' 

Fields

  • filters :: Maybe ReleaseLabelFilter

    Filters the results of the request. Prefix specifies the prefix of release labels to return. Application specifies the application (with/without version) of release labels to return.

  • maxResults :: Maybe Natural

    Defines the maximum number of release labels to return in a single response. The default is 100.

  • nextToken :: Maybe Text

    Specifies the next page of results. If NextToken is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.

Instances

Instances details
ToJSON ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

ToHeaders ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

ToPath ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

ToQuery ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

AWSRequest ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Associated Types

type AWSResponse ListReleaseLabels #

Generic ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Associated Types

type Rep ListReleaseLabels :: Type -> Type #

Read ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Show ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

NFData ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Methods

rnf :: ListReleaseLabels -> () #

Eq ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Hashable ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

type AWSResponse ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

type Rep ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

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

newListReleaseLabels :: ListReleaseLabels Source #

Create a value of ListReleaseLabels 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:filters:ListReleaseLabels', listReleaseLabels_filters - Filters the results of the request. Prefix specifies the prefix of release labels to return. Application specifies the application (with/without version) of release labels to return.

$sel:maxResults:ListReleaseLabels', listReleaseLabels_maxResults - Defines the maximum number of release labels to return in a single response. The default is 100.

ListReleaseLabels, listReleaseLabels_nextToken - Specifies the next page of results. If NextToken is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.

Request Lenses

listReleaseLabels_filters :: Lens' ListReleaseLabels (Maybe ReleaseLabelFilter) Source #

Filters the results of the request. Prefix specifies the prefix of release labels to return. Application specifies the application (with/without version) of release labels to return.

listReleaseLabels_maxResults :: Lens' ListReleaseLabels (Maybe Natural) Source #

Defines the maximum number of release labels to return in a single response. The default is 100.

listReleaseLabels_nextToken :: Lens' ListReleaseLabels (Maybe Text) Source #

Specifies the next page of results. If NextToken is not specified, which is usually the case for the first request of ListReleaseLabels, the first page of results are determined by other filtering parameters or by the latest version. The ListReleaseLabels request fails if the identity (Amazon Web Services account ID) and all filtering parameters are different from the original request, or if the NextToken is expired or tampered with.

Destructuring the Response

data ListReleaseLabelsResponse Source #

See: newListReleaseLabelsResponse smart constructor.

Constructors

ListReleaseLabelsResponse' 

Fields

Instances

Instances details
Generic ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Associated Types

type Rep ListReleaseLabelsResponse :: Type -> Type #

Read ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Show ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

NFData ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Eq ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

type Rep ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

type Rep ListReleaseLabelsResponse = D1 ('MetaData "ListReleaseLabelsResponse" "Amazonka.EMR.ListReleaseLabels" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "ListReleaseLabelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "releaseLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListReleaseLabelsResponse Source #

Create a value of ListReleaseLabelsResponse 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:

ListReleaseLabels, listReleaseLabelsResponse_nextToken - Used to paginate the next page of results if specified in the next ListReleaseLabels request.

$sel:releaseLabels:ListReleaseLabelsResponse', listReleaseLabelsResponse_releaseLabels - The returned release labels.

$sel:httpStatus:ListReleaseLabelsResponse', listReleaseLabelsResponse_httpStatus - The response's http status code.

Response Lenses

listReleaseLabelsResponse_nextToken :: Lens' ListReleaseLabelsResponse (Maybe Text) Source #

Used to paginate the next page of results if specified in the next ListReleaseLabels request.