list_domains_for_package
async
¶
list_domains_for_package(
package_id: PackageID,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListDomainsForPackageResponse
Lists all Amazon OpenSearch Service domains associated with a given package. For more information, see Custom packages for Amazon OpenSearch Service.
Parameters:
-
package_id(PackageID) –The unique identifier of the package for which to list associated domains.
-
max_results(Optional[MaxResults], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. -
next_token(Optional[NextToken], default:None) –If your initial
ListDomainsForPackageoperation returns anextToken, you can include the returnednextTokenin subsequentListDomainsForPackageoperations, which returns results in the next page.
Raises:
-
AccessDeniedException–An error occurred because you don't have permissions to access the resource.
-
BaseException–An error occurred while processing the request.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.