Skip to main content

packages_for_domains

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

Overview

Namepackages_for_domains
TypeResource
Idaws.es.packages_for_domains

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
domain_package_details_listarrayList of DomainPackageDetails objects.
next_tokenstringPagination token that needs to be supplied to the next call to get the next page of results.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_packages_for_domainselectdomain_name, regionmaxResults, nextTokenLists all packages associated with the Amazon ES domain.

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
domain_namestringThe name of the domain for which you want to list associated packages.
regionstringAWS region (default: us-east-1)
maxResultsintegerLimits results to a maximum number of packages.
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 packages associated with the Amazon ES domain.

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