search_agents
async
¶
search_agents(
aws_account_id: AwsAccountId,
filters: AgentSearchFilterList,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
max_results: Optional[AgentsMaxResults] = None,
next_token: Optional[str] = None,
) -> SearchAgentsResponse
Searches for agents based on specified filters.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the agents.
-
filters(AgentSearchFilterList) –The filters to apply when searching agents.
-
max_results(Optional[AgentsMaxResults], 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.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceExistsException–The resource specified already exists.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 | |