Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists all Amazon ES domains associated with the package.
Synopsis
- data ListDomainsForPackage = ListDomainsForPackage' {}
- newListDomainsForPackage :: Text -> ListDomainsForPackage
- listDomainsForPackage_nextToken :: Lens' ListDomainsForPackage (Maybe Text)
- listDomainsForPackage_maxResults :: Lens' ListDomainsForPackage (Maybe Int)
- listDomainsForPackage_packageID :: Lens' ListDomainsForPackage Text
- data ListDomainsForPackageResponse = ListDomainsForPackageResponse' {}
- newListDomainsForPackageResponse :: Int -> ListDomainsForPackageResponse
- listDomainsForPackageResponse_domainPackageDetailsList :: Lens' ListDomainsForPackageResponse (Maybe [DomainPackageDetails])
- listDomainsForPackageResponse_nextToken :: Lens' ListDomainsForPackageResponse (Maybe Text)
- listDomainsForPackageResponse_httpStatus :: Lens' ListDomainsForPackageResponse Int
Creating a Request
data ListDomainsForPackage Source #
Container for request parameters to ListDomainsForPackage
operation.
See: newListDomainsForPackage
smart constructor.
Instances
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 results to a maximum number of domains.
$sel:packageID:ListDomainsForPackage'
, listDomainsForPackage_packageID
- The package for which to list 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 results to a maximum number of domains.
listDomainsForPackage_packageID :: Lens' ListDomainsForPackage Text Source #
The package for which to list domains.
Destructuring the Response
data ListDomainsForPackageResponse Source #
Container for response parameters to ListDomainsForPackage
operation.
See: newListDomainsForPackageResponse
smart constructor.
ListDomainsForPackageResponse' | |
|
Instances
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
listDomainsForPackageResponse_domainPackageDetailsList :: Lens' ListDomainsForPackageResponse (Maybe [DomainPackageDetails]) Source #
List of DomainPackageDetails
objects.
listDomainsForPackageResponse_nextToken :: Lens' ListDomainsForPackageResponse (Maybe Text) Source #
Undocumented member.
listDomainsForPackageResponse_httpStatus :: Lens' ListDomainsForPackageResponse Int Source #
The response's http status code.