Skip to main content

domains_for_packages

Creates, updates, deletes, gets or lists a domains_for_packages resource.

Overview

Namedomains_for_packages
TypeResource
Idaws.es.domains_for_packages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
domain_package_details_listarrayList of DomainPackageDetails objects.
next_tokenstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_domains_for_packageselectpackage_id, regionmaxResults, nextTokenLists all Amazon ES domains associated with the package.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
package_idstringThe package for which to list domains.
regionstringAWS region (default: us-east-1)
maxResultsintegerLimits results to a maximum number of domains.
nextTokenstringUsed for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page.

SELECT examples

Lists all Amazon ES domains associated with the package.

SELECT
domain_package_details_list,
next_token
FROM aws.es.domains_for_packages
WHERE package_id = '{{ package_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;