list_agents
async
¶
list_agents(
aws_account_id: AwsAccountId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
max_results: Optional[ListAgentsRequestMaxResultsInteger] = None,
next_token: Optional[str] = None,
) -> ListAgentsResponse
Lists all agents in an Amazon QuickSight account.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the agents.
-
max_results(Optional[ListAgentsRequestMaxResultsInteger], default:None) –The maximum number of results to return.
-
next_token(Optional[str], default:None) –The token for the next set of results, or null if there are no more results.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidNextTokenException–The
NextTokenvalue isn't valid. -
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 | |