libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.ListDomainsForPackage

Description

Lists all Amazon OpenSearch Service domains associated with the package.

Synopsis

Creating a Request

data ListDomainsForPackage Source #

Container for the request parameters to the ListDomainsForPackage operation.

See: newListDomainsForPackage smart constructor.

Constructors

ListDomainsForPackage' 

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 the results to a maximum number of domains.

  • packageID :: Text

    The package for which to list associated domains.

Instances

Instances details
Eq ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Read ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Show ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Generic ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Associated Types

type Rep ListDomainsForPackage :: Type -> Type #

NFData ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Methods

rnf :: ListDomainsForPackage -> () #

Hashable ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

AWSRequest ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Associated Types

type AWSResponse ListDomainsForPackage #

ToHeaders ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

ToPath ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

ToQuery ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

type Rep ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

type Rep ListDomainsForPackage = D1 ('MetaData "ListDomainsForPackage" "Amazonka.OpenSearch.ListDomainsForPackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "ListDomainsForPackage'" '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 "packageID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListDomainsForPackage Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

newListDomainsForPackage Source #

Create a value of ListDomainsForPackage 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:ListDomainsForPackage', listDomainsForPackage_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:ListDomainsForPackage', listDomainsForPackage_maxResults - Limits the results to a maximum number of domains.

$sel:packageID:ListDomainsForPackage', listDomainsForPackage_packageID - The package for which to list associated domains.

Request Lenses

listDomainsForPackage_nextToken :: Lens' ListDomainsForPackage (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.

listDomainsForPackage_maxResults :: Lens' ListDomainsForPackage (Maybe Int) Source #

Limits the results to a maximum number of domains.

listDomainsForPackage_packageID :: Lens' ListDomainsForPackage Text Source #

The package for which to list associated domains.

Destructuring the Response

data ListDomainsForPackageResponse Source #

Container for the response parameters to the ListDomainsForPackage operation.

See: newListDomainsForPackageResponse smart constructor.

Constructors

ListDomainsForPackageResponse' 

Fields

Instances

Instances details
Eq ListDomainsForPackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Read ListDomainsForPackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Show ListDomainsForPackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Generic ListDomainsForPackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

Associated Types

type Rep ListDomainsForPackageResponse :: Type -> Type #

NFData ListDomainsForPackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

type Rep ListDomainsForPackageResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.ListDomainsForPackage

type Rep ListDomainsForPackageResponse = D1 ('MetaData "ListDomainsForPackageResponse" "Amazonka.OpenSearch.ListDomainsForPackage" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "ListDomainsForPackageResponse'" '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))))

newListDomainsForPackageResponse Source #

Create a value of ListDomainsForPackageResponse 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:ListDomainsForPackageResponse', listDomainsForPackageResponse_domainPackageDetailsList - List of DomainPackageDetails objects.

$sel:nextToken:ListDomainsForPackage', listDomainsForPackageResponse_nextToken - Undocumented member.

$sel:httpStatus:ListDomainsForPackageResponse', listDomainsForPackageResponse_httpStatus - The response's http status code.

Response Lenses