domain_units_for_parents
Creates, updates, deletes, gets or lists a domain_units_for_parents resource.
Overview
| Name | domain_units_for_parents |
| Type | Resource |
| Id | aws.datazone.domain_units_for_parents |
Fields
The following fields are returned by SELECT queries:
- list_domain_units_for_parent
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the domain unit summary. (pattern: <code>[a-z0-9_-]+</code>) |
name | string | The name of the domain unit summary. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_domain_units_for_parent | select | domain_identifier, parentDomainUnitIdentifier, region | maxResults, nextToken | Lists child domain units for the specified parent domain unit. |
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_identifier | string | The ID of the domain in which you want to list domain units for a parent domain unit. |
parentDomainUnitIdentifier | string | The ID of the parent domain unit. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of domain units to return in a single call to ListDomainUnitsForParent. When the number of domain units to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListDomainUnitsForParent to list the next set of domain units. |
nextToken | string | When the number of domain units is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of domain units, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListDomainUnitsForParent to list the next set of domain units. |
SELECT examples
- list_domain_units_for_parent
Lists child domain units for the specified parent domain unit.
SELECT
id,
name
FROM aws.datazone.domain_units_for_parents
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND parentDomainUnitIdentifier = '{{ parentDomainUnitIdentifier }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;