Skip to main content

domain_units_for_parents

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

Overview

Namedomain_units_for_parents
TypeResource
Idaws.datazone.domain_units_for_parents

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the domain unit summary. (pattern: <code>[a-z0-9_-]+</code>)
namestringThe name of the domain unit summary.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_domain_units_for_parentselectdomain_identifier, parentDomainUnitIdentifier, regionmaxResults, nextTokenLists 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.

NameDatatypeDescription
domain_identifierstringThe ID of the domain in which you want to list domain units for a parent domain unit.
parentDomainUnitIdentifierstringThe ID of the parent domain unit.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe 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.
nextTokenstringWhen 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

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 }}'
;