list_domain_units_for_parent
¶
list_domain_units_for_parent(
domain_identifier: DomainId,
parent_domain_unit_identifier: DomainUnitId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
max_results: Optional[MaxResultsForListDomains] = None,
next_token: Optional[PaginationToken] = None,
) -> ListDomainUnitsForParentOutput
Lists child domain units for the specified parent domain unit.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain in which you want to list domain units for a parent domain unit.
-
parent_domain_unit_identifier(DomainUnitId) –The ID of the parent domain unit.
-
max_results(Optional[MaxResultsForListDomains], default:None) –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.
-
next_token(Optional[PaginationToken], default:None) –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.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 | |