v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1496640547.5 KB

Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/custom-packages.html">Custom packages for Amazon OpenSearch Service</a>.

get/2021-01-01/packages/{PackageID}/domains

Path parameters

PackageIDstring required

The unique identifier of the package for which to list associated domains.

Query parameters

maxResultsinteger

An optional parameter that specifies the maximum number of results to return for a given request.

An optional parameter that specifies the maximum number of results to return. You can use <code>nextToken</code> to get the next page of results.

nextTokenstring

When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

If your initial <code>ListDomainsForPackage</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListDomainsForPackage</code> operations, which returns results in the next page.

Response

Success

NextTokenstring

When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.