libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch
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.ElasticSearch.ListPackagesForDomain

Description

Lists all packages associated with the Amazon ES domain.

Synopsis

Creating a Request

data ListPackagesForDomain Source #

Container for request parameters to ListPackagesForDomain operation.

See: newListPackagesForDomain smart constructor.

Constructors

ListPackagesForDomain' 

Fields

  • nextToken :: Maybe Text

    Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

  • maxResults :: Maybe Int

    Limits results to a maximum number of packages.

  • domainName :: Text

    The name of the domain for which you want to list associated packages.

Instances

Instances details
Eq ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Read ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Show ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Generic ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Associated Types

type Rep ListPackagesForDomain :: Type -> Type #

NFData ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Methods

rnf :: ListPackagesForDomain -> () #

Hashable ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

AWSRequest ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Associated Types

type AWSResponse ListPackagesForDomain #

ToHeaders ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

ToPath ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

ToQuery ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

type Rep ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

type Rep ListPackagesForDomain = D1 ('MetaData "ListPackagesForDomain" "Amazonka.ElasticSearch.ListPackagesForDomain" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "ListPackagesForDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListPackagesForDomain Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

newListPackagesForDomain Source #

Create a value of ListPackagesForDomain 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:ListPackagesForDomain', listPackagesForDomain_nextToken - Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

$sel:maxResults:ListPackagesForDomain', listPackagesForDomain_maxResults - Limits results to a maximum number of packages.

$sel:domainName:ListPackagesForDomain', listPackagesForDomain_domainName - The name of the domain for which you want to list associated packages.

Request Lenses

listPackagesForDomain_nextToken :: Lens' ListPackagesForDomain (Maybe Text) Source #

Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

listPackagesForDomain_maxResults :: Lens' ListPackagesForDomain (Maybe Int) Source #

Limits results to a maximum number of packages.

listPackagesForDomain_domainName :: Lens' ListPackagesForDomain Text Source #

The name of the domain for which you want to list associated packages.

Destructuring the Response

data ListPackagesForDomainResponse Source #

Container for response parameters to ListPackagesForDomain operation.

See: newListPackagesForDomainResponse smart constructor.

Constructors

ListPackagesForDomainResponse' 

Fields

Instances

Instances details
Eq ListPackagesForDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Read ListPackagesForDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Show ListPackagesForDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Generic ListPackagesForDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

Associated Types

type Rep ListPackagesForDomainResponse :: Type -> Type #

NFData ListPackagesForDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

type Rep ListPackagesForDomainResponse Source # 
Instance details

Defined in Amazonka.ElasticSearch.ListPackagesForDomain

type Rep ListPackagesForDomainResponse = D1 ('MetaData "ListPackagesForDomainResponse" "Amazonka.ElasticSearch.ListPackagesForDomain" "libZSservicesZSamazonka-elasticsearchZSamazonka-elasticsearch" 'False) (C1 ('MetaCons "ListPackagesForDomainResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainPackageDetailsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DomainPackageDetails])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPackagesForDomainResponse Source #

Create a value of ListPackagesForDomainResponse 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:domainPackageDetailsList:ListPackagesForDomainResponse', listPackagesForDomainResponse_domainPackageDetailsList - List of DomainPackageDetails objects.

$sel:nextToken:ListPackagesForDomain', listPackagesForDomainResponse_nextToken - Pagination token that needs to be supplied to the next call to get the next page of results.

$sel:httpStatus:ListPackagesForDomainResponse', listPackagesForDomainResponse_httpStatus - The response's http status code.

Response Lenses

listPackagesForDomainResponse_nextToken :: Lens' ListPackagesForDomainResponse (Maybe Text) Source #

Pagination token that needs to be supplied to the next call to get the next page of results.