domains_for_packages
Creates, updates, deletes, gets or lists a domains_for_packages resource.
Overview
| Name | domains_for_packages |
| Type | Resource |
| Id | aws.es.domains_for_packages |
Fields
The following fields are returned by SELECT queries:
- list_domains_for_package
| Name | Datatype | Description |
|---|---|---|
domain_package_details_list | array | List of DomainPackageDetails objects. |
next_token | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_domains_for_package | select | package_id, region | maxResults, nextToken | Lists 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.
| Name | Datatype | Description |
|---|---|---|
package_id | string | The package for which to list domains. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | Limits results to a maximum number of domains. |
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_domains_for_package
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 }}'
;