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 packages associated with the Amazon OpenSearch Service domain.
Synopsis
- data ListPackagesForDomain = ListPackagesForDomain' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- domainName :: Text
- newListPackagesForDomain :: Text -> ListPackagesForDomain
- listPackagesForDomain_nextToken :: Lens' ListPackagesForDomain (Maybe Text)
- listPackagesForDomain_maxResults :: Lens' ListPackagesForDomain (Maybe Int)
- listPackagesForDomain_domainName :: Lens' ListPackagesForDomain Text
- data ListPackagesForDomainResponse = ListPackagesForDomainResponse' {}
- newListPackagesForDomainResponse :: Int -> ListPackagesForDomainResponse
- listPackagesForDomainResponse_domainPackageDetailsList :: Lens' ListPackagesForDomainResponse (Maybe [DomainPackageDetails])
- listPackagesForDomainResponse_nextToken :: Lens' ListPackagesForDomainResponse (Maybe Text)
- listPackagesForDomainResponse_httpStatus :: Lens' ListPackagesForDomainResponse Int
Creating a Request
data ListPackagesForDomain Source #
Container for the request parameters to the ListPackagesForDomain
operation.
See: newListPackagesForDomain
smart constructor.
ListPackagesForDomain' | |
|
Instances
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 the response parameters to the ListPackagesForDomain
operation.
See: newListPackagesForDomainResponse
smart constructor.
ListPackagesForDomainResponse' | |
|
Instances
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 to supply 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_domainPackageDetailsList :: Lens' ListPackagesForDomainResponse (Maybe [DomainPackageDetails]) Source #
List of DomainPackageDetails
objects.
listPackagesForDomainResponse_nextToken :: Lens' ListPackagesForDomainResponse (Maybe Text) Source #
Pagination token to supply to the next call to get the next page of results.
listPackagesForDomainResponse_httpStatus :: Lens' ListPackagesForDomainResponse Int Source #
The response's http status code.