list_account_pools
¶
list_account_pools(
domain_identifier: DomainId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
name: Optional[AccountPoolName] = None,
sort_by: Optional[SortFieldAccountPool] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[PaginationToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListAccountPoolsOutput
Lists existing account pools.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where exsting account pools are to be listed.
-
name(Optional[AccountPoolName], default:None) –The name of the account pool to be listed.
-
sort_by(Optional[SortFieldAccountPool], default:None) –The sort by mechanism in which the existing account pools are to be listed.
-
sort_order(Optional[SortOrder], default:None) –The sort order in which the existing account pools are to be listed.
-
next_token(Optional[PaginationToken], default:None) –When the number of account pools 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 account pools, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAccountPools to list the next set of account pools.
-
max_results(Optional[MaxResults], default:None) –The maximum number of account pools to return in a single call to ListAccountPools. When the number of account pools 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 ListAccountPools to list the next set of account pools.
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
5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 | |