libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

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

  • maxResults :: Maybe Natural

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

Instances

Instances details
Eq ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Read ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Show ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Generic ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Associated Types

type Rep ListReleaseLabels :: Type -> Type #

NFData ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Methods

rnf :: ListReleaseLabels -> () #

Hashable ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

ToJSON ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

AWSRequest ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Associated Types

type AWSResponse 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

type Rep ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

type Rep ListReleaseLabels = D1 ('MetaData "ListReleaseLabels" "Amazonka.EMR.ListReleaseLabels" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "ListReleaseLabels'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReleaseLabelFilter)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListReleaseLabels Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

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:nextToken: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.

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

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

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

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

Destructuring the Response

data ListReleaseLabelsResponse Source #

See: newListReleaseLabelsResponse smart constructor.

Constructors

ListReleaseLabelsResponse' 

Fields

Instances

Instances details
Eq ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Read ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Show ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Generic ListReleaseLabelsResponse Source # 
Instance details

Defined in Amazonka.EMR.ListReleaseLabels

Associated Types

type Rep ListReleaseLabelsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "ListReleaseLabelsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "releaseLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "nextToken") '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:

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

$sel:nextToken:ListReleaseLabels', listReleaseLabelsResponse_nextToken - Used to paginate the next page of results if specified in the next ListReleaseLabels request.

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