list_account_pools
async
¶
list_account_pools(
domain_identifier: DomainId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
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 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 | |