list_agents
¶
list_agents(
aws_account_id: AwsAccountId,
*,
config_overrides: Optional[QuickSightClientConfig] = 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/quick_sight.py
12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 | |