packages_for_domains
Creates, updates, deletes, gets or lists a packages_for_domains resource.
Overview
| Name | packages_for_domains |
| Type | Resource |
| Id | aws.es.packages_for_domains |
Fields
The following fields are returned by SELECT queries:
- list_packages_for_domain
| Name | Datatype | Description |
|---|---|---|
domain_package_details_list | array | List of DomainPackageDetails objects. |
next_token | string | Pagination 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_packages_for_domain | select | domain_name, region | maxResults, nextToken | Lists 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.
| Name | Datatype | Description |
|---|---|---|
domain_name | string | The name of the domain for which you want to list associated packages. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | Limits results to a maximum number of packages. |
nextToken | string | Used 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
- list_packages_for_domain
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 }}'
;