| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.OpenSearch.ListDomainsForPackage
Description
Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.
Synopsis
- data ListDomainsForPackage = ListDomainsForPackage' {}
- newListDomainsForPackage :: Text -> ListDomainsForPackage
- listDomainsForPackage_maxResults :: Lens' ListDomainsForPackage (Maybe Int)
- listDomainsForPackage_nextToken :: Lens' ListDomainsForPackage (Maybe Text)
- 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 the request parameters to the ListDomainsForPackage
operation.
See: newListDomainsForPackage smart constructor.
Constructors
| ListDomainsForPackage' | |
Fields
| |
Instances
newListDomainsForPackage Source #
Arguments
| :: Text | |
| -> ListDomainsForPackage |
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:maxResults:ListDomainsForPackage', listDomainsForPackage_maxResults - An optional parameter that specifies the maximum number of results to
return. You can use nextToken to get the next page of results.
ListDomainsForPackage, listDomainsForPackage_nextToken - If your initial ListDomainsForPackage operation returns a nextToken,
you can include the returned nextToken in subsequent
ListDomainsForPackage operations, which returns results in the next
page.
ListDomainsForPackage, listDomainsForPackage_packageID - The unique identifier of the package for which to list associated
domains.
Request Lenses
listDomainsForPackage_maxResults :: Lens' ListDomainsForPackage (Maybe Int) Source #
An optional parameter that specifies the maximum number of results to
return. You can use nextToken to get the next page of results.
listDomainsForPackage_nextToken :: Lens' ListDomainsForPackage (Maybe Text) Source #
If your initial ListDomainsForPackage operation returns a nextToken,
you can include the returned nextToken in subsequent
ListDomainsForPackage operations, which returns results in the next
page.
listDomainsForPackage_packageID :: Lens' ListDomainsForPackage Text Source #
The unique identifier of 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
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 - Information about all domains associated with a package.
ListDomainsForPackage, listDomainsForPackageResponse_nextToken - When nextToken is returned, there are more results available. The
value of nextToken is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.
$sel:httpStatus:ListDomainsForPackageResponse', listDomainsForPackageResponse_httpStatus - The response's http status code.
Response Lenses
listDomainsForPackageResponse_domainPackageDetailsList :: Lens' ListDomainsForPackageResponse (Maybe [DomainPackageDetails]) Source #
Information about all domains associated with a package.
listDomainsForPackageResponse_nextToken :: Lens' ListDomainsForPackageResponse (Maybe Text) Source #
When nextToken is returned, there are more results available. The
value of nextToken is a unique pagination token for each page. Make
the call again using the returned token to retrieve the next page.
listDomainsForPackageResponse_httpStatus :: Lens' ListDomainsForPackageResponse Int Source #
The response's http status code.