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 |
Lists all packages associated with an Amazon OpenSearch Service domain. For more information, see Custom packages for Amazon OpenSearch Service.
Synopsis
- data ListPackagesForDomain = ListPackagesForDomain' {
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- domainName :: Text
- newListPackagesForDomain :: Text -> ListPackagesForDomain
- listPackagesForDomain_maxResults :: Lens' ListPackagesForDomain (Maybe Int)
- listPackagesForDomain_nextToken :: Lens' ListPackagesForDomain (Maybe Text)
- 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:maxResults:ListPackagesForDomain'
, listPackagesForDomain_maxResults
- An optional parameter that specifies the maximum number of results to
return. You can use nextToken
to get the next page of results.
ListPackagesForDomain
, listPackagesForDomain_nextToken
- If your initial ListPackagesForDomain
operation returns a nextToken
,
you can include the returned nextToken
in subsequent
ListPackagesForDomain
operations, which returns results in the next
page.
ListPackagesForDomain
, listPackagesForDomain_domainName
- The name of the domain for which you want to list associated packages.
Request Lenses
listPackagesForDomain_maxResults :: Lens' ListPackagesForDomain (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.
listPackagesForDomain_nextToken :: Lens' ListPackagesForDomain (Maybe Text) Source #
If your initial ListPackagesForDomain
operation returns a nextToken
,
you can include the returned nextToken
in subsequent
ListPackagesForDomain
operations, which returns results in the next
page.
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 all packages associated with a domain.
ListPackagesForDomain
, listPackagesForDomainResponse_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:ListPackagesForDomainResponse'
, listPackagesForDomainResponse_httpStatus
- The response's http status code.
Response Lenses
listPackagesForDomainResponse_domainPackageDetailsList :: Lens' ListPackagesForDomainResponse (Maybe [DomainPackageDetails]) Source #
List of all packages associated with a domain.
listPackagesForDomainResponse_nextToken :: Lens' ListPackagesForDomainResponse (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.
listPackagesForDomainResponse_httpStatus :: Lens' ListPackagesForDomainResponse Int Source #
The response's http status code.